@adyen/adyen-platform-experience-web 1.4.2 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/dist/adyen-platform-experience-web.css +1 -1
  2. package/dist/{angle-right-C1JIrQTg.cjs → angle-right-DCDtBphj.cjs} +2 -2
  3. package/dist/{angle-right-C1JIrQTg.cjs.map → angle-right-DCDtBphj.cjs.map} +1 -1
  4. package/dist/{checkmark-B8DhX3p1.cjs → checkmark-BUtjcpAC.cjs} +2 -2
  5. package/dist/{checkmark-B8DhX3p1.cjs.map → checkmark-BUtjcpAC.cjs.map} +1 -1
  6. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs → checkmark-circle-fill-CtUhQzOt.cjs} +2 -2
  7. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs.map → checkmark-circle-fill-CtUhQzOt.cjs.map} +1 -1
  8. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs → checkmark-square-fill-Cpdn8YWp.cjs} +2 -2
  9. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs.map → checkmark-square-fill-Cpdn8YWp.cjs.map} +1 -1
  10. package/dist/{chevron-down-CB77LxQY.cjs → chevron-down-CEgNjZK_.cjs} +2 -2
  11. package/dist/{chevron-down-CB77LxQY.cjs.map → chevron-down-CEgNjZK_.cjs.map} +1 -1
  12. package/dist/{chevron-left-DMAmIvLF.cjs → chevron-left-BgN_rxGR.cjs} +2 -2
  13. package/dist/{chevron-left-DMAmIvLF.cjs.map → chevron-left-BgN_rxGR.cjs.map} +1 -1
  14. package/dist/{chevron-right-BxLJu7Zf.cjs → chevron-right-Jwt5BuB-.cjs} +2 -2
  15. package/dist/{chevron-right-BxLJu7Zf.cjs.map → chevron-right-Jwt5BuB-.cjs.map} +1 -1
  16. package/dist/{chevron-up-CT79XJdh.cjs → chevron-up-B_O0vmIX.cjs} +2 -2
  17. package/dist/{chevron-up-CT79XJdh.cjs.map → chevron-up-B_O0vmIX.cjs.map} +1 -1
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/{copy-7UpFtMvt.cjs → copy-DztEPGun.cjs} +2 -2
  20. package/dist/{copy-7UpFtMvt.cjs.map → copy-DztEPGun.cjs.map} +1 -1
  21. package/dist/{cross-DtVirgrN.cjs → cross-B9ojc3kB.cjs} +2 -2
  22. package/dist/{cross-DtVirgrN.cjs.map → cross-B9ojc3kB.cjs.map} +1 -1
  23. package/dist/{cross-circle-fill-C47yImD2.cjs → cross-circle-fill-Dy_LlcFp.cjs} +2 -2
  24. package/dist/{cross-circle-fill-C47yImD2.cjs.map → cross-circle-fill-Dy_LlcFp.cjs.map} +1 -1
  25. package/dist/da-DK-DAJvnb2s.cjs +2 -0
  26. package/dist/da-DK-DAJvnb2s.cjs.map +1 -0
  27. package/dist/de-DE-DFMmcoWN.cjs +2 -0
  28. package/dist/de-DE-DFMmcoWN.cjs.map +1 -0
  29. package/dist/{download-A1m1wB_K.cjs → download-DsN3U6Xn.cjs} +2 -2
  30. package/dist/{download-A1m1wB_K.cjs.map → download-DsN3U6Xn.cjs.map} +1 -1
  31. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  34. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  35. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  39. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  40. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  41. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  42. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +4 -4
  44. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  45. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  46. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  47. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  48. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  49. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  51. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  52. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  53. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  54. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  55. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  58. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  59. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  60. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  61. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  63. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  64. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  66. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  69. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  70. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  71. package/dist/es/components/internal/Alert/Alert.js +1 -1
  72. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  73. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  74. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  75. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  76. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  79. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  80. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  82. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  83. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  84. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  85. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  87. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  88. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  89. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  90. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  91. package/dist/es/components/internal/Card/Card.js +9 -9
  92. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  93. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  94. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  95. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  96. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  97. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  98. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  99. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  100. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +23 -23
  101. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  102. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  104. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  105. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  107. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  108. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  109. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  110. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  111. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  112. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  113. package/dist/es/components/internal/Header/Header.js +4 -4
  114. package/dist/es/components/internal/Icon/Icon.js +3 -3
  115. package/dist/es/components/internal/Img/Img.js +2 -2
  116. package/dist/es/components/internal/Link/Link.js +2 -2
  117. package/dist/es/components/internal/Modal/Modal.js +4 -4
  118. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  119. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  120. package/dist/es/components/internal/Popover/Popover.js +4 -4
  121. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  122. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  124. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  126. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +13 -13
  127. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  128. package/dist/es/components/internal/Translation/Translation.js +15 -15
  129. package/dist/es/components/utils/getErrorMessage.js +2 -2
  130. package/dist/es/constants/dateFormats.js +3 -3
  131. package/dist/es/core/ConfigContext/context.js +18 -18
  132. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  133. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  134. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  135. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  136. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  137. package/dist/es/core/Http/utils.js +1 -1
  138. package/dist/es/core/Localization/Localization.js +32 -32
  139. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  140. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  141. package/dist/es/core/Localization/utils.js +1 -1
  142. package/dist/es/core/core.js +1 -1
  143. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  144. package/dist/es/external/preact/dist/preact.module.js +197 -195
  145. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  146. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  147. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  148. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  149. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  150. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  151. package/dist/es/hooks/useContainerQuery.js +4 -4
  152. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  153. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  154. package/dist/es/hooks/useFetch.js +22 -22
  155. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  156. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  157. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  158. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  159. package/dist/es/hooks/useTabbedControl.js +9 -9
  160. package/dist/es/primitives/async/abortable/main.js +9 -9
  161. package/dist/es/primitives/async/deferred/main.js +1 -1
  162. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  163. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  164. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  165. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  166. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  167. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  168. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  169. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  170. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  171. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  172. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  173. package/dist/es/primitives/time/clock/main.js +6 -6
  174. package/dist/es/primitives/time/interval/main.js +9 -9
  175. package/dist/es/translations/da-DK.json.js +55 -46
  176. package/dist/es/translations/de-DE.json.js +71 -62
  177. package/dist/es/translations/en-US.json.js +41 -38
  178. package/dist/es/translations/es-ES.json.js +79 -70
  179. package/dist/es/translations/fi-FI.json.js +97 -88
  180. package/dist/es/translations/fr-FR.json.js +75 -66
  181. package/dist/es/translations/it-IT.json.js +107 -98
  182. package/dist/es/translations/nl-NL.json.js +80 -71
  183. package/dist/es/translations/no-NO.json.js +67 -58
  184. package/dist/es/translations/pt-BR.json.js +71 -62
  185. package/dist/es/translations/sv-SE.json.js +95 -86
  186. package/dist/es/utils/abort/internals.js +3 -3
  187. package/dist/es/utils/abort/main.js +19 -19
  188. package/dist/es/utils/collection/main.js +14 -14
  189. package/dist/es/utils/datetime/main.js +3 -3
  190. package/dist/es/utils/preact/className.js +2 -2
  191. package/dist/es/utils/struct/main.js +8 -8
  192. package/dist/es/utils/value/is.js +9 -9
  193. package/dist/es/utils/value/number.js +2 -2
  194. package/dist/es-ES-DWJu_JsZ.cjs +2 -0
  195. package/dist/es-ES-DWJu_JsZ.cjs.map +1 -0
  196. package/dist/{external-link-Ct-WlQoY.cjs → external-link-DgHiKqPL.cjs} +2 -2
  197. package/dist/{external-link-Ct-WlQoY.cjs.map → external-link-DgHiKqPL.cjs.map} +1 -1
  198. package/dist/fi-FI-MXUK5vu0.cjs +2 -0
  199. package/dist/fi-FI-MXUK5vu0.cjs.map +1 -0
  200. package/dist/{filter-DwSaMAG7.cjs → filter-C7stlLTD.cjs} +2 -2
  201. package/dist/{filter-DwSaMAG7.cjs.map → filter-C7stlLTD.cjs.map} +1 -1
  202. package/dist/fr-FR-NK-BqBuh.cjs +2 -0
  203. package/dist/fr-FR-NK-BqBuh.cjs.map +1 -0
  204. package/dist/index-ejbaSyzM.cjs +12 -0
  205. package/dist/index-ejbaSyzM.cjs.map +1 -0
  206. package/dist/{info-filled-bhD2VGA2.cjs → info-filled-Bk8waEjd.cjs} +2 -2
  207. package/dist/{info-filled-bhD2VGA2.cjs.map → info-filled-Bk8waEjd.cjs.map} +1 -1
  208. package/dist/it-IT-CckThmyL.cjs +2 -0
  209. package/dist/it-IT-CckThmyL.cjs.map +1 -0
  210. package/dist/{minus-circle-outline-pNXlRjce.cjs → minus-circle-outline-8LuhQHmx.cjs} +2 -2
  211. package/dist/{minus-circle-outline-pNXlRjce.cjs.map → minus-circle-outline-8LuhQHmx.cjs.map} +1 -1
  212. package/dist/nl-NL-73Hql9dE.cjs +2 -0
  213. package/dist/nl-NL-73Hql9dE.cjs.map +1 -0
  214. package/dist/no-NO-C5RVnfc6.cjs +2 -0
  215. package/dist/no-NO-C5RVnfc6.cjs.map +1 -0
  216. package/dist/{plus-circle-outline-B3Ttq6A2.cjs → plus-circle-outline-x53czuRo.cjs} +2 -2
  217. package/dist/{plus-circle-outline-B3Ttq6A2.cjs.map → plus-circle-outline-x53czuRo.cjs.map} +1 -1
  218. package/dist/pt-BR-DR3yYVRn.cjs +2 -0
  219. package/dist/pt-BR-DR3yYVRn.cjs.map +1 -0
  220. package/dist/{square-C3hb1Bxz.cjs → square-BzY0pIfq.cjs} +2 -2
  221. package/dist/{square-C3hb1Bxz.cjs.map → square-BzY0pIfq.cjs.map} +1 -1
  222. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  223. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  224. package/dist/{trash-can-D2GRVBnJ.cjs → trash-can-oPrHRWRq.cjs} +2 -2
  225. package/dist/{trash-can-D2GRVBnJ.cjs.map → trash-can-oPrHRWRq.cjs.map} +1 -1
  226. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  227. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  228. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  229. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  230. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  231. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  232. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  233. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  234. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  235. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  236. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  237. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  238. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  239. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  240. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  241. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  242. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  247. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  248. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  249. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  250. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  251. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  252. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  253. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  254. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  255. package/dist/types/translations/index.d.ts +3 -0
  256. package/dist/types/translations/index.d.ts.map +1 -1
  257. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  258. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  259. package/dist/{upload-CeUcEWmW.cjs → upload-CEAJdOXV.cjs} +2 -2
  260. package/dist/{upload-CeUcEWmW.cjs.map → upload-CEAJdOXV.cjs.map} +1 -1
  261. package/dist/{warning-C2NpcmL8.cjs → warning-BzXJLvmN.cjs} +2 -2
  262. package/dist/{warning-C2NpcmL8.cjs.map → warning-BzXJLvmN.cjs.map} +1 -1
  263. package/dist/{warning-filled-Bo82QPPc.cjs → warning-filled-P8HTOKkP.cjs} +2 -2
  264. package/dist/{warning-filled-Bo82QPPc.cjs.map → warning-filled-P8HTOKkP.cjs.map} +1 -1
  265. package/package.json +15 -14
  266. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  267. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  268. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  269. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  270. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  271. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  272. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  273. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  274. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  275. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  276. package/dist/index-CpBGZ2AH.cjs +0 -12
  277. package/dist/index-CpBGZ2AH.cjs.map +0 -1
  278. package/dist/it-IT-DsfPVAun.cjs +0 -2
  279. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  280. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  281. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  282. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  283. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  284. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  285. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  286. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  287. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { useResponsiveContainer as R, containerQueries as x } from "../../../../../hooks/useResponsiveContainer.js";
