@adyen/bento-vue2 1.19.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/@types/packages/vue2/src/components/code-snippet/utils/indent-same-as-line-before-extension.d.ts +8 -0
  2. package/dist/@types/packages/vue2/src/components/code-snippet/utils/index.d.ts +2 -0
  3. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +2 -1
  4. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
  7. package/dist/accordion.js +2 -2
  8. package/dist/action-bar.js +6 -6
  9. package/dist/alert.js +3 -3
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/dropdown-default-textbox.css +1 -1
  13. package/dist/assets/index.css +1 -1
  14. package/dist/assets/index10.css +1 -1
  15. package/dist/assets/index11.css +1 -1
  16. package/dist/assets/index12.css +1 -1
  17. package/dist/assets/index13.css +1 -1
  18. package/dist/assets/index14.css +1 -1
  19. package/dist/assets/index15.css +1 -1
  20. package/dist/assets/index16.css +1 -1
  21. package/dist/assets/index17.css +1 -1
  22. package/dist/assets/index18.css +1 -1
  23. package/dist/assets/index19.css +1 -1
  24. package/dist/assets/index2.css +1 -1
  25. package/dist/assets/index20.css +1 -1
  26. package/dist/assets/index21.css +1 -1
  27. package/dist/assets/index22.css +1 -1
  28. package/dist/assets/index24.css +1 -1
  29. package/dist/assets/index25.css +1 -1
  30. package/dist/assets/index26.css +1 -1
  31. package/dist/assets/index27.css +1 -1
  32. package/dist/assets/index28.css +1 -1
  33. package/dist/assets/index29.css +1 -1
  34. package/dist/assets/index3.css +1 -1
  35. package/dist/assets/index30.css +1 -1
  36. package/dist/assets/index31.css +1 -1
  37. package/dist/assets/index32.css +1 -1
  38. package/dist/assets/index34.css +1 -1
  39. package/dist/assets/index35.css +1 -1
  40. package/dist/assets/index36.css +1 -1
  41. package/dist/assets/index37.css +1 -1
  42. package/dist/assets/index38.css +1 -1
  43. package/dist/assets/index39.css +1 -1
  44. package/dist/assets/index41.css +1 -1
  45. package/dist/assets/index42.css +1 -1
  46. package/dist/assets/index43.css +1 -1
  47. package/dist/assets/index44.css +1 -1
  48. package/dist/assets/index45.css +1 -1
  49. package/dist/assets/index46.css +1 -1
  50. package/dist/assets/index47.css +1 -1
  51. package/dist/assets/index48.css +1 -1
  52. package/dist/assets/index5.css +1 -1
  53. package/dist/assets/index6.css +1 -1
  54. package/dist/assets/index7.css +1 -1
  55. package/dist/assets/index8.css +1 -1
  56. package/dist/assets/index9.css +1 -1
  57. package/dist/avatar-image.js +1 -1
  58. package/dist/badge.js +1 -1
  59. package/dist/button.js +5 -5
  60. package/dist/card.js +3 -3
  61. package/dist/checkbox.js +6 -6
  62. package/dist/chunks/{base-button.3c3d473d.js → base-button.d3f27fe6.js} +2 -2
  63. package/dist/chunks/{base-button.3c3d473d.js.map → base-button.d3f27fe6.js.map} +1 -1
  64. package/dist/chunks/{base-modal.27c6f2db.js → base-modal.cc448ad3.js} +37 -32
  65. package/dist/chunks/base-modal.cc448ad3.js.map +1 -0
  66. package/dist/chunks/{button-actions-with-menu.a38327c2.js → button-actions-with-menu.4e274e5d.js} +4 -4
  67. package/dist/chunks/{button-actions-with-menu.a38327c2.js.map → button-actions-with-menu.4e274e5d.js.map} +1 -1
  68. package/dist/chunks/{button-actions.1dc90a19.js → button-actions.98e96aa6.js} +3 -3
  69. package/dist/chunks/{button-actions.1dc90a19.js.map → button-actions.98e96aa6.js.map} +1 -1
  70. package/dist/chunks/{button.0b6cda85.js → button.27948f1c.js} +3 -3
  71. package/dist/chunks/{button.0b6cda85.js.map → button.27948f1c.js.map} +1 -1
  72. package/dist/chunks/{calendar.263cfc88.js → calendar.943ea7c3.js} +136 -136
  73. package/dist/chunks/{calendar.263cfc88.js.map → calendar.943ea7c3.js.map} +1 -1
  74. package/dist/chunks/{checkbox.c7a74005.js → checkbox.2c2a1f90.js} +3 -3
  75. package/dist/chunks/{checkbox.c7a74005.js.map → checkbox.2c2a1f90.js.map} +1 -1
  76. package/dist/chunks/{controls-group.8abe0bd1.js → controls-group.02abd743.js} +3 -3
  77. package/dist/chunks/{controls-group.8abe0bd1.js.map → controls-group.02abd743.js.map} +1 -1
  78. package/dist/chunks/{copy.647aae54.js → copy.a9f87101.js} +4 -4
  79. package/dist/chunks/{copy.647aae54.js.map → copy.a9f87101.js.map} +1 -1
  80. package/dist/chunks/{dialog-page.f787969c.js → dialog-page.0e787c2d.js} +3 -3
  81. package/dist/chunks/{dialog-page.f787969c.js.map → dialog-page.0e787c2d.js.map} +1 -1
  82. package/dist/chunks/{dropdown-default-textbox.59803edd.js → dropdown-default-textbox.b4f19086.js} +94 -92
  83. package/dist/chunks/dropdown-default-textbox.b4f19086.js.map +1 -0
  84. package/dist/chunks/{dropdown.0574f613.js → dropdown.9abc124c.js} +14 -14
  85. package/dist/chunks/{dropdown.0574f613.js.map → dropdown.9abc124c.js.map} +1 -1
  86. package/dist/chunks/{error-message.75666843.js → error-message.3d436de3.js} +2 -2
  87. package/dist/chunks/{error-message.75666843.js.map → error-message.3d436de3.js.map} +1 -1
  88. package/dist/chunks/{fixed-scroller.06574a66.js → fixed-scroller.c430a595.js} +2 -2
  89. package/dist/chunks/{fixed-scroller.06574a66.js.map → fixed-scroller.c430a595.js.map} +1 -1
  90. package/dist/chunks/{footer-actions.0268a57b.js → footer-actions.74983707.js} +4 -4
  91. package/dist/chunks/{footer-actions.0268a57b.js.map → footer-actions.74983707.js.map} +1 -1
  92. package/dist/chunks/{index.0bb773a7.js → index.211ea795.js} +6 -6
  93. package/dist/chunks/{index.0bb773a7.js.map → index.211ea795.js.map} +1 -1
  94. package/dist/chunks/index.25de3ab8.js +32 -0
  95. package/dist/chunks/{index.026ae47b.js.map → index.25de3ab8.js.map} +1 -1
  96. package/dist/chunks/{index.de687404.js → index.2f00afab.js} +22 -22
  97. package/dist/chunks/{index.de687404.js.map → index.2f00afab.js.map} +1 -1
  98. package/dist/chunks/{index.408e1419.js → index.3a8caa8d.js} +148 -147
  99. package/dist/chunks/index.3a8caa8d.js.map +1 -0
  100. package/dist/chunks/{index.5b47c56b.js → index.54eb824c.js} +18 -16
  101. package/dist/chunks/index.54eb824c.js.map +1 -0
  102. package/dist/chunks/{index.302e9cf2.js → index.900d8b24.js} +2 -2
  103. package/dist/chunks/{index.302e9cf2.js.map → index.900d8b24.js.map} +1 -1
  104. package/dist/chunks/{index.10b9618d.js → index.985d9d31.js} +2 -2
  105. package/dist/chunks/{index.10b9618d.js.map → index.985d9d31.js.map} +1 -1
  106. package/dist/chunks/{index.dc985e76.js → index.a2095588.js} +3 -3
  107. package/dist/chunks/{index.dc985e76.js.map → index.a2095588.js.map} +1 -1
  108. package/dist/chunks/{index.5bfc67d1.js → index.af17c8ac.js} +2 -2
  109. package/dist/chunks/{index.5bfc67d1.js.map → index.af17c8ac.js.map} +1 -1
  110. package/dist/chunks/{index.a52b98d1.js → index.d080a0e6.js} +7 -7
  111. package/dist/chunks/{index.a52b98d1.js.map → index.d080a0e6.js.map} +1 -1
  112. package/dist/chunks/{index.45cd2344.js → index.dd7d8418.js} +12 -12
  113. package/dist/chunks/{index.45cd2344.js.map → index.dd7d8418.js.map} +1 -1
  114. package/dist/chunks/{index.932c230b.js → index.de9a552e.js} +6 -6
  115. package/dist/chunks/{index.932c230b.js.map → index.de9a552e.js.map} +1 -1
  116. package/dist/chunks/{listbox-option-tag.89846151.js → listbox-option-tag.37da51ba.js} +3 -3
  117. package/dist/chunks/{listbox-option-tag.89846151.js.map → listbox-option-tag.37da51ba.js.map} +1 -1
  118. package/dist/chunks/{listbox.a8180c4a.js → listbox.a142458a.js} +5 -5
  119. package/dist/chunks/{listbox.a8180c4a.js.map → listbox.a142458a.js.map} +1 -1
  120. package/dist/chunks/{loading-button.50dddf2f.js → loading-button.2c3d9afc.js} +2 -2
  121. package/dist/chunks/{loading-button.50dddf2f.js.map → loading-button.2c3d9afc.js.map} +1 -1
  122. package/dist/chunks/{tooltip.6748027a.js → tooltip.0459eb5c.js} +3 -3
  123. package/dist/chunks/{tooltip.6748027a.js.map → tooltip.0459eb5c.js.map} +1 -1
  124. package/dist/code-snippet.js +181 -165
  125. package/dist/code-snippet.js.map +1 -1
  126. package/dist/country.js +2 -2
  127. package/dist/currency.js +1 -1
  128. package/dist/data-grid.js +1 -1
  129. package/dist/date-picker.js +18 -18
  130. package/dist/date-range-picker.js +2 -2
  131. package/dist/date.js +1 -1
  132. package/dist/divider.js +1 -1
  133. package/dist/dropdown.js +6 -6
  134. package/dist/empty-state.js +3 -3
  135. package/dist/filter-bar.js +606 -600
  136. package/dist/filter-bar.js.map +1 -1
  137. package/dist/focus-trap.js +1 -1
  138. package/dist/form-layout.js +2 -2
  139. package/dist/header.js +4 -4
  140. package/dist/index.js +20 -20
  141. package/dist/info-icon.js +3 -3
  142. package/dist/input-field.js +4 -4
  143. package/dist/internal.js +8 -8
  144. package/dist/link.js +1 -1
  145. package/dist/loading-indicator.js +1 -1
  146. package/dist/menu.js +1 -1
  147. package/dist/modal-fullscreen.js +6 -6
  148. package/dist/modal.js +6 -6
  149. package/dist/pagination.js +3 -3
  150. package/dist/payment-method.js +2 -2
  151. package/dist/popover.js +1 -1
  152. package/dist/popper-container.js +1 -1
  153. package/dist/radio-group.js +4 -4
  154. package/dist/search-bar.js +8 -8
  155. package/dist/search-bar.js.map +1 -1
  156. package/dist/secondary-nav.js +2 -2
  157. package/dist/segmented-control.js +3 -3
  158. package/dist/sidepanel.js +6 -6
  159. package/dist/status.js +2 -2
  160. package/dist/stepper.js +3 -3
  161. package/dist/structured-list.js +1 -1
  162. package/dist/summary-grid.js +3 -3
  163. package/dist/tabs.js +2 -2
  164. package/dist/tag.js +3 -3
  165. package/dist/textarea.js +4 -4
  166. package/dist/timeline.js +7 -7
  167. package/dist/toast.js +2 -2
  168. package/dist/toggle.js +2 -2
  169. package/dist/tutorial.js +6 -6
  170. package/dist/typography.js +1 -1
  171. package/dist/web-types.json +16 -7
  172. package/package.json +2 -2
  173. package/dist/chunks/base-modal.27c6f2db.js.map +0 -1
  174. package/dist/chunks/dropdown-default-textbox.59803edd.js.map +0 -1
  175. package/dist/chunks/index.026ae47b.js +0 -32
  176. package/dist/chunks/index.408e1419.js.map +0 -1
  177. package/dist/chunks/index.5b47c56b.js.map +0 -1
