@adyen/bento-vue3 1.38.0 → 1.39.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 (213) hide show
  1. package/dist/@types/packages/core/src/components/link/link.types.d.ts +31 -0
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +3 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +48 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-row/data-grid-row.vue.d.ts +375 -0
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +9 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -1
  8. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -0
  9. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +58 -28
  10. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  11. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1 -1
  12. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
  14. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +4 -4
  15. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +2 -2
  16. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +2 -2
  17. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +4 -4
  18. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +1 -1
  19. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +1 -1
  20. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +1 -1
  21. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +1 -1
  22. package/dist/@types/packages/vue2/src/components/link/link.types.d.ts +3 -0
  23. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +3 -111
  24. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +9 -2
  25. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -4
  26. package/dist/accordion.js +1 -1
  27. package/dist/action-bar.js +1 -1
  28. package/dist/alert.js +1 -1
  29. package/dist/assets/accordion-item.css +1 -1
  30. package/dist/assets/action-bar.css +1 -1
  31. package/dist/assets/base-modal.css +1 -1
  32. package/dist/assets/card.css +1 -1
  33. package/dist/assets/data-grid-template.css +1 -1
  34. package/dist/assets/data-grid.css +1 -1
  35. package/dist/assets/dialog-page.css +1 -1
  36. package/dist/assets/info-icon.css +1 -1
  37. package/dist/assets/inspector.css +1 -1
  38. package/dist/assets/link.css +1 -1
  39. package/dist/assets/menu.css +1 -1
  40. package/dist/assets/modal-fullscreen.css +1 -1
  41. package/dist/assets/pagination.css +1 -1
  42. package/dist/assets/popover.css +1 -1
  43. package/dist/assets/sidepanel.css +1 -1
  44. package/dist/assets/status.css +1 -1
  45. package/dist/assets/tag.css +1 -1
  46. package/dist/button.js +4 -4
  47. package/dist/card.js +1 -1
  48. package/dist/checkbox.js +2 -2
  49. package/dist/chunks/{accordion-item.BTOF1iNR.js → accordion-item.BOftQTUm.js} +2 -2
  50. package/dist/chunks/{accordion-item.BTOF1iNR.js.map → accordion-item.BOftQTUm.js.map} +1 -1
  51. package/dist/chunks/{action-bar.CgAtMM9u.js → action-bar.CNH2XWmk.js} +6 -6
  52. package/dist/chunks/{action-bar.CgAtMM9u.js.map → action-bar.CNH2XWmk.js.map} +1 -1
  53. package/dist/chunks/{alert.BTECwgk3.js → alert.CHddA_lK.js} +3 -3
  54. package/dist/chunks/{alert.BTECwgk3.js.map → alert.CHddA_lK.js.map} +1 -1
  55. package/dist/chunks/{base-modal.U5PTvcT5.js → base-modal.6IqnDuvf.js} +5 -5
  56. package/dist/chunks/{base-modal.U5PTvcT5.js.map → base-modal.6IqnDuvf.js.map} +1 -1
  57. package/dist/chunks/{button-actions-with-menu.CTTDrnqS.js → button-actions-with-menu.ByYlrFqZ.js} +4 -4
  58. package/dist/chunks/{button-actions-with-menu.CTTDrnqS.js.map → button-actions-with-menu.ByYlrFqZ.js.map} +1 -1
  59. package/dist/chunks/{button-actions.Cdzo5JUG.js → button-actions.ndsyVgzV.js} +3 -3
  60. package/dist/chunks/{button-actions.Cdzo5JUG.js.map → button-actions.ndsyVgzV.js.map} +1 -1
  61. package/dist/chunks/{button.BJBAbiJq.js → button.pwNCxwPu.js} +2 -2
  62. package/dist/chunks/{button.BJBAbiJq.js.map → button.pwNCxwPu.js.map} +1 -1
  63. package/dist/chunks/{calendar.CzrIJLEX.js → calendar.S9HFQA8j.js} +4 -4
  64. package/dist/chunks/{calendar.CzrIJLEX.js.map → calendar.S9HFQA8j.js.map} +1 -1
  65. package/dist/chunks/{card.ryanj6U8.js → card.B6tMI3KP.js} +3 -3
  66. package/dist/chunks/{card.ryanj6U8.js.map → card.B6tMI3KP.js.map} +1 -1
  67. package/dist/chunks/{checkbox-group.PjS8QEEt.js → checkbox-group.Zf-GivDW.js} +4 -4
  68. package/dist/chunks/{checkbox-group.PjS8QEEt.js.map → checkbox-group.Zf-GivDW.js.map} +1 -1
  69. package/dist/chunks/{checkbox.lv3oHLV8.js → checkbox.DdMkyTo5.js} +3 -3
  70. package/dist/chunks/{checkbox.lv3oHLV8.js.map → checkbox.DdMkyTo5.js.map} +1 -1
  71. package/dist/chunks/{code-snippet.oHd_YNRL.js → code-snippet.DD2ZyVNh.js} +6 -6
  72. package/dist/chunks/{code-snippet.oHd_YNRL.js.map → code-snippet.DD2ZyVNh.js.map} +1 -1
  73. package/dist/chunks/{controls-group.LtasepM-.js → controls-group.RL8WrYdy.js} +2 -2
  74. package/dist/chunks/{controls-group.LtasepM-.js.map → controls-group.RL8WrYdy.js.map} +1 -1
  75. package/dist/chunks/{copy.CJmwNFh_.js → copy.dbbJppdL.js} +3 -3
  76. package/dist/chunks/{copy.CJmwNFh_.js.map → copy.dbbJppdL.js.map} +1 -1
  77. package/dist/chunks/{country.O-bKmLZc.js → country.DEQhE7oa.js} +2 -2
  78. package/dist/chunks/{country.O-bKmLZc.js.map → country.DEQhE7oa.js.map} +1 -1
  79. package/dist/chunks/{dashboard-section.hfZ3IKH0.js → dashboard-section.rv0r2_-a.js} +3 -3
  80. package/dist/chunks/{dashboard-section.hfZ3IKH0.js.map → dashboard-section.rv0r2_-a.js.map} +1 -1
  81. package/dist/chunks/{dashed-underline._luDHpHt.js → dashed-underline.D6ke20Vd.js} +2 -2
  82. package/dist/chunks/{dashed-underline._luDHpHt.js.map → dashed-underline.D6ke20Vd.js.map} +1 -1
  83. package/dist/chunks/{data-grid-template.CLi0WHb2.js → data-grid-template.CRxJLJsn.js} +3 -3
  84. package/dist/chunks/{data-grid-template.CLi0WHb2.js.map → data-grid-template.CRxJLJsn.js.map} +1 -1
  85. package/dist/chunks/data-grid.B0__m92f.js +3165 -0
  86. package/dist/chunks/data-grid.B0__m92f.js.map +1 -0
  87. package/dist/chunks/{date-picker.B2I-XYII.js → date-picker.mfXjVZ9w.js} +6 -6
  88. package/dist/chunks/{date-picker.B2I-XYII.js.map → date-picker.mfXjVZ9w.js.map} +1 -1
  89. package/dist/chunks/{date-range-picker.BbKsJjDI.js → date-range-picker.2VlVBHfs.js} +9 -9
  90. package/dist/chunks/{date-range-picker.BbKsJjDI.js.map → date-range-picker.2VlVBHfs.js.map} +1 -1
  91. package/dist/chunks/{date.Ddj3zcg0.js → date.DVGj7WKQ.js} +2 -2
  92. package/dist/chunks/{date.Ddj3zcg0.js.map → date.DVGj7WKQ.js.map} +1 -1
  93. package/dist/chunks/{dialog-page.D_Z9V5rz.js → dialog-page.CnDOg98_.js} +3 -3
  94. package/dist/chunks/{dialog-page.D_Z9V5rz.js.map → dialog-page.CnDOg98_.js.map} +1 -1
  95. package/dist/chunks/{dropdown-tag.D8ua9pbt.js → dropdown-tag.Df2PjTcR.js} +3 -3
  96. package/dist/chunks/{dropdown-tag.D8ua9pbt.js.map → dropdown-tag.Df2PjTcR.js.map} +1 -1
  97. package/dist/chunks/{dropdown.C_ZbkwpI.js → dropdown.Cx5_aWtV.js} +5 -5
  98. package/dist/chunks/{dropdown.C_ZbkwpI.js.map → dropdown.Cx5_aWtV.js.map} +1 -1
  99. package/dist/chunks/{empty-state.B6_DdIft.js → empty-state.CpXSj1aU.js} +2 -2
  100. package/dist/chunks/{empty-state.B6_DdIft.js.map → empty-state.CpXSj1aU.js.map} +1 -1
  101. package/dist/chunks/{error-message.BmtC6yJU.js → error-message.CmMyB-k9.js} +2 -2
  102. package/dist/chunks/{error-message.BmtC6yJU.js.map → error-message.CmMyB-k9.js.map} +1 -1
  103. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  104. package/dist/chunks/{filter-bar.DYVY8un1.js → filter-bar.BfgItvmq.js} +18 -18
  105. package/dist/chunks/{filter-bar.DYVY8un1.js.map → filter-bar.BfgItvmq.js.map} +1 -1
  106. package/dist/chunks/{fixed-scroller.Dk1hJcNA.js → fixed-scroller.DM2JOokC.js} +3 -3
  107. package/dist/chunks/{fixed-scroller.Dk1hJcNA.js.map → fixed-scroller.DM2JOokC.js.map} +1 -1
  108. package/dist/chunks/{footer-actions.s17GOUlO.js → footer-actions.DAlN9pd3.js} +3 -3
  109. package/dist/chunks/{footer-actions.s17GOUlO.js.map → footer-actions.DAlN9pd3.js.map} +1 -1
  110. package/dist/chunks/{form-layout-title.BqaYHFxV.js → form-layout-title.w0J-ymMW.js} +2 -2
  111. package/dist/chunks/{form-layout-title.BqaYHFxV.js.map → form-layout-title.w0J-ymMW.js.map} +1 -1
  112. package/dist/chunks/{header.CXk8N1r8.js → header.DQmnYarZ.js} +5 -5
  113. package/dist/chunks/{header.CXk8N1r8.js.map → header.DQmnYarZ.js.map} +1 -1
  114. package/dist/chunks/{i18n.DL9GT2-k.js → i18n.CPGoe9tN.js} +13 -11
  115. package/dist/chunks/i18n.CPGoe9tN.js.map +1 -0
  116. package/dist/chunks/{input-field.WYmNajX8.js → input-field.me-d5YJ4.js} +4 -4
  117. package/dist/chunks/{input-field.WYmNajX8.js.map → input-field.me-d5YJ4.js.map} +1 -1
  118. package/dist/chunks/{inspector.types.DVmq4XbV.js → inspector.types.DcdY_5cC.js} +3 -3
  119. package/dist/chunks/{inspector.types.DVmq4XbV.js.map → inspector.types.DcdY_5cC.js.map} +1 -1
  120. package/dist/chunks/{link.DdN8QuxV.js → link.D7wA0jkY.js} +26 -32
  121. package/dist/chunks/link.D7wA0jkY.js.map +1 -0
  122. package/dist/chunks/{loading-button.B2kKlypp.js → loading-button.CHujR70I.js} +3 -3
  123. package/dist/chunks/{loading-button.B2kKlypp.js.map → loading-button.CHujR70I.js.map} +1 -1
  124. package/dist/chunks/{menu.Dy8aup1z.js → menu.DXVN_WLr.js} +4 -4
  125. package/dist/chunks/{menu.Dy8aup1z.js.map → menu.DXVN_WLr.js.map} +1 -1
  126. package/dist/chunks/{modal-fullscreen.BVoPzVaI.js → modal-fullscreen.D96Avr2Q.js} +5 -5
  127. package/dist/chunks/{modal-fullscreen.BVoPzVaI.js.map → modal-fullscreen.D96Avr2Q.js.map} +1 -1
  128. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DWpsSgTH.js → modal.vue_vue_type_script_setup_true_lang.ylWdiVwQ.js} +6 -6
  129. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DWpsSgTH.js.map → modal.vue_vue_type_script_setup_true_lang.ylWdiVwQ.js.map} +1 -1
  130. package/dist/chunks/{pagination.BbpMSWLd.js → pagination.DZZ-uuz1.js} +150 -144
  131. package/dist/chunks/{pagination.BbpMSWLd.js.map → pagination.DZZ-uuz1.js.map} +1 -1
  132. package/dist/chunks/{popover.CwmrCwCH.js → popover.HArIkKve.js} +3 -3
  133. package/dist/chunks/{popover.CwmrCwCH.js.map → popover.HArIkKve.js.map} +1 -1
  134. package/dist/chunks/{radio-group.DxfUbeqh.js → radio-group.D94e5N12.js} +3 -3
  135. package/dist/chunks/{radio-group.DxfUbeqh.js.map → radio-group.D94e5N12.js.map} +1 -1
  136. package/dist/chunks/{search-bar.BagrDQnH.js → search-bar.DKqZmrUn.js} +3 -3
  137. package/dist/chunks/{search-bar.BagrDQnH.js.map → search-bar.DKqZmrUn.js.map} +1 -1
  138. package/dist/chunks/{secondary-nav.CISsjBMJ.js → secondary-nav.DBw28bly.js} +3 -3
  139. package/dist/chunks/{secondary-nav.CISsjBMJ.js.map → secondary-nav.DBw28bly.js.map} +1 -1
  140. package/dist/chunks/{selection-card-group.BMFofEe-.js → selection-card-group.BK9uwOLy.js} +3 -3
  141. package/dist/chunks/{selection-card-group.BMFofEe-.js.map → selection-card-group.BK9uwOLy.js.map} +1 -1
  142. package/dist/chunks/{sidepanel.-0Qymn6V.js → sidepanel.CGbl5x5B.js} +5 -5
  143. package/dist/chunks/{sidepanel.-0Qymn6V.js.map → sidepanel.CGbl5x5B.js.map} +1 -1
  144. package/dist/chunks/{step.DNhSkFAA.js → step.CwuThZ0G.js} +2 -2
  145. package/dist/chunks/{step.DNhSkFAA.js.map → step.CwuThZ0G.js.map} +1 -1
  146. package/dist/chunks/{structured-list-item.Dgd3hfvB.js → structured-list-item.BhNJlDub.js} +4 -4
  147. package/dist/chunks/{structured-list-item.Dgd3hfvB.js.map → structured-list-item.BhNJlDub.js.map} +1 -1
  148. package/dist/chunks/{summary-grid-item-custom.Bu7gJL8w.js → summary-grid-item-custom.DF9waESp.js} +2 -2
  149. package/dist/chunks/{summary-grid-item-custom.Bu7gJL8w.js.map → summary-grid-item-custom.DF9waESp.js.map} +1 -1
  150. package/dist/chunks/{tabs.CV5s2cJq.js → tabs.B3DGxpmI.js} +2 -2
  151. package/dist/chunks/{tabs.CV5s2cJq.js.map → tabs.B3DGxpmI.js.map} +1 -1
  152. package/dist/chunks/{textarea.BVxLjWUC.js → textarea.DlPNxnUQ.js} +4 -4
  153. package/dist/chunks/{textarea.BVxLjWUC.js.map → textarea.DlPNxnUQ.js.map} +1 -1
  154. package/dist/chunks/{timeline-item.syIc8vRq.js → timeline-item.CEolKFn0.js} +8 -8
  155. package/dist/chunks/{timeline-item.syIc8vRq.js.map → timeline-item.CEolKFn0.js.map} +1 -1
  156. package/dist/chunks/{toast.BaEY0X3c.js → toast.D8AYOorS.js} +3 -3
  157. package/dist/chunks/{toast.BaEY0X3c.js.map → toast.D8AYOorS.js.map} +1 -1
  158. package/dist/chunks/{toggle-button.CX-FLsuq.js → toggle-button.Bf77_tMh.js} +2 -2
  159. package/dist/chunks/{toggle-button.CX-FLsuq.js.map → toggle-button.Bf77_tMh.js.map} +1 -1
  160. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.C-g1fnEv.js → tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js} +5 -5
  161. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.C-g1fnEv.js.map → tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js.map} +1 -1
  162. package/dist/chunks/{use-cached-selected-values.37d2WklP.js → use-cached-selected-values.DaRzXFIt.js} +5 -5
  163. package/dist/chunks/{use-cached-selected-values.37d2WklP.js.map → use-cached-selected-values.DaRzXFIt.js.map} +1 -1
  164. package/dist/chunks/{use-country-items.DQR8plsq.js → use-country-items.CTyhUEHS.js} +2 -2
  165. package/dist/chunks/{use-country-items.DQR8plsq.js.map → use-country-items.CTyhUEHS.js.map} +1 -1
  166. package/dist/code-snippet.js +1 -1
  167. package/dist/country.js +1 -1
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +2 -2
  173. package/dist/date-range-picker.js +2 -2
  174. package/dist/date.js +1 -1
  175. package/dist/dropdown.js +3 -3
  176. package/dist/empty-state.js +1 -1
  177. package/dist/filter-bar.js +1 -1
  178. package/dist/form-layout.js +1 -1
  179. package/dist/header.js +1 -1
  180. package/dist/index.js +49 -49
  181. package/dist/input-field.js +1 -1
  182. package/dist/inspector.js +1 -1
  183. package/dist/internal.js +7 -7
  184. package/dist/link.js +1 -1
  185. package/dist/menu.js +1 -1
  186. package/dist/modal-fullscreen.js +1 -1
  187. package/dist/modal.js +2 -2
  188. package/dist/pagination.js +1 -1
  189. package/dist/popover.js +1 -1
  190. package/dist/radio-group.js +1 -1
  191. package/dist/search-bar.js +2 -2
  192. package/dist/secondary-nav.js +1 -1
  193. package/dist/selection-card.js +1 -1
  194. package/dist/sidepanel.js +1 -1
  195. package/dist/stepper.js +1 -1
  196. package/dist/structured-list.js +1 -1
  197. package/dist/styles/bento-dark.css +1 -0
  198. package/dist/styles/bento-light.css +1 -0
  199. package/dist/styles/bento.css +1 -0
  200. package/dist/styles/legacy.css +1 -0
  201. package/dist/styles/styleguide.css +1 -0
  202. package/dist/summary-grid.js +1 -1
  203. package/dist/tabs.js +1 -1
  204. package/dist/textarea.js +1 -1
  205. package/dist/timeline.js +1 -1
  206. package/dist/toast.js +1 -1
  207. package/dist/tutorial.js +1 -1
  208. package/dist/web-types.json +3 -160
  209. package/package.json +5 -4
  210. package/dist/chunks/data-grid.BWnD3U86.js +0 -2840
  211. package/dist/chunks/data-grid.BWnD3U86.js.map +0 -1
  212. package/dist/chunks/i18n.DL9GT2-k.js.map +0 -1
  213. package/dist/chunks/link.DdN8QuxV.js.map +0 -1
