@adyen/bento-vue2 1.99.0 → 1.100.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 (189) hide show
  1. package/dist/@types/index.d.ts +19 -13
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/button.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/draggable-handle.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/input-field.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/navigation-menu-group.css +1 -1
  22. package/dist/assets/rich-text-editor.css +1 -1
  23. package/dist/assets/secondary-nav.css +1 -1
  24. package/dist/assets/selection-card-group.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/assets/textarea.css +1 -1
  27. package/dist/button.js +3 -3
  28. package/dist/card.js +1 -1
  29. package/dist/chunks/{action-bar.X-dXuOcv.js → action-bar.DxZchfve.js} +4 -4
  30. package/dist/chunks/{action-bar.X-dXuOcv.js.map → action-bar.DxZchfve.js.map} +1 -1
  31. package/dist/chunks/{ai-button.DvOq4s2_.js → ai-button.y1t1nqpv.js} +2 -2
  32. package/dist/chunks/{ai-button.DvOq4s2_.js.map → ai-button.y1t1nqpv.js.map} +1 -1
  33. package/dist/chunks/{ai-tag.Cdn4JK1m.js → ai-tag.CD1eQnr_.js} +2 -2
  34. package/dist/chunks/{ai-tag.Cdn4JK1m.js.map → ai-tag.CD1eQnr_.js.map} +1 -1
  35. package/dist/chunks/{alert.BDkEbdf4.js → alert.DP17WjNE.js} +2 -2
  36. package/dist/chunks/{alert.BDkEbdf4.js.map → alert.DP17WjNE.js.map} +1 -1
  37. package/dist/chunks/{anchor-scroller.Bu7GtOqH.js → anchor-scroller.BiHtyUJz.js} +3 -3
  38. package/dist/chunks/{anchor-scroller.Bu7GtOqH.js.map → anchor-scroller.BiHtyUJz.js.map} +1 -1
  39. package/dist/chunks/{base-modal.DgMSsQf3.js → base-modal.BbMTTAi5.js} +5 -5
  40. package/dist/chunks/{base-modal.DgMSsQf3.js.map → base-modal.BbMTTAi5.js.map} +1 -1
  41. package/dist/chunks/{button-actions-with-menu.BV5aDUCD.js → button-actions-with-menu.CpqyoKG5.js} +2 -2
  42. package/dist/chunks/{button-actions-with-menu.BV5aDUCD.js.map → button-actions-with-menu.CpqyoKG5.js.map} +1 -1
  43. package/dist/chunks/{button-actions.BD4Dyp4U.js → button-actions.Dxez8SNL.js} +2 -2
  44. package/dist/chunks/{button-actions.BD4Dyp4U.js.map → button-actions.Dxez8SNL.js.map} +1 -1
  45. package/dist/chunks/button.Df_UH5wZ.js +112 -0
  46. package/dist/chunks/button.Df_UH5wZ.js.map +1 -0
  47. package/dist/chunks/{calendar.CmhzIZZM.js → calendar.BKddGc3j.js} +3 -3
  48. package/dist/chunks/{calendar.CmhzIZZM.js.map → calendar.BKddGc3j.js.map} +1 -1
  49. package/dist/chunks/{card.Bm7JEsCC.js → card.BzDmgKjO.js} +2 -2
  50. package/dist/chunks/{card.Bm7JEsCC.js.map → card.BzDmgKjO.js.map} +1 -1
  51. package/dist/chunks/{code-snippet.DuJAubi9.js → code-snippet.CY_C6Xyz.js} +5 -5
  52. package/dist/chunks/{code-snippet.DuJAubi9.js.map → code-snippet.CY_C6Xyz.js.map} +1 -1
  53. package/dist/chunks/{copy.CWKdfVcd.js → copy.DSFXER-x.js} +2 -2
  54. package/dist/chunks/{copy.CWKdfVcd.js.map → copy.DSFXER-x.js.map} +1 -1
  55. package/dist/chunks/{dashboard-section.CRn7tlX_.js → dashboard-section.BtqE_6Zy.js} +3 -3
  56. package/dist/chunks/{dashboard-section.CRn7tlX_.js.map → dashboard-section.BtqE_6Zy.js.map} +1 -1
  57. package/dist/chunks/{dashed-underline.BoHt4iGu.js → dashed-underline.Cl158pHL.js} +2 -2
  58. package/dist/chunks/{dashed-underline.BoHt4iGu.js.map → dashed-underline.Cl158pHL.js.map} +1 -1
  59. package/dist/chunks/{data-grid-template.BYMLOzkm.js → data-grid-template.yOSdF4nN.js} +4 -4
  60. package/dist/chunks/{data-grid-template.BYMLOzkm.js.map → data-grid-template.yOSdF4nN.js.map} +1 -1
  61. package/dist/chunks/{data-grid.D_Xu49bl.js → data-grid.D26rPQcn.js} +12 -12
  62. package/dist/chunks/{data-grid.D_Xu49bl.js.map → data-grid.D26rPQcn.js.map} +1 -1
  63. package/dist/chunks/{date-picker.bbVKo7JX.js → date-picker.nNtLItmg.js} +6 -6
  64. package/dist/chunks/{date-picker.bbVKo7JX.js.map → date-picker.nNtLItmg.js.map} +1 -1
  65. package/dist/chunks/{date-range-picker.AnFyWMCq.js → date-range-picker.DL-oePHl.js} +8 -8
  66. package/dist/chunks/{date-range-picker.AnFyWMCq.js.map → date-range-picker.DL-oePHl.js.map} +1 -1
  67. package/dist/chunks/{date-time-picker.Bpxfkj71.js → date-time-picker.D89IemgM.js} +5 -5
  68. package/dist/chunks/{date-time-picker.Bpxfkj71.js.map → date-time-picker.D89IemgM.js.map} +1 -1
  69. package/dist/chunks/{dialog-page.BendBRv6.js → dialog-page.D_m11exR.js} +2 -2
  70. package/dist/chunks/{dialog-page.BendBRv6.js.map → dialog-page.D_m11exR.js.map} +1 -1
  71. package/dist/chunks/{draggable-handle.BnRkhlee.js → draggable-handle.BDUQTWrd.js} +268 -263
  72. package/dist/chunks/{draggable-handle.BnRkhlee.js.map → draggable-handle.BDUQTWrd.js.map} +1 -1
  73. package/dist/chunks/{draggable.D5WFD5eX.js → draggable.Jqy1iXq_.js} +2 -2
  74. package/dist/chunks/{draggable.D5WFD5eX.js.map → draggable.Jqy1iXq_.js.map} +1 -1
  75. package/dist/chunks/{dropdown-tag.VcqAOFuG.js → dropdown-tag.CCItycfH.js} +2 -2
  76. package/dist/chunks/{dropdown-tag.VcqAOFuG.js.map → dropdown-tag.CCItycfH.js.map} +1 -1
  77. package/dist/chunks/{dropdown.B21PZqp4.js → dropdown.CLHXtH0r.js} +3 -3
  78. package/dist/chunks/{dropdown.B21PZqp4.js.map → dropdown.CLHXtH0r.js.map} +1 -1
  79. package/dist/chunks/{empty-state.Dttc-ZO_.js → empty-state.Be3Np0rd.js} +2 -2
  80. package/dist/chunks/{empty-state.Dttc-ZO_.js.map → empty-state.Be3Np0rd.js.map} +1 -1
  81. package/dist/chunks/{file-uploader.BLoJVqZQ.js → file-uploader.C1GuWVEI.js} +3 -3
  82. package/dist/chunks/{file-uploader.BLoJVqZQ.js.map → file-uploader.C1GuWVEI.js.map} +1 -1
  83. package/dist/chunks/{filter-bar.CY9xbtNy.js → filter-bar.Dq3fo3rZ.js} +1316 -1224
  84. package/dist/chunks/filter-bar.Dq3fo3rZ.js.map +1 -0
  85. package/dist/chunks/{fixed-scroller.4xAzt_OI.js → fixed-scroller.BFuYW-M3.js} +2 -2
  86. package/dist/chunks/{fixed-scroller.4xAzt_OI.js.map → fixed-scroller.BFuYW-M3.js.map} +1 -1
  87. package/dist/chunks/{footer-actions.C89dbDV4.js → footer-actions.BB94G3iB.js} +3 -3
  88. package/dist/chunks/{footer-actions.C89dbDV4.js.map → footer-actions.BB94G3iB.js.map} +1 -1
  89. package/dist/chunks/{form-layout-title.xrix5vY3.js → form-layout-title.DLvU9CD1.js} +2 -2
  90. package/dist/chunks/{form-layout-title.xrix5vY3.js.map → form-layout-title.DLvU9CD1.js.map} +1 -1
  91. package/dist/chunks/{header-meta.Cpk3Z8c2.js → header-meta.Bq8moJ6A.js} +2 -2
  92. package/dist/chunks/{header-meta.Cpk3Z8c2.js.map → header-meta.Bq8moJ6A.js.map} +1 -1
  93. package/dist/chunks/{header-with-views.BQEJxWz0.js → header-with-views.yjk4GuOn.js} +8 -8
  94. package/dist/chunks/{header-with-views.BQEJxWz0.js.map → header-with-views.yjk4GuOn.js.map} +1 -1
  95. package/dist/chunks/{header.BRBY9Ilh.js → header.C8dI-yo1.js} +3 -3
  96. package/dist/chunks/{header.BRBY9Ilh.js.map → header.C8dI-yo1.js.map} +1 -1
  97. package/dist/chunks/{input-field-password.WBxRJUhP.js → input-field-password.Dkty2s5M.js} +4 -4
  98. package/dist/chunks/{input-field-password.WBxRJUhP.js.map → input-field-password.Dkty2s5M.js.map} +1 -1
  99. package/dist/chunks/{input-field-phone-number.DR6dpYYz.js → input-field-phone-number.CdT4hLCR.js} +2 -2
  100. package/dist/chunks/{input-field-phone-number.DR6dpYYz.js.map → input-field-phone-number.CdT4hLCR.js.map} +1 -1
  101. package/dist/chunks/{input-field.y5qXcCAH.js → input-field.3BC9gdvi.js} +36 -26
  102. package/dist/chunks/{input-field.y5qXcCAH.js.map → input-field.3BC9gdvi.js.map} +1 -1
  103. package/dist/chunks/{input-time.DrJ3n7Cc.js → input-time.OTVaDCFj.js} +3 -3
  104. package/dist/chunks/{input-time.DrJ3n7Cc.js.map → input-time.OTVaDCFj.js.map} +1 -1
  105. package/dist/chunks/{inspector.8QKfd0HF.js → inspector.Cas-Z-VC.js} +2 -2
  106. package/dist/chunks/{inspector.8QKfd0HF.js.map → inspector.Cas-Z-VC.js.map} +1 -1
  107. package/dist/chunks/{list-item.BO75rSht.js → list-item.Cf3IFDnG.js} +2 -2
  108. package/dist/chunks/{list-item.BO75rSht.js.map → list-item.Cf3IFDnG.js.map} +1 -1
  109. package/dist/chunks/{modal-fullscreen.CH2wwAtk.js → modal-fullscreen.B1iYD7lc.js} +5 -5
  110. package/dist/chunks/{modal-fullscreen.CH2wwAtk.js.map → modal-fullscreen.B1iYD7lc.js.map} +1 -1
  111. package/dist/chunks/{modal.e1Ym209E.js → modal.Cp2cNQbD.js} +5 -5
  112. package/dist/chunks/{modal.e1Ym209E.js.map → modal.Cp2cNQbD.js.map} +1 -1
  113. package/dist/chunks/{navigation-menu-group.E1Oam9-n.js → navigation-menu-group.Dvs0wWHC.js} +2 -2
  114. package/dist/chunks/{navigation-menu-group.E1Oam9-n.js.map → navigation-menu-group.Dvs0wWHC.js.map} +1 -1
  115. package/dist/chunks/{pagination.CxW1zuWi.js → pagination.9fxG-UWo.js} +3 -3
  116. package/dist/chunks/{pagination.CxW1zuWi.js.map → pagination.9fxG-UWo.js.map} +1 -1
  117. package/dist/chunks/{promo-banner.BVBt9w4u.js → promo-banner.eVbU1xqj.js} +2 -2
  118. package/dist/chunks/{promo-banner.BVBt9w4u.js.map → promo-banner.eVbU1xqj.js.map} +1 -1
  119. package/dist/chunks/{rich-text-editor.VWCBSRmM.js → rich-text-editor.DYfdUHI6.js} +2 -2
  120. package/dist/chunks/{rich-text-editor.VWCBSRmM.js.map → rich-text-editor.DYfdUHI6.js.map} +1 -1
  121. package/dist/chunks/{search-bar.nRiF5eNx.js → search-bar.d8qlBngk.js} +3 -3
  122. package/dist/chunks/{search-bar.nRiF5eNx.js.map → search-bar.d8qlBngk.js.map} +1 -1
  123. package/dist/chunks/{secondary-nav.BlI1PBNr.js → secondary-nav.BQ6DM8_b.js} +3 -3
  124. package/dist/chunks/{secondary-nav.BlI1PBNr.js.map → secondary-nav.BQ6DM8_b.js.map} +1 -1
  125. package/dist/chunks/{sidepanel.CN_u-b5X.js → sidepanel.CUqjE_-9.js} +5 -5
  126. package/dist/chunks/{sidepanel.CN_u-b5X.js.map → sidepanel.CUqjE_-9.js.map} +1 -1
  127. package/dist/chunks/{structured-list-item.CL1jhdTX.js → structured-list-item.jO4KtMuc.js} +3 -3
  128. package/dist/chunks/{structured-list-item.CL1jhdTX.js.map → structured-list-item.jO4KtMuc.js.map} +1 -1
  129. package/dist/chunks/{summary-grid.types.Cjrwg4vd.js → summary-grid.types.BsjF5xAH.js} +3 -3
  130. package/dist/chunks/{summary-grid.types.Cjrwg4vd.js.map → summary-grid.types.BsjF5xAH.js.map} +1 -1
  131. package/dist/chunks/{tab.B2qRfTqx.js → tab.qhcMgSD1.js} +2 -2
  132. package/dist/chunks/{tab.B2qRfTqx.js.map → tab.qhcMgSD1.js.map} +1 -1
  133. package/dist/chunks/{textarea.CbCrtcQ2.js → textarea.BOQbOPm4.js} +2 -2
  134. package/dist/chunks/{textarea.CbCrtcQ2.js.map → textarea.BOQbOPm4.js.map} +1 -1
  135. package/dist/chunks/{timeline-item.BVOztUi9.js → timeline-item.DXhpupK_.js} +6 -6
  136. package/dist/chunks/{timeline-item.BVOztUi9.js.map → timeline-item.DXhpupK_.js.map} +1 -1
  137. package/dist/chunks/{toast.BMGR5QrI.js → toast.BDV4ab4e.js} +2 -2
  138. package/dist/chunks/{toast.BMGR5QrI.js.map → toast.BDV4ab4e.js.map} +1 -1
  139. package/dist/chunks/{tutorial.WeP9PjhU.js → tutorial.CAcBuXib.js} +2 -2
  140. package/dist/chunks/{tutorial.WeP9PjhU.js.map → tutorial.CAcBuXib.js.map} +1 -1
  141. package/dist/chunks/{use-date-input-formatter.DhduXYC3.js → use-date-input-formatter.BR_O2GeY.js} +2 -2
  142. package/dist/chunks/{use-date-input-formatter.DhduXYC3.js.map → use-date-input-formatter.BR_O2GeY.js.map} +1 -1
  143. package/dist/code-snippet.js +1 -1
  144. package/dist/dashboard-template.js +1 -1
  145. package/dist/dashed-underline.js +1 -1
  146. package/dist/data-grid-template.js +1 -1
  147. package/dist/data-grid.js +1 -1
  148. package/dist/date-picker.js +2 -2
  149. package/dist/date-range-picker.js +2 -2
  150. package/dist/date-time-picker.js +1 -1
  151. package/dist/draggable.js +2 -2
  152. package/dist/dropdown.js +2 -2
  153. package/dist/empty-state.js +1 -1
  154. package/dist/file-uploader.js +1 -1
  155. package/dist/filter-bar.js +1 -1
  156. package/dist/form-layout.js +1 -1
  157. package/dist/header-with-views.js +1 -1
  158. package/dist/header.js +1 -1
  159. package/dist/index.js +50 -50
  160. package/dist/input-field-password.js +1 -1
  161. package/dist/input-field-phone-number.js +1 -1
  162. package/dist/input-field.js +1 -1
  163. package/dist/input-time.js +1 -1
  164. package/dist/inspector.js +1 -1
  165. package/dist/internal.js +8 -8
  166. package/dist/list.js +1 -1
  167. package/dist/menu.js +1 -1
  168. package/dist/modal-fullscreen.js +1 -1
  169. package/dist/modal.js +2 -2
  170. package/dist/navigation-menu.js +1 -1
  171. package/dist/pagination.js +1 -1
  172. package/dist/popover.js +1 -1
  173. package/dist/promo-banner.js +1 -1
  174. package/dist/rich-text-editor.js +1 -1
  175. package/dist/search-bar.js +2 -2
  176. package/dist/secondary-nav.js +1 -1
  177. package/dist/sidepanel.js +1 -1
  178. package/dist/structured-list.js +1 -1
  179. package/dist/summary-grid.js +1 -1
  180. package/dist/tabs.js +1 -1
  181. package/dist/textarea.js +1 -1
  182. package/dist/timeline.js +1 -1
  183. package/dist/toast.js +1 -1
  184. package/dist/tutorial.js +1 -1
  185. package/dist/web-types.json +97 -76
  186. package/package.json +4 -4
  187. package/dist/chunks/button.DITA6YtS.js +0 -110
  188. package/dist/chunks/button.DITA6YtS.js.map +0 -1
  189. package/dist/chunks/filter-bar.CY9xbtNy.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.99.0",