3
3
  import b from "../../../Popover/Popover.js";
4
- import { PopoverContainerSize as A, PopoverContainerVariant as g, PopoverContainerPosition as h } from "../../../Popover/types.js";
4
+ import { PopoverContainerPosition as A, PopoverContainerVariant as g, PopoverContainerSize as h } from "../../../Popover/types.js";
5
5
  import F from "../../../../../core/Context/useCoreContext.js";
6
6
  import m from "classnames";
7
7
  import { memo as W } from "../../../../../external/preact/compat/dist/compat.module.js";
@@ -16,21 +16,21 @@ const k = Q(
16
16
  active: c,
17
17
  commitActions: p,
18
18
  items: d,
19
- multiSelect: n,
19
+ multiSelect: s,
20
20
  onKeyDown: f,
21
21
  onSelect: u,
22
22
  renderListItem: t,
23
23
  selectListId: O,
24
24
  showList: i,
25
- textFilter: s,
25
+ textFilter: n,
26
26
  toggleButtonRef: S,
27
27
  dismissPopover: C,
28
28
  setToTargetWidth: N,
29
29
  popoverClassNameModifiers: P,
30
30
  showOverlay: _,
31
- fitPosition: D
32
- }, E) => {
33
- const { i18n: L } = F(), T = R(x.down.xs), a = d.filter((e) => !s || e.name.toLowerCase().includes(s)), v = m(w, { [V]: i }), M = m(z, j), I = l(() => U(t) ? t : B, [t]), r = l(() => $(n), [n]);
31
+ fitPosition: v
32
+ }, D) => {
33
+ const { i18n: E } = F(), L = R(x.down.xs), a = d.filter((e) => !n || e.name.toLowerCase().includes(n)), T = m(w, { [V]: i }), M = m(z, j), I = l(() => U(t) ? t : B, [t]), r = l(() => $(s), [s]);
34
34
  return i ? /* @__PURE__ */ o(
35
35
  b,
36
36
  {
@@ -42,14 +42,14 @@ const k = Q(
42
42
  dismissible: !1,
43
43
  open: i,
44
44
  setToTargetWidth: N,
45
- containerSize: A.MEDIUM,
45
+ containerSize: h.MEDIUM,
46
46
  variant: g.POPOVER,
47
47
  targetElement: S,
48
48
  withContentPadding: !1,
49
- position: h.BOTTOM,
50
- showOverlay: _ && T,
51
- fitPosition: D,
52
- children: /* @__PURE__ */ o("ul", { className: v, id: O, ref: E, role: "listbox", "aria-multiselectable": r, children: a.length ? a.map((e) => /* @__PURE__ */ o(
49
+ position: A.BOTTOM,
50
+ showOverlay: _ && L,
51
+ fitPosition: v,
52
+ children: /* @__PURE__ */ o("ul", { className: T, id: O, ref: D, role: "listbox", "aria-multiselectable": r, children: a.length ? a.map((e) => /* @__PURE__ */ o(
53
53
  y,
54
54
  {
55
55
  item: e,
@@ -60,11 +60,11 @@ const k = Q(
60
60
  selected: c.includes(e)
61
61
  },
62
62
  e.id
63
- )) : /* @__PURE__ */ o("div", { className: M, children: L.get("select.noOptionsFound") }) })
63
+ )) : /* @__PURE__ */ o("div", { className: M, children: E.get("select.noOptionsFound") }) })
64
64
  }
65
65
  ) : null;
66
66
  }
67
- ), ne = W(k);
67
+ ), se = W(k);
68
68
  export {
69
- ne as default
69
+ se as default
70
70
  };
