@adyen/bento-vue3 1.39.0 → 1.41.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 (148) hide show
  1. package/dist/@types/components.d.ts +6 -0
  2. package/dist/@types/packages/vue2/src/components/currency/currency.types.d.ts +18 -0
  3. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +34 -211
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -1
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +9 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-row/data-grid-row.vue.d.ts +15 -0
  9. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +1 -1
  10. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  11. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +10 -1
  12. package/dist/@types/packages/vue2/src/components/data-grid/composables/{use-selector.d.ts → use-selector/use-selector.d.ts} +2 -2
  13. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -2
  14. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -1
  15. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +9 -0
  16. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +43 -72
  17. package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -1
  18. package/dist/@types/packages/vue2/src/components/input-field/input-field.keys.d.ts +1 -0
  19. package/dist/@types/packages/vue2/src/components/layout/components/layout-row/layout-row.vue.d.ts +54 -0
  20. package/dist/@types/packages/vue2/src/components/layout/index.d.ts +3 -0
  21. package/dist/@types/packages/vue2/src/components/layout/layout.keys.d.ts +1 -0
  22. package/dist/@types/packages/vue2/src/components/layout/layout.types.d.ts +19 -0
  23. package/dist/@types/packages/vue2/src/components/layout/layout.vue.d.ts +53 -0
  24. package/dist/@types/packages/vue2/src/components/promo-banner/__mock-image.d.ts +1 -0
  25. package/dist/@types/packages/vue2/src/components/promo-banner/index.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.types.d.ts +83 -0
  27. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +65 -0
  28. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +15 -0
  29. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +2 -0
  30. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +19 -4
  31. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -3
  32. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -3
  33. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +4 -4
  34. package/dist/@types/packages/vue2/src/index.d.ts +2 -0
  35. package/dist/action-bar.js +1 -1
  36. package/dist/assets/accordion-item.css +1 -1
  37. package/dist/assets/action-bar.css +1 -1
  38. package/dist/assets/base-modal.css +1 -1
  39. package/dist/assets/card.css +1 -1
  40. package/dist/assets/currency.css +1 -1
  41. package/dist/assets/data-grid.css +1 -1
  42. package/dist/assets/dialog-page.css +1 -1
  43. package/dist/assets/input-field.css +1 -1
  44. package/dist/assets/inspector.css +1 -1
  45. package/dist/assets/layout-row.css +1 -0
  46. package/dist/assets/menu.css +1 -1
  47. package/dist/assets/modal-fullscreen.css +1 -1
  48. package/dist/assets/popover.css +1 -1
  49. package/dist/assets/promo-banner.css +1 -0
  50. package/dist/assets/search-bar.css +1 -1
  51. package/dist/assets/selection-card-group.css +1 -1
  52. package/dist/assets/sidepanel.css +1 -1
  53. package/dist/assets/status.css +1 -1
  54. package/dist/assets/structured-list-item.css +1 -1
  55. package/dist/chunks/{action-bar.CNH2XWmk.js → action-bar.BZIBGja0.js} +2 -2
  56. package/dist/chunks/{action-bar.CNH2XWmk.js.map → action-bar.BZIBGja0.js.map} +1 -1
  57. package/dist/chunks/{code-snippet.DD2ZyVNh.js → code-snippet.Dp_tDJ-S.js} +3 -3
  58. package/dist/chunks/{code-snippet.DD2ZyVNh.js.map → code-snippet.Dp_tDJ-S.js.map} +1 -1
  59. package/dist/chunks/{currency.BGrGBnhm.js → currency.Dz2x17_Q.js} +57 -70
  60. package/dist/chunks/currency.Dz2x17_Q.js.map +1 -0
  61. package/dist/chunks/{dashboard-section.rv0r2_-a.js → dashboard-section.BdRXcY4u.js} +2 -2
  62. package/dist/chunks/{dashboard-section.rv0r2_-a.js.map → dashboard-section.BdRXcY4u.js.map} +1 -1
  63. package/dist/chunks/data-grid.BC2tOBxm.js +3229 -0
  64. package/dist/chunks/data-grid.BC2tOBxm.js.map +1 -0
  65. package/dist/chunks/{date-picker.mfXjVZ9w.js → date-picker.B6HK0sb2.js} +14 -14
  66. package/dist/chunks/{date-picker.mfXjVZ9w.js.map → date-picker.B6HK0sb2.js.map} +1 -1
  67. package/dist/chunks/{date-range-picker.2VlVBHfs.js → date-range-picker.3iWt1Cd6.js} +23 -23
  68. package/dist/chunks/{date-range-picker.2VlVBHfs.js.map → date-range-picker.3iWt1Cd6.js.map} +1 -1
  69. package/dist/chunks/{dropdown-tag.Df2PjTcR.js → dropdown-tag.ChFJ9l5g.js} +2 -2
  70. package/dist/chunks/{dropdown-tag.Df2PjTcR.js.map → dropdown-tag.ChFJ9l5g.js.map} +1 -1
  71. package/dist/chunks/{dropdown.Cx5_aWtV.js → dropdown.CMKdLPHi.js} +134 -133
  72. package/dist/chunks/{dropdown.Cx5_aWtV.js.map → dropdown.CMKdLPHi.js.map} +1 -1
  73. package/dist/chunks/es6.b4enG1py.js +10 -0
  74. package/dist/chunks/es6.b4enG1py.js.map +1 -0
  75. package/dist/chunks/{filter-bar.BfgItvmq.js → filter-bar.pKcJryD3.js} +6 -6
  76. package/dist/chunks/{filter-bar.BfgItvmq.js.map → filter-bar.pKcJryD3.js.map} +1 -1
  77. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js +47 -0
  78. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map +1 -0
  79. package/dist/chunks/index.ChdIlujs.js +248 -0
  80. package/dist/chunks/{index.DKQuLmwu.js.map → index.ChdIlujs.js.map} +1 -1
  81. package/dist/chunks/{input-field.me-d5YJ4.js → input-field.Bk2p3kIb.js} +151 -134
  82. package/dist/chunks/input-field.Bk2p3kIb.js.map +1 -0
  83. package/dist/chunks/layout-row.rzhGrBQ3.js +101 -0
  84. package/dist/chunks/layout-row.rzhGrBQ3.js.map +1 -0
  85. package/dist/chunks/{pagination.DZZ-uuz1.js → pagination.D_4FRHE9.js} +2 -2
  86. package/dist/chunks/{pagination.DZZ-uuz1.js.map → pagination.D_4FRHE9.js.map} +1 -1
  87. package/dist/chunks/promo-banner.BRn1iznD.js +126 -0
  88. package/dist/chunks/promo-banner.BRn1iznD.js.map +1 -0
  89. package/dist/chunks/{search-bar.DKqZmrUn.js → search-bar.D_4u91te.js} +42 -35
  90. package/dist/chunks/search-bar.D_4u91te.js.map +1 -0
  91. package/dist/chunks/{secondary-nav.DBw28bly.js → secondary-nav.CQ3aLyrM.js} +4 -4
  92. package/dist/chunks/{secondary-nav.DBw28bly.js.map → secondary-nav.CQ3aLyrM.js.map} +1 -1
  93. package/dist/chunks/selection-card-group.Du3Cwf47.js +474 -0
  94. package/dist/chunks/selection-card-group.Du3Cwf47.js.map +1 -0
  95. package/dist/chunks/{status.types.nTyHETSy.js → status.types.Bh_mGknA.js} +18 -16
  96. package/dist/chunks/status.types.Bh_mGknA.js.map +1 -0
  97. package/dist/chunks/{structured-list-item.BhNJlDub.js → structured-list-item.CujUEOTK.js} +3 -3
  98. package/dist/chunks/structured-list-item.CujUEOTK.js.map +1 -0
  99. package/dist/chunks/{timeline-item.CEolKFn0.js → timeline-item.B8VvkDfR.js} +2 -2
  100. package/dist/chunks/{timeline-item.CEolKFn0.js.map → timeline-item.B8VvkDfR.js.map} +1 -1
  101. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js → tutorial.vue_vue_type_script_setup_true_lang.CGpbGgfc.js} +9 -9
  102. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js.map → tutorial.vue_vue_type_script_setup_true_lang.CGpbGgfc.js.map} +1 -1
  103. package/dist/code-snippet.js +1 -1
  104. package/dist/currency.js +1 -1
  105. package/dist/dashboard-template.js +1 -1
  106. package/dist/data-grid.js +1 -1
  107. package/dist/date-picker.js +1 -1
  108. package/dist/date-range-picker.js +1 -1
  109. package/dist/dropdown.js +2 -2
  110. package/dist/filter-bar.js +1 -1
  111. package/dist/image.js +1 -1
  112. package/dist/index.js +196 -189
  113. package/dist/index.js.map +1 -1
  114. package/dist/input-field.js +1 -1
  115. package/dist/layout.js +6 -0
  116. package/dist/layout.js.map +1 -0
  117. package/dist/pagination.js +1 -1
  118. package/dist/promo-banner.js +7 -0
  119. package/dist/promo-banner.js.map +1 -0
  120. package/dist/search-bar.js +2 -2
  121. package/dist/secondary-nav.js +1 -1
  122. package/dist/selection-card.js +1 -1
  123. package/dist/status.js +1 -1
  124. package/dist/structured-list.js +1 -1
  125. package/dist/styles/bento-dark.css +23 -2
  126. package/dist/styles/bento-light.css +24 -3
  127. package/dist/styles/bento.css +24 -3
  128. package/dist/styles/legacy.css +24 -3
  129. package/dist/styles/styleguide.css +24 -3
  130. package/dist/timeline.js +1 -1
  131. package/dist/tutorial.js +1 -1
  132. package/dist/web-types.json +1 -1
  133. package/package.json +5 -5
  134. package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +0 -19
  135. package/dist/chunks/currency.BGrGBnhm.js.map +0 -1
  136. package/dist/chunks/data-grid.B0__m92f.js +0 -3165
  137. package/dist/chunks/data-grid.B0__m92f.js.map +0 -1
  138. package/dist/chunks/es6.BvpG4Oi6.js +0 -9
  139. package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
  140. package/dist/chunks/image.0KzfycGE.js +0 -78
  141. package/dist/chunks/image.0KzfycGE.js.map +0 -1
  142. package/dist/chunks/index.DKQuLmwu.js +0 -182
  143. package/dist/chunks/input-field.me-d5YJ4.js.map +0 -1
  144. package/dist/chunks/search-bar.DKqZmrUn.js.map +0 -1
  145. package/dist/chunks/selection-card-group.BK9uwOLy.js +0 -392
  146. package/dist/chunks/selection-card-group.BK9uwOLy.js.map +0 -1
  147. package/dist/chunks/status.types.nTyHETSy.js.map +0 -1
  148. package/dist/chunks/structured-list-item.BhNJlDub.js.map +0 -1
