@adyen/bento-vue3 1.7.0 → 1.8.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 (238) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +11 -0
  4. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +7 -2
  6. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +25 -13
  7. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +25 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +13 -1
  9. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +9 -0
  10. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +6 -2
  11. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +153 -12
  12. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +12 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +319 -96
  15. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +12 -3
  16. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +30 -24
  17. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +9 -0
  19. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +12 -0
  20. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +11 -1
  21. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.d.ts +2 -0
  22. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.d.ts +13 -0
  23. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.d.ts +2 -0
  24. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +14 -0
  25. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.types.d.ts +22 -0
  27. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +48 -0
  28. package/dist/@types/packages/vue2/src/components/internal/field-label/index.d.ts +1 -0
  29. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +11 -0
  30. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
  31. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +2 -1
  32. package/dist/@types/packages/vue2/src/components/popover/popover.keys.d.ts +1 -0
  33. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +18 -24
  34. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -0
  35. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.keys.d.ts +1 -0
  36. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +20 -1
  37. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +4 -4
  38. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +9 -0
  39. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +19 -2
  40. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +4 -2
  41. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +21 -3
  42. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  43. package/dist/accordion.js +2 -2
  44. package/dist/action-bar.js +146 -116
  45. package/dist/action-bar.js.map +1 -1
  46. package/dist/alert.js +3 -3
  47. package/dist/assets/base-modal.css +1 -1
  48. package/dist/assets/calendar.css +1 -1
  49. package/dist/assets/checkbox.css +1 -1
  50. package/dist/assets/controls-group.css +1 -1
  51. package/dist/assets/dropdown.css +1 -1
  52. package/dist/assets/field-label.css +1 -0
  53. package/dist/assets/grid-layout.css +1 -1
  54. package/dist/assets/index.css +1 -1
  55. package/dist/assets/index10.css +1 -1
  56. package/dist/assets/index11.css +1 -1
  57. package/dist/assets/index12.css +1 -1
  58. package/dist/assets/index13.css +1 -1
  59. package/dist/assets/index14.css +1 -1
  60. package/dist/assets/index15.css +1 -1
  61. package/dist/assets/index16.css +1 -1
  62. package/dist/assets/index17.css +1 -1
  63. package/dist/assets/index18.css +1 -1
  64. package/dist/assets/index19.css +1 -1
  65. package/dist/assets/index2.css +1 -1
  66. package/dist/assets/index20.css +1 -1
  67. package/dist/assets/index21.css +1 -1
  68. package/dist/assets/index22.css +1 -1
  69. package/dist/assets/index23.css +1 -1
  70. package/dist/assets/index24.css +1 -1
  71. package/dist/assets/index25.css +1 -1
  72. package/dist/assets/index26.css +1 -1
  73. package/dist/assets/index27.css +1 -1
  74. package/dist/assets/index28.css +1 -1
  75. package/dist/assets/index29.css +1 -1
  76. package/dist/assets/index3.css +1 -1
  77. package/dist/assets/index30.css +1 -1
  78. package/dist/assets/index31.css +1 -1
  79. package/dist/assets/index32.css +1 -1
  80. package/dist/assets/index33.css +1 -1
  81. package/dist/assets/index34.css +1 -1
  82. package/dist/assets/index35.css +1 -1
  83. package/dist/assets/index36.css +1 -1
  84. package/dist/assets/index37.css +1 -1
  85. package/dist/assets/index38.css +1 -1
  86. package/dist/assets/index39.css +1 -1
  87. package/dist/assets/index40.css +1 -1
  88. package/dist/assets/index41.css +1 -1
  89. package/dist/assets/index42.css +1 -1
  90. package/dist/assets/index43.css +1 -1
  91. package/dist/assets/index44.css +1 -1
  92. package/dist/assets/index45.css +1 -1
  93. package/dist/assets/index46.css +1 -1
  94. package/dist/assets/index5.css +1 -1
  95. package/dist/assets/index6.css +1 -1
  96. package/dist/assets/index7.css +1 -1
  97. package/dist/assets/index8.css +1 -1
  98. package/dist/assets/index9.css +1 -1
  99. package/dist/assets/loading-button.css +1 -1
  100. package/dist/avatar-image.js +1 -1
  101. package/dist/badge.js +1 -1
  102. package/dist/button.js +53 -51
  103. package/dist/button.js.map +1 -1
  104. package/dist/card.js +2 -2
  105. package/dist/checkbox.js +6 -6
  106. package/dist/chunks/{base-button.7897a95e.js → base-button.aa085dfa.js} +2 -2
  107. package/dist/chunks/{base-button.7897a95e.js.map → base-button.aa085dfa.js.map} +1 -1
  108. package/dist/chunks/{base-modal.0c85e7cb.js → base-modal.3dcf8376.js} +119 -105
  109. package/dist/chunks/base-modal.3dcf8376.js.map +1 -0
  110. package/dist/chunks/{button-actions-with-menu.fa35390c.js → button-actions-with-menu.3f52ea2d.js} +7 -7
  111. package/dist/chunks/{button-actions-with-menu.fa35390c.js.map → button-actions-with-menu.3f52ea2d.js.map} +1 -1
  112. package/dist/chunks/{button.e5177388.js → button.82ed953e.js} +2 -2
  113. package/dist/chunks/button.82ed953e.js.map +1 -0
  114. package/dist/chunks/calendar.d4ab387d.js +1037 -0
  115. package/dist/chunks/calendar.d4ab387d.js.map +1 -0
  116. package/dist/chunks/checkbox.03c4b0fe.js +265 -0
  117. package/dist/chunks/checkbox.03c4b0fe.js.map +1 -0
  118. package/dist/chunks/controls-group.807b5fb0.js +95 -0
  119. package/dist/chunks/controls-group.807b5fb0.js.map +1 -0
  120. package/dist/chunks/{copy.86236c8d.js → copy.28bd4298.js} +4 -4
  121. package/dist/chunks/{copy.86236c8d.js.map → copy.28bd4298.js.map} +1 -1
  122. package/dist/chunks/{dropdown-default-textbox.0b38fac3.js → dropdown-default-textbox.74c4584a.js} +2 -2
  123. package/dist/chunks/{dropdown-default-textbox.0b38fac3.js.map → dropdown-default-textbox.74c4584a.js.map} +1 -1
  124. package/dist/chunks/{dropdown.afff433b.js → dropdown.502e1f5c.js} +314 -337
  125. package/dist/chunks/dropdown.502e1f5c.js.map +1 -0
  126. package/dist/chunks/field-label.61679178.js +132 -0
  127. package/dist/chunks/field-label.61679178.js.map +1 -0
  128. package/dist/chunks/{fixed-scroller.e5aa7b00.js → fixed-scroller.92bb77a6.js} +2 -2
  129. package/dist/chunks/{fixed-scroller.e5aa7b00.js.map → fixed-scroller.92bb77a6.js.map} +1 -1
  130. package/dist/chunks/{footer-actions.1ce44374.js → footer-actions.cefaf1e2.js} +3 -3
  131. package/dist/chunks/{footer-actions.1ce44374.js.map → footer-actions.cefaf1e2.js.map} +1 -1
  132. package/dist/chunks/{grid-layout.7c919507.js → grid-layout.c2fe3057.js} +43 -34
  133. package/dist/chunks/grid-layout.c2fe3057.js.map +1 -0
  134. package/dist/chunks/{index.fa7b44f1.js → index.0ee895e0.js} +2 -2
  135. package/dist/chunks/{index.fa7b44f1.js.map → index.0ee895e0.js.map} +1 -1
  136. package/dist/chunks/{index.bcc58fdd.js → index.7262642e.js} +3 -3
  137. package/dist/chunks/{index.bcc58fdd.js.map → index.7262642e.js.map} +1 -1
  138. package/dist/chunks/index.726e2f3c.js +339 -0
  139. package/dist/chunks/index.726e2f3c.js.map +1 -0
  140. package/dist/chunks/{index.2bd3812b.js → index.75f3672e.js} +2 -2
  141. package/dist/chunks/{index.2bd3812b.js.map → index.75f3672e.js.map} +1 -1
  142. package/dist/chunks/{index.6a665ade.js → index.abb2a1d5.js} +3 -3
  143. package/dist/chunks/{index.6a665ade.js.map → index.abb2a1d5.js.map} +1 -1
  144. package/dist/chunks/index.b043371e.js +150 -0
  145. package/dist/chunks/index.b043371e.js.map +1 -0
  146. package/dist/chunks/{index.e579bc02.js → index.cf0d3be3.js} +19 -17
  147. package/dist/chunks/{index.e579bc02.js.map → index.cf0d3be3.js.map} +1 -1
  148. package/dist/chunks/{index.c207e9ab.js → index.d2542c6a.js} +132 -135
  149. package/dist/chunks/index.d2542c6a.js.map +1 -0
  150. package/dist/chunks/index.d80206ed.js +10 -0
  151. package/dist/chunks/index.d80206ed.js.map +1 -0
  152. package/dist/chunks/index.e9156fe3.js +817 -0
  153. package/dist/chunks/index.e9156fe3.js.map +1 -0
  154. package/dist/chunks/{listbox-option-tag.809ec40e.js → listbox-option-tag.5b00c85f.js} +3 -3
  155. package/dist/chunks/{listbox-option-tag.809ec40e.js.map → listbox-option-tag.5b00c85f.js.map} +1 -1
  156. package/dist/chunks/{listbox.f6e5a11d.js → listbox.d07c24e6.js} +4 -4
  157. package/dist/chunks/{listbox.f6e5a11d.js.map → listbox.d07c24e6.js.map} +1 -1
  158. package/dist/chunks/loading-button.ad7cfaee.js +108 -0
  159. package/dist/chunks/loading-button.ad7cfaee.js.map +1 -0
  160. package/dist/chunks/{tooltip.f769eb14.js → tooltip.054d2eb6.js} +3 -3
  161. package/dist/chunks/{tooltip.f769eb14.js.map → tooltip.054d2eb6.js.map} +1 -1
  162. package/dist/code-snippet.js +6 -6
  163. package/dist/code-snippet.js.map +1 -1
  164. package/dist/country.js +2 -2
  165. package/dist/currency.js +1 -1
  166. package/dist/data-grid.js +847 -820
  167. package/dist/data-grid.js.map +1 -1
  168. package/dist/date-picker.js +114 -138
  169. package/dist/date-picker.js.map +1 -1
  170. package/dist/date-range-picker.js +2 -2
  171. package/dist/date.js +1 -1
  172. package/dist/divider.js +1 -1
  173. package/dist/dropdown.js +4 -4
  174. package/dist/empty-state.js +3 -3
  175. package/dist/filter-bar.js +17 -16
  176. package/dist/filter-bar.js.map +1 -1
  177. package/dist/focus-trap.js +1 -1
  178. package/dist/form-layout.js +2 -2
  179. package/dist/header.js +76 -80
  180. package/dist/header.js.map +1 -1
  181. package/dist/index.js +207 -205
  182. package/dist/index.js.map +1 -1
  183. package/dist/info-icon.js +3 -3
  184. package/dist/input-field.js +136 -158
  185. package/dist/input-field.js.map +1 -1
  186. package/dist/internal.js +14 -13
  187. package/dist/link.js +2 -2
  188. package/dist/loading-indicator.js +1 -1
  189. package/dist/menu.js +1 -1
  190. package/dist/modal.js +4 -4
  191. package/dist/modal.js.map +1 -1
  192. package/dist/pagination.js +4 -4
  193. package/dist/payment-method.js +2 -2
  194. package/dist/popover.js +3 -359
  195. package/dist/popover.js.map +1 -1
  196. package/dist/popper-container.js +1 -1
  197. package/dist/radio-group.js +4 -4
  198. package/dist/search-bar.js +2 -2
  199. package/dist/segmented-control.js +3 -3
  200. package/dist/sidepanel.js +5 -5
  201. package/dist/status.js +2 -2
  202. package/dist/stepper.js +3 -3
  203. package/dist/structured-list.js +1 -1
  204. package/dist/summary-grid.js +4 -4
  205. package/dist/summary-grid.js.map +1 -1
  206. package/dist/tabs.js +3 -3
  207. package/dist/tag.js +3 -3
  208. package/dist/textarea.js +125 -149
  209. package/dist/textarea.js.map +1 -1
  210. package/dist/timeline.js +312 -229
  211. package/dist/timeline.js.map +1 -1
  212. package/dist/toast.js +3 -3
  213. package/dist/toggle.js +2 -2
  214. package/dist/tutorial.js +49 -49
  215. package/dist/typography.js +1 -1
  216. package/dist/web-types.json +1 -1
  217. package/package.json +2 -2
  218. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -120
  219. package/dist/assets/error-message.css +0 -1
  220. package/dist/chunks/base-modal.0c85e7cb.js.map +0 -1
  221. package/dist/chunks/button.e5177388.js.map +0 -1
  222. package/dist/chunks/calendar.c83d4e99.js +0 -898
  223. package/dist/chunks/calendar.c83d4e99.js.map +0 -1
  224. package/dist/chunks/checkbox.3cdbdd52.js +0 -235
  225. package/dist/chunks/checkbox.3cdbdd52.js.map +0 -1
  226. package/dist/chunks/controls-group.38b436f6.js +0 -136
  227. package/dist/chunks/controls-group.38b436f6.js.map +0 -1
  228. package/dist/chunks/dropdown.afff433b.js.map +0 -1
  229. package/dist/chunks/error-message.64e1964b.js +0 -49
  230. package/dist/chunks/error-message.64e1964b.js.map +0 -1
  231. package/dist/chunks/grid-layout.7c919507.js.map +0 -1
  232. package/dist/chunks/index.369b0e66.js +0 -734
  233. package/dist/chunks/index.369b0e66.js.map +0 -1
  234. package/dist/chunks/index.77f35162.js +0 -134
  235. package/dist/chunks/index.77f35162.js.map +0 -1
  236. package/dist/chunks/index.c207e9ab.js.map +0 -1
  237. package/dist/chunks/loading-button.746b7fa1.js +0 -109
  238. package/dist/chunks/loading-button.746b7fa1.js.map +0 -1