@@ -5,3 +5,34 @@ export declare enum BentoLinkVariant {
5
5
  DEFAULT = "default",
6
6
  QUIET = "quiet"
7
7
  }
8
+ export interface LinkProps {
9
+ /**
10
+ * Disable the default typography for the component. Only use this when the component is inside another typography component.
11
+ */
12
+ disableTypography?: boolean;
13
+ /**
14
+ * Set the rendered link to a regular external anchor link and renders an external link icon.
15
+ */
16
+ external?: boolean;
17
+ /**
18
+ * Set to true if used inside a `BentoButton` component.
19
+ */
20
+ isButton?: boolean;
21
+ /**
22
+ * Set the rendered link to a regular external anchor link.
23
+ */
24
+ isNotRouting?: boolean;
25
+ /**
26
+ * Sets the target of the rendered link.
27
+ */
28
+ target?: string;
29
+ /**
30
+ * Set to true to truncate link. Doesn't work with disableTypography.
31
+ */
32
+ truncate?: boolean;
33
+ /**
34
+ * Link variant type affecting visual style.
35
+ * @values default, quiet
36
+ */
37
+ variant?: BentoLinkVariant | `${BentoLinkVariant}`;
38
+ }
@@ -1,6 +1,8 @@
1
1
  import type { BentoColumn } from '../../data-grid.types';