@@ -45,6 +45,8 @@ import {
45
45
  BentoInfoIcon,
46
46
  BentoInputField,
47
47
  BentoInspector,
48
+ BentoLayout,
49
+ BentoLayoutRow,
48
50
  BentoLink,
49
51
  BentoLoadingButton,
50
52
  BentoLoadingIndicator,
@@ -56,6 +58,7 @@ import {
56
58
  BentoPagination,
57
59
  BentoPaymentMethod,
58
60
  BentoPopover,
61
+ BentoPromoBanner,
59
62
  BentoRadioButton,
60
63
  BentoRadioGroup,
61
64
  BentoSearchBar,
@@ -133,6 +136,8 @@ declare module 'vue' {
133
136
  BentoImage: typeof BentoImage;
134
137
  BentoInfoIcon: typeof BentoInfoIcon;
135
138
  BentoInspector: typeof BentoInspector;
139
+ BentoLayout: typeof BentoLayout;
140
+ BentoLayoutRow: typeof BentoLayoutRow;
136
141
  BentoDropdownCurrency: typeof BentoDropdownCurrency;
137
142
  BentoDropdownPaymentMethod: typeof BentoDropdownPaymentMethod;
138
143
  BentoDropdownTag: typeof BentoDropdownTag;
@@ -148,6 +153,7 @@ declare module 'vue' {
148
153
  BentoPagination: typeof BentoPagination;
149
154
  BentoPaymentMethod: typeof BentoPaymentMethod;
150
155
  BentoPopover: typeof BentoPopover;
156
+ BentoPromoBanner: typeof BentoPromoBanner;
151
157
  BentoRadioButton: typeof BentoRadioButton;
152
158
  BentoRadioGroup: typeof BentoRadioGroup;
153
159
  BentoSearchBar: typeof BentoSearchBar;
@@ -1,3 +1,21 @@
1
+ export interface BentoCurrencyProps {
2
+ /**
3
+ * Currency code based on the ISO 4217 standard
4
+ */
5
+ currency?: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
6
+ /**
7
+ * Disable the default typography for the component. Only use this when the component is inside another typography component.
8
+ */
9
+ disableTypography?: boolean;
10
+ /**
11
+ * Accepts currency value in major units instead of minor ones
12
+ */
13
+ majorUnits?: boolean;
14
+ /**
15
+ * Currency value to be formatted
16
+ */
17
+ value?: number;
18
+ }
1
19
  export declare enum BentoCurrencyISOCode {
2
20
  AFA = "AFA",
3
21
  ALL = "ALL",
@@ -1,225 +1,48 @@
1
- import { PropType } from "../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
- import { BentoCurrencyISOCode } from "./currency.types";
1
+ import { BentoCurrencyISOCode, BentoCurrencyProps } from './currency.types';
3
2
  /**
4
3
  * A Currency component is used to display a formatted currency value.
5
4
  *
6
5
  * @example
7
- * import { BentoCurrency } from '@adyen/adl-vue-components';
8
- * import { BentoCurrency, BentoCurrencyCode } from '@adyen/bento-vue2';
6
+ * import { BentoCurrency, BentoCurrencyISOCode } from '@adyen/bento-vue2';
9
7
  *
10
8
  * export default {
11
9
  * components: { BentoCurrency },
12
10
  * template: `
13
- * <bento-currency :currency="CurrencyCode.USD">
14
- * 76.33
15
- * </bento-currency>
11
+ * <bento-currency
12
+ * :currency="BentoCurrencyISOCode.USD"
13
+ * :value="76.33"
14
+ * />
16
15
  * `
17
16
  * }
18
17
  */
19
- declare const _default: 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<{
20
- currency: {
21
- type: PropType<BentoCurrencyISOCode | `${BentoCurrencyISOCode}`>;
22
- default: BentoCurrencyISOCode;
23
- validator: (value: BentoCurrencyISOCode) => boolean;
24
- };
25
- /**
26
- * Accepts currency value in major units instead of minor ones
27
- */
28
- majorUnits: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- /**
33
- * Disable the default typography for the component. Only use this when the component is inside another typography component.
34
- */
35
- disableTypography: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- }>, {
40
- formattedCurrency: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<string>;
41
- }, {}, {}, {}, 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, {}, 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<{
42
- currency: {
43
- type: PropType<BentoCurrencyISOCode | `${BentoCurrencyISOCode}`>;
44
- default: BentoCurrencyISOCode;
45
- validator: (value: BentoCurrencyISOCode) => boolean;
46
- };
47
- /**
48
- * Accepts currency value in major units instead of minor ones
49
- */
50
- majorUnits: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- /**
55
- * Disable the default typography for the component. Only use this when the component is inside another typography component.
56
- */
57
- disableTypography: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- }>> & Readonly<{}>, {
18
+ declare const _default: 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<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoCurrencyProps>, {
19
+ currency: BentoCurrencyISOCode;
62
20
  disableTypography: boolean;
63
- currency: "TOP" | "CVE" | "DJF" | "GNF" | "IDR" | "JPY" | "KMF" | "KRW" | "PYG" | "RWF" | "UGX" | "VND" | "VUV" | "XAF" | "XOF" | "XPF" | "MRO" | "BHD" | "IQD" | "JOD" | "KWD" | "LYD" | "OMR" | "TND" | "AFA" | "ALL" | "DZD" | "AOA" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BDT" | "BBD" | "BYR" | "BEF" | "BZD" | "BMD" | "BTN" | "BTC" | "BOB" | "BAM" | "BWP" | "BRL" | "GBP" | "BND" | "BGN" | "BIF" | "KHR" | "CAD" | "KYD" | "CLP" | "CLF" | "CNY" | "COP" | "CDF" | "CRC" | "HRK" | "CUC" | "CZK" | "DKK" | "DOP" | "XCD" | "EGP" | "ERN" | "EEK" | "ETB" | "EUR" | "FKP" | "FJD" | "GMD" | "GEL" | "DEM" | "GHS" | "GIP" | "GRD" | "GTQ" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "INR" | "IRR" | "ILS" | "ITL" | "JMD" | "KZT" | "KES" | "KGS" | "LAK" | "LVL" | "LBP" | "LSL" | "LRD" | "LTC" | "LTL" | "MOP" | "MKD" | "MGA" | "MWK" | "MYR" | "MVR" | "MUR" | "MXN" | "MDL" | "MNT" | "MAD" | "MZM" | "MMK" | "NAD" | "NPR" | "ANG" | "TWD" | "NZD" | "NIO" | "NGN" | "KPW" | "NOK" | "PKR" | "PAB" | "PGK" | "PEN" | "PHP" | "PLN" | "QAR" | "RON" | "RUB" | "SVC" | "WST" | "STD" | "SAR" | "RSD" | "SCR" | "SLL" | "SGD" | "SKK" | "SBD" | "SOS" | "ZAR" | "SSP" | "XDR" | "LKR" | "SHP" | "SDG" | "SRD" | "SZL" | "SEK" | "CHF" | "SYP" | "TJS" | "TZS" | "THB" | "TTD" | "TRY" | "TMT" | "UAH" | "AED" | "UYU" | "USD" | "UZS" | "VEF" | "YER" | "ZMK" | "ZWL" | BentoCurrencyISOCode;
64
21
  majorUnits: boolean;
65
- }, {}, {
66
- BentoTypography: {
67
- new (...args: any[]): import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
68
- wide: {
69
- type: PropType<boolean>;
70
- } & {
71
- default: boolean;
72
- };
73
- stronger: {
74
- type: PropType<boolean>;
75
- } & {
76
- default: boolean;
77
- };
78
- strongest: {
79
- type: PropType<boolean>;
80
- } & {
81
- default: boolean;
82
- };
83
- el: {
84
- type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
85
- } & {
86
- default: import("../typography").BentoTypographyElement;
87
- };
88
- large: {
89
- type: PropType<boolean>;
90
- } & {
91
- default: boolean;
92
- };
93
- medium: {
94
- type: PropType<boolean>;
95
- } & {
96
- default: boolean;
97
- };
98
- variant: {
99
- type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
100
- } & {
101
- default: import("../typography").BentoTypographyVariant;
102
- };
103
- richText: {
104
- type: PropType<boolean>;
105
- };
106
- }>> & Readonly<{}>, {}, {}, {}, {}, 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, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, {
107
- wide: boolean;
108
- stronger: boolean;
109
- strongest: boolean;
110
- el: import("../typography").BentoTypographyElement | `${import("../typography").BentoTypographyElement}`;
111
- large: boolean;
112
- medium: boolean;
113
- variant: import("../typography").BentoTypographyVariant | `${import("../typography").BentoTypographyVariant}`;
114
- }, true, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").GlobalComponents, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").GlobalDirectives, string, {}, any, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, {
115
- P: {};
116
- B: {};
117
- D: {};
118
- C: {};
119
- M: {};
120
- Defaults: {};
121
- }, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
122
- wide: {
123
- type: PropType<boolean>;
124
- } & {
125
- default: boolean;
126
- };
127
- stronger: {
128
- type: PropType<boolean>;
129
- } & {
130
- default: boolean;
131
- };
132
- strongest: {
133
- type: PropType<boolean>;
134
- } & {
135
- default: boolean;
136
- };
137
- el: {
138
- type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
139
- } & {
140
- default: import("../typography").BentoTypographyElement;
141
- };
142
- large: {
143
- type: PropType<boolean>;
144
- } & {
145
- default: boolean;
146
- };
147
- medium: {
148
- type: PropType<boolean>;
149
- } & {
150
- default: boolean;
151
- };
152
- variant: {
153
- type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
154
- } & {
155
- default: import("../typography").BentoTypographyVariant;
156
- };
157
- richText: {
158
- type: PropType<boolean>;
159
- };
160
- }>> & Readonly<{}>, {}, {}, {}, {}, {
161
- wide: boolean;
162
- stronger: boolean;
163
- strongest: boolean;
164
- el: import("../typography").BentoTypographyElement | `${import("../typography").BentoTypographyElement}`;
165
- large: boolean;
166
- medium: boolean;
167
- variant: import("../typography").BentoTypographyVariant | `${import("../typography").BentoTypographyVariant}`;
168
- }>;
169
- __isFragment?: never;
170
- __isTeleport?: never;
171
- __isSuspense?: never;
172
- } & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsBase<Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
173
- wide: {
174
- type: PropType<boolean>;
175
- } & {
176
- default: boolean;
177
- };
178
- stronger: {
179
- type: PropType<boolean>;
180
- } & {
181
- default: boolean;
182
- };
183
- strongest: {
184
- type: PropType<boolean>;
185
- } & {
186
- default: boolean;
187
- };
188
- el: {
189
- type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
190
- } & {
191
- default: import("../typography").BentoTypographyElement;
192
- };
193
- large: {
194
- type: PropType<boolean>;
195
- } & {
196
- default: boolean;
197
- };
198
- medium: {
199
- type: PropType<boolean>;
200
- } & {
201
- default: boolean;
202
- };
203
- variant: {
204
- type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
205
- } & {
206
- default: import("../typography").BentoTypographyVariant;
207
- };
208
- richText: {
209
- type: PropType<boolean>;
210
- };
211
- }>> & Readonly<{}>, {}, {}, {}, {}, 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, {}, string, {
212
- wide: boolean;
213
- stronger: boolean;
214
- strongest: boolean;
215
- el: import("../typography").BentoTypographyElement | `${import("../typography").BentoTypographyElement}`;
216
- large: boolean;
217
- medium: boolean;
218
- variant: import("../typography").BentoTypographyVariant | `${import("../typography").BentoTypographyVariant}`;
219
- }, {}, string, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").GlobalComponents, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").GlobalDirectives, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions> & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").VNodeProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").AllowedComponentProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentCustomProps & (new () => {
220
- $slots: {
221
- default: (_: {}) => any;
222
- };
223
- });
224
- }, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
22
+ value: any;
23
+ }>>, {}, {}, {}, {}, 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, {}, 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<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoCurrencyProps>, {
24
+ currency: BentoCurrencyISOCode;
25
+ disableTypography: boolean;
26
+ majorUnits: boolean;
27
+ value: any;
28
+ }>>> & Readonly<{}>, {
29
+ value: number;
30
+ disableTypography: boolean;
31
+ currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
32
+ majorUnits: boolean;
33
+ }, {}, {}, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
225
34
  export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