package/dist/popover.js CHANGED
@@ -1,362 +1,6 @@
1
- import { defineComponent as h, computed as r, resolveComponent as i, openBlock as o, createBlock as b, withCtx as _, createTextVNode as L, toDisplayString as I, normalizeClass as B, createVNode as d, ref as w, toRefs as E, Transition as O, createElementBlock as l, createCommentVNode as n, renderSlot as g, createElementVNode as V } from "vue";
2
- import { u as N } from "./chunks/use-has-slot.4d98bf29.js";
3
- import { u as D } from "./chunks/aria-label.ac9651a5.js";
4
- import { c as R, a as S, b as F } from "./chunks/index.bcc58fdd.js";
5
- import { B as j, a as $ } from "./chunks/index.2bd3812b.js";
6
- import { _ as C } from "./chunks/_plugin-vue_export-helper.dad06003.js";
7
- import { a as U } from "./chunks/button.e5177388.js";
8
- import { C as q } from "./chunks/cross.5c36a670.js";
9
- import { BentoButtonActions as z, BentoButtonActionsLayout as P } from "./button.js";
10
- import "./assets/index9.css";
11
- const T = { ...R }, H = h({
12
- components: { BentoTypography: j },
13
- props: {
14
- /**
15
- * Indicates if the popover contains an image.
16
- */
17
- isImageTitle: { type: Boolean, default: !1 },
18
- /**
19
- * Indicates the title you want to give the popover.
20
- */
21
- title: { type: String, default: null }
22
- },
23
- setup(e) {
24
- const t = r(() => !e.isImageTitle), a = r(
25
- () => e.isImageTitle ? $.SUBTITLE : $.BODY
26
- );
27
- return {
28
- // Values
29
- isStrongest: t,
30
- titleVariant: a
31
- };
32
- }
33
- });
34
- function M(e, t, a, c, u, m) {
35
- const s = i("bento-typography");
36
- return o(), b(s, {
37
- strongest: e.isStrongest,
38
- variant: e.titleVariant,
39
- el: "span"
40
- }, {
41
- default: _(() => [
42
- L(I(e.title), 1)
43
- ]),
44
- _: 1
45
- }, 8, ["strongest", "variant"]);
46
- }
47
- const Y = /* @__PURE__ */ C(H, [["render", M]]), G = h({
48
- name: "bento-popover-dismiss-button",
49
- components: { BentoButton: U, CrossIcon: q },
50
- props: {
51
- onImage: {
52
- type: Boolean,
53
- default: !1
54
- }
55
- },
56
- setup(e) {
57
- return {
58
- // Values
59
- conditionalClass: r(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
60
- };
61
- }
62
- });
63
- function J(e, t, a, c, u, m) {
64
- const s = i("cross-icon"), p = i("bento-button");
65
- return o(), b(p, {
66
- class: B(e.conditionalClass),
67
- variant: "tertiary",
68
- onClick: t[0] || (t[0] = (f) => e.$emit("click"))
69
- }, {
70
- iconLeft: _(() => [
71
- d(s, { "svg-title": "dismiss" })
72
- ]),
73
- _: 1
74
- }, 8, ["class"]);
75
- }
76
- const K = /* @__PURE__ */ C(G, [["render", J], ["__scopeId", "data-v-df01cfb8"]]);
77
- var A;
78
- const Q = h({
79
- name: "bento-popover",
80
- components: {
81
- BentoButtonActions: z,
82
- BentoPopoverDismissButton: K,
83
- BentoPopoverTitle: Y,
84
- PopperContainer: S
85
- },
86
- inheritAttrs: !0,
87
- // Have to do this to be able to add class for data picker
88
- props: {
89
- /**
90
- * List of actions that will be used to render the buttons.
91
- * First element in the list will be rendered as "primary".
92
- * All elements after the first will be rendered as "secondary".
93
- *
94
- * Each object in the list should have a `title`, an `event` and
95
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
96
- *
97
- * `title`: Button's text.
98
- *
99
- * `event`: Event triggered when clicking the Button.
100
- *
101
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
102
- *
103
- * ```
104
- * [{
105
- * title: 'Primary',
106
- * event: () => { ... },
107
- * icon: FourPeopleIcon
108
- * }, {
109
- * title: 'Secondary',
110
- * event: () => { ... }
111
- * }]
112
- * ```
113
- */
114
- actions: {
115
- type: Array,
116
- default: null
117
- },
118
- /**
119
- * Defines the layout in which the button actions is presented.
120
- * It can be one of:
121
- *
122
- * @values BUTTONS_END
123
- * @values FILL_CONTAINER
124
- * @values SPACE_BETWEEN
125
- * @values VERTICAL_STACK
126
- */
127
- actionsLayout: {
128
- type: String,
129
- default: P.BUTTONS_END,
130
- validator: (e) => Object.values(P).includes(e)
131
- },
132
- /**
133
- * @deprecated from version 2.0.0. Use the aria-label attribute instead.
134
- */
135
- /**
136
- * Defines a string value that provides an accessible name for the popover.
137
- */
138
- ariaLabel: {
139
- type: String,
140
- default: null
141
- },
142
- /**
143
- * Adds a divider line to the actions section, reduces the top/bottom paddings and removes all padding in the "default" slot.
144
- */
145
- divider: {
146
- type: Boolean,
147
- default: !1
148
- },
149
- /**
150
- * Supports disabling focus trap functionality to avoid scroll into view behavior when we don't need it.
151
- * */
152
- disableFocusTrap: {
153
- type: Boolean,
154
- default: !1
155
- },
156
- /**
157
- * Adds a "dismiss" icon that triggers the "dismiss" event. Requires the `title` prop to be set.
158
- */
159
- dismissible: {
160
- type: Boolean,
161
- default: !1
162
- },
163
- /**
164
- * Allows to configure to fallback position to the one specified, it could be ['right', 'top', ...].
165
- * Useful when not using auto as starting placement.
166
- * https://floating-ui.com/docs/flip#fallbackplacements
167
- */
168
- fallbackPosition: {
169
- type: Array,
170
- default: () => ["bottom-start", "right-start", "top-start", "left-start"]
171
- },
172
- /**
173
- * Sets the size of the container to fit its content
174
- */
175
- fitContent: { type: Boolean, default: !1 },
176
- /**
177
- * Instructs popover to be visible outside of the containing container.
178
- * Useful when component would be used in limited containers like Modal, Side panel, etc.
179
- * @see {@link https://floating-ui.com/docs/usefloating#strategy}
180
- */
181
- fixedPositioning: {
182
- type: Boolean,
183
- default: !1
184
- },
185
- /**
186
- * Toggles the popover open and closed
187
- */
188
- open: {
189
- type: Boolean,
190
- default: !1
191
- },
192
- /**
193
- * Displays the popover in a large size.
194
- */
195
- large: {
196
- type: Boolean,
197
- default: !1
198
- },
199
- /**
200
- * @deprecated
201
- * NOTE: This property no longer functions since moving to the floating-ui framework.
202
- */
203
- modifiers: { type: Array, default: null },
204
- /**
205
- * Popover's position relative to the target element.
206
- * Possible values are:
207
- * 'auto', 'auto-start', 'auto-end',
208
- * 'top', 'top-start', 'top-end'
209
- * 'right', 'right-start', 'right-end'
210
- * 'bottom', 'bottom-start', 'bottom-end'
211
- * 'left', 'left-start', 'left-end'
212
- */
213
- position: {
214
- type: String,
215
- default: T.BOTTOM_START,
216
- validator: (e) => Object.values(T).includes(e)
217
- },
218
- /**
219
- * Displays the popover in a small size.
220
- */
221
- small: {
222
- type: Boolean,
223
- default: !1
224
- },
225
- /**
226
- * Indicates the title you want to give the popover.
227
- */
228
- title: {
229
- type: String,
230
- default: null
231
- },
232
- /**
233
- * Popover's target element.
234
- * The popover will position itself relatively to target element, in specified position.
235
- */
236
- targetElement: {
237
- type: (A = S.props) == null ? void 0 : A.targetElement.type,
238
- required: !0
239
- },
240
- /**
241
- * Displays the popover without padding.
242
- */
243
- withoutSpace: {
244
- type: Boolean,
245
- default: !1
246
- }
247
- },
248
- emits: ["dismiss", "placement"],
249
- setup(e, { emit: t, attrs: a, slots: c }) {
250
- const u = r(() => {
251
- var k;
252
- return {
253
- id: (k = a.id) == null ? void 0 : k.toString()
254
- };
255
- }), m = w(a["aria-label"]), { ariaLabel: s, title: p } = E(e), f = D({
256
- ariaLabel: m.value,
257
- // TODO: take this line away when the aria-label props is removed
258
- label: s,
259
- defaultFallback: p
260
- }), v = r(() => ({
261
- "b-popover--small": e.small && !e.large,
262
- "b-popover--with-divider": !!e.divider,
263
- "b-popover--large": e.large && !e.small,
264
- "b-popover--fit-content": e.fitContent,
265
- "b-popover--without-space": e.withoutSpace
266
- })), y = r(() => ({
267
- "b-popover__content--with-title": !!e.title
268
- }));
269
- return {
270
- // Values
271
- computedAriaLabel: f,
272
- conditionalClasses: v,
273
- contentConditionalClasses: y,
274
- computedAttributes: u,
275
- // Enums
276
- PopperContainerAriaRole: F,
277
- // Events
278
- dismissPopover: () => t("dismiss"),
279
- // Methods
280
- hasSlot: N(c)
281
- };
282
- }
283
- });
284
- const W = {
285
- key: 0,
286
- class: "b-popover__image"
287
- }, X = {
288
- key: 0,
289
- class: "b-popover__image-dismiss-button"
290
- }, Z = {
291
- key: 1,
292
- class: "b-popover__header"
293
- }, x = { class: "b-popover__header-title" }, ee = { key: 0 }, te = {
294
- key: 3,
295
- class: "b-popover__footer"
296
- };
297
- function oe(e, t, a, c, u, m) {
298
- const s = i("bento-popover-dismiss-button"), p = i("bento-popover-title"), f = i("bento-button-actions"), v = i("popper-container");
299
- return o(), b(O, { name: "b-popover__animation" }, {
300
- default: _(() => [
301
- e.open ? (o(), b(v, {
302
- key: 0,
303
- id: e.computedAttributes.id,
304
- "aria-role": e.PopperContainerAriaRole.POPOVER,
305
- "aria-label": e.computedAriaLabel,
306
- arrow: { classes: ["b-popover__arrow"] },
307
- "disabled-focus-trap": e.disableFocusTrap,
308
- class: B([e.conditionalClasses, "b-popover"]),
309
- "fallback-position": e.fallbackPosition,
310
- "fixed-positioning": e.fixedPositioning,
311
- offset: [0, 2],
312
- position: e.position,
313
- "target-element": e.targetElement,
314
- onPlacement: t[0] || (t[0] = (y) => e.$emit("placement", y))
315
- }, {
316
- default: _(() => [
317
- e.hasSlot("image") ? (o(), l("div", W, [
318
- e.dismissible ? (o(), l("div", X, [
319
- d(s, {
320
- "on-image": "",
321
- onClick: e.dismissPopover
322
- }, null, 8, ["onClick"])
323
- ])) : n("", !0),
324
- g(e.$slots, "image", {}, void 0, !0)
325
- ])) : n("", !0),
326
- e.title ? (o(), l("div", Z, [
327
- V("div", x, [
328
- e.hasSlot("headerIcon") ? g(e.$slots, "headerIcon", { key: 0 }, void 0, !0) : n("", !0),
329
- d(p, {
330
- title: e.title,
331
- "is-image-title": !!e.hasSlot("image")
332
- }, null, 8, ["title", "is-image-title"])
333
- ]),
334
- e.dismissible && !e.hasSlot("image") ? (o(), l("div", ee, [
335
- d(s, { onClick: e.dismissPopover }, null, 8, ["onClick"])
336
- ])) : n("", !0)
337
- ])) : n("", !0),
338
- e.hasSlot("default") ? (o(), l("div", {
339
- key: 2,
340
- class: B(["b-popover__content", e.contentConditionalClasses])
341
- }, [
342
- g(e.$slots, "default", {}, void 0, !0)
343
- ], 2)) : n("", !0),
344
- e.actions ? (o(), l("div", te, [
345
- d(f, {
346
- actions: e.actions,
347
- layout: e.actionsLayout
348
- }, null, 8, ["actions", "layout"])
349
- ])) : n("", !0)
350
- ]),
351
- _: 3
352
- }, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "class", "fallback-position", "fixed-positioning", "position", "target-element"])) : n("", !0)
353
- ]),
354
- _: 3
355
- });
356
- }
357
- const me = /* @__PURE__ */ C(Q, [["render", oe], ["__scopeId", "data-v-4018cb13"]]);
1
+ import { a as r, B as s } from "./chunks/index.726e2f3c.js";
358
2
  export {
359
- me as BentoPopover,
360
- T as BentoPopoverPositions
3
+ r as BentoPopover,
4
+ s as BentoPopoverPositions
361
5
  };