2
2
  import type { Ref, UnwrapRef } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
3
3
  export declare enum DataGridCellPropClass {
4
+ ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled",
5
+ ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled",
4
6
  COLUMN_HOVERED = "column-hovered",
5
7
  COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left",
6
8
  COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right",
@@ -10,6 +12,7 @@ export declare enum DataGridCellPropClass {
10
12
  IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left",
11
13
  IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right",
12
14
  LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell",
15
+ NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled",
13
16
  NUMERIC = "numeric",
14
17
  OVERFLOW_ELLIPSIS = "overflow-ellipsis",
15
18
  PADDING_LEFT_UNSET = "padding-left-unset",
@@ -81,6 +81,27 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
81
81
  type: BooleanConstructor;
82
82
  default: boolean;
83
83
  };
84
+ /**
85
+ * Determines if the nested content is visible.
86
+ */
87
+ isNestedContentExpanded: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ /**
92
+ * Determines if the nest content slot is enabled for this data row.
93
+ */
94
+ nestedContent: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ /**
99
+ * The IDs of the rows this cell controls to show / hide them.
100
+ */
101
+ nestedRowsElementIds: {
102
+ type: PropType<string[]>;
103
+ default: () => any[];
104
+ };
84
105
  /**
85
106
  * The row data object
86
107
  */
@@ -113,6 +134,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
113
134
  "register-row-cell-element": (el: Element, field: string, rowIndex: number) => void;
114
135
  } & {
115
136
  "cell-hovered": (value: number) => void;
137
+ } & {
138
+ "nested-content-toggled": () => void;
116
139
  }, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