46
+ default: D[K];
47
+ } : P[K];
48
+ };
@@ -3,6 +3,7 @@ import type { Ref, UnwrapRef } from "../../../../../../../node_modules/.pnpm/vue
3
3
  export declare enum DataGridCellPropClass {
4
4
  ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled",
5
5
  ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled",
6
+ ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled",
6
7
  COLUMN_HOVERED = "column-hovered",
7
8
  COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left",
8
9
  COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right",
@@ -5,7 +5,6 @@ import { BentoColumn } from '../../data-grid.types';
5
5
  export declare enum DatagridColumnsEvent {
6
6
  COLUMN_RESIZE = "column-resize",
7
7
  COLUMN_RESIZING = "column-resizing",
8
- SORT = "sort",
9
8
  SELECT_ALL_ROWS = "select-all-rows",
10
9
  SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
11
10
  COLUMN_MOVE = "column-move",
@@ -320,13 +320,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
320
320
  default: boolean;
321
321
  };
322
322
  }>> & Readonly<{
323
+ onSort?: (updatedSortBy: BentoDatagridSortByColumn[]) => any;
323
324
  "onColumn-hover"?: (columnKey: BentoColumn) => any;
324
325
  "onColumn-resize"?: (column: {
325
326
  field: string;
326
327
  width: number;
327
328
  }) => any;
328
329
  "onColumn-resizing"?: (value: BentoColumnWidthOverridesLookup) => any;
329
- onSort?: (updatedSortBy: BentoDatagridSortByColumn[]) => any;
330
330
  "onSelect-all-rows"?: (areAllItemsSelected: boolean) => any;
331
331
  "onSelect-all-across-pages"?: () => any;
332
332
  "onColumn-move"?: (movingColumn: BentoColumn, offset: number) => any;
@@ -919,6 +919,10 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
919
919
  type: NumberConstructor;
920
920
  default: number;
921
921
  };