@@ -4,7 +4,7 @@ import { memo as N } from "../../../../../external/preact/compat/dist/compat.mod
4
4
  import E from "../../../SVGIcons/CheckedBox.js";
5
5
  import C from "../../../SVGIcons/UncheckedBox.js";
6
6
  import d from "../../../SVGIcons/Checkmark.js";
7
- import { DROPDOWN_ELEMENT_CHECKMARK_CLASS as S, DROPDOWN_ELEMENT_CLASS as D, DROPDOWN_ELEMENT_ACTIVE_CLASS as _, DROPDOWN_ELEMENT_DISABLED_CLASS as p, DROPDOWN_ELEMENT_CONTENT_CLASS as L, DROPDOWN_ELEMENT_ICON_CLASS as O, DROPDOWN_ELEMENT_CHECKBOX_CLASS as f } from "../constants.js";
7
+ import { DROPDOWN_ELEMENT_CHECKMARK_CLASS as S, DROPDOWN_ELEMENT_CLASS as D, DROPDOWN_ELEMENT_DISABLED_CLASS as _, DROPDOWN_ELEMENT_ACTIVE_CLASS as p, DROPDOWN_ELEMENT_ICON_CLASS as L, DROPDOWN_ELEMENT_CONTENT_CLASS as O, DROPDOWN_ELEMENT_CHECKBOX_CLASS as f } from "../constants.js";
8
8
  import u from "../../../Img/Img.js";
9
9
  import { Fragment as h } from "../../../../../external/preact/dist/preact.module.js";
10
10
  import { boolOrFalse as A } from "../../../../../utils/value/bool.js";
@@ -17,8 +17,8 @@ const M = (e) => e.multiSelect ? /* @__PURE__ */ s("span", { className: f, child
17
17
  T(e)
18
18
  ] }), b = ({ item: e, multiSelect: n, onKeyDown: t, onSelect: r, renderListItem: i, selected: l }) => {
19
19
  const o = !!e.disabled, m = A(e.disabled) || null, a = c(D, {
20
- [_]: l,
21
- [p]: o
20
+ [p]: l,
21
+ [_]: o
22
22
  });
23
23
  return /* @__PURE__ */ s(
24
24
  "li",
@@ -37,8 +37,8 @@ const M = (e) => e.multiSelect ? /* @__PURE__ */ s("span", { className: f, child
37
37
  item: e,
38
38
  multiSelect: n,
39
39
  selected: l,
40
- contentClassName: L,
41
- iconClassName: O
40
+ contentClassName: O,
41
+ iconClassName: L
42
42
  })
43
43
  }
44
44
  );
@@ -1,6 +1,6 @@
1
1
  import { useCallback as i, useState as O, useEffect as g } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
2
  import { EMPTY_ARRAY as t } from "../../../../../utils/value/constants.js";