362
6
  //# sourceMappingURL=popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.js","sources":["../../vue2/src/components/popover/popover.types.ts","../../vue2/src/components/popover/components/popover-title/popover-title.vue","../../vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../vue2/src/components/popover/popover.vue"],"sourcesContent":["import { PopperContainerPosition } from '../popper-container';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport const BentoPopoverPositions = { ...PopperContainerPosition };\nexport type BentoPopoverPositions = PopperContainerPosition;\n","<template>\n <bento-typography :strongest=\"isStrongest\" :variant=\"titleVariant\" el=\"span\">\n {{ title }}\n </bento-typography>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n\n export default defineComponent({\n components: { BentoTypography },\n props: {\n /**\n * Indicates if the popover contains an image.\n */\n isImageTitle: { type: Boolean, default: false },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: { type: String, default: null },\n },\n setup(props) {\n // Use strongest only when it has no image\n const isStrongest = computed(() => !props.isImageTitle);\n\n // If an image is present, change the variant from BODY to SUBTITLE and remove the \"strongest\" property of the title\n const titleVariant = computed(() =>\n props.isImageTitle ? BentoTypographyVariant.SUBTITLE : BentoTypographyVariant.BODY\n );\n\n return {\n // Values\n isStrongest,\n titleVariant,\n };\n },\n });\n</script>\n","<template>\n <bento-button :class=\"conditionalClass\" variant=\"tertiary\" @click=\"$emit('click')\">\n <template #iconLeft>\n <cross-icon svg-title=\"dismiss\" />\n </template>\n </bento-button>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoButton } from '@/components/button';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n export default defineComponent({\n name: 'bento-popover-dismiss-button',\n components: { BentoButton, CrossIcon },\n props: {\n onImage: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const conditionalClass = computed(() => ({ 'b-popover-dismiss-button--on-image': props.onImage }));\n\n return {\n // Values\n conditionalClass,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover-dismiss-button.scss\" />\n","<template>\n <Transition name=\"b-popover__animation\">\n <popper-container\n v-if=\"open\"\n :id=\"computedAttributes['id']\"\n :aria-role=\"PopperContainerAriaRole.POPOVER\"\n :aria-label=\"computedAriaLabel\"\n :arrow=\"{ classes: ['b-popover__arrow'] }\"\n :disabled-focus-trap=\"disableFocusTrap\"\n :class=\"conditionalClasses\"\n :fallback-position=\"fallbackPosition\"\n :fixed-positioning=\"fixedPositioning\"\n :offset=\"[0, 2]\"\n :position=\"position\"\n :target-element=\"targetElement\"\n class=\"b-popover\"\n @placement=\"$emit('placement', $event)\"\n >\n <div v-if=\"hasSlot('image')\" class=\"b-popover__image\">\n <div v-if=\"dismissible\" class=\"b-popover__image-dismiss-button\">\n <bento-popover-dismiss-button on-image @click=\"dismissPopover\" />\n </div>\n <slot name=\"image\"></slot>\n </div>\n <div v-if=\"title\" class=\"b-popover__header\">\n <div class=\"b-popover__header-title\">\n <slot v-if=\"hasSlot('headerIcon')\" name=\"headerIcon\"></slot>\n <bento-popover-title :title=\"title\" :is-image-title=\"!!hasSlot('image')\" />\n </div>\n <div v-if=\"dismissible && !hasSlot('image')\">\n <bento-popover-dismiss-button @click=\"dismissPopover\" />\n </div>\n </div>\n\n <div v-if=\"hasSlot('default')\" class=\"b-popover__content\" :class=\"contentConditionalClasses\">\n <slot></slot>\n </div>\n\n <div v-if=\"actions\" class=\"b-popover__footer\">\n <bento-button-actions :actions=\"actions\" :layout=\"actionsLayout\"></bento-button-actions>\n </div>\n </popper-container>\n </Transition>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, ref, toRefs } from 'vue';\n import { useHasSlot } from '@/composables';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { PopperContainer, PopperContainerAriaRole } from '@/components/popper-container';\n import { BentoPopoverPositions } from './popover.types';\n import { BentoButtonActions, BentoButtonActionsLayout, BentoButtonActionsList } from '@/components/button';\n import BentoPopoverTitle from './components/popover-title/popover-title.vue';\n import BentoPopoverDismissButton from './components/popover-dismiss-button/popover-dismiss-button.vue';\n import { Placement } from '@floating-ui/vue';\n\n /**\n * Example description of the component...\n *\n * @example\n * import { BentoPopover } from '@adyen/adl-vue2';\n *\n * export default {\n * components: { BentoPopover },\n * template: `\n * <bento-popover id=\"your-popover-id\">\n * ...Example code of the component\n * </bento-popover>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-popover',\n components: {\n BentoButtonActions,\n BentoPopoverDismissButton,\n BentoPopoverTitle,\n PopperContainer,\n },\n inheritAttrs: true, // Have to do this to be able to add class for data picker\n props: {\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 *\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',\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 * Defines the layout in which the button actions is presented.\n * It can be one of:\n *\n * @values BUTTONS_END\n * @values FILL_CONTAINER\n * @values SPACE_BETWEEN\n * @values VERTICAL_STACK\n */\n actionsLayout: {\n type: String as PropType<BentoButtonActionsLayout | `${BentoButtonActionsLayout}`>,\n default: BentoButtonActionsLayout.BUTTONS_END,\n validator: (value: BentoButtonActionsLayout) => Object.values(BentoButtonActionsLayout).includes(value),\n },\n\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Defines a string value that provides an accessible name for the popover.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Adds a divider line to the actions section, reduces the top/bottom paddings and removes all padding in the \"default\" slot.\n */\n divider: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Supports disabling focus trap functionality to avoid scroll into view behavior when we don't need it.\n * */\n disableFocusTrap: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Adds a \"dismiss\" icon that triggers the \"dismiss\" event. Requires the `title` prop to be set.\n */\n dismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Allows to configure to fallback position to the one specified, it could be ['right', 'top', ...].\n * Useful when not using auto as starting placement.\n * https://floating-ui.com/docs/flip#fallbackplacements\n */\n fallbackPosition: {\n type: Array as PropType<Placement[]>,\n default: () => ['bottom-start', 'right-start', 'top-start', 'left-start'],\n },\n\n /**\n * Sets the size of the container to fit its content\n */\n fitContent: { type: Boolean, default: false },\n\n /**\n * Instructs popover to be visible outside of the containing container.\n * Useful when component would be used in limited containers like Modal, Side panel, etc.\n * @see {@link https://floating-ui.com/docs/usefloating#strategy}\n */\n fixedPositioning: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Toggles the popover open and closed\n */\n open: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displays the popover in a large size.\n */\n large: {\n type: Boolean,\n default: false,\n },\n\n /**\n * @deprecated\n * NOTE: This property no longer functions since moving to the floating-ui framework.\n */\n modifiers: { type: Array, default: null },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<BentoPopoverPositions | `${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Displays the popover in a small size.\n */\n small: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: {\n type: String,\n default: null,\n },\n\n /**\n * Popover's target element.\n * The popover will position itself relatively to target element, in specified position.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n /**\n * Displays the popover without padding.\n */\n withoutSpace: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['dismiss', 'placement'],\n setup(props, { emit, attrs, slots }) {\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\n }));\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel, title } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: title,\n });\n\n const conditionalClasses = computed(() => ({\n 'b-popover--small': props.small && !props.large,\n 'b-popover--with-divider': !!props.divider,\n 'b-popover--large': props.large && !props.small,\n 'b-popover--fit-content': props.fitContent,\n 'b-popover--without-space': props.withoutSpace,\n }));\n\n const contentConditionalClasses = computed(() => ({\n 'b-popover__content--with-title': !!props.title,\n }));\n\n const dismissPopover = () => emit('dismiss');\n\n return {\n // Values\n computedAriaLabel,\n conditionalClasses,\n contentConditionalClasses,\n computedAttributes,\n\n // Enums\n PopperContainerAriaRole,\n\n // Events\n dismissPopover,\n\n // Methods\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover.scss\" />\n"],"names":["BentoPopoverPositions","PopperContainerPosition","_sfc_main$2","defineComponent","BentoTypography","props","isStrongest","computed","titleVariant","BentoTypographyVariant","_component_bento_typography","resolveComponent","openBlock","createBlock","_ctx","_sfc_main$1","BentoButton","CrossIcon","_component_bento_button","normalizeClass","_cache","$event","_sfc_main","BentoButtonActions","BentoPopoverDismissButton","BentoPopoverTitle","PopperContainer","BentoButtonActionsLayout","value","_a","emit","attrs","slots","computedAttributes","ariaLabelAttribute","ref","ariaLabel","title","toRefs","computedAriaLabel","useAriaLabel","conditionalClasses","contentConditionalClasses","PopperContainerAriaRole","useHasSlot","_component_popper_container","withCtx","createElementBlock","_hoisted_1","_hoisted_2","createVNode","_component_bento_popover_dismiss_button","createCommentVNode","_hoisted_3","createElementVNode","_hoisted_4","renderSlot","_component_bento_popover_title","_hoisted_6","_component_bento_button_actions"],"mappings":";;;;;;;;;;AAKa,MAAAA,IAAA,EAAA,GAAAC,EAAA,GCKTC,IAAAC,EAAA;AAAA,EAA+B,YAAA,EAAA,iBAAAC,EAAA;AAAA,EACG,OAAA;AAAA;AAAA;AAAA;AAAA,IACvB,cAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAI2C,OAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA,EAKT;AAAA,EACzC,MAAAC,GAAA;AAGI,UAAAC,IAAAC,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,EAAA;AAAA;;UAEJtC,EAAA,SAAAF,EAAA,GAAAmC,EAAA,OAAAM,GAAA;AAAA,YAE2BC,EAAA,OAAAC,GAAA;AAAA,cAAyCzC,EAAA,QAAA,YAAA,IAAA0C,EAAA1C,EAAA,QAAA,cAAA,EAAA,KAAA,EAAA,GAAA,QAAA,EAAA,IAAAsC,EAAA,IAAA,EAAA;AAAA,cAC1BF,EAAAO,GAAA;AAAA,gBAA4B,OAAA3C,EAAA;AAAA;cAEvD,GAAA,MAAA,GAAA,CAAA,SAAA,gBAAA,CAAA;AAAA,YAAuB,CAAA;AAAA;;;;UAKtCA,EAAA,QAAA,SAAA,KAAAF,EAAA,GAAAmC,EAAA,OAAA;AAAA,YAAqC,KAAA;AAAA;UACpB,GAAA;AAAA;;UAGjBjC,EAAA,WAAAF,EAAA,GAAAmC,EAAA,OAAAW,IAAA;AAAA,YAC2CR,EAAAS,GAAA;AAAA,cAAwB,SAAA7C,EAAA;AAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"popover.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { a as n, b as a, c as i, P as r, d as p } from "./chunks/index.bcc58fdd.js";