922
+ hint: {
923
+ type: StringConstructor;
924
+ default: string;
925
+ };
922
926
  placeholder: {
923
927
  type: StringConstructor;
924
928
  default: string;
@@ -952,6 +956,10 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
952
956
  type: NumberConstructor;
953
957
  default: number;
954
958
  };
959
+ hint: {
960
+ type: StringConstructor;
961
+ default: string;
962
+ };
955
963
  placeholder: {
956
964
  type: StringConstructor;
957
965
  default: string;
@@ -971,6 +979,7 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
971
979
  condensed: boolean;
972
980
  debounceTime: number;
973
981
  placeholder: string;
982
+ hint: string;
974
983
  }, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
975
984
  BentoSearchIcon: any;
976
985
  BentoToggle: 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<{
@@ -129,6 +129,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
129
129
  type: PropType<BentoDatagridIsDataItemDisabledFn>;
130
130
  default: () => boolean;
131
131
  };
132
+ /**
133
+ * If the row is the last child in it's parent container.
134
+ */
135
+ isRowLastChild: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
132
139
  /**
133
140
  * If columns are being measured for the autoWidth functionality.
134
141
  */
@@ -286,6 +293,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
286
293
  type: PropType<BentoDatagridIsDataItemDisabledFn>;
287
294
  default: () => boolean;
