@adyen/bento-vue3 1.1.0 → 1.2.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 (352) hide show
  1. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +3 -3
  2. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +3 -3
  3. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +24 -20
  4. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +6 -6
  5. package/dist/@types/packages/vue2/src/components/badge/badge.vue.d.ts +5 -5
  6. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +43 -43
  7. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
  8. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -9
  9. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +6 -6
  10. package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
  11. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +36 -32
  12. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +14 -14
  13. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +10 -10
  14. package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +3 -3
  15. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +23 -19
  16. package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
  17. package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +2 -2
  18. package/dist/@types/packages/vue2/src/components/country/composables/useCountryFlag.d.ts +1 -1
  19. package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +2 -2
  20. package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +2 -2
  21. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +15 -13
  22. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +9 -9
  23. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +12 -12
  24. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +11 -11
  25. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +12 -12
  26. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +1 -1
  27. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +3 -3
  28. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +4 -4
  30. package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +5 -5
  31. package/dist/@types/packages/vue2/src/components/data-grid/composables/useKeyboardNavigator/useKeyboardNavigator.d.ts +1 -1
  32. package/dist/@types/packages/vue2/src/components/data-grid/composables/useResizer.d.ts +2 -2
  33. package/dist/@types/packages/vue2/src/components/data-grid/composables/useSelector.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/data-grid/composables/useSorter.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +30 -30
  37. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +11 -9
  38. package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
  40. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -8
  41. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
  42. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
  43. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +1 -1
  44. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
  45. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +9 -9
  46. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +3 -3
  47. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +2 -2
  48. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +10 -10
  49. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +7 -7
  50. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +4 -4
  51. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +100 -98
  52. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +7 -7
  53. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
  54. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -4
  55. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +4 -4
  56. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
  57. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +5 -5
  58. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
  59. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +3 -3
  60. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
  61. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +3 -3
  62. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
  63. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +3 -3
  64. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +3 -3
  65. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +3 -3
  66. package/dist/@types/packages/vue2/src/components/dropdown/composables/useKeyboardNavigation.d.ts +1 -1
  67. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
  68. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +27 -25
  69. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +41 -41
  70. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +3 -3
  71. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +13 -13
  72. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +3 -3
  73. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +4 -4
  74. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +7 -7
  75. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +9 -9
  76. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +8 -8
  77. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +18 -18
  78. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +8 -8
  79. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +10 -10
  80. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +14 -14
  81. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +4 -4
  82. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +6 -6
  83. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +4 -4
  84. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +4 -4
  85. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +6 -6
  86. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
  87. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +12 -12
  88. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +3 -3
  89. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +10 -10
  90. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +11 -9
  91. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
  92. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +36 -28
  93. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +7 -7
  94. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +7 -7
  95. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
  96. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -6
  97. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +10 -10
  98. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +2 -2
  99. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +5 -5
  100. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +2 -2
  101. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +6 -6
  102. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +9 -9
  103. package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +2 -2
  104. package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +4 -4
  105. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +4 -4
  106. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +11 -11
  107. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +6 -6
  108. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +15 -15
  109. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +4 -4
  110. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +7 -7
  111. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +9 -9
  112. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +8 -8
  113. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +24 -22
  114. package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
  115. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +9 -9
  116. package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +3 -3
  117. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
  118. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +7 -7
  119. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +8 -8
  120. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
  121. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +5 -5
  122. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +11 -11
  123. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +13 -13
  124. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +13 -13
  125. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +5 -5
  126. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +13 -13
  127. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +28 -20
  128. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +5 -5
  129. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +7 -7
  130. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +5 -5
  131. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +4 -4
  132. package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +2 -2
  133. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +11 -9
  134. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +4 -4
  135. package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +2 -2
  136. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +5 -5
  137. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +19 -19
  138. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
  139. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +7 -7
  140. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -4
  141. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -10
  142. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +97 -85
  143. package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
  144. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +4 -4
  145. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +7 -7
  146. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +7 -7
  147. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +7 -7
  148. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -1
  149. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +47 -39
  150. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +19 -13
  151. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +2 -2
  152. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +19 -13
  153. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +19 -13
  154. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +2 -2
  155. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
  156. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +3 -3
  157. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +2 -2
  158. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +5 -5
  159. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +13 -13
  160. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +25 -23
  161. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +30 -30
  162. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +3 -3
  163. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +3 -3
  164. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +5 -5
  165. package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +5 -5
  166. package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
  167. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +16 -16
  168. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +37 -37
  169. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +10 -10
  170. package/dist/@types/packages/vue2/src/composables/initials.d.ts +2 -2
  171. package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +3 -3
  172. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +1 -1
  173. package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +2 -2
  174. package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +1 -1
  175. package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
  176. package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
  177. package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
  178. package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
  179. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +1 -1
  180. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
  181. package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
  182. package/dist/@types/packages/vue2/src/install.d.ts +1 -1
  183. package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
  184. package/dist/@types/packages/vue2/src/types/elements.d.ts +1 -1
  185. package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
  186. package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
  187. package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +1 -1
  188. package/dist/@types/packages/vue2/src/types/refs.d.ts +1 -1
  189. package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +2 -2
  190. package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
  191. package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
  192. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
  193. package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +1 -1
  194. package/dist/alert.js +49 -47
  195. package/dist/alert.js.map +1 -1
  196. package/dist/assets/button-actions.css +1 -1
  197. package/dist/assets/button.css +1 -1
  198. package/dist/assets/dropdown.css +1 -1
  199. package/dist/assets/index.css +1 -1
  200. package/dist/assets/index10.css +1 -1
  201. package/dist/assets/index11.css +1 -1
  202. package/dist/assets/index12.css +1 -1
  203. package/dist/assets/index13.css +1 -1
  204. package/dist/assets/index14.css +1 -1
  205. package/dist/assets/index15.css +1 -1
  206. package/dist/assets/index17.css +1 -1
  207. package/dist/assets/index18.css +1 -1
  208. package/dist/assets/index19.css +1 -1
  209. package/dist/assets/index2.css +1 -1
  210. package/dist/assets/index20.css +1 -1
  211. package/dist/assets/index21.css +1 -1
  212. package/dist/assets/index22.css +1 -1
  213. package/dist/assets/index23.css +1 -1
  214. package/dist/assets/index24.css +1 -1
  215. package/dist/assets/index25.css +1 -1
  216. package/dist/assets/index26.css +1 -1
  217. package/dist/assets/index27.css +1 -1
  218. package/dist/assets/index28.css +1 -1
  219. package/dist/assets/index29.css +1 -1
  220. package/dist/assets/index3.css +1 -1
  221. package/dist/assets/index30.css +1 -1
  222. package/dist/assets/index31.css +1 -1
  223. package/dist/assets/index32.css +1 -1
  224. package/dist/assets/index33.css +1 -1
  225. package/dist/assets/index34.css +1 -1
  226. package/dist/assets/index35.css +1 -1
  227. package/dist/assets/index36.css +1 -1
  228. package/dist/assets/index38.css +1 -1
  229. package/dist/assets/index39.css +1 -1
  230. package/dist/assets/index4.css +1 -1
  231. package/dist/assets/index40.css +1 -1
  232. package/dist/assets/index5.css +1 -1
  233. package/dist/assets/index6.css +1 -1
  234. package/dist/assets/index7.css +1 -1
  235. package/dist/assets/index8.css +1 -1
  236. package/dist/assets/index9.css +1 -1
  237. package/dist/assets/listbox.css +1 -1
  238. package/dist/avatar-image.js +1 -1
  239. package/dist/badge.js +1 -1
  240. package/dist/button.js +3 -3
  241. package/dist/card.js +77 -68
  242. package/dist/card.js.map +1 -1
  243. package/dist/checkbox.js +16 -16
  244. package/dist/checkbox.js.map +1 -1
  245. package/dist/chunks/{base-button.fe807878.js → base-button.4a56c2fb.js} +2 -2
  246. package/dist/chunks/{base-button.fe807878.js.map → base-button.4a56c2fb.js.map} +1 -1
  247. package/dist/chunks/{button-actions.59449cda.js → button-actions.a6e541ad.js} +7 -7
  248. package/dist/chunks/{button-actions.59449cda.js.map → button-actions.a6e541ad.js.map} +1 -1
  249. package/dist/chunks/{button.4ccc3a72.js → button.1f630b6e.js} +10 -10
  250. package/dist/chunks/button.1f630b6e.js.map +1 -0
  251. package/dist/chunks/{calendar.1fb0d5b2.js → calendar.08885a56.js} +4 -4
  252. package/dist/chunks/{calendar.1fb0d5b2.js.map → calendar.08885a56.js.map} +1 -1
  253. package/dist/chunks/{checkbox.39fa87c7.js → checkbox.cfb8b8df.js} +3 -3
  254. package/dist/chunks/{checkbox.39fa87c7.js.map → checkbox.cfb8b8df.js.map} +1 -1
  255. package/dist/chunks/{controls-group.0126679a.js → controls-group.806da9bd.js} +2 -2
  256. package/dist/chunks/{controls-group.0126679a.js.map → controls-group.806da9bd.js.map} +1 -1
  257. package/dist/chunks/{copy.012e43f2.js → copy.1ce0203e.js} +3 -3
  258. package/dist/chunks/{copy.012e43f2.js.map → copy.1ce0203e.js.map} +1 -1
  259. package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js → dropdown-default-textbox.dd77bb42.js} +2 -2
  260. package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js.map → dropdown-default-textbox.dd77bb42.js.map} +1 -1
  261. package/dist/chunks/{dropdown.374481a8.js → dropdown.f9997464.js} +84 -82
  262. package/dist/chunks/dropdown.f9997464.js.map +1 -0
  263. package/dist/chunks/{error-message.a65a9abf.js → error-message.b88bb75a.js} +2 -2
  264. package/dist/chunks/{error-message.a65a9abf.js.map → error-message.b88bb75a.js.map} +1 -1
  265. package/dist/chunks/{index.0f958a0c.js → index.361c61d3.js} +2 -2
  266. package/dist/chunks/{index.0f958a0c.js.map → index.361c61d3.js.map} +1 -1
  267. package/dist/chunks/{index.05d4c01b.js → index.64b7b3cc.js} +6 -6
  268. package/dist/chunks/{index.05d4c01b.js.map → index.64b7b3cc.js.map} +1 -1
  269. package/dist/chunks/{index.c25bbcc8.js → index.7dd953ea.js} +53 -52
  270. package/dist/chunks/{index.c25bbcc8.js.map → index.7dd953ea.js.map} +1 -1
  271. package/dist/chunks/{index.1e002876.js → index.96001b1d.js} +3 -3
  272. package/dist/chunks/{index.1e002876.js.map → index.96001b1d.js.map} +1 -1
  273. package/dist/chunks/{index.b2d970f6.js → index.b46a5047.js} +20 -20
  274. package/dist/chunks/{index.b2d970f6.js.map → index.b46a5047.js.map} +1 -1
  275. package/dist/chunks/index.ebf5f6cf.js +119 -0
  276. package/dist/chunks/index.ebf5f6cf.js.map +1 -0
  277. package/dist/chunks/{listbox-option-tag.caa1ceba.js → listbox-option-tag.73661a5d.js} +3 -3
  278. package/dist/chunks/{listbox-option-tag.caa1ceba.js.map → listbox-option-tag.73661a5d.js.map} +1 -1
  279. package/dist/chunks/{listbox.ceacb0ca.js → listbox.7b5e0eee.js} +42 -41
  280. package/dist/chunks/{listbox.ceacb0ca.js.map → listbox.7b5e0eee.js.map} +1 -1
  281. package/dist/chunks/{loading-button.5b8db3dc.js → loading-button.426d89b9.js} +2 -2
  282. package/dist/chunks/{loading-button.5b8db3dc.js.map → loading-button.426d89b9.js.map} +1 -1
  283. package/dist/chunks/{tooltip.ca53a83a.js → tooltip.53290a34.js} +2 -2
  284. package/dist/chunks/{tooltip.ca53a83a.js.map → tooltip.53290a34.js.map} +1 -1
  285. package/dist/chunks/useCountryItems.e83ef8f0.js.map +1 -1
  286. package/dist/code-snippet.js +71 -69
  287. package/dist/code-snippet.js.map +1 -1
  288. package/dist/country.js +25 -24
  289. package/dist/country.js.map +1 -1
  290. package/dist/currency.js +1 -1
  291. package/dist/currency.js.map +1 -1
  292. package/dist/data-grid.js +204 -204
  293. package/dist/data-grid.js.map +1 -1
  294. package/dist/date-picker.js +21 -21
  295. package/dist/date-range-picker.js +2 -2
  296. package/dist/date.js +1 -1
  297. package/dist/divider.js +1 -1
  298. package/dist/dropdown.js +3 -3
  299. package/dist/dropdown.js.map +1 -1
  300. package/dist/filter-bar.js +13 -13
  301. package/dist/filter-bar.js.map +1 -1
  302. package/dist/focus-trap.js +1 -1
  303. package/dist/header.js +61 -61
  304. package/dist/header.js.map +1 -1
  305. package/dist/index.js +65 -65
  306. package/dist/info-icon.js +20 -19
  307. package/dist/info-icon.js.map +1 -1
  308. package/dist/input-field.js +81 -77
  309. package/dist/input-field.js.map +1 -1
  310. package/dist/internal.js +6 -6
  311. package/dist/link.js +15 -15
  312. package/dist/link.js.map +1 -1
  313. package/dist/menu.js +5 -5
  314. package/dist/menu.js.map +1 -1
  315. package/dist/modal.js +113 -109
  316. package/dist/modal.js.map +1 -1
  317. package/dist/pagination.js +4 -4
  318. package/dist/payment-method.js +15 -14
  319. package/dist/payment-method.js.map +1 -1
  320. package/dist/popover.js +21 -21
  321. package/dist/popover.js.map +1 -1
  322. package/dist/popper-container.js +17 -17
  323. package/dist/popper-container.js.map +1 -1
  324. package/dist/radio-group.js +5 -5
  325. package/dist/radio-group.js.map +1 -1
  326. package/dist/search-bar.js +2 -2
  327. package/dist/segmented-control.js +4 -4
  328. package/dist/status.js +6 -6
  329. package/dist/status.js.map +1 -1
  330. package/dist/structured-list.js +1 -1
  331. package/dist/summary-grid.js +155 -142
  332. package/dist/summary-grid.js.map +1 -1
  333. package/dist/tabs.js +2 -2
  334. package/dist/tag.js +8 -8
  335. package/dist/tag.js.map +1 -1
  336. package/dist/textarea.js +25 -21
  337. package/dist/textarea.js.map +1 -1
  338. package/dist/timeline.js +31 -31
  339. package/dist/timeline.js.map +1 -1
  340. package/dist/toast.js +3 -3
  341. package/dist/toggle.js +157 -3
  342. package/dist/toggle.js.map +1 -1
  343. package/dist/typography.js +1 -1
  344. package/dist/web-types.json +1 -1
  345. package/package.json +5 -4
  346. package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
  347. package/dist/chunks/button.4ccc3a72.js.map +0 -1
  348. package/dist/chunks/dropdown.374481a8.js.map +0 -1
  349. package/dist/chunks/index.0b6c7187.js +0 -160
  350. package/dist/chunks/index.0b6c7187.js.map +0 -1
  351. package/dist/chunks/index.92f7d550.js +0 -119
  352. package/dist/chunks/index.92f7d550.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import { defineComponent as _, resolveComponent as f, openBlock as r, createElementBlock as E, Fragment as D, renderList as R, createBlock as p, createSlots as A, withCtx as o, renderSlot as y, toRefs as w, computed as T, normalizeStyle as z, createElementVNode as h, createVNode as P, createTextVNode as S, toDisplayString as g, createCommentVNode as b, mergeProps as U } from "vue";