1
+ import { a as n, b as a, c as i, P as r, d as p } from "./chunks/index.7262642e.js";
2
2
  export {
3
3
  n as PopperContainer,
4
4
  a as PopperContainerAriaRole,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, toRefs as w, computed as r, resolveComponent as E, openBlock as i, createElementBlock as C, normalizeClass as $, createElementVNode as O, createBlock as v, withCtx as u, renderSlot as S, createCommentVNode as h, toRef as L, watch as M, createVNode as P, Fragment as q, renderList as H, createSlots as z, createTextVNode as R, toDisplayString as D } from "vue";
2
- import { B as F, d as G } from "./chunks/index.2bd3812b.js";
2
+ import { B as F, d as G } from "./chunks/index.75f3672e.js";
3
3
  import { u as Y } from "./chunks/aria-label.ac9651a5.js";
4
4
  import { g as A } from "./chunks/unique-id.a2a2b458.js";
5
5
  import { u as Z } from "./chunks/use-default-slot-validator.1169c221.js";
@@ -7,9 +7,9 @@ import { u as V } from "./chunks/use-has-slot.4d98bf29.js";
7
7
  import { g as T } from "./chunks/get-slot-text.bead058f.js";
8
8
  import { _ as U } from "./chunks/_plugin-vue_export-helper.dad06003.js";