package/dist/status.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, computed as a } from "vue";
2
- import { B as o } from "./chunks/index.de687404.js";
2
+ import { B as o } from "./chunks/index.2f00afab.js";
3
3
  import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
4
- import "./assets/index30.css";
4
+ import "./assets/index34.css";
5
5
  var r = /* @__PURE__ */ ((s) => (s.BLUE = "blue", s.GREEN = "green", s.GREY = "grey", s.ORANGE = "orange", s.RED = "red", s.YELLOW = "yellow", s))(r || {});
6
6
  const _ = n({
7
7
  name: "bento-status",
package/dist/stepper.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as p, computed as o, watch as A, provide as w, readonly as K, useSlots as W, inject as z, onMounted as Z } from "vue";
2
- import { B as L } from "./chunks/index.de687404.js";
2
+ import { B as L } from "./chunks/index.2f00afab.js";
3
3
  import { B as I, a as M } from "./chunks/keyboard-navigation.ca47dfa8.js";
4
4
  import { u as U } from "./chunks/i18n.eb5b985b.js";
5
5
  import { n as T } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
6
- import { B as j } from "./chunks/base-button.3c3d473d.js";
6
+ import { B as j } from "./chunks/base-button.d3f27fe6.js";
7
7
  import { C as G } from "./chunks/checkmark-small.520f01b1.js";
8
- import "./assets/index31.css";
8
+ import "./assets/index48.css";
9
9
  const q = (i) => {
10
10
  function s(r) {
11
11
  return ({ detail: u }) => {
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/index.0bb773a7.js";
1
+ import { B as r, a as o } from "./chunks/index.211ea795.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -4,10 +4,10 @@ import { S as h } from "./chunks/summary-grid.keys.1d1028c2.js";
4
4
  import { G as E } from "./chunks/grid-layout.e0025286.js";
5
5
  import { n as c } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
6
6
  import { BentoInfoIcon as O } from "./info-icon.js";
7
- import { B as L, a as g } from "./chunks/index.de687404.js";
7
+ import { B as L, a as g } from "./chunks/index.2f00afab.js";
8
8
  import { BentoTag as M, BentoTagVariant as f } from "./tag.js";
9
- import { C as G } from "./chunks/copy.647aae54.js";
10
- import "./assets/index44.css";
9
+ import { C as G } from "./chunks/copy.a9f87101.js";
10
+ import "./assets/index36.css";
11
11
  const P = l({
12
12
  name: "bento-summary-grid",
13
13
  components: { GridLayout: E },
package/dist/tabs.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as m, toRefs as C, ref as b, provide as u, computed as w, inject as p, onUnmounted as A, watch as N, nextTick as B } from "vue";
2
2
  import { E as k, T as I, a as h } from "./chunks/tabs.keys.358742f2.js";
3
3
  import { n as g } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
4
- import { B as R } from "./chunks/index.de687404.js";
4
+ import { B as R } from "./chunks/index.2f00afab.js";
5
5
  import { g as D } from "./chunks/unique-id.a2a2b458.js";
6
- import { F as S } from "./chunks/fixed-scroller.06574a66.js";
6
+ import { F as S } from "./chunks/fixed-scroller.c430a595.js";
7
7
  import "./assets/index33.css";
8
8
  const K = m({
9
9
  props: {
package/dist/tag.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as c, computed as o } from "vue";
2
- import { B as d } from "./chunks/index.de687404.js";
2
+ import { B as d } from "./chunks/index.2f00afab.js";
3
3
  import { u as m } from "./chunks/aria-label.ac9651a5.js";
4
4
  import { g as s } from "./chunks/get-slot-text.99c3d860.js";
5
- import { B as _ } from "./chunks/tooltip.6748027a.js";
5
+ import { B as _ } from "./chunks/tooltip.0459eb5c.js";
6
6
  import { n as v } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
7
- import "./assets/index34.css";
7
+ import "./assets/index38.css";
8
8
  var r = /* @__PURE__ */ ((t) => (t.GREY = "grey", t.BLUE = "blue", t.GREEN = "green", t.ORANGE = "orange", t.RED = "red", t.WHITE = "white", t))(r || {});
9
9
  const p = c({
10
10
  name: "bento-tag",
package/dist/textarea.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as K, useAttrs as Q, toRefs as O, ref as u, toRef as X, computed as o, watch as L, nextTick as ee, onMounted as te, onUnmounted as ae } from "vue";
2
- import { a as le } from "./chunks/button.0b6cda85.js";
3
- import { B as re } from "./chunks/index.de687404.js";
2
+ import { a as le } from "./chunks/button.27948f1c.js";
3
+ import { B as re } from "./chunks/index.2f00afab.js";
4
4
  import { n as w } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
5
5
  import { g as se } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { o as F } from "./chunks/resize.a041304d.js";
7
7
  import { u as oe } from "./chunks/aria-label.ac9651a5.js";
8
8
  import { u as ne } from "./chunks/i18n.eb5b985b.js";
9
9
  import { u as ie } from "./chunks/use-form-layout-loading.d03e5d48.js";
10
- import { E as ue, F as ce } from "./chunks/error-message.75666843.js";
11
- import "./assets/index35.css";
10
+ import { E as ue, F as ce } from "./chunks/error-message.3d436de3.js";
11
+ import "./assets/index37.css";
12
12
  let T = 0;
13
13
  const de = {
14
14
  beforeCreate() {
package/dist/timeline.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as Y, computed as r, ref as N, toRefs as Z, provide as A, inject as D, onUnmounted as G } from "vue";
2
- import { a as z } from "./chunks/button.0b6cda85.js";
2
+ import { a as z } from "./chunks/button.27948f1c.js";
3
3
  import { BentoTextarea as Q } from "./textarea.js";
4
4
  import { u as H } from "./chunks/i18n.eb5b985b.js";
5
- import { B as X } from "./chunks/button-actions.1dc90a19.js";
5
+ import { B as X } from "./chunks/button-actions.98e96aa6.js";
6
6
  import { n as x } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
7
- import { B as ee } from "./chunks/index.5bfc67d1.js";
8
- import { B as te } from "./chunks/index.5b47c56b.js";
7
+ import { B as ee } from "./chunks/index.af17c8ac.js";
8
+ import { B as te } from "./chunks/index.54eb824c.js";
9
9
  import { BentoTag as ie } from "./tag.js";
10
- import { B as ae, d as se } from "./chunks/index.de687404.js";
11
- import { B as ne, a as oe, S as re } from "./chunks/index.0bb773a7.js";
10
+ import { B as ae, d as se } from "./chunks/index.2f00afab.js";
11
+ import { B as ne, a as oe, S as re } from "./chunks/index.211ea795.js";
12
12
  import { g as le } from "./chunks/unique-id.a2a2b458.js";
13
13
  import { u as me } from "./chunks/use-has-slot.fbeb19ec.js";
14
14
  import { r as ce, e as de, t as w, g as k } from "./chunks/index.f55fdc32.js";
15
15
  import { c as ue, a as _e } from "./chunks/index.86453263.js";
16
- import "./assets/index36.css";
16
+ import "./assets/index39.css";
17
17
  var F = 1e3 * 60, M = 60 * 24, U = M * 30, j = M * 365;
18
18
  function B(t, e) {
19
19
  var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
package/dist/toast.js CHANGED
@@ -2,8 +2,8 @@ import { defineComponent as d, ref as u, computed as c, onMounted as g, watch as
2
2
  import { u as y } from "./chunks/toastController.fd667b68.js";
3
3
  import { I as C } from "./chunks/info-filled.c37e091d.js";
4
4
  import { C as k } from "./chunks/cross-small.e851e0de.js";
5
- import { a as x } from "./chunks/button.0b6cda85.js";
6
- import { B as S } from "./chunks/index.de687404.js";
5
+ import { a as x } from "./chunks/button.27948f1c.js";
6
+ import { B as S } from "./chunks/index.2f00afab.js";
7
7
  import { u as w } from "./chunks/use-has-slot.fbeb19ec.js";
8
8
  import { n as f } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
9
9
  import "./assets/index40.css";
package/dist/toggle.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as k, ref as p, computed as u, toRefs as I, watch as A } from "vue";
2
2
  import { C as B } from "./chunks/checkmark-small.520f01b1.js";
3
- import { B as L } from "./chunks/index.de687404.js";
3
+ import { B as L } from "./chunks/index.2f00afab.js";
4
4
  import { g as E } from "./chunks/unique-id.a2a2b458.js";
5
5
  import { u as F } from "./chunks/use-default-slot-validator.b9bff4c6.js";
6
6
  import { u as R } from "./chunks/use-has-slot.fbeb19ec.js";
7
7
  import { g } from "./chunks/get-slot-text.99c3d860.js";
8
8
  import { u as x } from "./chunks/aria-label.ac9651a5.js";
9
9
  import { n as T } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
10
- import "./assets/index46.css";
10
+ import "./assets/index44.css";
11
11
  var f = /* @__PURE__ */ ((t) => (t.LABEL_FIRST = "label-first", t))(f || {}), d = /* @__PURE__ */ ((t) => (t.BEFORE = "before", t.AFTER = "after", t))(d || {});
12
12
  const D = k({
13
13
  name: "bento-toggle",
package/dist/tutorial.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as g, ref as d, computed as a, isRef as R, watch as F, nextTick as $ } from "vue";
2
- import { B as I } from "./chunks/index.a52b98d1.js";
3
- import { B as S, a as P } from "./chunks/index.932c230b.js";
4
- import { B as k } from "./chunks/index.de687404.js";
2
+ import { B as I } from "./chunks/index.d080a0e6.js";
3
+ import { B as S, a as P } from "./chunks/index.de9a552e.js";
4
+ import { B as k } from "./chunks/index.2f00afab.js";
5
5
  import { BentoImage as w } from "./image.js";
6
6
  import { u as A } from "./chunks/i18n.eb5b985b.js";
7
7
  import { R as N } from "./chunks/refresh.71a03998.js";
8
8
  import { n as f } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
9
- import { a as T, h as D, o as M } from "./chunks/index.dc985e76.js";
10
- import { B as V } from "./chunks/button-actions.1dc90a19.js";
11
- import "./assets/index48.css";
9
+ import { a as T, h as D, o as M } from "./chunks/index.a2095588.js";
10
+ import { B as V } from "./chunks/button-actions.98e96aa6.js";
11
+ import "./assets/index46.css";
12
12
  var E;
13
13
  const j = /* @__PURE__ */ g({
14
14
  __name: "tutorial-indicator",
@@ -1,4 +1,4 @@
1
- import { B as p, c as e, b as r, a as y } from "./chunks/index.de687404.js";
1
+ import { B as p, c as e, b as r, a as y } from "./chunks/index.2f00afab.js";
2
2
  export {
3
3
  p as BentoTypography,
4
4
  e as BentoTypographyElement,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.19.0",
4
+ "version": "1.20.1",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -3090,10 +3090,10 @@
3090
3090
  "attributes": [
3091
3091
  {
3092
3092
  "name": "options",
3093
- "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCountryFilterOptions}\n - variant: Which label variant to display for the option item.",
3093
+ "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCurrencyFilterOptions}",
3094
3094
  "value": {
3095
3095
  "kind": "expression",
3096
- "type": "BentoSelectCountryFilterOptions"
3096
+ "type": "BentoSelectCurrencyFilterOptions"
3097
3097
  },
3098
3098
  "default": "undefined"
3099
3099
  }
@@ -3104,7 +3104,7 @@
3104
3104
  }
3105
3105
  ],
3106
3106
  "source": {
3107
- "module": "./src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue",
3107
+ "module": "./src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue",
3108
3108
  "symbol": "default"
3109
3109
  }
3110
3110
  },
@@ -3114,10 +3114,10 @@
3114
3114
  "attributes": [
3115
3115
  {
3116
3116
  "name": "options",
3117
- "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCurrencyFilterOptions}",
3117
+ "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCountryFilterOptions}\n - variant: Which label variant to display for the option item.",
3118
3118
  "value": {
3119
3119
  "kind": "expression",
3120
- "type": "BentoSelectCurrencyFilterOptions"
3120
+ "type": "BentoSelectCountryFilterOptions"
3121
3121
  },
3122
3122
  "default": "undefined"
3123
3123
  }
@@ -3128,7 +3128,7 @@
3128
3128
  }
3129
3129
  ],
3130
3130
  "source": {
3131
- "module": "./src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue",
3131
+ "module": "./src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue",
3132
3132
  "symbol": "default"
3133
3133
  }
3134
3134
  },
@@ -8040,6 +8040,15 @@
8040
8040
  },
8041
8041
  "default": "null"
8042
8042
  },
8043
+ {
8044
+ "name": "truncate",
8045
+ "required": false,
8046
+ "description": "Set to true to truncate link. Doesn't work with disableTypography.",
8047
+ "value": {
8048
+ "kind": "expression",
8049
+ "type": "boolean"
8050
+ }
8051
+ },
8043
8052
  {
8044
8053
  "name": "variant",
8045
8054
  "required": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.19.0",
3
+ "version": "1.20.1",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -60,7 +60,7 @@
60
60
  "url": "git@github.com:Adyen/bento.git"
61
61
  },
62
62
  "dependencies": {
63
- "@adyen/bento-design-tokens": "1.19.0",
63
+ "@adyen/bento-design-tokens": "1.20.1",
64
64
  "@adyen/ui-assets-icons-16": "4.1.0",
65
65
  "@adyen/ui-assets-payment-method-icons": "6.1.0",
66
66
  "@codemirror/commands": "6.3.3",
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-modal.27c6f2db.js","sources":["../../src/components/modal/modal.types.ts","../../src/components/modal/components/base-modal/base-modal.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalVariant {\n DEFAULT = 'default',\n DIALOG = 'dialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalVariantMapping {\n DEFAULT = 'BentoModalDefault',\n DIALOG = 'BentoModalDialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalColumnLayoutVariant {\n SMALLER = 'smaller',\n EQUAL = 'equal',\n BIGGER = 'bigger',\n}\n\nexport enum BentoModalRole {\n DIALOG = 'dialog',\n ALERT_DIALOG = 'alertdialog',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoModalDialogType {\n CONFIRMATION = 'confirmation',\n DESTRUCTIVE = 'destructive',\n INFO = 'info',\n ACKNOWLEDGEMENT = 'acknowledgement',\n}\n\nexport enum BentoModalEvent {\n CLOSE_MODAL = 'close-modal',\n}\n","<template>\n <div class=\"b-modal-base\">\n <dialog\n :id=\"modalId\"\n ref=\"modal\"\n :role=\"modalRole\"\n :aria-label=\"computedAriaLabel\"\n class=\"b-modal-base__container\"\n :class=\"modalConditionalClasses\"\n :open=\"initiallyOpen\"\n @animationend=\"closeModalAfterAnimation\"\n @click=\"isDismissible && closeModalOnClickOutside($event)\"\n @keydown.esc=\"internalModalActionClose\"\n >\n <bento-focus-trap v-if=\"isOpen || initiallyOpen\">\n <div class=\"b-modal-base__wrapper\">\n <div\n v-if=\"hasSlot('default') || showCloseButton\"\n class=\"b-modal-base__header-container\"\n :style=\"customPaddingStyles.header\"\n >\n <div class=\"b-modal-base__header\">\n <bento-typography\n class=\"b-modal-base__title\"\n aria-label=\"base modal title\"\n el=\"span\"\n variant=\"title\"\n stronger\n >\n <slot v-if=\"hasSlot('default')\" />\n </bento-typography>\n <bento-button\n v-if=\"showCloseButton\"\n class=\"b-modal-base__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"internalModalActionClose\"\n >\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n\n <div\n class=\"b-modal-base__content\"\n :class=\"modalContentConditionalClasses\"\n :style=\"customPaddingStyles.content\"\n >\n <bento-typography\n v-if=\"hasSlot('content') || (hasSlot('content-col-1') && hasSlot('content-col-2'))\"\n aria-label=\"base modal content\"\n el=\"div\"\n variant=\"body\"\n stronger\n >\n <grid-layout\n v-if=\"hasColumnLayout\"\n :column-width=\"computedColumnWidth\"\n :container-type=\"GridLayoutContainerType.NORMAL\"\n no-gap\n class=\"b-modal-base__grid\"\n >\n <template #col-1><slot name=\"content-col-1\"></slot></template>\n <template #col-2><slot name=\"content-col-2\"></slot></template>\n </grid-layout>\n <slot v-else name=\"content\" />\n </bento-typography>\n </div>\n\n <div\n v-if=\"hasSlot('actions')\"\n class=\"b-modal-base__actions-container\"\n :style=\"customPaddingStyles.actions\"\n >\n <bento-divider v-if=\"hasColumnLayout\" class=\"b-modal-base__divider\" />\n\n <div aria-label=\"modal actions\" class=\"b-modal-base__actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n </div>\n </bento-focus-trap>\n </dialog>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, onMounted, PropType, provide, ref, useAttrs, useSlots, watch } from 'vue';\n import { BentoModalColumnLayoutVariant, BentoModalRole, BentoModalSize } from '@/components/modal/modal.types';\n import { BentoTypography } from '@/components/typography';\n import { BentoButton, BentoButtonActionsList } from '@/components/button';\n import { BentoDivider } from '@/components/divider';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import { GridLayout, GridLayoutContainerType } from '@/internal';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import { MODAL_DIALOG_ID_INJECTION_KEY } from '@/components/modal/components/base-modal/base-modal.keys';\n import { generateUid } from '@/utils/ts/unique-id';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n const LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME = 500;\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const slots = useSlots();\n const attrs = useAttrs();\n const hasSlot = useHasSlot(slots);\n const modal = ref<HTMLDialogElement>(null);\n const isClosing = ref(false);\n const modalId = generateUid('modal');\n\n const emit = defineEmits<{\n /**\n * Emitted when the modal is closed.\n */\n (e: 'close-modal');\n }>();\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n },\n\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: { type: String, default: null },\n\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: { type: Boolean, required: true },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: { type: Boolean, default: false },\n\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: { type: Boolean, required: true },\n\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: { type: Boolean, required: true },\n\n /**\n * Defines whether the modal will be an alert modal\n */\n modalRole: { type: String, default: BentoModalRole.DIALOG },\n\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n default: BentoModalSize.SMALL,\n },\n\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: { type: Boolean, default: false },\n });\n\n const showCloseButton = computed(() => props.isDismissible && !props.hideCloseButton);\n\n const customPaddingStyles = computed(() => {\n if (!props.customPadding) {\n return {};\n }\n\n const xPadding = {\n paddingLeft: props.customPadding,\n paddingRight: props.customPadding,\n };\n\n const content = { ...xPadding, paddingTop: undefined, paddingBottom: undefined };\n\n if (!hasSlot('default')) {\n content.paddingTop = props.customPadding;\n }\n\n if (!hasSlot('actions')) {\n content.paddingBottom = props.customPadding;\n }\n\n return {\n header: { ...xPadding, paddingTop: props.customPadding, flex: 0 },\n content,\n actions: { ...xPadding, paddingBottom: props.customPadding },\n };\n });\n\n const computedAriaLabel = computed(() => (attrs['aria-label'] as string) ?? (t('ariaLabelFallback') as string));\n const hasColumnLayout = computed(() => props.withColumnLayout && props.size === BentoModalSize.LARGE);\n\n const openModal = (): void => {\n modal.value.showModal();\n };\n\n const emitCloseEvent = (): void => {\n emit('close-modal');\n };\n\n // Handle closing and closing animation for dialog element\n const closeModalAfterAnimation = () => {\n if (isClosing.value) {\n modal.value.close();\n emitCloseEvent();\n isClosing.value = false;\n }\n };\n\n const startCloseModalAnimation = () => {\n if (!modal.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n /**\n * If the user has pressed escape, clicked outside or clicked the close icon.\n * Needs to be called from outside, following the \"dialog.close()\" pattern,\n * when the closing event is triggered outside of the \"base-modal\"\n * component (e.g. from a closing action).\n */\n const internalModalActionClose = (event?: Event) => {\n if (event) {\n event.preventDefault();\n }\n if (!props.isDismissible && props.modalRole === BentoModalRole.DIALOG) {\n return;\n }\n startCloseModalAnimation();\n };\n\n /**\n * Since the dialog HTML element doesn't automatically close when clicking outside, a check on when the user is clicking is needed.\n * If the click doesn't happen in the dialog box itself, the modal closes\n */\n const closeModalOnClickOutside = ({ target }: Event): void => {\n if (target && (target as HTMLElement).tagName === BentoModalRole.DIALOG.toUpperCase()) {\n internalModalActionClose();\n }\n };\n\n const modalConditionalClasses = computed(() => ({\n [`b-modal-base__container--${props.size}`]: props.size,\n 'b-modal-base__container--hide': isClosing.value,\n 'b-modal-base__container--column-layout': hasColumnLayout.value,\n }));\n\n const modalContentConditionalClasses = computed(() => ({\n 'b-modal-base__content--column-layout': hasColumnLayout.value,\n 'b-modal-base__content--with-header': hasSlot('default'),\n 'b-modal-base__content--with-actions': hasSlot('actions'),\n }));\n\n const computedColumnWidth = computed(() => {\n if (props.columnsSize === BentoModalColumnLayoutVariant.SMALLER) {\n return [\n { small: 4, medium: 4, large: 4 },\n { small: 8, medium: 8, large: 8 },\n ];\n }\n if (props.columnsSize === BentoModalColumnLayoutVariant.BIGGER) {\n return [\n { small: 8, medium: 8, large: 8 },\n { small: 4, medium: 4, large: 4 },\n ];\n }\n return [\n { small: 6, medium: 6, large: 6 },\n { small: 6, medium: 6, large: 6 },\n ];\n });\n\n watch(\n () => [props.isOpen, modal.value],\n ([newIsOpen, newModalValue], [, oldModalValue]): void => {\n if (!newModalValue) {\n return;\n }\n\n const isFirstMutation = !oldModalValue;\n if (newIsOpen) {\n openModal();\n } else if (!isFirstMutation) {\n startCloseModalAnimation();\n }\n }\n );\n\n // If the first button is a loading button then close the modal have 0.5 seconds\n // if the state is changed to 'success'.\n watch(\n () => props.actions,\n () => {\n if (props.actions?.[0]?.state === 'success') {\n setTimeout(startCloseModalAnimation, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME);\n }\n },\n { deep: true }\n );\n\n onMounted(() => {\n if (props.isOpen && modal.value) {\n openModal();\n }\n });\n\n /**\n * Expose methods through its 'ref'\n */\n defineExpose({\n internalModalActionClose,\n });\n\n // Let's Children components know they are inside a Modal (dialog element)\n provide(MODAL_DIALOG_ID_INJECTION_KEY, modalId);\n</script>\n\n<script lang=\"ts\">\n /**\n * Dialog container. It creates a dialog HTML element for the modal to use.\n *\n * @example\n * import BaseModal from './components/base-modal/base-modal.vue';\n *\n * export default {\n * components: { BaseModal },\n * template: `\n * <base-modal\n * :hide-close-button=\"true\"\n * :is-dismissible=\"false\"\n * :is-open=\"isOpen\"\n * @close-modal=\"isOpen = false\"\n * >\n * <template #content-col-1>\n * // Content on the left side column\n * </template>\n *\n * <template #content-col-2>\n * // Content on the right side column\n * </template>\n *\n * <template v-if=\"actions\" #actions>\n * <footer-actions :actions=\"actions\" />\n * </template>\n * </base-modal>\n * `,\n * setup() {\n * const isOpen = ref(true)\n * const footerActions = [{\n * title: 'Primary action',\n * event: () => { ... }\n * }]\n * }\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'base-modal',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./base-modal.scss\" />\n"],"names":["BentoModalVariant","BentoModalVariant2","BentoModalVariantMapping","BentoModalVariantMapping2","BentoModalSize","BentoModalSize2","BentoModalColumnLayoutVariant","BentoModalColumnLayoutVariant2","BentoModalRole","BentoModalRole2","BentoModalDialogType","BentoModalDialogType2","BentoModalEvent","BentoModalEvent2","__default__","defineComponent","messages","LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME","t","useI18n","slots","useSlots","attrs","useAttrs","hasSlot","useHasSlot","modal","ref","isClosing","modalId","generateUid","showCloseButton","computed","props","customPaddingStyles","xPadding","content","computedAriaLabel","hasColumnLayout","openModal","emitCloseEvent","emit","closeModalAfterAnimation","startCloseModalAnimation","internalModalActionClose","event","closeModalOnClickOutside","target","modalConditionalClasses","modalContentConditionalClasses","computedColumnWidth","watch","newIsOpen","newModalValue","oldModalValue","_b","_a","onMounted","expose","provide","MODAL_DIALOG_ID_INJECTION_KEY"],"mappings":";;;;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,SAAA,UAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,qBACAA,EAAA,SAAA,oBAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,QAAA,SACAA,EAAA,SAAA,UACAA,EAAA,QAAA,SAHQA,IAAAD,KAAA,CAAA,CAAA,GASAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,QAAA,SACAA,EAAA,SAAA,UAHQA,IAAAD,KAAA,CAAA,CAAA,GAMAE,IAAA,kBAAAC,OACRA,EAAA,SAAA,UACAA,EAAA,eAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,eAAA,gBACAA,EAAA,cAAA,eACAA,EAAA,OAAA,QACAA,EAAA,kBAAA,mBAJQA,IAAAD,KAAA,CAAA,CAAA,GAOAE,KAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,MAAA,CAAA,CAAA;;;;;;GCgWRE,KAAAC,EAAA;AAAA,EAA+B,MAAA,EAAA,UAAAC,GAAA;AAAA,EACV,MAAA;AAErB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA9SAC,IAAA,KAEA,EAAA,GAAAC,EAAA,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,I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EAAA,WAAA,aACI,WAAAZ,GAAA1B,CAAA;AAAA,MACJ;AAAA,MACJ,EAAA,MAAA,GAAA;AAAA,IACa,GAGjBwC,EAAA,MAAA;AACI,MAAAxB,EAAA,UAAAP,EAAA,SACIa,EAAA;AAAA,IACJ,CAAA,GAMJmB,EAAA;AAAA,MAAa,0BAAAd;AAAA,IACT,CAAA,GAIJe,EAAAC,GAAA/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-default-textbox.59803edd.js","sources":["../../src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.ts","../../src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue","../../src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue"],"sourcesContent":["import { PropType } from 'vue';\nimport { Booleanish } from '@/types';\n\n// TODO: Change this to script setup + Typescript interface\nexport const DropdownBaseTextboxProps = {\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * Sets the possibility to type into the textbox\n */\n dynamicFiltering: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: {\n type: String,\n required: true,\n },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /**\n * Custom debounce time. Default: 300\n */\n debounceTime: { type: Number, default: 300 },\n};\n\nexport enum DropdownBaseTextboxState {\n DISABLED = 'disabled',\n READONLY = 'readonly',\n HAS_ITEMS = 'has-items',\n OPENED = 'opened',\n ERROR = 'error',\n}\n\nexport enum DropdownBaseTextboxEvent {\n OPEN = 'dropdown-base-open',\n KEYDOWN = 'dropdown-base-keydown',\n CLOSE = 'dropdown-base-close',\n INPUT = 'dropdown-base-input',\n CLEAR = 'dropdown-base-clear',\n}\n\nexport default DropdownBaseTextboxProps;\n","<template>\n <div\n :class=\"$attrs.class\"\n data-testid=\"textbox-wrapper\"\n @click=\"onToggleDropdown\"\n @keydown.escape=\"onCloseDropdown\"\n >\n <bento-typography\n class=\"b-dropdown-base-textbox\"\n :class=\"conditionalClasses\"\n el=\"div\"\n data-testid=\"base-textbox\"\n >\n <input\n v-if=\"shouldShowInput\"\n v-bind=\"ariaAttributes\"\n :id=\"textboxId\"\n ref=\"textbox\"\n class=\"b-dropdown-base-textbox__input\"\n role=\"combobox\"\n type=\"text\"\n aria-autocomplete=\"list\"\n :value=\"open ? value : displayValue\"\n :disabled=\"disabled ? true : null\"\n :readonly=\"readonly\"\n @keydown=\"$emit(DropdownBaseTextboxEvent.KEYDOWN, $event)\"\n @keydown.enter=\"onToggleDropdown\"\n @input=\"onInputEvent\"\n />\n <div\n v-else\n :id=\"textboxId\"\n v-bind=\"ariaAttributes\"\n ref=\"textbox\"\n class=\"b-dropdown-base-textbox__input\"\n :class=\"comboboxConditionalClasses\"\n role=\"combobox\"\n :tabindex=\"0\"\n >\n <!-- <span :aria-hidden=\"!displayValue ? true : null\"> -->\n <slot v-if=\"selectedValueItem && !multiple\" v-bind=\"selectedValueItem\">\n {{ displayValue }}\n </slot>\n <template v-else-if=\"selectedValueItem && showSlotContentInMultiple\">\n <div class=\"b-dropdown-base-textbox__input-multiple-selected\">\n <div v-for=\"singleItem of selectedValueItems\" :key=\"singleItem.value\">\n <div class=\"b-dropdown-base-textbox__input-selected-element\">\n <slot v-bind=\"singleItem\">\n {{ displayValue }}\n </slot>\n </div>\n </div>\n </div>\n </template>\n <template v-else>{{ displayValue }}</template>\n <!-- </span> -->\n </div>\n <span v-if=\"additionalItemsSelected\" class=\"b-dropdown-base-textbox__additional-items\">\n {{ additionalItemsSelected }}\n </span>\n <span v-if=\"hasSlot('icon') && !isFiltering\" class=\"b-dropdown-base-textbox__icon\" aria-hidden=\"true\">\n <slot name=\"icon\"></slot>\n </span>\n <span\n v-if=\"isFiltering\"\n class=\"b-dropdown-base-textbox__clear-search\"\n tabindex=\"0\"\n data-testid=\"clear-search-button\"\n @click.stop=\"onClearSearch\"\n @keydown.enter.stop=\"onClearSearch\"\n @keyup.space=\"onClearSearch\"\n >\n <cross-circle-fill-icon :svg-title=\"'clearSearch'\" />\n </span>\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, nextTick, PropType, ref, useAttrs, useSlots, watch } from 'vue';\n import { generateUid } from '@/utils/ts/unique-id';\n import { useHasSlot } from '@/composables';\n import { BentoTypography } from '@/components/typography';\n import { debounce } from '@/utils/ts/debounce';\n import { BentoListboxOptionItem, Booleanish } from '@/types';\n import type { HTMLAttributes } from 'vue/types/jsx';\n import { DropdownBaseTextboxEvent, DropdownBaseTextboxState } from './dropdown-base-textbox.types';\n import CrossCircleFillIcon from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n\n const attrs = useAttrs();\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const props = defineProps({\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * If the combobox DOM element should be an `input` element.\n */\n alwaysComboboxIsInput: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: { type: String, required: true },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * If no label element is used then the aria-label is be set should be set.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: { type: String, default: null },\n\n /**\n * Custom debounce time for the user type event.\n */\n debounceTime: { type: Number, default: 300 },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Sets the possibility to type into the textbox.\n */\n dynamicFiltering: { type: Boolean, default: false },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /*\n * If enabled, the user will be able to select multiple items.\n */\n multiple: { type: Boolean, default: false },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * Sets the dropdown to readonly state\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /**\n * The selected value's list box item.\n */\n selectedValueItem: {\n type: [Object, Array] as PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>,\n default: undefined,\n },\n\n /**\n * Toggles whether to use the slot content select items shown in the textbox in multiple mode.\n */\n showSlotContentInMultiple: { type: Boolean, default: false },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the \"clear\" button is clicked\n */\n (e: DropdownBaseTextboxEvent.CLEAR);\n\n /**\n * Emitted on click, space, enter and esc user events. It will close the dropdown.\n */\n (e: DropdownBaseTextboxEvent.CLOSE);\n\n /**\n * Emitted when `dynamicFiltering` is enabled and a search input is entered\n */\n (e: DropdownBaseTextboxEvent.INPUT, searchValue: string);\n\n /**\n * Emitted when any key is pressed and the focus is on the input field\n */\n (e: DropdownBaseTextboxEvent.KEYDOWN, event: KeyboardEvent);\n\n /**\n * Emitted on click, space and enter user events. It will open the dropdown.\n */\n (e: DropdownBaseTextboxEvent.OPEN);\n }>();\n\n const textbox = ref(null);\n const textboxId = generateUid('textbox');\n\n const conditionalClasses = computed(() => ({\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.DISABLED}`]: props.disabled,\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.READONLY}`]: props.readonly,\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.HAS_ITEMS}`]: !!props.additionalItemsSelected,\n }));\n\n const comboboxConditionalClasses = computed(() => ({\n [`b-dropdown-base-textbox__input--dynamic-filtering`]: props.dynamicFiltering,\n }));\n\n const isFiltering = computed(() => props.dynamicFiltering && !!props.value && props.open);\n\n const ariaAttributes = computed(\n () =>\n ({\n 'aria-haspopup': 'listbox',\n 'aria-controls': props.ariaControls,\n 'aria-describedby': attrs['aria-describedby']?.toString() as string,\n 'aria-expanded': props.ariaExpanded ? 'true' : 'false',\n 'aria-labelledby': props.ariaLabelledby,\n 'aria-label': props.ariaLabelledby ? null : props.ariaLabel,\n 'aria-invalid': props.isInvalid,\n 'aria-disabled': props.disabled ? true : null,\n } as HTMLAttributes)\n );\n\n const shouldShowInput = computed(() => props.dynamicFiltering && (props.open || props.alwaysComboboxIsInput));\n watch(\n () => shouldShowInput.value,\n () => {\n if (shouldShowInput.value && !props.alwaysComboboxIsInput) {\n nextTick(() => {\n textbox.value.focus();\n });\n }\n }\n );\n\n const onOpenDropdown = () => {\n if (!props.disabled && !props.readonly) {\n textbox.value.focus();\n emit(DropdownBaseTextboxEvent.OPEN);\n }\n };\n\n const onCloseDropdown = () => {\n if (props.open) {\n textbox.value.focus();\n emit(DropdownBaseTextboxEvent.CLOSE);\n }\n };\n\n const onToggleDropdown = (event: Event) => {\n const isDynamicFilteringInputClickEvent = props.open && (event.target as HTMLDivElement).tagName === 'INPUT';\n if (isDynamicFilteringInputClickEvent) {\n /**\n * When there's a click even on the input during filtering\n * and the popover is open, do not toggle the popover.\n * Allow for click events inside the input field\n */\n return null;\n }\n\n return props.open ? onCloseDropdown() : onOpenDropdown();\n };\n\n const onClearSearch = () => {\n emit(DropdownBaseTextboxEvent.CLEAR);\n emit(DropdownBaseTextboxEvent.INPUT, '');\n textbox.value.focus();\n };\n const onInputEvent = debounce<(event: Event) => void>((event: Event) => {\n if (!props.readonly && !props.disabled) {\n emit(DropdownBaseTextboxEvent.INPUT, (event.target as HTMLInputElement).value);\n } else {\n event.preventDefault();\n event.stopPropagation();\n }\n }, props.debounceTime);\n\n // Cast selectedValueItem if it is an array of selected items\n const selectedValueItems = computed(() =>\n props.multiple ? (props.selectedValueItem as BentoListboxOptionItem[]) : []\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Only for internal use, implements the logic of the textbox element to be implemented in the combobox.\n */\n export default defineComponent({\n name: 'dropdown-base-textbox',\n inheritAttrs: false,\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-base-textbox.scss\" />\n","<template>\n <div class=\"b-dropdown-default-textbox\" :class=\"conditionalClasses\" data-testid=\"default-textbox\">\n <dropdown-base-textbox\n v-bind=\"{ ...$attrs, ...$props }\"\n class=\"b-dropdown-default-textbox__textbox\"\n :value=\"value\"\n v-on=\"listeners\"\n >\n <template v-for=\"(_, innerSlot) of slots\" #[innerSlot]=\"scope\">\n <slot :name=\"innerSlot\" v-bind=\"scope\" />\n </template>\n <template #icon>\n <div class=\"b-dropdown-default-textbox__chevron\">\n <chevron-up-icon v-show=\"isDropdownOpen\" svg-title=\"opened\" />\n <chevron-down-icon v-show=\"!isDropdownOpen\" svg-title=\"closed\" />\n </div>\n </template>\n </dropdown-base-textbox>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, defineComponent, PropType, useSlots } from 'vue';\n import DropdownBaseTextbox from '@/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue';\n import { BentoListboxOptionItem, Booleanish } from '@/types';\n import { stopEventPropagation } from '@/utils/ts/events';\n import {\n DropdownBaseTextboxEvent,\n DropdownBaseTextboxState,\n } from '../dropdown-base-textbox/dropdown-base-textbox.types';\n import ChevronDownIcon from '@adyen/ui-assets-icons-16/vue/chevron-down';\n import ChevronUpIcon from '@adyen/ui-assets-icons-16/vue/chevron-up';\n\n const emit = defineEmits<{\n /**\n * Emitted on clearing the input.\n */\n (e: 'clear');\n\n /**\n * Emitted on click, space and enter user events. It will open the dropdown.\n */\n (e: 'close');\n\n /**\n * Emitted on input event.\n */\n (e: 'input', newInput: string);\n\n /**\n * Emitted on keydown event.\n */\n (e: 'keydown', keydownEvent: KeyboardEvent);\n\n /**\n * Emitted on click, space, enter and esc user events. It will close the dropdown.\n */\n (e: 'open');\n }>();\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: {\n type: String,\n required: true,\n },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * If no label element is used then the aria-label is be set should be set.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Renders the dropdown with a condensed style.\n */\n condensed: { type: Boolean, default: false },\n\n /**\n * Custom debounce time. Default: 300\n */\n debounceTime: { type: Number, default: 300 },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Sets the possibility to type into the textbox\n */\n dynamicFiltering: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * Sets the dropdown to readonly state\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The selected value's list box item.\n */\n selectedValueItem: {\n type: [Object, Array] as PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>,\n default: undefined,\n },\n\n /**\n * Toggles whether to use the slot content select items shown in the textbox in multiple mode.\n */\n showSlotContentInMultiple: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /*\n * If enabled, the user will be able to select multiple items.\n */\n multiple: { type: Boolean, default: false },\n });\n\n const conditionalClasses = computed(() => ({\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.ERROR}`]:\n !props.disabled && !props.readonly && props.isInvalid,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.DISABLED}`]: props.disabled,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.READONLY}`]: props.readonly,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.OPENED}`]: props.open,\n 'b-dropdown-default-textbox--condensed': props.condensed,\n }));\n\n const isDropdownOpen = computed(() => props.open && !props.disabled && !props.readonly);\n\n const onInput = (newInput: string) => {\n emit('input', newInput);\n };\n const onKeyDown = (e: KeyboardEvent) => {\n emit('keydown', e);\n };\n const openDropdown = (e: Event) => {\n stopEventPropagation(e);\n emit('open');\n };\n const closeDropdown = (e: Event) => {\n stopEventPropagation(e);\n emit('close');\n };\n const clearValue = (e: Event) => {\n stopEventPropagation(e);\n emit('clear');\n };\n\n const listeners = {\n [DropdownBaseTextboxEvent.INPUT]: onInput,\n [DropdownBaseTextboxEvent.OPEN]: openDropdown,\n [DropdownBaseTextboxEvent.CLOSE]: closeDropdown,\n [DropdownBaseTextboxEvent.CLEAR]: clearValue,\n [DropdownBaseTextboxEvent.KEYDOWN]: onKeyDown,\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * For internal use only, textbox component used in the dropdown component.\n */\n export default defineComponent({\n name: 'dropdown-default-textbox',\n inheritAttrs: false,\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-default-textbox.scss\" />\n"],"names":["DropdownBaseTextboxState","DropdownBaseTextboxState2","DropdownBaseTextboxEvent","DropdownBaseTextboxEvent2","__default__$1","defineComponent","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","textbox","ref","textboxId","generateUid","conditionalClasses","computed","props","comboboxConditionalClasses","isFiltering","ariaAttributes","_a","shouldShowInput","watch","nextTick","onOpenDropdown","emit","onCloseDropdown","onToggleDropdown","event","onClearSearch","onInputEvent","debounce","selectedValueItems","__default__","isDropdownOpen","onInput","newInput","onKeyDown","e","openDropdown","stopEventPropagation","closeDropdown","clearValue","listeners"],"mappings":";;;;;;;;;;AA0EY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,WAAA,YACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,SAAA,UACAA,EAAA,QAAA,SALQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,OAAA,sBACAA,EAAA,UAAA,yBACAA,EAAA,QAAA,uBACAA,EAAA,QAAA,uBACAA,EAAA,QAAA,uBALQA,IAAAD,KAAA,CAAA,CAAA;ACmOR,MAAAE,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,cAAA;AAEV,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/NAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GA6HAI,IAAAC,EAAA,IAAA,GACAC,IAAAC,EAAA,SAAA,GAEAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,4BAAAjB,EAAA,UAAA,GAAAkB,EAAA;AAAA,MACkC,CAAA,4BAAAlB,EAAA,UAAA,GAAAkB,EAAA;AAAA,MACA,CAAA,4BAAA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,IAAW,GAEfgB,IAAA,CAAAH,MAAA;AACI,MAAAE,EAAAF,CAAA,GACAb,EAAA,OAAA;AAAA,IAAY,GAEhBiB,IAAA,CAAAJ,MAAA;AACI,MAAAE,EAAAF,CAAA,GACAb,EAAA,OAAA;AAAA,IAAY,GAGhBkB,IAAA;AAAA,MAAkB,CAAA3C,EAAA,KAAA,GAAAmC;AAAA,MACoB,CAAAnC,EAAA,IAAA,GAAAuC;AAAA,MACD,CAAAvC,EAAA,KAAA,GAAAyC;AAAA,MACC,CAAAzC,EAAA,KAAA,GAAA0C;AAAA,MACA,CAAA1C,EAAA,OAAA,GAAAqC;AAAA,IACE;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,32 +0,0 @@
1
- import { defineComponent as t, inject as r, ref as o, computed as i } from "vue";
2
- import { n as c } from "./_plugin-vue2_normalizer.71e2aa87.js";
3
- import "../assets/index16.css";
4
- const l = Symbol("divider inverse style injection key"), a = {}, d = /* @__PURE__ */ t({
5
- ...a,
6
- __name: "divider",
7
- setup(n) {
8
- const e = r(l, o(!1)), s = i(() => ({
9
- "b-divider--inverse": e.value
10
- }));
11
- return { __sfc: !0, isInverseColorSet: e, conditionalClasses: s };
12
- }
13
- });
14
- var f = function() {
15
- var e = this, s = e._self._c, _ = e._self._setupProxy;
16
- return s("hr", { staticClass: "b-divider", class: _.conditionalClasses });
17
- }, p = [], v = /* @__PURE__ */ c(
18
- d,
19
- f,
20
- p,
21
- !1,
22
- null,
23
- "0575e08f",
24
- null,
25
- null
26
- );
27
- const C = v.exports;
28
- export {
29
- C as B,
30
- l as D
31
- };
32
- //# sourceMappingURL=index.026ae47b.js.map