117
140
  draggingEventsForRowCell: {
118
141
  type: PropType<DataGridCellDragEventsForColumn>;
@@ -181,6 +204,27 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
181
204
  type: BooleanConstructor;
182
205
  default: boolean;
183
206
  };
207
+ /**
208
+ * Determines if the nested content is visible.
209
+ */
210
+ isNestedContentExpanded: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
214
+ /**
215
+ * Determines if the nest content slot is enabled for this data row.
216
+ */
217
+ nestedContent: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ /**
222
+ * The IDs of the rows this cell controls to show / hide them.
223
+ */
224
+ nestedRowsElementIds: {
225
+ type: PropType<string[]>;
226
+ default: () => any[];
227
+ };
184
228
  /**
185
229
  * The row data object
186
230
  */
@@ -208,6 +252,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
208
252
  "onSelect-row"?: (value: BentoDatagridDataItemId[]) => any;
209
253
  "onRegister-row-cell-element"?: (el: Element, field: string, rowIndex: number) => any;
210
254
  "onCell-hovered"?: (value: number) => any;
255
+ "onNested-content-toggled"?: () => any;
211
256
  }>, {
212
257
  condensed: boolean;
213
258
  draggingColumns: BentoDatagridDraggingColumnState;
@@ -215,6 +260,9 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
215
260
  selectable: boolean;
216
261
  getDataItemId: BentoDatagridGetDataItemIdFn;
217
262
  isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
263
+ isNestedContentExpanded: boolean;
264
+ nestedContent: boolean;
265
+ nestedRowsElementIds: string[];
218
266
  }, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, Record<string, (_: {
219
267
  item: BentoDatagridDataItem;
220
268
  }) => any>>;