4
+ "version": "1.100.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -2109,79 +2109,6 @@
2109
2109
  "symbol": "default"
2110
2110
  }
2111
2111
  },
2112
- {
2113
- "name": "bento-range-filter",
2114
- "description": "Range filter used in the filter-bar component.",
2115
- "attributes": [
2116
- {
2117
- "name": "disabled",
2118
- "description": "Disables the filter from being interacted with.",
2119
- "value": {
2120
- "kind": "expression",
2121
- "type": "boolean"
2122
- },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "name": "defaultValue",
2127
- "description": "Default value of the filter to reset to.",
2128
- "value": {
2129
- "kind": "expression",
2130
- "type": "Array<string>"
2131
- },
2132
- "default": "null"
2133
- },
2134
- {
2135
- "name": "field",
2136
- "required": true,
2137
- "description": "Filter name/key referencing the actual property name in the data set.\nShould be unique per filter bar.",
2138
- "value": {
2139
- "kind": "expression",
2140
- "type": "string"
2141
- }
2142
- },
2143
- {
2144
- "name": "label",
2145
- "required": true,
2146
- "description": "Label text to be displayed",
2147
- "value": {
2148
- "kind": "expression",
2149
- "type": "string"
2150
- }
2151
- },
2152
- {
2153
- "name": "value",
2154
- "description": "Current value of the filter",
2155
- "value": {
2156
- "kind": "expression",
2157
- "type": "Array<string>"
2158
- },
2159
- "default": "() => ['', '']"
2160
- },
2161
- {
2162
- "name": "onlySlot",
2163
- "description": "Renders the base filter's slot content only - leaving out the button and the popover.\nUsed for the allFiltersModal component.",
2164
- "value": {
2165
- "kind": "expression",
2166
- "type": "boolean"
2167
- },
2168
- "default": "false"
2169
- },
2170
- {
2171
- "name": "options",
2172
- "description": "List of options that are needed to setup the filter\nAvailable options:\n - tooltipPosition: The position of the tooltip attached to the filter button\n - tooltipText: The content of the tooltip attached to the filter button",
2173
- "value": {
2174
- "kind": "expression",
2175
- "type": "BentoRangeFilterOptions"
2176
- },
2177
- "default": "undefined"
2178
- }
2179
- ],
2180
- "source": {
2181
- "module": "./src/components/filter-bar/components/range-filter/range-filter.vue",
2182
- "symbol": "default"
2183
- }
2184
- },
2185
2112
  {
2186
2113
  "name": "bento-select-avatar-filter",
2187
2114
  "description": "The Select Avatar filter displays a listbox of avatar items\npassed in the \"options.listboxItems\" property.",
@@ -2427,6 +2354,14 @@
2427
2354
  "symbol": "default"
2428
2355
  }