2
- import { u as L } from "./chunks/use-has-slot.068222e6.js";
3
- import { G as q } from "./chunks/grid-layout.a30855ff.js";
4
- import { _ as v } from "./chunks/_plugin-vue_export-helper.dad06003.js";
5
- import { BentoInfoIcon as X } from "./info-icon.js";
6
- import { B as j, b as B, a as W } from "./chunks/index.92f7d550.js";
7
- import { BentoTag as Y, BentoTagVariant as M } from "./tag.js";
1
+ import { defineComponent as S, resolveComponent as f, openBlock as i, createElementBlock as E, Fragment as D, renderList as R, createBlock as p, createSlots as O, withCtx as r, renderSlot as y, toRefs as j, computed as T, normalizeStyle as w, createElementVNode as h, createVNode as M, createTextVNode as v, toDisplayString as g, createCommentVNode as $, mergeProps as z } from "vue";
2
+ import { u as P } from "./chunks/use-has-slot.068222e6.js";
3
+ import { G as U } from "./chunks/grid-layout.a30855ff.js";
4
+ import { _ as b } from "./chunks/_plugin-vue_export-helper.dad06003.js";
5
+ import { BentoInfoIcon as q } from "./info-icon.js";
6
+ import { B as X, b as A, a as W } from "./chunks/index.ebf5f6cf.js";
7
+ import { BentoTag as Y, BentoTagVariant as B } from "./tag.js";
8
8
  import { PopperContainerPosition as F } from "./popper-container.js";