288
295
  };
296
+ /**
297
+ * If the row is the last child in it's parent container.
298
+ */
299
+ isRowLastChild: {
300
+ type: BooleanConstructor;
301
+ default: boolean;
302
+ };
289
303
  /**
290
304
  * If columns are being measured for the autoWidth functionality.
291
305
  */
@@ -360,6 +374,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../nod
360
374
  hasNestedContent: boolean;
361
375
  highlightedRows: BentoDatagridDataItemId[];
362
376
  hoveredRowIndex: number;
377
+ isRowLastChild: boolean;
363
378
  rowSetSize: number;
364
379
  shouldShowNestedContent: BentoDatagridShouldShowNestedContentFn;
365
380
  }, {}, {}, {}, 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> & {
@@ -1,6 +1,6 @@
1
1
  export { useResizer } from './use-resizer';
2
2
  export * from './use-calculate-column-width';
3
- export { useSelector } from './use-selector';
3
+ export { useSelector } from './use-selector/use-selector';
4
4
  export { useSorter } from './use-sorter';
5
5
  export { useKeyboardNavigator } from './use-keyboard-navigator/use-keyboard-navigator';
6
6
  export { useLazyLoading } from './use-lazy-loading/use-lazy-loading';
@@ -175,4 +175,5 @@ export declare const useCalculateColumnWidth: (newColumns: Ref<BentoColumn[]>, n
175
175
  getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
176
176
  }[];
177
177
  }[]>;