2429
2356
  },
2357
+ {
2358
+ "name": "button-actions-dom-events-example",
2359
+ "description": "",
2360
+ "source": {
2361
+ "module": "./src/components/button/components/button-actions/__tests__/button-actions-dom-events-example.vue",
2362
+ "symbol": "default"
2363
+ }
2364
+ },
2430
2365
  {
2431
2366
  "name": "button-actions-icons-stub",
2432
2367
  "description": "",
@@ -9060,12 +8995,12 @@
9060
8995
  {
9061
8996
  "name": "containerSizeLayout",
9062
8997
  "required": false,
9063
- "description": "Defines the layout (multi-line or one-line) to be used in the filter bar for different\ncontainer sizes:\n- Large (>=700px): Always multi-line\n- Medium (>=430px & <700px)\n- Small (<430px)",
8998
+ "description": "Defines the layout (multi-line or one-line) to be used in the filter bar for different\ncontainer sizes:\n- Large (>=700px)\n- Medium (>=430px & <700px)\n- Small (<430px)",
9064
8999
  "value": {
9065
9000
  "kind": "expression",
9066
9001
  "type": "BentoFilterBarContainerSizeLayout"
9067
9002
  },
9068
- "default": "() => ({\n medium: 'one-line',\n small: 'multi-line',\n})"
9003
+ "default": "null"
9069
9004
  },
9070
9005
  {
9071
9006
  "name": "search",
@@ -9517,6 +9452,14 @@
9517
9452
  "symbol": "default"
9518
9453
  }
9519
9454
  },