9
9
  import { u as j } from "./chunks/use-form-layout-loading.d03e5d48.js";
10
- import { C as J } from "./chunks/controls-group.38b436f6.js";
11
- import { E as K } from "./chunks/error-message.64e1964b.js";
12
- import "./assets/index27.css";
10
+ import { C as J } from "./chunks/controls-group.807b5fb0.js";
11
+ import { E as K } from "./chunks/field-label.61679178.js";
12
+ import "./assets/index11.css";
13
13
  var I = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.READONLY = "readonly", e.ERROR = "error", e))(I || {}), _ = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(_ || {}), c = /* @__PURE__ */ ((e) => (e.UPDATE = "update:model-value", e.INPUT = "input", e))(c || {});
14
14
  const Q = N({
15
15
  name: "radio-button",
@@ -5,8 +5,8 @@ import { BentoInputField as x } from "./input-field.js";
5
5
  import { S as P } from "./chunks/search.d18f9657.js";
6
6
  import { C as T } from "./chunks/cross-circle-fill.0feb37b3.js";
7
7
  import { _ as F } from "./chunks/_plugin-vue_export-helper.dad06003.js";
8
- import { u as O } from "./chunks/dropdown.afff433b.js";
9
- import "./assets/index28.css";
8
+ import { u as O } from "./chunks/dropdown.502e1f5c.js";
9
+ import "./assets/index17.css";
10
10
  var m = /* @__PURE__ */ ((e) => (e.CLEAR = "clear", e.ESCAPE = "escape-pressed", e.INPUT = "input", e.UPDATE = "update:search-term", e))(m || {}), k = /* @__PURE__ */ ((e) => (e.CLEAR = "search-clear", e.INPUT = "search-input", e.UPDATE = "update:search-term", e))(k || {});
11
11
  const h = {
12
12
  "en-US": {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as B, ref as m, computed as b, resolveComponent as v, openBlock as r, createElementBlock as g, normalizeClass as w, createElementVNode as W, createBlock as $, createCommentVNode as y, createVNode as T, withCtx as A, createTextVNode as D, toDisplayString as N, toRef as U, toRefs as E, onMounted as q, resolveDirective as F, Fragment as R, renderList as P, withDirectives as z } from "vue";
2
- import { B as M } from "./chunks/index.2bd3812b.js";
2
+ import { B as M } from "./chunks/index.75f3672e.js";
3
3
  import { g as O } from "./chunks/unique-id.a2a2b458.js";
4
4
  import { C as j } from "./chunks/checkmark.83e4f1e0.js";
5
5
  import { _ as L } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
- import { b as G } from "./chunks/tooltip.f769eb14.js";
6
+ import { b as G } from "./chunks/tooltip.054d2eb6.js";
7
7
  import { u as H } from "./chunks/i18n.6c402773.js";
8
8
  import { u as J } from "./chunks/aria-label.ac9651a5.js";
9
9
  import { o as K } from "./chunks/resize.a041304d.js";
10
- import "./assets/index30.css";
10
+ import "./assets/index18.css";
11
11
  const Q = B({
12
12
  name: "bento-segmented-control-button",
13
13
  components: { BentoTypography: M, CheckmarkIcon: j },
package/dist/sidepanel.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as H, ref as u, inject as x, onUnmounted as W, computed as r, watch as b, openBlock as E, createBlock as $, Transition as X, unref as s, withCtx as f, withDirectives as Z, createElementVNode as w, normalizeClass as B, createVNode as v, createCommentVNode as R, createTextVNode as ee, toDisplayString as ae, renderSlot as K, createElementBlock as V, vShow as te, nextTick as U, toRefs as se, provide as G, withKeys as le, withModifiers as ne } from "vue";
2
- import { a as j } from "./chunks/button.e5177388.js";
3
- import { B as F } from "./chunks/index.2bd3812b.js";
4
- import { F as ie } from "./chunks/footer-actions.1ce44374.js";
2
+ import { a as j } from "./chunks/button.82ed953e.js";
3
+ import { B as F } from "./chunks/index.75f3672e.js";
4
+ import { F as ie } from "./chunks/footer-actions.cefaf1e2.js";
5
5
  import { A as oe } from "./chunks/arrow-left.cdbcc128.js";
6
6
  import { u as J } from "./chunks/i18n.6c402773.js";
7
7
  import { _ as M } from "./chunks/_plugin-vue_export-helper.dad06003.js";
8
- import { B as ue } from "./chunks/index.e579bc02.js";
8
+ import { B as ue } from "./chunks/index.cf0d3be3.js";
9
9
  import { C as re } from "./chunks/cross.5c36a670.js";
10
- import "./assets/index25.css";
10
+ import "./assets/index7.css";
11
11
  var h = /* @__PURE__ */ ((e) => (e.UPDATE_ACTIVE_PAGE = "update:active-page", e.UPDATE_IS_OPEN = "update:is-open", e))(h || {}), T = /* @__PURE__ */ ((e) => (e.TRANSITION_LEVEL_DEEPER = "b-sidepanel-page__animation--level-deeper", e.TRANSITION_LEVEL_UPPER = "b-sidepanel-page__animation--level-upper", e))(T || {});
12
12
  const Y = Symbol("sidepanel registerPage injection key"), z = Symbol("sidepanel config data injection key"), q = {
13
13
  "en-US": {
package/dist/status.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, computed as r, resolveComponent as a, openBlock as l, createElementBlock as c, createElementVNode as p, normalizeClass as _, createVNode as d, withCtx as i, renderSlot as u } from "vue";
2
- import { B as m } from "./chunks/index.2bd3812b.js";
2
+ import { B as m } from "./chunks/index.75f3672e.js";
3
3
  import { _ as b } from "./chunks/_plugin-vue_export-helper.dad06003.js";
4
- import "./assets/index38.css";
4
+ import "./assets/index19.css";
5
5
  var t = /* @__PURE__ */ ((e) => (e.BLUE = "blue", e.GREEN = "green", e.GREY = "grey", e.ORANGE = "orange", e.RED = "red", e.YELLOW = "yellow", e))(t || {});
6
6
  const y = n({
7
7
  name: "bento-status",
package/dist/stepper.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as i, computed as a, watch as $, provide as Z, readonly as se, openBlock as d, createElementBlock as S, withDirectives as M, mergeProps as U, unref as n, toHandlers as ne, renderSlot as w, createVNode as A, withCtx as x, createTextVNode as j, toDisplayString as P, createCommentVNode as oe, pushScopeId as ae, popScopeId as le, createElementVNode as G, useSlots as ue, inject as re, onMounted as ie, normalizeClass as pe, createBlock as z, Fragment as ce, vShow as de } from "vue";
2
- import { B as V } from "./chunks/index.2bd3812b.js";
2
+ import { B as V } from "./chunks/index.75f3672e.js";
3
3
  import { B as N, a as ve } from "./chunks/keyboard-navigation.ca47dfa8.js";
4
4
  import { u as _e } from "./chunks/i18n.6c402773.js";
5
5
  import { _ as H } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
- import { B as be } from "./chunks/base-button.7897a95e.js";
6
+ import { B as be } from "./chunks/base-button.aa085dfa.js";
7
7
  import { C as fe } from "./chunks/checkmark-small.3e93a119.js";
8
- import "./assets/index35.css";
8
+ import "./assets/index29.css";
9
9
  const me = (s) => {
10
10
  function v(r) {
11
11
  return ({ detail: u }) => {
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/index.77f35162.js";
1
+ import { B as r, a as o } from "./chunks/index.b043371e.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as S, provide as P, resolveComponent as m, openBlock as i, createElementBlock as E, Fragment as j, renderList as w, createBlock as u, createSlots as O, withCtx as r, renderSlot as f, toRefs as N, computed as T, normalizeStyle as R, createElementVNode as C, createVNode as M, createTextVNode as v, toDisplayString as g, createCommentVNode as b, mergeProps as z } from "vue";
2
2
  import { u as G } from "./chunks/use-has-slot.4d98bf29.js";
3
3
  import { S as q } from "./chunks/summary-grid.keys.1d1028c2.js";
4
- import { G as U } from "./chunks/grid-layout.7c919507.js";
4
+ import { G as U } from "./chunks/grid-layout.c2fe3057.js";
5
5
  import { _ } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
6
  import { BentoInfoIcon as Y } from "./info-icon.js";
7
- import { B as W, a as V } from "./chunks/index.2bd3812b.js";
7
+ import { B as W, a as V } from "./chunks/index.75f3672e.js";
8
8
  import { BentoTag as X, BentoTagVariant as L } from "./tag.js";
9
- import { C as F } from "./chunks/copy.86236c8d.js";
10
- import "./assets/index26.css";
9
+ import { C as F } from "./chunks/copy.28bd4298.js";
10
+ import "./assets/index21.css";
11
11
  const H = S({
12
12
  name: "bento-summary-grid",
13
13
  components: { GridLayout: U },