9
- import { C as H } from "./chunks/copy.012e43f2.js";
9
+ import { C as H } from "./chunks/copy.1ce0203e.js";
10
10
  import "./assets/index26.css";
11
- const J = _({
11
+ const J = S({
12
12
  name: "bento-summary-grid",
13
- components: { GridLayout: q },
13
+ components: { GridLayout: U },
14
14
  props: {
15
15
  /**
16
16
  * Sets the responsive columns widths values for 1 of the 3 rows.
@@ -20,74 +20,74 @@ const J = _({
20
20
  default: null
21
21
  }
22
22
  },
23
- setup(e, { slots: a }) {
24
- var m, i;
25
- let d = 1;
26
- if (a) {
27
- const s = (i = (m = Object.keys(a)) == null ? void 0 : m.filter((n) => n.includes("cell-"))) == null ? void 0 : i.map((n) => {
23
+ setup(e, { slots: s }) {
24
+ var m, a;
25
+ let c = 1;
26
+ if (s) {
27
+ const l = (a = (m = Object.keys(s)) == null ? void 0 : m.filter((n) => n.includes("cell-"))) == null ? void 0 : a.map((n) => {
28
28
  var t;
29
29
  return parseInt((t = n.split("-")) == null ? void 0 : t[1], 10);
30
30
  });
31
- if (d = Math.max(...s), d > 3)
31
+ if (c = Math.max(...l), c > 3)
32
32
  throw new Error(
33
33
  "BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
34
34
  );
35
35
  }
36
36
  return {
37
- hasSlot: L(a),
38
- numberOfRows: d
37
+ hasSlot: P(s),
38
+ numberOfRows: c
39
39
  };
40
40
  }
41
41
  });
42
42
  const K = { class: "b-summary-grid" };
43
- function Q(e, a, d, m, i, s) {
43
+ function Q(e, s, c, m, a, l) {
44
44
  const n = f("grid-layout");
45
- return r(), E("div", K, [
46
- (r(!0), E(D, null, R(e.numberOfRows, (t) => {
47
- var $;
48
- return r(), p(n, {
45
+ return i(), E("div", K, [
46
+ (i(!0), E(D, null, R(e.numberOfRows, (t) => {
47
+ var _;
48
+ return i(), p(n, {
49
49
  key: `summary-grid-row-${t}`,
50
50
  "data-testid": `summary-grid-row-${t}`,
51
- "column-width": ($ = e.columnWidth) == null ? void 0 : $[`row${t}`]
52
- }, A({ _: 2 }, [
51
+ "column-width": (_ = e.columnWidth) == null ? void 0 : _[`row${t}`]
52
+ }, O({ _: 2 }, [
53
53
  e.hasSlot(`cell-${t}-1`) ? {
54
54
  name: "col-1",
55
- fn: o(() => [
55
+ fn: r(() => [
56
56
  y(e.$slots, `cell-${t}-1`, {}, void 0, !0)
57
57
  ]),
58
58
  key: "0"
59
59
  } : void 0,
60
60
  e.hasSlot(`cell-${t}-2`) ? {
61
61
  name: "col-2",
62
- fn: o(() => [
62
+ fn: r(() => [
63
63
  y(e.$slots, `cell-${t}-2`, {}, void 0, !0)
64
64
  ]),
65
65
  key: "1"
66
66
  } : void 0,
67
67
  e.hasSlot(`cell-${t}-3`) ? {
68
68
  name: "col-3",
69
- fn: o(() => [
69
+ fn: r(() => [
70
70
  y(e.$slots, `cell-${t}-3`, {}, void 0, !0)
71
71
  ]),
72
72
  key: "2"
73
73
  } : void 0,
74
74
  e.hasSlot(`cell-${t}-4`) ? {
75
75
  name: "col-4",
76
- fn: o(() => [
76
+ fn: r(() => [
77
77
  y(e.$slots, `cell-${t}-4`, {}, void 0, !0)
78
78
  ]),
79
79
  key: "3"
80
80
  } : void 0,
81
81
  e.hasSlot(`cell-${t}-5`) ? {
82
82
  name: "col-5",
83
- fn: o(() => [
83
+ fn: r(() => [
84
84
  y(e.$slots, `cell-${t}-5`, {}, void 0, !0)
85
85
  ]),
86
86
  key: "4"
87
87
  } : void 0,
88
88
  e.hasSlot(`cell-${t}-6`) ? {
89
89
  name: "col-6",
90
- fn: o(() => [
90
+ fn: r(() => [
91
91
  y(e.$slots, `cell-${t}-6`, {}, void 0, !0)
92
92
  ]),
93
93
  key: "5"
@@ -96,11 +96,11 @@ function Q(e, a, d, m, i, s) {
96
96
  }), 128))
97
97
  ]);
98
98
  }
99
- const Ee = /* @__PURE__ */ v(J, [["render", Q], ["__scopeId", "data-v-1b4c3b84"]]);
100
- var c = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(c || {}), u = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(u || {}), l = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(l || {});
101
- const Z = _({
99
+ const Ee = /* @__PURE__ */ b(J, [["render", Q], ["__scopeId", "data-v-1b4c3b84"]]);
100
+ var d = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(d || {}), o = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(o || {}), u = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(u || {});
101
+ const Z = S({
102
102
  name: "summary-grid-item",
103
- components: { BentoInfoIcon: X, BentoTypography: j, BentoTag: Y, Copy: H },
103
+ components: { BentoInfoIcon: q, BentoTypography: X, BentoTag: Y, Copy: H },
104
104
  props: {
105
105
  /**
106
106
  * Text to copy to the clipboard
@@ -112,7 +112,8 @@ const Z = _({
112
112
  // TODO add text truncation for SummaryGridItemType.TEXT
113
113
  itemType: {
114
114
  type: String,
115
- default: l.CUSTOM
115
+ default: u.CUSTOM,
116
+ validator: (e) => Object.values(u).includes(e)
116
117
  },
117
118
  /**
118
119
  * Text showed in the info-icon tooltip on hover
@@ -133,7 +134,8 @@ const Z = _({
133
134
  // TODO implement logic for Large size
134
135
  size: {
135
136
  type: String,
136
- default: c.SMALL
137
+ default: d.SMALL,
138
+ validator: (e) => Object.values(d).includes(e)
137
139
  },
138
140
  /**
139
141
  * Shows colored trend label next to text content
@@ -147,7 +149,8 @@ const Z = _({
147
149
  */
148
150
  trendDirection: {
149
151
  type: String,
150
- default: u.POSITIVE
152
+ default: o.POSITIVE,
153
+ validator: (e) => Object.values(o).includes(e)
151
154
  },
152
155
  /**
153
156
  * Shows colored trend tag next to secondary metric value
@@ -161,54 +164,55 @@ const Z = _({
161
164
  */
162
165
  secondaryTrendDirection: {
163
166
  type: String,
164
- default: u.POSITIVE
167
+ default: o.POSITIVE,
168
+ validator: (e) => Object.values(o).includes(e)
165
169
  }
166
170
  },
167
- setup(e, { slots: a }) {
168
- const { trendDirection: d, secondaryTrendDirection: m, itemType: i, size: s } = w(e), n = (k) => {
171
+ setup(e, { slots: s }) {
172
+ const { trendDirection: c, secondaryTrendDirection: m, itemType: a, size: l } = j(e), n = (k) => {
169
173
  switch (k) {
170
- case u.POSITIVE:
171
- return M.GREEN;
172
- case u.NEGATIVE:
173
- return M.RED;
174
+ case o.POSITIVE:
175
+ return B.GREEN;
176
+ case o.NEGATIVE:
177
+ return B.RED;
174
178
  default:
175
- return M.BLUE;
179
+ return B.BLUE;
176
180
  }
177
- }, t = T(() => n(d.value)), $ = T(() => n(m.value)), I = T(
178
- () => i.value === l.TEXT || i.value === l.PERCENTAGE || i.value === l.AMOUNT || i.value === l.NUMERIC
179
- ), V = T(() => {
181
+ }, t = T(() => n(c.value)), _ = T(() => n(m.value)), I = T(
182
+ () => a.value === u.TEXT || a.value === u.PERCENTAGE || a.value === u.AMOUNT || a.value === u.NUMERIC
183
+ ), L = T(() => {
180
184
  if (I.value) {
181
- if (s.value === c.SMALL)
182
- return B.BODY;
183
- if (i.value !== l.TEXT)
184
- return B.TITLE;
185
+ if (l.value === d.SMALL)
186
+ return A.BODY;
187
+ if (a.value !== u.TEXT)
188
+ return A.TITLE;
185
189
  }
186
190
  return null;
187
- }), G = T(() => ({
188
- medium: s.value === c.LARGE,
189
- strongest: s.value === c.SMALL,
190
- wide: s.value === c.SMALL,
191
- variant: V.value
192
- })), N = T(() => e.fitContent ? { width: "fit-content" } : {}), O = T(() => ({
191
+ }), V = T(() => ({
192
+ medium: l.value === d.LARGE,
193
+ strongest: l.value === d.SMALL,
194
+ wide: l.value === d.SMALL,
195
+ variant: L.value
196
+ })), G = T(() => e.fitContent ? { width: "fit-content" } : {}), N = T(() => ({
193
197
  [`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
194
198
  }));
195
199
  return {
196
200
  // Values
197
201
  trendVariant: t,
198
- secondaryTrendVariant: $,
202
+ secondaryTrendVariant: _,
199
203
  isContentTypographyApplied: I,
200
- typographyProps: G,
204
+ typographyProps: V,
201
205
  // Styles
202
- computedStyles: N,
203
- summaryBarItemTrendConditionalClasses: O,
206
+ computedStyles: G,
207
+ summaryBarItemTrendConditionalClasses: N,
204
208
  // Enums
205
209
  BentoTypographyElement: W,
206
- BentoTypographyVariant: B,
207
- SummaryGridItemType: l,
208
- BentoSummaryGridItemSize: c,
210
+ BentoTypographyVariant: A,
211
+ SummaryGridItemType: u,
212
+ BentoSummaryGridItemSize: d,
209
213
  PopperContainerPosition: F,
210
214
  // Utils
211
- hasSlot: L(a)
215
+ hasSlot: P(s)
212
216
  };
213
217
  }
214
218
  });
@@ -216,80 +220,80 @@ const x = { class: "b-summary-grid-item__header" }, ee = { class: "b-summary-gri
216
220
  key: 0,
217
221
  class: "b-summary-grid-item__content--secondary"
218
222
  };
219
- function oe(e, a, d, m, i, s) {
220
- const n = f("bento-typography"), t = f("copy"), $ = f("bento-info-icon"), I = f("bento-tag");
221
- return r(), E("div", {
223
+ function oe(e, s, c, m, a, l) {
224
+ const n = f("bento-typography"), t = f("copy"), _ = f("bento-info-icon"), I = f("bento-tag");
225
+ return i(), E("div", {
222
226
  class: "b-summary-grid-item",
223
- style: z(e.computedStyles)
227
+ style: w(e.computedStyles)
224
228
  }, [
225
229
  h("div", x, [
226
- P(n, {
230
+ M(n, {
227
231
  class: "b-summary-grid-item__title",
228
232
  el: e.BentoTypographyElement.SPAN,
229
233
  variant: e.BentoTypographyVariant.BODY
230
234
  }, {
231
- default: o(() => [
232
- S(g(e.title), 1)
235
+ default: r(() => [
236
+ v(g(e.title), 1)
233
237
  ]),
234
238
  _: 1
235
239
  }, 8, ["el", "variant"]),
236
240
  h("div", ee, [
237
- e.copy ? (r(), p(t, {
241
+ e.copy ? (i(), p(t, {
238
242
  key: 0,
239
243
  class: "b-structured-list__icon",
240
244
  text: e.copy
241
- }, null, 8, ["text"])) : b("", !0),
242
- e.infoIconTooltipText ? (r(), p($, {
245
+ }, null, 8, ["text"])) : $("", !0),
246
+ e.infoIconTooltipText ? (i(), p(_, {
243
247
  key: 1,
244
248
  "tooltip-text": e.infoIconTooltipText,
245
249
  "tooltip-position": e.PopperContainerPosition.TOP,
246
250
  class: "b-summary-grid-item__title-tooltip"
247
- }, null, 8, ["tooltip-text", "tooltip-position"])) : b("", !0)
251
+ }, null, 8, ["tooltip-text", "tooltip-position"])) : $("", !0)
248
252
  ])
249
253
  ]),
250
254
  h("div", te, [
251
- e.isContentTypographyApplied ? (r(), p(n, U({
255
+ e.isContentTypographyApplied ? (i(), p(n, z({
252
256
  key: 0,
253
257
  "data-testid": "summary-grid-item-content-typography",
254
258
  class: "b-summary-grid-item__title"
255
259
  }, e.typographyProps, {
256
260
  el: e.BentoTypographyElement.SPAN
257
261
  }), {
258
- default: o(() => [
262
+ default: r(() => [
259
263
  y(e.$slots, "default", {}, void 0, !0),
260
- e.trend && e.itemType !== e.SummaryGridItemType.TEXT ? (r(), p(I, {
264
+ e.trend && e.itemType !== e.SummaryGridItemType.TEXT ? (i(), p(I, {
261
265
  key: 0,
262
266
  variant: e.trendVariant,
263
267
  label: e.trend,
264
268
  class: "b-summary-grid-item__content-trend"
265
- }, null, 8, ["variant", "label"])) : b("", !0)
269
+ }, null, 8, ["variant", "label"])) : $("", !0)
266
270
  ]),
267
271
  _: 3
268
272
  }, 16, ["el"])) : y(e.$slots, "default", { key: 1 }, void 0, !0)
269
273
  ]),
270
- e.hasSlot("secondary") ? (r(), E("div", ne, [
271
- P(n, {
274
+ e.hasSlot("secondary") ? (i(), E("div", ne, [
275
+ M(n, {
272
276
  class: "b-summary-grid-item__title",
273
277
  "data-testid": "summary-grid-item-secondary-metric-typography",
274
278
  el: e.BentoTypographyElement.SPAN,
275
279
  variant: e.BentoTypographyVariant.CAPTION,
276
280
  stronger: ""
277
281
  }, {
278
- default: o(() => [
282
+ default: r(() => [
279
283
  y(e.$slots, "secondary", {}, void 0, !0),
280
- e.secondaryTrend ? (r(), p(I, {
284
+ e.secondaryTrend ? (i(), p(I, {
281
285
  key: 0,
282
286
  variant: e.secondaryTrendVariant,
283
287
  label: e.secondaryTrend,
284
288
  class: "b-summary-grid-item__content-trend"
285
- }, null, 8, ["variant", "label"])) : b("", !0)
289
+ }, null, 8, ["variant", "label"])) : $("", !0)
286
290
  ]),
287
291
  _: 3
288
292
  }, 8, ["el", "variant"])
289
- ])) : b("", !0)
293
+ ])) : $("", !0)
290
294
  ], 4);
291
295
  }
292
- const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]]), re = _({
296
+ const C = /* @__PURE__ */ b(Z, [["render", oe], ["__scopeId", "data-v-ed63ec1f"]]), re = S({
293
297
  name: "bento-summary-grid-item-amount",
294
298
  components: { SummaryGridItem: C },
295
299
  props: {
@@ -351,7 +355,8 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]
351
355
  */
352
356
  trendDirection: {
353
357
  type: String,
354
- default: u.POSITIVE
358
+ default: o.POSITIVE,
359
+ validator: (e) => Object.values(o).includes(e)
355
360
  },
356
361
  /**
357
362
  * Shows colored secondary trend tag next to the secondary metric value
@@ -365,20 +370,22 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]
365
370
  */
366
371
  secondaryTrendDirection: {
367
372
  type: String,
368
- default: u.POSITIVE
373
+ default: o.POSITIVE,
374
+ validator: (e) => Object.values(o).includes(e)
369
375
  },
370
376
  /**
371
377
  * Defines the size of the `summary-grid-item` text content
372
378
  */
373
379
  size: {
374
380
  type: String,
375
- default: c.SMALL
381
+ default: d.SMALL,
382
+ validator: (e) => Object.values(d).includes(e)
376
383
  }
377
384
  },
378
385
  setup() {
379
386
  return {
380
387
  // Enums
381
- SummaryGridItemType: l
388
+ SummaryGridItemType: u
382
389
  };
383
390
  }
384
391
  });
@@ -386,9 +393,9 @@ const ie = { class: "b-summary-grid-item-amount__content" }, ae = {
386
393
  key: 0,
387
394
  class: "b-summary-grid-item-amount__secondary-label"
388
395
  };
389
- function se(e, a, d, m, i, s) {
396
+ function se(e, s, c, m, a, l) {
390
397
  const n = f("summary-grid-item");
391
- return r(), p(n, {
398
+ return i(), p(n, {
392
399
  "item-type": e.SummaryGridItemType.AMOUNT,
393
400
  "info-icon-tooltip-text": e.infoIconTooltipText,
394
401
  title: e.title,
@@ -400,25 +407,25 @@ function se(e, a, d, m, i, s) {
400
407
  "secondary-trend": e.secondaryTrend,
401
408
  "secondary-trend-direction": e.secondaryTrendDirection,
402
409
  class: "b-summary-grid-item-amount"
403
- }, A({
404
- default: o(() => [
410
+ }, O({
411
+ default: r(() => [
405
412
  h("div", ie, [
406
413
  h("div", null, g(e.label), 1),
407
- e.secondaryLabel ? (r(), E("div", ae, g(e.secondaryLabel), 1)) : b("", !0)
414
+ e.secondaryLabel ? (i(), E("div", ae, g(e.secondaryLabel), 1)) : $("", !0)
408
415
  ])
409
416
  ]),
410
417
  _: 2
411
418
  }, [
412
419
  e.secondaryMetric ? {
413
420
  name: "secondary",
414
- fn: o(() => [
415
- S(g(e.secondaryMetric), 1)
421
+ fn: r(() => [
422
+ v(g(e.secondaryMetric), 1)
416
423
  ]),
417
424
  key: "0"
418
425
  } : void 0
419
426
  ]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
420
427
  }
421
- const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8"]]), de = _({
428
+ const Ce = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-b7d11d13"]]), de = S({
422
429
  name: "bento-summary-grid-item-numeric",
423
430
  components: { SummaryGridItem: C },
424
431
  props: {
@@ -473,7 +480,8 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8
473
480
  */
474
481
  trendDirection: {
475
482
  type: String,
476
- default: u.POSITIVE
483
+ default: o.POSITIVE,
484
+ validator: (e) => Object.values(o).includes(e)
477
485
  },
478
486
  /**
479
487
  * Shows colored secondary trend tag next to the secondary metric value
@@ -487,26 +495,28 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8
487
495
  */
488
496
  secondaryTrendDirection: {
489
497
  type: String,
490
- default: u.POSITIVE
498
+ default: o.POSITIVE,
499
+ validator: (e) => Object.values(o).includes(e)
491
500
  },
492
501
  /**
493
502
  * Defines the size of the `summary-grid-item` text content
494
503
  */
495
504
  size: {
496
505
  type: String,
497
- default: c.SMALL
506
+ default: d.SMALL,
507
+ validator: (e) => Object.values(d).includes(e)
498
508
  }
499
509
  },
500
510
  setup() {
501
511
  return {
502
512
  // Enums
503
- SummaryGridItemType: l
513
+ SummaryGridItemType: u
504
514
  };
505
515
  }
506
516
  });
507
- function le(e, a, d, m, i, s) {
517
+ function le(e, s, c, m, a, l) {
508
518
  const n = f("summary-grid-item");
509
- return r(), p(n, {
519
+ return i(), p(n, {
510
520
  "item-type": e.SummaryGridItemType.NUMERIC,
511
521
  "info-icon-tooltip-text": e.infoIconTooltipText,
512
522
  title: e.title,
@@ -518,22 +528,22 @@ function le(e, a, d, m, i, s) {
518
528
  "secondary-trend": e.secondaryTrend,
519
529
  "secondary-trend-direction": e.secondaryTrendDirection,
520
530
  class: "b-summary-grid-item-numeric"
521
- }, A({
522
- default: o(() => [
523
- S(g(e.label) + " ", 1)
531
+ }, O({
532
+ default: r(() => [
533
+ v(g(e.label) + " ", 1)
524
534
  ]),
525
535
  _: 2
526
536
  }, [
527
537
  e.secondaryMetric ? {
528
538
  name: "secondary",
529
- fn: o(() => [
530
- S(g(e.secondaryMetric), 1)
539
+ fn: r(() => [
540
+ v(g(e.secondaryMetric), 1)
531
541
  ]),
532
542
  key: "0"
533
543
  } : void 0
534
544
  ]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
535
545
  }
536
- const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
546
+ const Oe = /* @__PURE__ */ b(de, [["render", le]]), ue = S({
537
547
  name: "bento-summary-grid-item-percentage",
538
548
  components: { SummaryGridItem: C },
539
549
  props: {
@@ -588,7 +598,8 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
588
598
  */
589
599
  trendDirection: {
590
600
  type: String,
591
- default: u.POSITIVE
601
+ default: o.POSITIVE,
602
+ validator: (e) => Object.values(o).includes(e)
592
603
  },
593
604
  /**
594
605
  * Shows colored secondary trend tag next to the secondary metric value
@@ -602,26 +613,28 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
602
613
  */
603
614
  secondaryTrendDirection: {
604
615
  type: String,
605
- default: u.POSITIVE
616
+ default: o.POSITIVE,
617
+ validator: (e) => Object.values(o).includes(e)
606
618
  },
607
619
  /**
608
620
  * Defines the size of the `summary-grid-item` text content
609
621
  */
610
622
  size: {
611
623
  type: String,
612
- default: c.SMALL
624
+ default: d.SMALL,
625
+ validator: (e) => Object.values(d).includes(e)
613
626
  }
614
627
  },
615
628
  setup() {
616
629
  return {
617
630
  // Enums
618
- SummaryGridItemType: l
631
+ SummaryGridItemType: u
619
632
  };
620
633
  }
621
634
  });
622
- function pe(e, a, d, m, i, s) {
635
+ function ce(e, s, c, m, a, l) {
623
636
  const n = f("summary-grid-item");
624
- return r(), p(n, {
637
+ return i(), p(n, {
625
638
  "item-type": e.SummaryGridItemType.PERCENTAGE,
626
639
  "info-icon-tooltip-text": e.infoIconTooltipText,
627
640
  title: e.title,
@@ -633,22 +646,22 @@ function pe(e, a, d, m, i, s) {
633
646
  "secondary-trend": e.secondaryTrend,
634
647
  "secondary-trend-direction": e.secondaryTrendDirection,
635
648
  class: "b-summary-grid-item-percentage"
636
- }, A({
637
- default: o(() => [
638
- S(g(e.label) + "% ", 1)
649
+ }, O({
650
+ default: r(() => [
651
+ v(g(e.label) + "% ", 1)
639
652
  ]),
640
653
  _: 2
641
654
  }, [
642
655
  e.secondaryMetric ? {
643
656
  name: "secondary",
644
- fn: o(() => [
645
- S(g(e.secondaryMetric) + "% ", 1)
657
+ fn: r(() => [
658
+ v(g(e.secondaryMetric) + "% ", 1)
646
659
  ]),
647
660
  key: "0"
648
661
  } : void 0
649
662
  ]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
650
663
  }
651
- const Be = /* @__PURE__ */ v(me, [["render", pe]]), ue = _({
664
+ const Ae = /* @__PURE__ */ b(ue, [["render", ce]]), me = S({
652
665
  name: "bento-summary-grid-item-text",
653
666
  components: { SummaryGridItem: C },
654
667
  props: {
@@ -688,13 +701,13 @@ const Be = /* @__PURE__ */ v(me, [["render", pe]]), ue = _({
688
701
  setup() {
689
702
  return {
690
703
  // Enums
691
- SummaryGridItemType: l
704
+ SummaryGridItemType: u
692
705
  };
693
706
  }
694
707
  });
695
- function ye(e, a, d, m, i, s) {
708
+ function pe(e, s, c, m, a, l) {
696
709
  const n = f("summary-grid-item");
697
- return r(), p(n, {
710
+ return i(), p(n, {
698
711
  "item-type": e.SummaryGridItemType.TEXT,
699
712
  "info-icon-tooltip-text": e.infoIconTooltipText,
700
713
  title: e.title,
@@ -702,13 +715,13 @@ function ye(e, a, d, m, i, s) {
702
715
  "fit-content": e.fitContent,
703
716
  class: "b-summary-grid-item-text"
704
717
  }, {
705
- default: o(() => [
706
- S(g(e.label), 1)
718
+ default: r(() => [
719
+ v(g(e.label), 1)
707
720
  ]),
708
721
  _: 1
709
722
  }, 8, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content"]);
710
723
  }
711
- const Me = /* @__PURE__ */ v(ue, [["render", ye]]), ce = _({
724
+ const Be = /* @__PURE__ */ b(me, [["render", pe]]), ye = S({
712
725
  name: "bento-summary-grid-item-custom",
713
726
  components: { SummaryGridItem: C },
714
727
  props: {
@@ -731,30 +744,30 @@ const Me = /* @__PURE__ */ v(ue, [["render", ye]]), ce = _({
731
744
  },
732
745
  emits: ["copy-to-clipboard"]
733
746
  });
734
- function fe(e, a, d, m, i, s) {
747
+ function fe(e, s, c, m, a, l) {
735
748
  const n = f("summary-grid-item");
736
- return r(), p(n, {
749
+ return i(), p(n, {
737
750
  title: e.title,
738
751
  "info-icon-tooltip-text": e.infoIconTooltipText,
739
752
  copy: e.copy,
740
753
  "fit-content": e.fitContent,
741
- onCopyToClipoard: a[0] || (a[0] = (t) => e.$emit("copy-to-clipboard"))
754
+ onCopyToClipoard: s[0] || (s[0] = (t) => e.$emit("copy-to-clipboard"))
742
755
  }, {
743
- default: o(() => [
756
+ default: r(() => [
744
757
  y(e.$slots, "default")
745
758
  ]),
746
759
  _: 3
747
760
  }, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
748
761
  }
749
- const Pe = /* @__PURE__ */ v(ce, [["render", fe]]);
762
+ const Me = /* @__PURE__ */ b(ye, [["render", fe]]);
750
763
  export {
751
764
  Ee as BentoSummaryGrid,
752
765
  Ce as BentoSummaryGridItemAmount,
753
- Pe as BentoSummaryGridItemCustom,
754
- Ae as BentoSummaryGridItemNumeric,
755
- Be as BentoSummaryGridItemPercentage,
756
- c as BentoSummaryGridItemSize,
757
- Me as BentoSummaryGridItemText,
758
- u as BentoSummaryGridItemTrendDirection
766
+ Me as BentoSummaryGridItemCustom,
767
+ Oe as BentoSummaryGridItemNumeric,
768
+ Ae as BentoSummaryGridItemPercentage,
769
+ d as BentoSummaryGridItemSize,
770
+ Be as BentoSummaryGridItemText,
771
+ o as BentoSummaryGridItemTrendDirection
759
772
  };
760
773
  //# sourceMappingURL=summary-grid.js.map