9455
+ {
9456
+ "name": "filter-bar-default-example",
9457
+ "description": "",
9458
+ "source": {
9459
+ "module": "./src/components/filter-bar/__tests__/filter-bar-default-example.vue",
9460
+ "symbol": "default"
9461
+ }
9462
+ },
9520
9463
  {
9521
9464
  "name": "filter-bar-toast-stub",
9522
9465
  "description": "",
@@ -15163,6 +15106,84 @@
15163
15106
  "symbol": "default"
15164
15107
  }
15165
15108
  },
15109
+ {
15110
+ "name": "range-filter",
15111
+ "description": "",
15112
+ "attributes": [
15113
+ {
15114
+ "name": "disabled",
15115
+ "required": false,
15116
+ "description": "Disables the filter from being interacted with.",
15117
+ "value": {
15118
+ "kind": "expression",
15119
+ "type": "boolean"
15120
+ },
15121
+ "default": "false"
15122
+ },
15123
+ {
15124
+ "name": "defaultValue",
15125
+ "required": false,
15126
+ "description": "Default value of the filter to reset to.",
15127
+ "value": {
15128
+ "kind": "expression",
15129
+ "type": "union"
15130
+ },
15131
+ "default": "null"
15132
+ },
15133
+ {
15134
+ "name": "field",
15135
+ "required": true,
15136
+ "description": "Filter name/key referencing the actual property name in the data set.\nShould be unique per filter bar.",
15137
+ "value": {
15138
+ "kind": "expression",
15139
+ "type": "string"
15140
+ }
15141
+ },
15142
+ {
15143
+ "name": "label",
15144
+ "required": true,
15145
+ "description": "Label text to be displayed",
15146
+ "value": {
15147
+ "kind": "expression",
15148
+ "type": "string"
15149
+ }
15150
+ },
15151
+ {
15152
+ "name": "value",
15153
+ "required": false,
15154
+ "description": "Current value of the filter",
15155
+ "value": {
15156
+ "kind": "expression",
15157
+ "type": "Array"
15158
+ },
15159
+ "default": "() => ['', '']"
15160
+ },
15161
+ {
15162
+ "name": "onlySlot",
15163
+ "required": false,
15164
+ "description": "Renders the base filter's slot content only - leaving out the button and the popover.\nUsed for the allFiltersModal component.",
15165
+ "value": {
15166
+ "kind": "expression",
15167
+ "type": "boolean"
15168
+ },
15169
+ "default": "false"
15170
+ },
15171
+ {
15172
+ "name": "options",
15173
+ "required": false,
15174
+ "description": "List of options that are needed to setup the filter",
15175
+ "value": {
15176
+ "kind": "expression",
15177
+ "type": "BentoRangeFilterOptions"
15178
+ },
15179
+ "default": "undefined"
15180
+ }
15181
+ ],
15182
+ "source": {
15183
+ "module": "./src/components/filter-bar/components/range-filter/range-filter.vue",
15184
+ "symbol": "default"
15185
+ }
15186
+ },
15166
15187
  {
15167
15188
  "name": "reset-stepper-example",
15168
15189
  "description": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.99.0",
3
+ "version": "1.100.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,7 +51,7 @@
51
51
  "unified": "11.0.5",
52
52
  "uuid": "11.1.1",
53
53
  "vue-demi": "0.14.10",
54
- "@adyen/bento-design-tokens": "1.99.0"
54
+ "@adyen/bento-design-tokens": "1.100.0"
55
55
  },