@@ -0,0 +1,375 @@
1
+ import { PropType } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
+ import { BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridShouldShowNestedContentFn } from "../../data-grid.types";
3
+ import type { DataGridCellColumnSet, DataGridCellDragEventsForColumn } from '../data-grid-cell/data-grid-cell.types';
4
+ import type { BentoDatagridDraggingColumnState } from '../data-grid-columns/data-grid-columns.types';
5
+ import type { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
6
+ /**
7
+ * Internal component to display the BentoDataGrid data rows containig the data row cells.
8
+ *
9
+ * @example
10
+ *
11
+ * export default {
12
+ * components: { DataGridRow },
13
+ * template: `
14
+ * <data-grid-row
15
+ * :ref="el => registerRowCellRefs(el, rowIndex)"
16
+ * :style="gridColumnWidthStyle"
17
+ * :allow-row-clicks="allowRowClicks"
18
+ * :column-sets="columnSets"
19
+ * :condensed="condensed"
20
+ * :dragging-columns="draggingColumns"
21
+ * :dragging-events-for-row-cell="draggingEventsForRowCell"
22
+ * :get-data-item-id="getDataItemId"
23
+ * :has-left-overflow="hasLeftOverflow"
24
+ * :highlighted-rows="highlightedRows"
25
+ * :hovered-row-index="hoveredRowIndex"
26
+ * :hovered-over-column-state="hoveredOverColumnState"
27
+ * :is-data-item-disabled="isDataItemDisabled"
28
+ * :is-measuring-column-widths="isMeasuringColumnWidths"
29
+ * :row-data="rowData"
30
+ * :row-index="rowIndex"
31
+ * :show-frozen-columns-separator="showFrozenColumnsSeparator"
32
+ * :selectable="selectable"
33
+ * :selected-items="selectedItems"
34
+ * @cell-hovered="onCellHover"
35
+ * @row-click="onRowClick"
36
+ * @on-frozen-columns-key-press="updateScrollPositionOnFrozenColumnsNavigation"
37
+ * @select-row="onRowSelect"
38
+ * >
39
+ * <template v-for="(_, innerSlot) of slots" #[innerSlot]="scope">
40
+ * <slot :name="innerSlot" v-bind="scope" />
41
+ * </template>
42
+ * </data-grid-row>
43
+ * `
44
+ */
45
+ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
46
+ /**
47
+ * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
48
+ */
49
+ allowRowClicks: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ /**
54
+ * The columns sets including
55
+ */
56
+ columnSets: {
57
+ type: PropType<DataGridCellColumnSet[]>;
58
+ required: true;
59
+ };
60
+ /**
61
+ * Sets the row cells to the condensed padding state.
62
+ */
63
+ condensed: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ /**
68
+ * Columns being dragged, contains dragging column and a target column
69
+ */
70
+ draggingColumns: {
71
+ type: PropType<BentoDatagridDraggingColumnState>;
72
+ default: any;
73
+ };
74
+ /**
75
+ * Dragging event handlers for each row cell
76
+ */
77
+ draggingEventsForRowCell: {
78
+ type: PropType<DataGridCellDragEventsForColumn>;
79
+ required: true;
80
+ };
81
+ /**
82
+ * A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
83
+ * This is used selecting and performance reasons and must exist in each data item.
84
+ */
85
+ getDataItemId: {
86
+ type: PropType<BentoDatagridGetDataItemIdFn>;
87
+ default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
88
+ };
89
+ /**
90
+ * Set to true if the datagrid has been scrolled and the left side has overflowing space.
91
+ */
92
+ hasLeftOverflow: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ /**
97
+ * Enables the nested content slot functionality.
98
+ */
99
+ hasNestedContent: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ /**
104
+ * Highlighted row IDs.
105
+ */
106
+ highlightedRows: {
107
+ type: PropType<BentoDatagridDataItemId[]>;
108
+ default: () => any[];
109
+ };
110
+ /**
111
+ * The row index of a currently hovered row.
112
+ */
113
+ hoveredRowIndex: {
114
+ type: NumberConstructor;
115
+ default: number;
116
+ };
117
+ /**
118
+ * The column hovered over state and whether the hovered over column should show a border right or left.
119
+ */
120
+ hoveredOverColumnState: {
121
+ type: PropType<DatagridColumnHoveringState>;
122
+ required: true;
123
+ };
124
+ /**
125
+ * A customisable method to determine if a row is not selectable.
126
+ * The default is that every row is selectable.
127
+ */
128
+ isDataItemDisabled: {
129
+ type: PropType<BentoDatagridIsDataItemDisabledFn>;
130
+ default: () => boolean;
131
+ };
132
+ /**
133
+ * If columns are being measured for the autoWidth functionality.
134
+ */
135
+ isMeasuringColumnWidths: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ /**
140
+ * The row data object
141
+ */
142
+ rowData: {
143
+ type: PropType<BentoDatagridDataItem>;
144
+ required: true;
145
+ };
146
+ /**
147
+ * The row index.
148
+ */
149
+ rowIndex: {
150
+ type: NumberConstructor;
151
+ required: true;
152
+ };
153
+ /**
154
+ * The number of rows that this row is within.
155
+ */
156
+ rowSetSize: {
157
+ type: NumberConstructor;
158
+ default: number;
159
+ };
160
+ /**
161
+ * Determines whether to render frozen seperator on the row.
162
+ */
163
+ showFrozenColumnsSeparator: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ /**
168
+ * Determines if the row selection is enabled.
169
+ */
170
+ selectable: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ /**
175
+ * The array of IDs for the selected rows.
176
+ */
177
+ selectedItems: {
178
+ type: PropType<BentoDatagridDataItemId[]>;
179
+ required: true;
180
+ };
181
+ /**
182
+ * Enables / Disables the nested-content slot
183
+ */
184
+ shouldShowNestedContent: {
185
+ type: PropType<BentoDatagridShouldShowNestedContentFn>;
186
+ default: (_item: BentoDatagridDataItem) => true;
187
+ };
188
+ }>, {
189
+ gridcellRefs: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").Ref<{
190
+ [key: string]: HTMLDivElement;
191
+ }, {
192
+ [key: string]: HTMLDivElement;
193
+ }>;
194
+ }, {}, {}, {}, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {
195
+ "cell-hovered": (value: number) => void;
196
+ } & {
197
+ "on-frozen-columns-key-press": (event: Event) => void;
198
+ } & {
199
+ "select-row": (value: BentoDatagridDataItemId[]) => void;
200
+ } & {
201
+ "row-click": (rowData: BentoDatagridDataItem, event: MouseEvent) => void;
202
+ }, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
203
+ /**
204
+ * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
205
+ */
206
+ allowRowClicks: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ };
210
+ /**
211
+ * The columns sets including
212
+ */
213
+ columnSets: {
214
+ type: PropType<DataGridCellColumnSet[]>;
215
+ required: true;
216
+ };
217
+ /**
218
+ * Sets the row cells to the condensed padding state.
219
+ */
220
+ condensed: {
221
+ type: BooleanConstructor;
222
+ default: boolean;
223
+ };
224
+ /**
225
+ * Columns being dragged, contains dragging column and a target column
226
+ */
227
+ draggingColumns: {
228
+ type: PropType<BentoDatagridDraggingColumnState>;
229
+ default: any;
230
+ };
231
+ /**
232
+ * Dragging event handlers for each row cell
233
+ */
234
+ draggingEventsForRowCell: {
235
+ type: PropType<DataGridCellDragEventsForColumn>;
236
+ required: true;
237
+ };
238
+ /**
239
+ * A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
240
+ * This is used selecting and performance reasons and must exist in each data item.
241
+ */
242
+ getDataItemId: {
243
+ type: PropType<BentoDatagridGetDataItemIdFn>;
244
+ default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
245
+ };
246
+ /**
247
+ * Set to true if the datagrid has been scrolled and the left side has overflowing space.
248
+ */
249
+ hasLeftOverflow: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ /**
254
+ * Enables the nested content slot functionality.
255
+ */
256
+ hasNestedContent: {
257
+ type: BooleanConstructor;
258
+ default: boolean;
259
+ };
260
+ /**
261
+ * Highlighted row IDs.
262
+ */
263
+ highlightedRows: {
264
+ type: PropType<BentoDatagridDataItemId[]>;
265
+ default: () => any[];
266
+ };
267
+ /**
268
+ * The row index of a currently hovered row.
269
+ */
270
+ hoveredRowIndex: {
271
+ type: NumberConstructor;
272
+ default: number;
273
+ };
274
+ /**
275
+ * The column hovered over state and whether the hovered over column should show a border right or left.
276
+ */
277
+ hoveredOverColumnState: {
278
+ type: PropType<DatagridColumnHoveringState>;
279
+ required: true;
280
+ };
281
+ /**
282
+ * A customisable method to determine if a row is not selectable.
283
+ * The default is that every row is selectable.
284
+ */
285
+ isDataItemDisabled: {
286
+ type: PropType<BentoDatagridIsDataItemDisabledFn>;
287
+ default: () => boolean;
288
+ };
289
+ /**
290
+ * If columns are being measured for the autoWidth functionality.
291
+ */
292
+ isMeasuringColumnWidths: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ /**
297
+ * The row data object
298
+ */
299
+ rowData: {
300
+ type: PropType<BentoDatagridDataItem>;
301
+ required: true;
302
+ };
303
+ /**
304
+ * The row index.
305
+ */
306
+ rowIndex: {
307
+ type: NumberConstructor;
308
+ required: true;
309
+ };
310
+ /**
311
+ * The number of rows that this row is within.
312
+ */
313
+ rowSetSize: {
314
+ type: NumberConstructor;
315
+ default: number;
316
+ };
317
+ /**
318
+ * Determines whether to render frozen seperator on the row.
319
+ */
320
+ showFrozenColumnsSeparator: {
321
+ type: BooleanConstructor;
322
+ default: boolean;
323
+ };
324
+ /**
325
+ * Determines if the row selection is enabled.
326
+ */
327
+ selectable: {
328
+ type: BooleanConstructor;
329
+ default: boolean;
330
+ };
331
+ /**
332
+ * The array of IDs for the selected rows.
333
+ */
334
+ selectedItems: {
335
+ type: PropType<BentoDatagridDataItemId[]>;
336
+ required: true;
337
+ };
338
+ /**
339
+ * Enables / Disables the nested-content slot
340
+ */
341
+ shouldShowNestedContent: {
342
+ type: PropType<BentoDatagridShouldShowNestedContentFn>;
343
+ default: (_item: BentoDatagridDataItem) => true;
344
+ };
345
+ }>> & Readonly<{
346
+ "onOn-frozen-columns-key-press"?: (event: Event) => any;
347
+ "onSelect-row"?: (value: BentoDatagridDataItemId[]) => any;
348
+ "onCell-hovered"?: (value: number) => any;
349
+ "onRow-click"?: (rowData: BentoDatagridDataItem, event: MouseEvent) => any;
350
+ }>, {
351
+ condensed: boolean;
352
+ draggingColumns: BentoDatagridDraggingColumnState;
353
+ hasLeftOverflow: boolean;
354
+ isMeasuringColumnWidths: boolean;
355
+ showFrozenColumnsSeparator: boolean;
356
+ selectable: boolean;
357
+ getDataItemId: BentoDatagridGetDataItemIdFn;
358
+ isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
359
+ allowRowClicks: boolean;
360
+ hasNestedContent: boolean;
361
+ highlightedRows: BentoDatagridDataItemId[];
362
+ hoveredRowIndex: number;
363
+ rowSetSize: number;
364
+ shouldShowNestedContent: BentoDatagridShouldShowNestedContentFn;
365
+ }, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, Record<NonNullable<string | number>, (_: any) => any> & {
366
+ 'nested-slot': (_: {
367
+ item: BentoDatagridDataItem;
368
+ }) => any;
369
+ }>;
370
+ export default _default;
371
+ type __VLS_WithTemplateSlots<T, S> = T & {
372
+ new (): {
373
+ $slots: S;
374
+ };
375
+ };
@@ -3,4 +3,5 @@ export { default as BentoDataGridConfigSettings } from './data-grid-config-setti
3
3
  export { default as DataGridLazyLoad } from './data-grid-lazy-load/data-grid-lazy-load.vue';