178
+ totalWidthOfAllColumns: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<number>;
178
179
  };
@@ -1,4 +1,5 @@
1
1
  import { Ref, UnwrapRef } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
+ import type { BentoDatagridPaginationProps } from '../..';
2
3
  /**
3
4
  * Handles all scroll events & logic for the DataGrid.
4
5
  * @param body The reference to the DataGrid body element.
@@ -6,10 +7,18 @@ import { Ref, UnwrapRef } from "../../../../../../../node_modules/.pnpm/vue@3.5.
6
7
  * @param verticalScrollPosition The reference to scroll top position number.
7
8
  * @returns Update methods for updating the scroll ppsotion references & the body scroll & overflow attributes.
8
9
  */
9
- export declare const useScroller: (body: Ref<UnwrapRef<HTMLDivElement>>, columnsRef: Ref<UnwrapRef<HTMLDivElement>>, verticalScrollPosition: Ref<number>) => {
10
+ export declare const useScroller: (body: Ref<UnwrapRef<HTMLDivElement>>, columnsRef: Ref<UnwrapRef<HTMLDivElement>>, verticalScrollPosition: Ref<number>, virtualHorizontalScrollbar: Ref<UnwrapRef<HTMLDivElement | undefined>>, options?: {
11
+ isLazyLoad?: Ref<UnwrapRef<boolean>>;
12
+ pagination?: Ref<UnwrapRef<BentoDatagridPaginationProps | undefined>>;
13
+ stickyPagination: Ref<UnwrapRef<boolean>>;
14
+ }) => {
10
15
  scrollLeftPosition: Ref<number, number>;
11
16
  hasLeftOverflow: Ref<boolean, boolean>;
12
17
  hasRightOverflow: Ref<boolean, boolean>;
18
+ horizontalScrollbarConditionalClasses: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<{
19
+ 'b-data-grid__horizontal-scrollbar--sticky-pagination': boolean;
20
+ }>;
13
21
  updateScrollPosition: (event: Event) => void;
14
22
  updateScrollPositionOnFrozenColumnsNavigation: (event: KeyboardEvent) => void;
23
+ syncVirtualScrollerWithBody: (event: Event) => void;
15
24
  };
@@ -1,5 +1,5 @@
1
- import { Ref } from "../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
- import { BentoDatagridData, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from '../data-grid.types';
1
+ import { Ref } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
+ import { BentoDatagridData, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from '../../data-grid.types';
3
3
  /**
4
4
  * Exposed selection variables and methods for a data component to use and react to.
5
5
  * @param selection A list of unique IDs
@@ -1,6 +1,5 @@
1
1
  import { Ref } from "../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
2
  import { BentoColumn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from '../data-grid.types';
3
- import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns.types';
4
3
  /**
5
4
  * Handles the sort direction logic of the columns in DataGrid.
6
5
  * Emits the `sort` event with the new direction when the field sort direction changes.
@@ -8,7 +7,7 @@ import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-
8
7
  * @param columns Array of all columns in the grid
9
8
  * @param emit The `bento-data-grid` emit function
10
9
  */
11
- export declare const useSorter: (sortBy: Ref<BentoDatagridSortByColumn[]>, columns: Ref<BentoColumn[]>, emit: (event: DatagridColumnsEvent, updatedSortBy: BentoDatagridSortByColumn[]) => void) => {
10
+ export declare const useSorter: (sortBy: Ref<BentoDatagridSortByColumn[]>, columns: Ref<BentoColumn[]>, emit: (event: "sort", updatedSortBy: BentoDatagridSortByColumn[]) => void) => {
12
11
  isSorting: (field: string) => boolean;
13
12
  getSortingDirection: (field: string) => BentoDatagridSortDirection;
14
13
  sortByColumnField: (field: string) => void;
@@ -202,6 +202,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
202
202
  type: BooleanConstructor;
203
203
  default: boolean;
204
204
  };
205
+ /**
206
+ * Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
207
+ */
208
+ stickyHorizontalScrollbar: {
209
+ type: BooleanConstructor;
210
+ default: boolean;
211
+ };
205
212
  /**
206
213
  * Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
207
214
  * Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
@@ -440,6 +447,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
440
447
  type: BooleanConstructor;
441
448
  default: boolean;
442
449
  };
450
+ /**
451
+ * Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
452
+ */
453
+ stickyHorizontalScrollbar: {
454
+ type: BooleanConstructor;
455
+ default: boolean;
456
+ };
443
457
  /**
444
458
  * Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
445
459
  * Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
@@ -503,8 +517,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
503
517
  onSelect?: (...args: any[]) => any;
504
518
  onNavigate?: (...args: any[]) => any;
505
519
  "onItems-page"?: (...args: any[]) => any;
506
- "onColumn-resize"?: (...args: any[]) => any;
507
520
  onSort?: (...args: any[]) => any;
521
+ "onColumn-resize"?: (...args: any[]) => any;
508
522
  "onSelect-all-across-pages"?: (...args: any[]) => any;
509
523
  "onUpdate:columns"?: (...args: any[]) => any;
510
524
  "onRow-click"?: (...args: any[]) => any;
@@ -579,6 +593,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
579
593
  columnPanel: boolean;
580
594
  filterSearchTerm: any;
581
595
  noSpacingTop: boolean;
596
+ stickyHorizontalScrollbar: boolean;
582
597
  stickyPagination: boolean;
583
598
  stickyFilters: boolean;
584
599
  selection: BentoDatagridDataItemId[];
@@ -17148,6 +17148,10 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
17148
17148
  type: NumberConstructor;
17149
17149
  default: number;
17150
17150
  };
17151
+ hint: {
17152
+ type: StringConstructor;
17153
+ default: string;
17154
+ };
17151
17155
  placeholder: {
17152
17156
  type: StringConstructor;
17153
17157
  default: string;
@@ -17181,6 +17185,10 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
17181
17185
  type: NumberConstructor;
17182
17186
  default: number;
17183
17187
  };
17188
+ hint: {
17189
+ type: StringConstructor;
17190
+ default: string;
17191
+ };
17184
17192
  placeholder: {
17185
17193
  type: StringConstructor;
17186
17194
  default: string;
@@ -17200,6 +17208,7 @@ declare const _default: import("../../../../../../../node_modules/.pnpm/vue@3.5.
17200
17208
  condensed: boolean;
17201
17209
  debounceTime: number;
17202
17210
  placeholder: string;
17211
+ hint: string;
17203
17212
  }, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
17204
17213
  BentoSelectAvatarFilter: 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<{
17205
17214
  options: {