56
56
  "dependenciesMeta": {
57
57
  "@adyen/bento-vue-i18n-demi": {
@@ -135,9 +135,9 @@
135
135
  "@adyen/bento-cli": "0.10.5",
136
136
  "@adyen/bento-core": "0.0.1",
137
137
  "@adyen/bento-vue-i18n-demi": "0.1.0",
138
- "@adyen/eslint-plugin-bento": "2.16.0",
138
+ "@adyen/eslint-plugin-bento": "2.17.0",
139
139
  "@adyen/ui-assets-icons-16": "7.9.4",
140
- "@adyen/ui-assets-payment-method-icons": "11.0.1"
140
+ "@adyen/ui-assets-payment-method-icons": "12.0.0"
141
141
  },
142
142
  "optionalDependencies": {
143
143
  "vue-router": "~3.6"
@@ -1,110 +0,0 @@
1
- import { defineComponent as y, useAttrs as m, useSlots as v, computed as i } from "vue";
2
- import { B as S } from "./typography.C8lPlsbD.js";
3
- import { u as g } from "./use-has-slot.C9lQZ6nz.js";
4
- import { B as C, a as E } from "./link.BpuCRgok.js";
5
- import { n as h } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
- import "../assets/button.css";
7
- var r = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e.TERTIARY = "tertiary", e.TERTIARY_WITH_BACKGROUND = "tertiary-with-background", e))(r || {}), s = /* @__PURE__ */ ((e) => (e.CONDENSED = "condensed", e.DESTRUCTIVE = "critical", e.DISABLED = "disabled", e.ICON_ONLY = "icon-only", e.INVERSE = "inverse", e))(s || {});
8
- const R = {
9
- name: "bento-button"
10
- }, I = /* @__PURE__ */ y({
11
- ...R,
12
- props: {
13
- /**
14
- * Reduces sizing of button
15
- */
16
- condensed: { type: Boolean, default: !1 },
17
- /**
18
- * Displays button as critical
19
- */
20
- critical: { type: Boolean, default: !1 },
21
- /**
22
- * Disables button functionality
23
- */
24
- disabled: { type: Boolean, default: !1 },
25
- /**
26
- * Sets color set to inverse
27
- */
28
- inverse: { type: Boolean, default: !1 },
29
- /**
30
- * Object containing props passed on to the BentoLink component. @see BentoLink documentation for which properties you can pass.
31
- */
32
- link: { type: Object, default: void 0 },
33
- /**
34
- * The default behavior of the button.
35
- * Possible values are: 'button', 'reset', 'submit'
36
- */
37
- type: {
38
- type: String,
39
- default: "button"
40
- },
41
- /**
42
- * Types of flavour of Button
43
- * @values primary, secondary, tertiary, tertiary-with-background
44
- */
45
- variant: {
46
- type: String,
47
- default: r.PRIMARY,
48
- validator: (e) => Object.values(r).includes(e)
49
- }
50
- },
51
- emits: ["blur", "click", "focus", "keydown.esc"],
52
- setup(e, { emit: a }) {
53
- const t = e, n = m(), l = v(), c = g(l), d = i(() => (t == null ? void 0 : t.link) !== void 0 ? t.disabled ? "span" : C : "button"), u = i(() => {
54
- var o, b;
55
- return {
56
- "aria-controls": (o = n["aria-controls"]) == null ? void 0 : o.toString(),
57
- "aria-expanded": (b = n["aria-expanded"]) == null ? void 0 : b.toString()
58
- };
59
- }), f = i(
60
- () => d.value === "button" ? {
61
- ...u.value,
62
- disabled: t.disabled,
63
- type: t.type
64
- } : {
65
- ...t.link,
66
- disableTypography: !0,
67
- variant: E.DEFAULT,
68
- isButton: !0,
69
- /**
70
- * When the button is a disabled link, it's rendered as a `<span>`.
71
- * These attributes ensure it's still announced as a disabled link by screen readers.
72
- */
73
- "aria-disabled": t.disabled ? "true" : void 0,
74
- role: t.disabled ? "link" : void 0
75
- }
76
- ), p = i(() => ({
77
- [`b-button--${t.variant}${t.critical ? `-${s.DESTRUCTIVE}` : ""}`]: !0
78
- })), _ = i(() => ({
79
- ...p.value,
80
- [`b-button--${s.CONDENSED}`]: t.condensed,
81
- [`b-button--${s.DISABLED}`]: t.disabled,
82
- [`b-button--${s.INVERSE}`]: t.inverse
83
- }));
84
- return { __sfc: !0, props: t, emit: a, attrs: n, slots: l, hasSlot: c, componentType: d, ariaAttributes: u, componentProps: f, variantClass: p, conditionalClasses: _, getIconOnlyClass: () => ({
85
- [`b-button--${s.ICON_ONLY}`]: !c("default")
86
- }), onClickButton: (o) => {
87
- t.disabled ? (o.preventDefault(), o.stopPropagation()) : a("click", o);
88
- }, BentoTypography: S };
89
- }
90
- });
91
- var T = function() {
92
- var a = this, t = a._self._c, n = a._self._setupProxy;
93
- return t(n.componentType, a._b({ tag: "component", staticClass: "b-button", class: { ...n.conditionalClasses, ...n.getIconOnlyClass() }, on: { "!click": function(l) {
94
- return n.onClickButton.apply(null, arguments);
95
- } } }, "component", n.componentProps, !1), [n.hasSlot("iconLeft") ? t("span", { staticClass: "b-button__icon-left", attrs: { "data-testid": "icon-button-left", "aria-hidden": n.hasSlot("default") ? "true" : null } }, [a._t("iconLeft")], 2) : a._e(), n.hasSlot("default") ? t(n.BentoTypography, { staticClass: "b-button__label", attrs: { el: "span", variant: "body", stronger: "" } }, [a._t("default")], 2) : a._e(), n.hasSlot("iconRight") ? t("span", { staticClass: "b-button__icon-right", attrs: { "data-testid": "icon-button-right", "aria-hidden": n.hasSlot("default") ? "true" : null } }, [a._t("iconRight")], 2) : a._e()], 1);
96
- }, k = [], D = /* @__PURE__ */ h(
97
- I,
98
- T,
99
- k,
100
- !1,
101
- null,
102
- "03ea9e1e"
103
- );
104
- const x = D.exports;
105
- export {
106
- x as B,
107
- s as a,
108
- r as b
109
- };
110
- //# sourceMappingURL=button.DITA6YtS.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.DITA6YtS.js","sources":["../../src/components/button/button.types.ts","../../src/components/button/button.vue"],"sourcesContent":["/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoButtonVariant {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n TERTIARY_WITH_BACKGROUND = 'tertiary-with-background',\n}\n\nexport enum BentoButtonPropClass {\n CONDENSED = 'condensed',\n DESTRUCTIVE = 'critical',\n DISABLED = 'disabled',\n ICON_ONLY = 'icon-only',\n INVERSE = 'inverse',\n}\n\nexport interface BentoButtonProps {\n condensed?: boolean;\n critical?: boolean;\n disabled?: boolean;\n inverse?: boolean;\n variant?: BentoButtonVariant | `${BentoButtonVariant}`;\n type?: string;\n link?: object;\n}\n","<template>\n <component\n :is=\"componentType\"\n v-bind=\"componentProps\"\n class=\"b-button\"\n :class=\"{ ...conditionalClasses, ...getIconOnlyClass() }\"\n @click.capture=\"onClickButton\"\n >\n <span\n v-if=\"hasSlot('iconLeft')\"\n class=\"b-button__icon-left\"\n data-testid=\"icon-button-left\"\n :aria-hidden=\"hasSlot('default') ? 'true' : null\"\n >\n <slot name=\"iconLeft\" />\n </span>\n <bento-typography v-if=\"hasSlot('default')\" el=\"span\" variant=\"body\" stronger class=\"b-button__label\">\n <slot />\n </bento-typography>\n <span\n v-if=\"hasSlot('iconRight')\"\n class=\"b-button__icon-right\"\n data-testid=\"icon-button-right\"\n :aria-hidden=\"hasSlot('default') ? 'true' : null\"\n >\n <slot name=\"iconRight\" />\n </span>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType, useAttrs, useSlots } from 'vue';\n import { BentoButtonPropClass, BentoButtonVariant } from './button.types';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { type Booleanish } from '../../types/prop-types';\n import type { RouterLinkProps } from 'vue-router/types/router.d.ts';\n import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'vue/types/jsx.d.ts';\n import { BentoLink, BentoLinkVariant } from '@/components/link';\n\n // TODO: replace all this code when migrated to Vue 3 is complete as this is the only\n // current way to extend the `router-link` component in Vue 2 and Vue Router 3\n export interface LinkProps extends RouterLinkProps, AnchorHTMLAttributes {\n args?: { props: RouterLinkProps };\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: boolean;\n }\n\n const props = defineProps({\n /**\n * Reduces sizing of button\n */\n condensed: { type: Boolean, default: false },\n\n /**\n * Displays button as critical\n */\n critical: { type: Boolean, default: false },\n\n /**\n * Disables button functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Sets color set to inverse\n */\n inverse: { type: Boolean, default: false },\n\n /**\n * Object containing props passed on to the BentoLink component. @see BentoLink documentation for which properties you can pass.\n */\n link: { type: Object, default: undefined },\n\n /**\n * The default behavior of the button.\n * Possible values are: 'button', 'reset', 'submit'\n */\n type: {\n type: String as PropType<ButtonHTMLAttributes['type']>,\n default: 'button',\n },\n\n /**\n * Types of flavour of Button\n * @values primary, secondary, tertiary, tertiary-with-background\n */\n variant: {\n type: String as PropType<BentoButtonVariant | `${BentoButtonVariant}`>,\n default: BentoButtonVariant.PRIMARY,\n validator: (value: BentoButtonVariant) => Object.values(BentoButtonVariant).includes(value),\n },\n });\n\n const emit = defineEmits([\"blur\", \"click\", \"focus\", \"keydown.esc\"]);\n\n const attrs = useAttrs();\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const componentType = computed(() => {\n if (props?.link !== undefined) {\n /**\n * Display a \"span\" with role \"link\" and \"aria-disabled=true\"\n * if the link is disabled.\n * @link https://www.scottohara.me/blog/2021/05/28/disabled-links.html\n */\n return props.disabled ? 'span' : BentoLink;\n }\n return 'button';\n });\n const ariaAttributes = computed(() => ({\n 'aria-controls': attrs['aria-controls']?.toString() as string,\n 'aria-expanded': attrs['aria-expanded']?.toString() as Booleanish,\n }));\n\n const componentProps = computed(() =>\n componentType.value === 'button'\n ? {\n ...ariaAttributes.value,\n disabled: props.disabled,\n type: props.type,\n }\n : {\n ...props.link,\n disableTypography: true,\n variant: BentoLinkVariant.DEFAULT,\n isButton: true,\n\n /**\n * When the button is a disabled link, it's rendered as a `<span>`.\n * These attributes ensure it's still announced as a disabled link by screen readers.\n */\n 'aria-disabled': props.disabled ? 'true' : undefined,\n role: props.disabled ? 'link' : undefined,\n }\n );\n\n const variantClass = computed(() => ({\n [`b-button--${props.variant}${props.critical ? `-${BentoButtonPropClass.DESTRUCTIVE}` : ''}`]: true,\n }));\n\n const conditionalClasses = computed(() => ({\n ...variantClass.value,\n [`b-button--${BentoButtonPropClass.CONDENSED}`]: props.condensed,\n [`b-button--${BentoButtonPropClass.DISABLED}`]: props.disabled,\n [`b-button--${BentoButtonPropClass.INVERSE}`]: props.inverse,\n }));\n\n const getIconOnlyClass = () => ({\n [`b-button--${BentoButtonPropClass.ICON_ONLY}`]: !hasSlot('default'),\n });\n\n const onClickButton = (e: MouseEvent) => {\n if (!props.disabled) {\n emit('click', e);\n } else {\n e.preventDefault();\n e.stopPropagation();\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Button component for all the various types of bento buttons.\n *\n * @example\n * import { BentoButton } from '@adyen/bento-vue2';\n * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';\n *\n * export default {\n * components: { BentoButton },\n * template: `\n * <bento-button\n * disabled\n * variant=\"secondary\"\n * >\n * <template #iconLeft>\n * <check-mark svg-title=\"checked\" />\n * </template>\n *\n * Button text\n *\n * <template #iconRight>\n * <check-mark svg-title=\"checked\" />\n * </template>\n * </bento-button>\n * `,\n * }\n */\n export default {\n name: 'bento-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./button.scss\" />\n"],"names":["BentoButtonVariant","BentoButtonVariant2","BentoButtonPropClass","BentoButtonPropClass2","__default__","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","componentType","computed","props","BentoLink","ariaAttributes","_a","_b","componentProps","BentoLinkVariant","variantClass","conditionalClasses","e","emit"],"mappings":";;;;;;AAGO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,2BAAA,4BAJQA,IAAAD,KAAA,CAAA,CAAA,GAOLE,IAAA,kBAAAC,OACHA,EAAA,YAAA,aACAA,EAAA,cAAA,YACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WALQA,IAAAD,KAAA,CAAA,CAAA;ACwLR,MAAAE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjGAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OACIC,KAAA,gBAAAA,EAAA,UAAA,SAMIA,EAAA,WAAA,SAAAC,IAEJ,QAAO,GAEXC,IAAAH,EAAA,MAAA;;AAAA;AAAA,QAAuC,kBAAAI,IAAAX,EAAA,eAAA,MAAA,gBAAAW,EAAA;AAAA,QACe,kBAAAC,IAAAZ,EAAA,eAAA,MAAA,gBAAAY,EAAA;AAAA,MACA;AAAA,KAAA,GAGtDC,IAAAN;AAAA,MAAuB,MAAAD,EAAA,UAAA,WAAA;AAAA,QAEb,GAAAI,EAAA;AAAA,QACsB,UAAAF,EAAA;AAAA,QACF,MAAAA,EAAA;AAAA,MACJ,IAAA;AAAA,QAEhB,GAAAA,EAAA;AAAA,QACa,mBAAA;AAAA,QACU,SAAAM,EAAA;AAAA,QACO,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAChB,iBAAAN,EAAA,WAAA,SAAA;AAAA,QAMiC,MAAAA,EAAA,WAAA,SAAA;AAAA,MACX;AAAA,IACpC,GAGVO,IAAAR,EAAA,OAAA;AAAA,MAAqC,CAAA,aAAAC,EAAA,OAAA,GAAAA,EAAA,WAAA,IAAAX,EAAA,WAAA,KAAA,EAAA,EAAA,GAAA;AAAA,IAC8D,EAAA,GAGnGmB,IAAAT,EAAA,OAAA;AAAA,MAA2C,GAAAQ,EAAA;AAAA,MACvB,CAAA,aAAAlB,EAAA,SAAA,EAAA,GAAAW,EAAA;AAAA,MACuC,CAAA,aAAAX,EAAA,QAAA,EAAA,GAAAW,EAAA;AAAA,MACD,CAAA,aAAAX,EAAA,OAAA,EAAA,GAAAW,EAAA;AAAA,IACD,EAAA;6LAGzD,OAAA;AAAA,MAAgC,CAAA,aAAAX,EAAA,SAAA,EAAA,GAAA,CAAAO,EAAA,SAAA;AAAA,IACuC,mBAGvE,CAAAa,MAAA;AACI,MAAAT,EAAA,YAGIS,EAAA,eAAA,GACAA,EAAA,gBAAA,KAHAC,EAAA,SAAAD,CAAA;AAAA,IAIJ;;;;;;;;;;;;;;;;;"}