3
- const p = ({ items: f, multiSelect: r, selected: l }) => {
3
+ const z = ({ items: f, multiSelect: r, selected: l }) => {
4
4
  const a = i(
5
5
  (c = t) => {
6
6
  const e = t.concat(c ?? t).filter(Boolean), n = f.filter((x) => e.includes(x.id)), o = r ? n : n.slice(0, 1);
@@ -28,5 +28,5 @@ const p = ({ items: f, multiSelect: r, selected: l }) => {
28
28
  return g(() => s(a(l)), [a, l, s]), { resetSelection: b, select: u, selection: d };
29
29
  };
30
30
  export {
31
- p as default
31
+ z as default
32
32
  };
@@ -2,19 +2,19 @@ import { jsx as d } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.m
2
2
  import n from "classnames";
3
3
  import o from "../Typography/Typography.js";
4
4
  import S from "../../../core/Context/useCoreContext.js";
5
- import { TypographyElement as _, TypographyVariant as e } from "../Typography/types.js";
5
+ import { TypographyVariant as _, TypographyElement as e } from "../Typography/types.js";
6
6
  /* empty css */
7
7
  import { Divider as T } from "../Divider/Divider.js";
8
8
  const $ = "adyen-pe-header", P = ({ baseClassName: m = $, children: a, hasDivider: v, hideTitle: y, titleKey: c, subtitleKey: p, subtitleConfig: r }) => {
9
9
  const { i18n: h } = S();
10
10
  return /* @__PURE__ */ d("header", { className: m, children: [
11
11
  /* @__PURE__ */ d("div", { className: `${m}__headings`, children: [
12
- !y && c && /* @__PURE__ */ d("div", { className: `${m}__title`, children: /* @__PURE__ */ d(o, { el: _.SPAN, variant: e.TITLE, medium: !0, children: h.get(c) }) }),
12
+ !y && c && /* @__PURE__ */ d("div", { className: `${m}__title`, children: /* @__PURE__ */ d(o, { el: e.SPAN, variant: _.TITLE, medium: !0, children: h.get(c) }) }),
13
13
  p && /* @__PURE__ */ d("div", { className: n(`${m}__subtitle`, r == null ? void 0 : r.classNames), children: /* @__PURE__ */ d(
14
14
  o,
15
15
  {
16
- el: (r == null ? void 0 : r.typographyEl) ?? _.SPAN,
17
- variant: (r == null ? void 0 : r.variant) ?? e.BODY,
16
+ el: (r == null ? void 0 : r.typographyEl) ?? e.SPAN,
17
+ variant: (r == null ? void 0 : r.variant) ?? _.BODY,
18
18
  children: h.get(p)
19
19
  }
20
20
  ) }),
@@ -25,7 +25,7 @@ const e = {
25
25
  upload: () => import("../../../images/icons/upload.svg.js"),
26
26
  "warning-filled": () => import("../../../images/icons/warning-filled.svg.js"),
27
27
  warning: () => import("../../../images/icons/warning.svg.js")
28
- }, d = ({ className: n, name: o, ...c }) => {
28
+ }, h = ({ className: n, name: o, ...c }) => {
29
29
  const [r, i] = p(null);
30
30
  return s(() => {
31
31
  e[o] ? e[o]().then(({ default: l }) => {
@@ -34,6 +34,6 @@ const e = {
34
34
  }, [o]), r && /* @__PURE__ */ t("span", { className: m("adyen-pe-icon", n), role: "img", "aria-hidden": !0, ...c, children: r });
35
35
  };
36
36
  export {
37
- d as Icon,
38
- d as default
37
+ h as Icon,
38
+ h as default
39
39
  };
@@ -1,13 +1,13 @@
1
1
  import { jsx as n } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { useState as p, useRef as y, useEffect as N } from "../../../external/preact/hooks/dist/hooks.module.js";
3
- import h from "classnames";
3
+ import E from "classnames";
4
4
  /* empty css */
5
5
  function L(s) {
6
6
  const { backgroundUrl: a = "", className: c = "", classNameModifiers: m = [], src: l = "", alt: d = "", showOnError: f = !1 } = s, [i, o] = p(!1), r = y(null), u = () => {
7
7
  o(!0);
8
8
  }, g = () => {
9
9
  o(f);
10
- }, t = h(
10
+ }, t = E(
11
11
  [c],
12
12
  "adyen-pe-image",
13
13
  { "adyen-pe-image--loaded": i },
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import s from "../Typography/Typography.js";
3
- import { TypographyElement as c, TypographyVariant as k } from "../Typography/types.js";
3
+ import { TypographyVariant as c, TypographyElement as k } from "../Typography/types.js";
4
4
  import y from "classnames";
5
5
  import { useCallback as u } from "../../../external/preact/hooks/dist/hooks.module.js";
6
6
  /* empty css */
@@ -29,7 +29,7 @@ function C({
29
29
  onClick: m,
30
30
  ...i,
31
31
  children: [
32
- /* @__PURE__ */ e(s, { className: "adyen-pe-link__text", el: c.SPAN, variant: k.BODY, children: o }),
32
+ /* @__PURE__ */ e(s, { className: "adyen-pe-link__text", el: k.SPAN, variant: c.BODY, children: o }),
33
33
  p && a === "_blank" && /* @__PURE__ */ e(d, { name: "external-link" })
34
34
  ]
35
35
  }
@@ -9,8 +9,8 @@ import m from "classnames";
9
9
  /* empty css */
10
10
  import B from "../Button/Button.js";
11
11
  import { Icon as L } from "../Icon/Icon.js";
12
- const i = N({ withinModal: !1 }), Q = () => k(i);
13
- function S({
12
+ const i = N({ withinModal: !1 }), S = () => k(i);
13
+ function V({
14
14
  title: t,
15
15
  children: c,
16
16
  classNameModifiers: s = [],
@@ -83,6 +83,6 @@ function S({
83
83
  ) });
84
84
  }
85
85
  export {
86
- S as default,
87
- Q as useModalContext
86
+ V as default,
87
+ S as useModalContext
88
88
  };
@@ -1,19 +1,19 @@
1
- import { useMemo as g } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
- import m from "./usePagination.js";
3
- import { isString as i, isUndefined as a } from "../../../../utils/value/is.js";
4
- const C = (o) => i(o.next), h = (o) => i(o.prev), S = (o, u) => {
5
- const c = g(() => {
6
- const e = [], P = () => e.length, d = () => {
1
+ import { useMemo as a } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import d from "./usePagination.js";
3
+ import { isString as i, isUndefined as f } from "../../../../utils/value/is.js";
4
+ const C = (n) => i(n.next), h = (n) => i(n.prev), S = (n, u) => {
5
+ const c = a(() => {
6
+ const e = [], P = () => e.length, g = () => {
7
7
  e.length = 0;
8
- }, f = (t) => ({ cursor: e[t - 1] }), s = (t, r) => {
9
- const n = e[r - 1];
10
- (r === 1 || r === (e.length || 1) + 1) && a(n) && (e[r - 1] = t ? decodeURIComponent(t) : void 0);
8
+ }, m = (t) => ({ cursor: e[t - 1] }), s = (t, r) => {
9
+ const o = e[r - 1];
10
+ (r === 1 || r === (e.length || 1) + 1) && f(o) && (e[r - 1] = t ? decodeURIComponent(t) : void 0);
11
11
  };
12
- return { getPageCount: P, getPageParams: f, resetPageCount: d, updatePagination: (t, r, n) => {
13
- C(n) && s(n.next, t + 1), h(n) && s(n.prev, t - 1);
12
+ return { getPageCount: P, getPageParams: m, resetPageCount: g, updatePagination: (t, r, o) => {
13
+ C(o) && s(o.next, t + 1), h(o) && s(o.prev, t - 1);
14
14
  } };
15
15
  }, []);
16
- return m(c, o, u);
16
+ return d(c, n, u);
17
17
  };
18
18
  export {
19
19
  S as default,
@@ -3,41 +3,41 @@ import F from "../../../../hooks/useBooleanState.js";
3
3
  import H from "../../../../hooks/useMounted.js";
4
4
  import { getClampedPageLimit as J } from "../utils.js";
5
5
  import { noop as K } from "../../../../utils/common.js";
6
- const Y = (v, l, y) => {
7
- const u = p(), c = p(), h = p(), e = p(), i = H(
6
+ const Y = (V, l, M) => {
7
+ const u = p(), c = p(), h = p(), r = p(), i = H(
8
8
  P(() => {
9
9
  var o;
10
10
  (o = u.current) == null || o.abort(), u.current = void 0;
11
11
  }, [])
12
- ), [t, x] = T(e.current), [f, z] = F(!1), r = s(() => J(y), [y]), { getPageCount: C, getPageParams: A, resetPageCount: S, updatePagination: I } = v, n = s(() => l ? (o) => {
13
- var $;
14
- if (!(r && Number.isInteger(o))) return;
15
- const m = C(), a = o < 0 ? o + m + 1 : o;
16
- a > 0 && (m ? a <= m : a === 1) && (($ = u.current) == null || $.abort(), u.current = new AbortController(), i.current && (((e.current = a) > 1 || m) && x(e.current), (async () => {
17
- const { signal: b } = u.current, D = { ...A(a, r), limit: r, page: a };
12
+ ), [t, x] = T(r.current), [g, y] = F(!1), e = s(() => J(M), [M]), { getPageCount: v, getPageParams: A, resetPageCount: z, updatePagination: I } = V, n = s(() => l ? (o) => {
13
+ var S;
14
+ if (!(e && Number.isInteger(o))) return;
15
+ const f = v(), a = o < 0 ? o + f + 1 : o;
16
+ a > 0 && (f ? a <= f : a === 1) && ((S = u.current) == null || S.abort(), u.current = new AbortController(), i.current && (((r.current = a) > 1 || f) && x(r.current), (async () => {
17
+ const { signal: $ } = u.current, D = { ...A(a, e), limit: e, page: a };
18
18
  try {
19
- const d = await l(D, b);
19
+ const d = await l(D, $);
20
20
  if (!d || !i.current) return;
21
- const { size: V, ...G } = d;
22
- I(a, r, G), c.current = e.current && Math.max(e.current, c.current || -1 / 0), e.current && e.current === c.current && (h.current = V), e.current === 1 && V > 0 && x(e.current), e.current = void 0, z(!0);
21
+ const { size: b, ...G } = d;
22
+ I(a, e, G), c.current = r.current && Math.max(r.current, c.current || -1 / 0), r.current && r.current === c.current && (h.current = b), r.current === 1 && b > 0 && x(r.current), r.current = void 0, y(!0);
23
23
  } catch (d) {
24
- if (b.aborted) return;
24
+ if ($.aborted) return;
25
25
  console.error(d);
26
26
  }
27
27
  })()));
28
- } : K, [r, l]), R = P(() => {
29
- t && n(Math.min(t + 1, C()));
28
+ } : K, [e, l]), R = P(() => {
29
+ t && n(Math.min(t + 1, v()));
30
30
  }, [n, t]), q = P(() => {
31
31
  t && n(Math.max(t - 1, 1));
32
- }, [n, t]), g = s(() => C() || t || void 0, [n, f]), w = s(() => !!(t && g) && t < g, [t, g]), E = s(() => !!t && t > 1, [t]), M = s(
33
- () => c.current ? (c.current - 1) * r + (h.current || 0) : 0,
34
- [n, f]
35
- ), N = s(() => r && Math.min(r, M || 1 / 0) % r, [r, M]), B = P(() => {
36
- S(), c.current = h.current = e.current = void 0, i.current && x(e.current);
37
- }, [S]);
32
+ }, [n, t]), m = s(() => v() || t || void 0, [n, g]), w = s(() => !!(t && m) && t < m, [t, m]), E = s(() => !!t && t > 1, [t]), C = s(
33
+ () => c.current ? (c.current - 1) * e + (h.current || 0) : 0,
34
+ [n, g]
35
+ ), N = s(() => e && Math.min(e, C || 1 / 0) % e, [e, C]), B = P(() => {
36
+ z(), c.current = h.current = r.current = void 0, i.current && x(r.current);
37
+ }, [z]);
38
38
  return j(() => {
39
- i.current && f && z(!1);
40
- }, [f]), { goto: n, hasNext: w, hasPrev: E, limit: r, next: R, page: t, pages: g, pageSize: N, prev: q, resetPagination: B, size: M };
39
+ i.current && g && y(!1);
40
+ }, [g]), { goto: n, hasNext: w, hasPrev: E, limit: e, next: R, page: t, pages: m, pageSize: N, prev: q, resetPagination: B, size: C };
41
41
  };
42
42
  export {
43
43
  Y as default
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import oo from "../Button/ButtonActions/ButtonActions.js";
3
3
  import { ButtonActionsLayoutBasic as ro } from "../Button/ButtonActions/types.js";
4
- import { DEFAULT_POPOVER_CLASSNAME as c, DEFAULT_TOOLTIP_CLASSNAME as eo, POPOVER_CONTAINER_CLASSNAME as no, TOOLTIP_CONTENT_CLASSNAME as U, POPOVER_CONTENT_CLASSNAME as N, POPOVER_HEADER_TITLE_CLASSNAME as to, POPOVER_FOOTER_CLASSNAME as co, POPOVER_HEADER_CLASSNAME as B } from "./constants.js";
4
+ import { DEFAULT_POPOVER_CLASSNAME as c, POPOVER_HEADER_TITLE_CLASSNAME as eo, TOOLTIP_CONTENT_CLASSNAME as U, POPOVER_CONTENT_CLASSNAME as N, POPOVER_FOOTER_CLASSNAME as no, DEFAULT_TOOLTIP_CLASSNAME as to, POPOVER_CONTAINER_CLASSNAME as co, POPOVER_HEADER_CLASSNAME as B } from "./constants.js";
5
5
  import io from "./PopoverDismissButton/PopoverDismissButton.js";
6
6
  import so from "./PopoverTitle/PopoverTitle.js";
7
7
  import { PopoverContainerVariant as i, PopoverContainerSize as k } from "./types.js";
@@ -94,7 +94,7 @@ function jo({
94
94
  x(() => {
95
95
  P.current && (P.current[O] = o.current);
96
96
  }, [o]), x(() => (document.removeEventListener("keydown", T.current), document.addEventListener("keydown", T.current = E), () => document.removeEventListener("keydown", T.current)), [E]);
97
- const z = e === i.TOOLTIP ? eo : `${c} ${no}`, g = e === i.TOOLTIP ? U : `${N}`;
97
+ const z = e === i.TOOLTIP ? to : `${c} ${co}`, g = e === i.TOOLTIP ? U : `${N}`;
98
98
  return To(
99
99
  /* @__PURE__ */ r(_, { children: a ? /* @__PURE__ */ r(_, { children: [
100
100
  f && /* @__PURE__ */ r("div", { className: "adyen-pe-popover__overlay" }),
@@ -109,7 +109,7 @@ function jo({
109
109
  role: F.role ?? (e === i.POPOVER ? "dialog" : "tooltip"),
110
110
  children: [
111
111
  (u || M) && /* @__PURE__ */ r("div", { className: No(B, K, [B]), children: [
112
- u && /* @__PURE__ */ r("div", { className: to, children: /* @__PURE__ */ r(so, { title: u }) }),
112
+ u && /* @__PURE__ */ r("div", { className: eo, children: /* @__PURE__ */ r(so, { title: u }) }),
113
113
  M && /* @__PURE__ */ r(io, { onClick: n })
114
114
  ] }),
115
115
  I && /* @__PURE__ */ r(_, { children: [
@@ -125,7 +125,7 @@ function jo({
125
125
  ),
126
126
  e === i.TOOLTIP && /* @__PURE__ */ r("span", { "data-popover-placement": "hidden", ref: V, className: "adyen-pe-tooltip__arrow" })
127
127
  ] }),
128
- s && /* @__PURE__ */ r("div", { className: co, children: /* @__PURE__ */ r(oo, { actions: s, layout: l }) })
128
+ s && /* @__PURE__ */ r("div", { className: no, children: /* @__PURE__ */ r(oo, { actions: s, layout: l }) })
129
129
  ]
130
130
  }
131
131
  )
@@ -3,7 +3,7 @@ import { useMemo as u } from "../../../external/preact/hooks/dist/hooks.module.j
3
3
  import _ from "classnames";
4
4
  /* empty css */
5
5
  import m from "../Typography/Typography.js";
6
- import { TypographyElement as o, TypographyVariant as p } from "../Typography/types.js";
6
+ import { TypographyVariant as o, TypographyElement as p } from "../Typography/types.js";
7
7
  import { Tooltip as h } from "../Tooltip/Tooltip.js";
8
8
  import { clamp as N } from "../../../utils/value/number.js";
9
9
  const A = ({ max: a = 1, value: t, labels: r, tooltips: n, className: i }) => {
@@ -41,8 +41,8 @@ const A = ({ max: a = 1, value: t, labels: r, tooltips: n, className: i }) => {
41
41
  )
42
42
  ] }),
43
43
  g && /* @__PURE__ */ e("div", { className: "adyen-pe-progress-bar__legend", "aria-hidden": "true", children: [
44
- r.current && /* @__PURE__ */ e(m, { el: o.SPAN, variant: p.CAPTION, className: "adyen-pe-progress-bar__legend-label", children: r.current }),
45
- r.max && /* @__PURE__ */ e(m, { el: o.SPAN, variant: p.CAPTION, className: "adyen-pe-progress-bar__legend-label", children: r.max })
44
+ r.current && /* @__PURE__ */ e(m, { el: p.SPAN, variant: o.CAPTION, className: "adyen-pe-progress-bar__legend-label", children: r.current }),
45
+ r.max && /* @__PURE__ */ e(m, { el: p.SPAN, variant: o.CAPTION, className: "adyen-pe-progress-bar__legend-label", children: r.max })
46
46
  ] })
47
47
  ]
48
48
  }
@@ -1,14 +1,14 @@
1
1
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { fixedForwardRef as i } from "../../../utils/preact/fixedForwardRef.js";
3
- const a = i(({ title: l, ...r }, o) => /* @__PURE__ */ e("svg", { ...r, ref: o, xmlns: "http://www.w3.org/2000/svg", fill: "none", width: "16", viewBox: "0 0 16 16", height: "16", children: [
3
+ const a = i(({ title: l, ...o }, r) => /* @__PURE__ */ e("svg", { ...o, ref: r, xmlns: "http://www.w3.org/2000/svg", fill: "none", width: "16", viewBox: "0 0 16 16", height: "16", children: [
4
4
  l && /* @__PURE__ */ e("title", { children: l }),
5
5
  /* @__PURE__ */ e(
6
6
  "path",
7
7
  {
8
8
  fill: "currentColor",
9
- "fill-rule": "evenodd",
9
+ fillRule: "evenodd",
10
10
  d: "M14.5 4.5a.7.7 0 0 0-1-1L6 10.9 2.5 7.5a.8.8 0 0 0-1 1l4 4a.8.8 0 0 0 1 0l8-8Z",
11
- "clip-rule": "evenodd"
11
+ clipRule: "evenodd"
12
12
  }
13
13
  )
14
14
  ] }));
@@ -1,15 +1,17 @@
1
1
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { fixedForwardRef as r } from "../../../utils/preact/fixedForwardRef.js";
3
- const f = r(({ title: i, ...t }, o) => /* @__PURE__ */ e("svg", { ...t, ref: o, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- i && /* @__PURE__ */ e("title", { children: i }),
5
- /* @__PURE__ */ e(
6
- "path",
7
- {
8
- d: "M5.56077 2.00011L2.56077 5.00011L5.56077 8.00011L4.50011 9.06077L0.439453 5.00011L4.50011 0.939453L5.56077 2.00011Z",
9
- fill: t.disabled ? "#8D95A3" : "#00112C"
10
- }
11
- )
12
- ] }));
3
+ const f = r(
4
+ ({ title: i, ...t }, o) => /* @__PURE__ */ e("svg", { ...t, ref: o, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5
+ i && /* @__PURE__ */ e("title", { children: i }),
6
+ /* @__PURE__ */ e(
7
+ "path",
8
+ {
9
+ d: "M5.56077 2.00011L2.56077 5.00011L5.56077 8.00011L4.50011 9.06077L0.439453 5.00011L4.50011 0.939453L5.56077 2.00011Z",
10
+ fill: t.disabled ? "#8D95A3" : "#00112C"
11
+ }
12
+ )
13
+ ] })
14
+ );
13
15
  export {
14
16
  f as default
15
17
  };
@@ -1,15 +1,17 @@
1
1
  import { jsx as i } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { fixedForwardRef as r } from "../../../utils/preact/fixedForwardRef.js";
3
- const l = r(({ title: e, ...t }, o) => /* @__PURE__ */ i("svg", { ...t, ref: o, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- e && /* @__PURE__ */ i("title", { children: e }),
5
- /* @__PURE__ */ i(
6
- "path",
7
- {
8
- d: "M0.439453 7.9999L3.43945 4.9999L0.439454 1.9999L1.50011 0.93924L5.56077 4.9999L1.50011 9.06056L0.439453 7.9999Z",
9
- fill: t.disabled ? "#8D95A3" : "#00112C"
10
- }
11
- )
12
- ] }));
3
+ const l = r(
4
+ ({ title: e, ...t }, o) => /* @__PURE__ */ i("svg", { ...t, ref: o, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5
+ e && /* @__PURE__ */ i("title", { children: e }),
6
+ /* @__PURE__ */ i(
7
+ "path",
8
+ {
9
+ d: "M0.439453 7.9999L3.43945 4.9999L0.439454 1.9999L1.50011 0.93924L5.56077 4.9999L1.50011 9.06056L0.439453 7.9999Z",
10
+ fill: t.disabled ? "#8D95A3" : "#00112C"
11
+ }
12
+ )
13
+ ] })
14
+ );
13
15
  export {
14
16
  l as default
15
17
  };
@@ -2,7 +2,7 @@ import { jsx as l } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.m
2
2
  import { fixedForwardRef as h } from "../../../utils/preact/fixedForwardRef.js";
3
3
  const o = h(({ title: i, ...r }, e) => /* @__PURE__ */ l("svg", { ref: e, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...r, children: [
4
4
  i && /* @__PURE__ */ l("title", { children: i }),
5
- /* @__PURE__ */ l("g", { "clip-path": "url(#a)", children: /* @__PURE__ */ l(
5
+ /* @__PURE__ */ l("g", { clipPath: "url(#a)", children: /* @__PURE__ */ l(
6
6
  "path",
7
7
  {
8
8
  d: "M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8ZM6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2-2-2Z",
@@ -1,14 +1,14 @@
1
1
  import { jsx as o } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { TypographyElement as p, TypographyVariant as f } from "../Typography/types.js";
3
- import g from "../../../core/Context/useCoreContext.js";
4
- import { useTabbedControl as u } from "../../../hooks/useTabbedControl.js";
5
- import y from "../Typography/Typography.js";
2
+ import { TypographyVariant as p, TypographyElement as g } from "../Typography/types.js";
3
+ import f from "../../../core/Context/useCoreContext.js";
4
+ import { useTabbedControl as y } from "../../../hooks/useTabbedControl.js";
5
+ import u from "../Typography/Typography.js";
6
6
  /* empty css */
7
7
  function x({ defaultItem: i, items: a }) {
8
- const { activeIndex: t, onClick: l, onKeyDown: s, refs: c, uniqueId: n } = u(a, i), { i18n: m } = g();
8
+ const { activeIndex: d, onClick: l, onKeyDown: s, refs: c, uniqueId: n } = y(a, i), { i18n: m } = f();
9
9
  return /* @__PURE__ */ o("div", { children: [
10
10
  /* @__PURE__ */ o("div", { role: "radiogroup", className: "adyen-fp-segmented-control", children: a.map((e, r) => {
11
- const d = t === r;
11
+ const t = d === r;
12
12
  return /* @__PURE__ */ o(
13
13
  "button",
14
14
  {
@@ -17,17 +17,17 @@ function x({ defaultItem: i, items: a }) {
17
17
  ref: c[r],
18
18
  id: `item:${n}-${e.id}`,
19
19
  className: "adyen-fp-segmented-control__item",
20
- "aria-checked": d,
20
+ "aria-checked": t,
21
21
  "aria-controls": `segment:${n}-${e.id}`,
22
- onClick: d ? void 0 : l,
22
+ onClick: t ? void 0 : l,
23
23
  onKeyDown: s,
24
24
  disabled: e.disabled,
25
- tabIndex: d ? 0 : -1,
25
+ tabIndex: t ? 0 : -1,
26
26
  children: /* @__PURE__ */ o(
27
- y,
27
+ u,
28
28
  {
29
- el: p.SPAN,
30
- variant: f.BODY,
29
+ el: g.SPAN,
30
+ variant: p.BODY,
31
31
  className: "adyen-fp-segmented-control__item-label",
32
32
  stronger: !0,
33
33
  children: m.get(e.label)
@@ -43,7 +43,7 @@ function x({ defaultItem: i, items: a }) {
43
43
  id: `segment:${n}-${e.id}`,
44
44
  className: "adyen-fp-segmented-content",
45
45
  "aria-labelledby": `item:${n}-${e.id}`,
46
- hidden: t !== r,
46
+ hidden: d !== r,
47
47
  children: e.content
48
48
  },
49
49
  `segment:${n}-${e.id}`
@@ -4,7 +4,7 @@ import { useMemo as C } from "../../../external/preact/hooks/dist/hooks.module.j
4
4
  import T from "../../../core/Context/useCoreContext.js";
5
5
  import { TypographyVariant as l } from "../Typography/types.js";
6
6
  import c from "../Typography/Typography.js";
7
- import { SL_GRID_CLASS as i, SL_BASE_CLASS as h, SL_ALIGN_END as E, SL_ITEM_CLASS as I, SL_ITEM_WITH_HIGHLIGHT_CLASS as N, SL_LABEL_CLASS as y, SL_CONTENT_CLASS as g } from "./constants.js";
7
+ import { SL_GRID_CLASS as i, SL_LABEL_CLASS as h, SL_CONTENT_CLASS as E, SL_ITEM_CLASS as I, SL_ITEM_WITH_HIGHLIGHT_CLASS as N, SL_BASE_CLASS as y, SL_ALIGN_END as g } from "./constants.js";
8
8
  /* empty css */
9
9
  import { useStructuredListItems as v } from "./useStructuredListItem.js";
10
10
  const O = "6-6";
@@ -19,7 +19,7 @@ function U({
19
19
  align: d = "end"
20
20
  }) {
21
21
  const [u, A] = C(() => s.split("-").map((r) => `${i}--width-${r}-of-12`), [s]), f = v(L), { i18n: o } = T();
22
- return /* @__PURE__ */ t("dl", { "aria-label": o.get("structuredList"), className: a(h, p, { [E]: d === "end" }), children: f.map((r, _) => /* @__PURE__ */ t(
22
+ return /* @__PURE__ */ t("dl", { "aria-label": o.get("structuredList"), className: a(y, p, { [g]: d === "end" }), children: f.map((r, _) => /* @__PURE__ */ t(
23
23
  "div",
24
24
  {
25
25
  className: a(I, {
@@ -27,8 +27,8 @@ function U({
27
27
  [i]: m
28
28
  }),
29
29
  children: [
30
- /* @__PURE__ */ t("dt", { className: a(y, u), children: S ? S(r.label, L[_].key) : /* @__PURE__ */ t(c, { variant: l.BODY, children: r.label }) }),
31
- /* @__PURE__ */ t("dd", { "aria-label": `${o.get(r.key)} ${o.get("value")}`, className: a(g, A), children: e ? e(r.value, r.key, r.type, r.config) : /* @__PURE__ */ t(c, { variant: l.BODY, children: r.value }) })
30
+ /* @__PURE__ */ t("dt", { className: a(h, u), children: S ? S(r.label, L[_].key) : /* @__PURE__ */ t(c, { variant: l.BODY, children: r.label }) }),
31
+ /* @__PURE__ */ t("dd", { "aria-label": `${o.get(r.key)} ${o.get("value")}`, className: a(E, A), children: e ? e(r.value, r.key, r.type, r.config) : /* @__PURE__ */ t(c, { variant: l.BODY, children: r.value }) })
32
32
  ]
33
33
  },
34
34
  `${_}_${r.id || "0"}`
@@ -2,32 +2,32 @@ import { jsx as f } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.m
2
2
  import g from "../../../core/Context/useCoreContext.js";
3
3
  import { Fragment as d } from "../../../external/preact/dist/preact.module.js";
4
4
  import { useMemo as F } from "../../../external/preact/hooks/dist/hooks.module.js";
5
+ import { uniqueId as v } from "../../../utils/random/uniqueId.js";
5
6
  import { isFunction as x } from "../../../utils/value/is.js";
6
- import { uniqueId as _ } from "../../../utils/random/uniqueId.js";
7
- const h = (t) => x(t) ? t : () => t, v = ({ count: t, defaultFill: m, fills: e, translationKey: c }) => {
7
+ const h = (t) => x(t) ? t : () => t, q = ({ count: t, defaultFill: u, fills: e, translationKey: c }) => {
8
8
  const { i18n: l } = g(), p = F(() => {
9
- const o = h(m);
9
+ const n = h(u);
10
10
  return e !== void 0 ? (...r) => {
11
11
  const [s, i] = r;
12
- for (const u of [s, i]) {
13
- const n = h(e[u])(...r);
14
- if (n != null) return n;
12
+ for (const m of [s, i]) {
13
+ const o = h(e[m])(...r);
14
+ if (o != null) return o;
15
15
  }
16
- return o(...r);
17
- } : o;
18
- }, [e, m]);
16
+ return n(...r);
17
+ } : n;
18
+ }, [e, u]);
19
19
  return F(() => {
20
- const o = [], r = _("translation"), s = (...n) => (o.push(p(...n) ?? null), r), [i, ...u] = l.get(c, { count: t, values: s }).split(r);
20
+ const n = [], r = v("translation"), s = (...o) => (n.push(p(...o) ?? null), r), [i, ...m] = l.get(c, { count: t, values: s }).split(r);
21
21
  return /* @__PURE__ */ f(d, { children: [
22
22
  i,
23
- u.map((n, a) => /* @__PURE__ */ f(d, { children: [
24
- o[a],
25
- n
23
+ m.map((o, a) => /* @__PURE__ */ f(d, { children: [
24
+ n[a],
25
+ o
26
26
  ] }, `${r}__${a}`))
27
27
  ] });
28
28
  }, [l, t, p, c]);
29
29
  };
30
30
  export {
31
- v as Translation,
32
- v as default
31
+ q as Translation,
32
+ q as default
33
33
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { UNDEFINED_ERROR as n, getCommonErrorMessage as a } from "./getCommonErrorCode.js";
3
3
  import i from "../internal/CopyText/CopyText.js";
4
- const c = (e, t, r) => {
4
+ const d = (e, t, r) => {
5
5
  if (!e) return n;
6
6
  const o = a(e, r);
7
7
  if (o) return o;
@@ -28,5 +28,5 @@ const c = (e, t, r) => {
28
28
  }
29
29
  };
30
30
  export {
31
- c as getErrorMessage
31
+ d as getErrorMessage
32
32
  };