4
4
  export { default as DataGridCell } from './data-grid-cell/data-grid-cell.vue';
5
5
  export { default as DataGridCellActions } from './data-grid-cell-actions/data-grid-cell-actions.vue';
6
+ export { default as DataGridRow } from './data-grid-row/data-grid-row.vue';
6
7
  export { default as BentoDataGridStaticIcon } from './data-grid-static-icon/data-grid-static-icon.vue';
@@ -8,9 +8,18 @@ export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
8
8
  export declare const DATAGRID_ACTIONS_COLUMN_FIELD_NAME = "b-actions-column";
9
9
  export declare const DATAGRID_SELECT_WIDTH = 32;
10
10
  export declare const DATAGRID_SELECT_WIDTH_WITH_SELECT_ALL_PAGES_ENABLED = 56;
11
+ export declare const DATAGRID_SELECT_WIDTH_AND_NESTED_ROWS_ENABLED = 56;
12
+ export declare const DATAGRID_SELECT_WIDTH_AND_SELECT_ALL_PAGES_AND_NESTED_ROWS_ENABLED = 80;
13
+ export declare const DATAGRID_NESTED_ROWS_ENABLED = 36;
11
14
  export declare const DATAGRID_CELL_OFFSET_INITIAL = 1;
12
15
  export declare const DATAGRID_CELL_OFFSET_PADDING = 16;
13
16
  export declare const DATAGRID_TEMPLATE_EXTRA_PADDING = 20;
17
+ /**
18
+ * Generates the column width for the actions column which contains actions like row selection or nested rows toggle button.
19
+ * @param options - the datagrid calculation options.
20
+ * @returns a column definition used in the column and cell components.
21
+ */
22
+ export declare const getActionsColumnWidth: (options: CalculateColumnWidthOptions) => 36 | 32 | 56 | 80;
14
23
  /**
15
24
  * Calculates the width of the columns using width, minWidth and/or a fluid number.
16
25
  *
@@ -8,8 +8,8 @@ export type FlexColumnLookup = Record<BentoColumn['field'], {
8
8
  export interface CalculateColumnWidthOptions {
9
9
  allowColumnDragAndDrop?: Ref<boolean>;
10
10
  hasColumnPanel?: Ref<boolean>;
11
+ hasNestedContent?: Ref<boolean>;
11
12
  hasSelectableColumn?: Ref<boolean>;
12
13
  hasSelectableAcrossPages?: Ref<boolean>;
13
- hasNestedContent?: Ref<boolean>;
14
14
  isDataGridTemplate?: boolean;
15
15
  }
@@ -87,3 +87,4 @@ export declare enum BentoDatagridAriaSortValue {
87
87
  NONE = "none"
88
88
  }
89
89
  export type BentoDatagridEmptyStateProps = InstanceType<typeof BentoEmptyState>['$props'];
90
+ export type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;