@adyen/adyen-platform-experience-web 1.6.0 → 1.7.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 (170) hide show
  1. package/README.md +1 -1
  2. package/dist/adyen-platform-experience-web.css +1 -1
  3. package/dist/{angle-right-Bb55rXYe.cjs → angle-right-BYzD_-Ft.cjs} +2 -2
  4. package/dist/{angle-right-Bb55rXYe.cjs.map → angle-right-BYzD_-Ft.cjs.map} +1 -1
  5. package/dist/{checkmark-DiDm_wM9.cjs → checkmark-BvN7Hdc4.cjs} +2 -2
  6. package/dist/{checkmark-DiDm_wM9.cjs.map → checkmark-BvN7Hdc4.cjs.map} +1 -1
  7. package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs → checkmark-circle-fill-B2FBCXMi.cjs} +2 -2
  8. package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs.map → checkmark-circle-fill-B2FBCXMi.cjs.map} +1 -1
  9. package/dist/{checkmark-square-fill-B0JKpJWE.cjs → checkmark-square-fill-C0yzqh08.cjs} +2 -2
  10. package/dist/{checkmark-square-fill-B0JKpJWE.cjs.map → checkmark-square-fill-C0yzqh08.cjs.map} +1 -1
  11. package/dist/{chevron-down-BhSTKYlw.cjs → chevron-down-Bh5iG-g7.cjs} +2 -2
  12. package/dist/{chevron-down-BhSTKYlw.cjs.map → chevron-down-Bh5iG-g7.cjs.map} +1 -1
  13. package/dist/{chevron-left-D-GWfC1v.cjs → chevron-left-CslKDyxG.cjs} +2 -2
  14. package/dist/{chevron-left-D-GWfC1v.cjs.map → chevron-left-CslKDyxG.cjs.map} +1 -1
  15. package/dist/{chevron-right-CSehcQXv.cjs → chevron-right-B86-08tq.cjs} +2 -2
  16. package/dist/{chevron-right-CSehcQXv.cjs.map → chevron-right-B86-08tq.cjs.map} +1 -1
  17. package/dist/{chevron-up-D8g7ZBDG.cjs → chevron-up-DRKXzgCM.cjs} +2 -2
  18. package/dist/{chevron-up-D8g7ZBDG.cjs.map → chevron-up-DRKXzgCM.cjs.map} +1 -1
  19. package/dist/cjs/index.js +1 -1
  20. package/dist/{copy-BOKezSIj.cjs → copy--wgagwiQ.cjs} +2 -2
  21. package/dist/{copy-BOKezSIj.cjs.map → copy--wgagwiQ.cjs.map} +1 -1
  22. package/dist/{cross-BMK10x3R.cjs → cross-BWhI1OkU.cjs} +2 -2
  23. package/dist/{cross-BMK10x3R.cjs.map → cross-BWhI1OkU.cjs.map} +1 -1
  24. package/dist/{cross-circle-fill-DzWguWQ6.cjs → cross-circle-fill-CNa1fp55.cjs} +2 -2
  25. package/dist/{cross-circle-fill-DzWguWQ6.cjs.map → cross-circle-fill-CNa1fp55.cjs.map} +1 -1
  26. package/dist/{download-DciFfoOz.cjs → download-v3aQcc7_.cjs} +2 -2
  27. package/dist/{download-DciFfoOz.cjs.map → download-v3aQcc7_.cjs.map} +1 -1
  28. package/dist/es/components/external/CapitalOverview/components/GrantActions/GrantActions.js +133 -0
  29. package/dist/es/components/external/CapitalOverview/components/GrantActions/constants.js +9 -0
  30. package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +39 -40
  31. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +11 -11
  32. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +19 -19
  33. package/dist/es/components/internal/Accordion/Accordion.js +19 -20
  34. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +37 -37
  35. package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +18 -19
  36. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +47 -48
  37. package/dist/es/components/internal/FormFields/Select/Select.js +29 -29
  38. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +27 -27
  39. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +27 -29
  40. package/dist/es/components/internal/Pagination/Pagination.js +41 -38
  41. package/dist/es/components/internal/Popover/Popover.js +95 -92
  42. package/dist/es/components/internal/Popover/types.js +2 -2
  43. package/dist/es/components/internal/Tooltip/Tooltip.js +28 -32
  44. package/dist/es/constants/dateFormats.js +19 -18
  45. package/dist/es/core/Http/utils.js +1 -1
  46. package/dist/es/core/core.js +1 -1
  47. package/dist/es/hooks/element/usePopoverPositioner.js +129 -89
  48. package/dist/es/translations/en-US.json.js +4 -0
  49. package/dist/{external-link-B2F_A_Cq.cjs → external-link-Y0ITwX_D.cjs} +2 -2
  50. package/dist/{external-link-B2F_A_Cq.cjs.map → external-link-Y0ITwX_D.cjs.map} +1 -1
  51. package/dist/{filter-D22HZfjz.cjs → filter-B0jf9LNT.cjs} +2 -2
  52. package/dist/{filter-D22HZfjz.cjs.map → filter-B0jf9LNT.cjs.map} +1 -1
  53. package/dist/index-CldOsFs0.cjs +12 -0
  54. package/dist/index-CldOsFs0.cjs.map +1 -0
  55. package/dist/{info-filled-DChkt5PM.cjs → info-filled-DWI7yYIK.cjs} +2 -2
  56. package/dist/{info-filled-DChkt5PM.cjs.map → info-filled-DWI7yYIK.cjs.map} +1 -1
  57. package/dist/{minus-circle-outline-o-wMYGB7.cjs → minus-circle-outline-TX4FRKCq.cjs} +2 -2
  58. package/dist/{minus-circle-outline-o-wMYGB7.cjs.map → minus-circle-outline-TX4FRKCq.cjs.map} +1 -1
  59. package/dist/{plus-IYFySo3s.cjs → plus-WkQleJCL.cjs} +2 -2
  60. package/dist/{plus-IYFySo3s.cjs.map → plus-WkQleJCL.cjs.map} +1 -1
  61. package/dist/{plus-circle-outline-CoI6-j9k.cjs → plus-circle-outline-BSbUWJEJ.cjs} +2 -2
  62. package/dist/{plus-circle-outline-CoI6-j9k.cjs.map → plus-circle-outline-BSbUWJEJ.cjs.map} +1 -1
  63. package/dist/{square-DN8rGu6b.cjs → square-wBNy5hkk.cjs} +2 -2
  64. package/dist/{square-DN8rGu6b.cjs.map → square-wBNy5hkk.cjs.map} +1 -1
  65. package/dist/{trash-can-DIrL2Xi0.cjs → trash-can-BtOHiu0D.cjs} +2 -2
  66. package/dist/{trash-can-DIrL2Xi0.cjs.map → trash-can-BtOHiu0D.cjs.map} +1 -1
  67. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts +2 -2
  68. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts.map +1 -1
  69. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts +9 -0
  70. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts.map +1 -0
  71. package/dist/types/components/external/CapitalOverview/components/GrantActions/constants.d.ts +7 -0
  72. package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/constants.d.ts.map +1 -1
  73. package/dist/types/components/external/CapitalOverview/components/GrantActions/utils.d.ts.map +1 -0
  74. package/dist/types/components/external/CapitalOverview/components/GrantItem/GrantItem.d.ts.map +1 -1
  75. package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -1
  76. package/dist/types/components/internal/Accordion/Accordion.d.ts.map +1 -1
  77. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +5 -21
  78. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  79. package/dist/types/components/internal/Calendar/hooks/useCalendarControlsRendering.d.ts.map +1 -1
  80. package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
  81. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
  82. package/dist/types/components/internal/Pagination/Pagination.d.ts +1 -1
  83. package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
  84. package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
  85. package/dist/types/components/internal/Popover/types.d.ts +4 -2
  86. package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
  87. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  88. package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
  89. package/dist/types/constants/dateFormats.d.ts +1 -0
  90. package/dist/types/constants/dateFormats.d.ts.map +1 -1
  91. package/dist/types/core/ConfigContext/context.d.ts +38 -20
  92. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  93. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +76 -40
  94. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  95. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +38 -20
  96. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  97. package/dist/types/core/ConfigContext/types.d.ts +7 -1
  98. package/dist/types/core/ConfigContext/types.d.ts.map +1 -1
  99. package/dist/types/hooks/element/usePopoverPositioner.d.ts +1 -1
  100. package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
  101. package/dist/types/hooks/useTableColumns.d.ts +1 -1
  102. package/dist/types/translations/index.d.ts +4 -0
  103. package/dist/types/translations/index.d.ts.map +1 -1
  104. package/dist/types/types/api/endpoints.d.ts +4 -2
  105. package/dist/types/types/api/endpoints.d.ts.map +1 -1
  106. package/dist/types/types/api/models/capital.d.ts +10 -6
  107. package/dist/types/types/api/models/capital.d.ts.map +1 -1
  108. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts +56 -28
  109. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts.map +1 -1
  110. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts +182 -0
  111. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts.map +1 -0
  112. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts +190 -0
  113. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts.map +1 -0
  114. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts +112 -0
  115. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts.map +1 -0
  116. package/dist/types/types/api/resources/SetupResource.d.ts +33 -15
  117. package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
  118. package/dist/types/utils/abort/main.d.ts +1 -2
  119. package/dist/types/utils/abort/main.d.ts.map +1 -1
  120. package/dist/{upload-deLJWgy1.cjs → upload-CwRQ9v3Y.cjs} +2 -2
  121. package/dist/{upload-deLJWgy1.cjs.map → upload-CwRQ9v3Y.cjs.map} +1 -1
  122. package/dist/{warning-DhLYlOp4.cjs → warning-DBphva9h.cjs} +2 -2
  123. package/dist/{warning-DhLYlOp4.cjs.map → warning-DBphva9h.cjs.map} +1 -1
  124. package/dist/{warning-filled-B9O_Hc7Y.cjs → warning-filled-Ctsg1oEC.cjs} +2 -2
  125. package/dist/{warning-filled-B9O_Hc7Y.cjs.map → warning-filled-Ctsg1oEC.cjs.map} +1 -1
  126. package/package.json +20 -43
  127. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +0 -65
  128. package/dist/es/components/external/CapitalOverview/components/GrantAction/constants.js +0 -6
  129. package/dist/es/components/internal/SVGIcons/CheckedBox.js +0 -15
  130. package/dist/es/components/internal/SVGIcons/Checkmark.js +0 -17
  131. package/dist/es/components/internal/SVGIcons/ChevronDown.js +0 -17
  132. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +0 -17
  133. package/dist/es/components/internal/SVGIcons/ChevronRight.js +0 -17
  134. package/dist/es/components/internal/SVGIcons/ChevronUp.js +0 -17
  135. package/dist/es/components/internal/SVGIcons/CloseCircle.js +0 -16
  136. package/dist/es/components/internal/SVGIcons/Download.js +0 -20
  137. package/dist/es/components/internal/SVGIcons/UncheckedBox.js +0 -9
  138. package/dist/es/components/internal/SVGIcons/Warning.js +0 -21
  139. package/dist/index-CmIP-V4s.cjs +0 -12
  140. package/dist/index-CmIP-V4s.cjs.map +0 -1
  141. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts +0 -5
  142. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts.map +0 -1
  143. package/dist/types/components/external/CapitalOverview/components/GrantAction/constants.d.ts +0 -4
  144. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts +0 -7
  145. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts.map +0 -1
  146. package/dist/types/components/external/CapitalOverview/components/GrantAction/utils.d.ts.map +0 -1
  147. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +0 -10
  148. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts.map +0 -1
  149. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +0 -10
  150. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts.map +0 -1
  151. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +0 -10
  152. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts.map +0 -1
  153. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +0 -10
  154. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +0 -1
  155. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +0 -10
  156. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +0 -1
  157. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +0 -10
  158. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts.map +0 -1
  159. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +0 -7
  160. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts.map +0 -1
  161. package/dist/types/components/internal/SVGIcons/Download.d.ts +0 -7
  162. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +0 -1
  163. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +0 -10
  164. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts.map +0 -1
  165. package/dist/types/components/internal/SVGIcons/Warning.d.ts +0 -7
  166. package/dist/types/components/internal/SVGIcons/Warning.d.ts.map +0 -1
  167. package/dist/types/types/api/resources/CapitalResource.d.ts +0 -255
  168. package/dist/types/types/api/resources/CapitalResource.d.ts.map +0 -1
  169. /package/dist/es/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.js +0 -0
  170. /package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.d.ts +0 -0
@@ -1,14 +1,14 @@
1
1
  import { jsx as a } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import D from "classnames";
3
- import { useMemo as O } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import { useMemo as s } from "../../../../../external/preact/hooks/dist/hooks.module.js";
4
4
  import C from "../../../../../core/Context/useCoreContext.js";
5
5
  import { ButtonVariant as f } from "../../../Button/types.js";
6
6
  import L from "../../../Typography/Typography.js";
7
- import u from "../../../SVGIcons/ChevronDown.js";
8
- import { TypographyVariant as B, TypographyElement as p } from "../../../Typography/types.js";
9
- import { DROPDOWN_BUTTON_ICON_CLASS as R, DROPDOWN_BUTTON_TEXT_CLASS as h, DROPDOWN_BUTTON_MULTI_SELECT_COUNTER_CLASS as y, DROPDOWN_BUTTON_COLLAPSE_INDICATOR_CLASS as A, DROPDOWN_BUTTON_CLASS as E, DROPDOWN_BUTTON_VALID_CLASS as P, DROPDOWN_BUTTON_INVALID_CLASS as U, DROPDOWN_BUTTON_READONLY_CLASS as g, DROPDOWN_BUTTON_HAS_SELECTION_CLASS as x, DROPDOWN_BUTTON_ACTIVE_CLASS as I, DROPDOWN_BUTTON_CLASSNAME as W } from "../constants.js";
10
- import { Fragment as b } from "../../../../../external/preact/dist/preact.module.js";
11
- import v from "../../../Img/Img.js";
7
+ import { TypographyVariant as u, TypographyElement as B } from "../../../Typography/types.js";
8
+ import { DROPDOWN_BUTTON_ICON_CLASS as p, DROPDOWN_BUTTON_TEXT_CLASS as R, DROPDOWN_BUTTON_MULTI_SELECT_COUNTER_CLASS as h, DROPDOWN_BUTTON_COLLAPSE_INDICATOR_CLASS as y, DROPDOWN_BUTTON_CLASS as A, DROPDOWN_BUTTON_VALID_CLASS as E, DROPDOWN_BUTTON_INVALID_CLASS as P, DROPDOWN_BUTTON_READONLY_CLASS as U, DROPDOWN_BUTTON_HAS_SELECTION_CLASS as g, DROPDOWN_BUTTON_ACTIVE_CLASS as x, DROPDOWN_BUTTON_CLASSNAME as I } from "../constants.js";
9
+ import { Fragment as W } from "../../../../../external/preact/dist/preact.module.js";
10
+ import b from "../../../Img/Img.js";
11
+ import { Icon as v } from "../../../Icon/Icon.js";
12
12
  import w from "../../../Button/Button.js";
13
13
  import { boolOrFalse as V } from "../../../../../utils/value/bool.js";
14
14
  const F = ({
@@ -19,7 +19,7 @@ const F = ({
19
19
  toggleButtonRef: l,
20
20
  ...n
21
21
  }) => {
22
- const r = O(() => i ? D(W, o) : o, [o, i]);
22
+ const r = s(() => i ? D(I, o) : o, [o, i]);
23
23
  return i ? /* @__PURE__ */ a("div", { ...n, className: r, ref: l }) : /* @__PURE__ */ a(
24
24
  w,
25
25
  {
@@ -31,58 +31,58 @@ const F = ({
31
31
  }
32
32
  );
33
33
  }, $ = (e) => {
34
- var T, c;
35
- const { i18n: m } = C(), { active: o, filterable: i, multiSelect: l, placeholder: n, readonly: r, showList: s, withoutCollapseIndicator: S } = e, N = O(() => (n == null ? void 0 : n.trim()) || m.get("select.filter.placeholder"), [m, n]), t = O(() => V(l) ? void 0 : o[0], [o, l]), d = O(() => {
34
+ var c, T;
35
+ const { i18n: m } = C(), { active: o, filterable: i, multiSelect: l, placeholder: n, readonly: r, showList: O, withoutCollapseIndicator: S } = e, d = s(() => (n == null ? void 0 : n.trim()) || m.get("select.filter.placeholder"), [m, n]), t = s(() => V(l) ? void 0 : o[0], [o, l]), N = s(() => {
36
36
  var _;
37
- return ((_ = t == null ? void 0 : t.name) == null ? void 0 : _.trim()) || N;
38
- }, [t, N]);
37
+ return ((_ = t == null ? void 0 : t.name) == null ? void 0 : _.trim()) || d;
38
+ }, [t, d]);
39
39
  return /* @__PURE__ */ a(
40
40
  F,
41
41
  {
42
42
  active: o,
43
43
  disabled: r,
44
44
  "aria-disabled": r,
45
- "aria-expanded": s,
45
+ "aria-expanded": O,
46
46
  "aria-haspopup": "listbox",
47
- className: D(E, {
48
- [I]: s,
49
- [x]: !!o.length,
50
- [g]: r,
51
- [U]: e.isInvalid,
52
- [P]: e.isValid
47
+ className: D(A, {
48
+ [x]: O,
49
+ [g]: !!o.length,
50
+ [U]: r,
51
+ [P]: e.isInvalid,
52
+ [E]: e.isValid
53
53
  }),
54
54
  filterable: i,
55
55
  onClick: r ? void 0 : e.toggleList,
56
56
  onKeyDown: r ? void 0 : e.onButtonKeyDown,
57
57
  role: i ? "button" : void 0,
58
58
  tabIndex: 0,
59
- title: d,
59
+ title: N,
60
60
  toggleButtonRef: e.toggleButtonRef,
61
61
  type: i ? void 0 : "button",
62
62
  "aria-describedby": e.ariaDescribedBy,
63
63
  id: e.id ?? "",
64
64
  children: [
65
- s && i ? /* @__PURE__ */ a(
65
+ O && i ? /* @__PURE__ */ a(
66
66
  "input",
67
67
  {
68
68
  "aria-autocomplete": "list",
69
69
  "aria-controls": e.selectListId,
70
- "aria-expanded": s,
70
+ "aria-expanded": O,
71
71
  "aria-owns": e.selectListId,
72
72
  autoComplete: "off",
73
73
  className: "adyen-pe-filter-input",
74
74
  onInput: e.onInput,
75
- placeholder: N,
75
+ placeholder: d,
76
76
  ref: e.filterInputRef,
77
77
  role: "combobox",
78
78
  type: "text"
79
79
  }
80
- ) : /* @__PURE__ */ a(b, { children: [
81
- (t == null ? void 0 : t.icon) && /* @__PURE__ */ a(v, { className: R, src: t.icon, alt: ((T = t == null ? void 0 : t.name) == null ? void 0 : T.trim()) ?? "" }),
82
- /* @__PURE__ */ a("span", { className: h, children: ((c = t == null ? void 0 : t.selectedOptionName) == null ? void 0 : c.trim()) || d }),
83
- l && e.appliedFilterNumber > 0 && /* @__PURE__ */ a("div", { className: y, children: /* @__PURE__ */ a(L, { el: p.SPAN, variant: B.BODY, stronger: !0, children: e.appliedFilterNumber }) })
80
+ ) : /* @__PURE__ */ a(W, { children: [
81
+ (t == null ? void 0 : t.icon) && /* @__PURE__ */ a(b, { className: p, src: t.icon, alt: ((c = t == null ? void 0 : t.name) == null ? void 0 : c.trim()) ?? "" }),
82
+ /* @__PURE__ */ a("span", { className: R, children: ((T = t == null ? void 0 : t.selectedOptionName) == null ? void 0 : T.trim()) || N }),
83
+ l && e.appliedFilterNumber > 0 && /* @__PURE__ */ a("div", { className: h, children: /* @__PURE__ */ a(L, { el: B.SPAN, variant: u.BODY, stronger: !0, children: e.appliedFilterNumber }) })
84
84
  ] }),
85
- !S && /* @__PURE__ */ a("span", { className: A, children: /* @__PURE__ */ a(u, { role: "presentation" }) })
85
+ !S && /* @__PURE__ */ a("span", { className: y, children: /* @__PURE__ */ a(v, { name: "chevron-down" }) })
86
86
  ]
87
87
  }
88
88
  );
@@ -1,51 +1,49 @@
1
1
  import { jsx as s } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import c from "classnames";
3
- import { memo as N } from "../../../../../external/preact/compat/dist/compat.module.js";
4
- import E from "../../../SVGIcons/CheckedBox.js";
5
- import C from "../../../SVGIcons/UncheckedBox.js";
6
- import d from "../../../SVGIcons/Checkmark.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";
2
+ import N from "classnames";
3
+ import { memo as E } from "../../../../../external/preact/compat/dist/compat.module.js";
4
+ import { DROPDOWN_ELEMENT_CHECKMARK_CLASS as C, DROPDOWN_ELEMENT_CLASS as S, DROPDOWN_ELEMENT_DISABLED_CLASS as d, DROPDOWN_ELEMENT_ACTIVE_CLASS as D, DROPDOWN_ELEMENT_ICON_CLASS as _, DROPDOWN_ELEMENT_CONTENT_CLASS as L, DROPDOWN_ELEMENT_CHECKBOX_CLASS as O } from "../constants.js";
5
+ import { Icon as n } from "../../../Icon/Icon.js";
8
6
  import u from "../../../Img/Img.js";
9
- import { Fragment as h } from "../../../../../external/preact/dist/preact.module.js";
10
- import { boolOrFalse as A } from "../../../../../utils/value/bool.js";
11
- const M = (e) => e.multiSelect ? /* @__PURE__ */ s("span", { className: f, children: e.selected ? /* @__PURE__ */ s(E, { role: "presentation" }) : /* @__PURE__ */ s(C, { role: "presentation" }) }) : null, T = (e) => e.multiSelect ? null : /* @__PURE__ */ s("span", { className: S, children: e.selected && /* @__PURE__ */ s(d, { role: "presentation" }) }), F = (e) => /* @__PURE__ */ s(h, { children: [
12
- M(e),
7
+ import { Fragment as f } from "../../../../../external/preact/dist/preact.module.js";
8
+ import { boolOrFalse as p } from "../../../../../utils/value/bool.js";
9
+ const h = (e) => e.multiSelect ? /* @__PURE__ */ s("span", { className: O, children: e.selected ? /* @__PURE__ */ s(n, { name: "checkmark-square-fill" }) : /* @__PURE__ */ s(n, { name: "square" }) }) : null, A = (e) => e.multiSelect ? null : /* @__PURE__ */ s("span", { className: C, children: e.selected && /* @__PURE__ */ s(n, { name: "checkmark" }) }), g = (e) => /* @__PURE__ */ s(f, { children: [
10
+ h(e),
13
11
  /* @__PURE__ */ s("div", { className: e.contentClassName, children: [
14
12
  e.item.icon && /* @__PURE__ */ s(u, { className: e.iconClassName, alt: e.item.name, src: e.item.icon }),
15
13
  /* @__PURE__ */ s("span", { children: e.item.name })
16
14
  ] }),
17
- T(e)
18
- ] }), b = ({ item: e, multiSelect: n, onKeyDown: t, onSelect: r, renderListItem: i, selected: l }) => {
19
- const o = !!e.disabled, m = A(e.disabled) || null, a = c(D, {
20
- [p]: l,
21
- [_]: o
15
+ A(e)
16
+ ] }), M = ({ item: e, multiSelect: m, onKeyDown: i, onSelect: t, renderListItem: c, selected: l }) => {
17
+ const a = !!e.disabled, o = p(e.disabled) || null, r = N(S, {
18
+ [D]: l,
19
+ [d]: a
22
20
  });
23
21
  return /* @__PURE__ */ s(
24
22
  "li",
25
23
  {
26
- "aria-disabled": o,
24
+ "aria-disabled": a,
27
25
  "aria-selected": l,
28
- className: a,
29
- "data-disabled": m,
26
+ className: r,
27
+ "data-disabled": o,
30
28
  "data-value": e.id,
31
- onClick: r,
32
- onKeyDown: t,
29
+ onClick: t,
30
+ onKeyDown: i,
33
31
  title: e.name,
34
32
  role: "option",
35
33
  tabIndex: -1,
36
- children: i({
34
+ children: c({
37
35
  item: e,
38
- multiSelect: n,
36
+ multiSelect: m,
39
37
  selected: l,
40
- contentClassName: O,
41
- iconClassName: L
38
+ contentClassName: L,
39
+ iconClassName: _
42
40
  })
43
41
  }
44
42
  );
45
- }, H = N(b);
43
+ }, K = E(M);
46
44
  export {
47
- H as default,
48
- M as renderDefaultMultiSelectionCheckedness,
49
- T as renderDefaultSingleSelectionCheckedness,
50
- F as renderListItemDefault
45
+ K as default,
46
+ h as renderDefaultMultiSelectionCheckedness,
47
+ A as renderDefaultSingleSelectionCheckedness,
48
+ g as renderListItemDefault
51
49
  };
@@ -1,69 +1,72 @@
1
1
  import { jsx as a } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { ButtonVariant as s } from "../Button/types.js";
3
- import g from "../../../core/Context/useCoreContext.js";
4
- import b from "classnames";
5
- import { useMemo as h, useCallback as v } from "../../../external/preact/hooks/dist/hooks.module.js";
2
+ import g from "classnames";
3
+ import v from "../../../core/Context/useCoreContext.js";
4
+ import { useMemo as N, useCallback as _ } from "../../../external/preact/hooks/dist/hooks.module.js";
5
+ import { ButtonVariant as l } from "../Button/types.js";
6
6
  /* empty css */
7
- import C from "../SVGIcons/ChevronLeft.js";
8
- import _ from "../SVGIcons/ChevronRight.js";
9
- import { Fragment as T } from "../../../external/preact/dist/preact.module.js";
10
- import R from "../FormFields/Select/Select.js";
11
- import d from "../Button/Button.js";
12
- import { isNullish as N } from "../../../utils/value/is.js";
13
- import { EMPTY_ARRAY as c } from "../../../utils/value/constants.js";
14
- function w({ next: m, hasNext: n, hasPrev: o, prev: p, limit: f, limitOptions: t, onLimitSelection: i }) {
15
- const { i18n: r } = g(), l = h(
16
- () => t && Object.freeze(t.map((e) => ({ id: `${e}`, name: `${e}` }))),
17
- [t]
18
- ), u = v(
7
+ import { Fragment as b } from "../../../external/preact/dist/preact.module.js";
8
+ import y from "../FormFields/Select/Select.js";
9
+ import c from "../Button/Button.js";
10
+ import { Icon as d } from "../Icon/Icon.js";
11
+ import { isNullish as T } from "../../../utils/value/is.js";
12
+ import { EMPTY_ARRAY as m } from "../../../utils/value/constants.js";
13
+ function j({ next: p, hasNext: o, hasPrev: s, prev: u, limit: f, limitOptions: r, onLimitSelection: i }) {
14
+ const { i18n: n } = v(), t = N(
15
+ () => r && Object.freeze(r.map((e) => ({ id: `${e}`, name: `${e}` }))),
16
+ [r]
17
+ ), h = _(
19
18
  ({ target: e }) => {
20
- N(e == null ? void 0 : e.value) || i == null || i(+e.value);
19
+ T(e == null ? void 0 : e.value) || i == null || i(+e.value);
21
20
  },
22
21
  [i]
23
22
  );
24
- return /* @__PURE__ */ a("div", { "aria-label": r.get("paginatedNavigation"), className: `adyen-pe-pagination ${b({})}`, children: [
25
- /* @__PURE__ */ a("div", { className: "adyen-pe-pagination__context", children: l && i && /* @__PURE__ */ a(T, { children: [
26
- /* @__PURE__ */ a("span", { children: r.get("pagination.showing") }),
23
+ return /* @__PURE__ */ a("div", { "aria-label": n.get("paginatedNavigation"), className: `adyen-pe-pagination ${g({})}`, children: [
24
+ /* @__PURE__ */ a("div", { className: "adyen-pe-pagination__context", children: t && i && /* @__PURE__ */ a(b, { children: [
25
+ /* @__PURE__ */ a("span", { children: n.get("pagination.showing") }),
27
26
  /* @__PURE__ */ a("div", { className: "adyen-pe-pagination__limit-selector", children: /* @__PURE__ */ a(
28
- R,
27
+ y,
29
28
  {
30
29
  setToTargetWidth: !0,
31
30
  filterable: !1,
32
31
  multiSelect: !1,
33
- items: l,
34
- onChange: u,
32
+ items: t,
33
+ onChange: h,
35
34
  selected: `${f ?? ""}`
36
35
  }
37
36
  ) })
38
37
  ] }) }),
39
38
  /* @__PURE__ */ a("div", { className: "adyen-pe-pagination__controls", children: [
40
39
  /* @__PURE__ */ a(
41
- d,
40
+ c,
42
41
  {
43
- "aria-label": r.get("pagination.previousPage"),
44
- variant: s.TERTIARY,
45
- disabled: !o,
42
+ variant: l.TERTIARY,
43
+ disabled: !s,
46
44
  iconButton: !0,
47
- classNameModifiers: ["circle"].concat(o ? c : "disabled"),
48
- onClick: p,
49
- children: /* @__PURE__ */ a(C, { disabled: !o })
45
+ classNameModifiers: ["circle"].concat(s ? m : "disabled"),
46
+ onClick: u,
47
+ children: [
48
+ /* @__PURE__ */ a(d, { name: "chevron-left" }),
49
+ /* @__PURE__ */ a("span", { className: "adyen-pe-visually-hidden", children: n.get("pagination.previousPage") })
50
+ ]
50
51
  }
51
52
  ),
52
53
  /* @__PURE__ */ a(
53
- d,
54
+ c,
54
55
  {
55
- "aria-label": r.get("pagination.nextPage"),
56
- variant: s.TERTIARY,
57
- disabled: !n,
56
+ variant: l.TERTIARY,
57
+ disabled: !o,
58
58
  iconButton: !0,
59
- classNameModifiers: ["circle"].concat(n ? c : "disabled"),
60
- onClick: m,
61
- children: /* @__PURE__ */ a(_, { disabled: !n })
59
+ classNameModifiers: ["circle"].concat(o ? m : "disabled"),
60
+ onClick: p,
61
+ children: [
62
+ /* @__PURE__ */ a("span", { className: "adyen-pe-visually-hidden", children: n.get("pagination.nextPage") }),
63
+ /* @__PURE__ */ a(d, { name: "chevron-right" })
64
+ ]
62
65
  }
63
66
  )
64
67
  ] })
65
68
  ] });
66
69
  }
67
70
  export {
68
- w as default
71
+ j as default
69
72
  };
@@ -1,144 +1,147 @@
1
1
  import { jsx as r } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import eo from "../Button/ButtonActions/ButtonActions.js";
3
- import { ButtonActionsLayoutBasic as no } from "../Button/ButtonActions/types.js";
4
- import { DEFAULT_POPOVER_CLASSNAME as c, POPOVER_HEADER_TITLE_CLASSNAME as to, TOOLTIP_CONTENT_CLASSNAME as U, POPOVER_CONTENT_CLASSNAME as N, POPOVER_FOOTER_CLASSNAME as co, DEFAULT_TOOLTIP_CLASSNAME as io, POPOVER_CONTAINER_CLASSNAME as so, POPOVER_HEADER_CLASSNAME as B } from "./constants.js";
5
- import uo from "./PopoverDismissButton/PopoverDismissButton.js";
6
- import mo from "./PopoverTitle/PopoverTitle.js";
7
- import { PopoverContainerVariant as i, PopoverContainerSize as k } from "./types.js";
2
+ import no from "../Button/ButtonActions/ButtonActions.js";
3
+ import { ButtonActionsLayoutBasic as to } from "../Button/ButtonActions/types.js";
4
+ import { DEFAULT_POPOVER_CLASSNAME as c, POPOVER_HEADER_TITLE_CLASSNAME as co, TOOLTIP_CONTENT_CLASSNAME as K, POPOVER_CONTENT_CLASSNAME as N, POPOVER_FOOTER_CLASSNAME as io, DEFAULT_TOOLTIP_CLASSNAME as so, POPOVER_CONTAINER_CLASSNAME as uo, POPOVER_HEADER_CLASSNAME as w } from "./constants.js";
5
+ import mo from "./PopoverDismissButton/PopoverDismissButton.js";
6
+ import fo from "./PopoverTitle/PopoverTitle.js";
7
+ import { PopoverContainerVariant as i, PopoverContainerSize as b } from "./types.js";
8
8
  import { InteractionKeyCode as ao } from "../../types.js";
9
- import { useClickOutside as po, ClickOutsideVariant as fo, CONTROL_ELEMENT_PROPERTY as O } from "../../../hooks/element/useClickOutside.js";
10
- import lo from "../../../hooks/element/useFocusTrap.js";
11
- import Oo from "../../../hooks/element/usePopoverPositioner.js";
12
- import w from "../../../hooks/element/useUniqueIdentifier.js";
13
- import Eo from "../../../hooks/useReflex.js";
14
- import { SELECTORS as To, isFocusable as Po } from "../../../primitives/dom/tabbableRoot/tabbable.js";
15
- import b from "classnames";
16
- import { createPortal as Ao } from "../../../external/preact/compat/dist/compat.module.js";
17
- import { useMemo as q, useRef as L, useCallback as C, useEffect as x } from "../../../external/preact/hooks/dist/hooks.module.js";
9
+ import { useClickOutside as po, ClickOutsideVariant as lo, CONTROL_ELEMENT_PROPERTY as d } from "../../../hooks/element/useClickOutside.js";
10
+ import Oo from "../../../hooks/element/useFocusTrap.js";
11
+ import Eo from "../../../hooks/element/usePopoverPositioner.js";
12
+ import L from "../../../hooks/element/useUniqueIdentifier.js";
13
+ import To from "../../../hooks/useReflex.js";
14
+ import { SELECTORS as Po, isFocusable as Ao } from "../../../primitives/dom/tabbableRoot/tabbable.js";
15
+ import q from "classnames";
16
+ import { createPortal as No } from "../../../external/preact/compat/dist/compat.module.js";
17
+ import { useMemo as x, useRef as C, useCallback as _, useEffect as U } from "../../../external/preact/hooks/dist/hooks.module.js";
18
18
  /* empty css */
19
- import { Fragment as _ } from "../../../external/preact/dist/preact.module.js";
20
- import { isFunction as No } from "../../../utils/value/is.js";
21
- import { boolOrTrue as Lo } from "../../../utils/value/bool.js";
22
- import { getModifierClasses as Co } from "../../../utils/preact/className.js";
23
- const _o = (s) => {
19
+ import { Fragment as y } from "../../../external/preact/dist/preact.module.js";
20
+ import { isFunction as Lo } from "../../../utils/value/is.js";
21
+ import { boolOrTrue as Co } from "../../../utils/value/bool.js";
22
+ import { getModifierClasses as _o } from "../../../utils/preact/className.js";
23
+ const yo = (s) => {
24
24
  var e;
25
- let a;
26
- const l = (e = s.querySelector(`.${U}`)) == null ? void 0 : e.querySelectorAll(To);
25
+ let f;
26
+ const l = (e = s.querySelector(`.${K}`)) == null ? void 0 : e.querySelectorAll(Po);
27
27
  return l ? (Array.prototype.some.call(l, (u) => {
28
- if (Po(u)) return a = u;
29
- }), a) : null;
30
- }, yo = (s) => s === i.TOOLTIP ? [10, 3, 5, 5] : [8, 8, 8, 8];
31
- function Yo({
28
+ if (Ao(u)) return f = u;
29
+ }), f) : null;
30
+ }, Ro = (s) => s === i.TOOLTIP ? [10, 3, 5, 5] : [8, 8, 8, 8];
31
+ function Jo({
32
32
  actions: s,
33
- disableFocusTrap: a = !1,
34
- actionsLayout: l = no.SPACE_BETWEEN,
33
+ disableFocusTrap: f = !1,
34
+ actionsLayout: l = to.SPACE_BETWEEN,
35
35
  variant: e = i.TOOLTIP,
36
36
  title: u,
37
- open: p,
38
- dismissible: y,
39
- modifiers: K,
37
+ open: a,
38
+ dismissible: R,
39
+ modifiers: W,
40
40
  divider: S,
41
- fitContent: R,
42
- withoutSpace: v,
43
- containerSize: d,
44
- position: W,
41
+ fitContent: v,
42
+ withoutSpace: I,
43
+ containerSize: E,
44
+ position: H,
45
45
  targetElement: o,
46
- setToTargetWidth: H,
46
+ setToTargetWidth: j,
47
47
  dismiss: n,
48
- children: I,
49
- withContentPadding: j,
50
- classNameModifiers: G,
51
- showOverlay: f = !1,
52
- fitPosition: Y,
53
- fixedPositioning: J = !1,
54
- additionalStyle: Q,
55
- ...F
48
+ children: F,
49
+ withContentPadding: G,
50
+ classNameModifiers: Y,
51
+ showOverlay: p = !1,
52
+ fitPosition: J,
53
+ fixedPositioning: Q = !1,
54
+ additionalStyle: X,
55
+ ...M
56
56
  }) {
57
- const M = q(() => No(n) && Lo(y), [n, y]), V = w(), $ = L(), X = C(
57
+ const V = x(() => Lo(n) && Co(R), [n, R]), $ = L(), h = L(), D = C(), Z = _(
58
58
  (t) => {
59
59
  var m;
60
60
  n && n(), t && ((m = o == null ? void 0 : o.current) == null || m.focus());
61
61
  },
62
62
  [n, o]
63
- ), E = C(
63
+ ), T = _(
64
64
  (t) => {
65
65
  t.code === ao.ESCAPE && (n && n(), (o == null ? void 0 : o.current).focus());
66
66
  },
67
67
  [n, o]
68
- ), T = L(E), h = L(), D = po(
69
- Oo(
70
- yo(e),
68
+ ), P = C(T), B = C(), k = po(
69
+ Eo(
70
+ Ro(e),
71
71
  o,
72
72
  e,
73
- W,
74
- V,
75
73
  H,
76
- f,
77
- Y,
74
+ $,
75
+ j,
76
+ p,
78
77
  J,
79
- Q
78
+ Q,
79
+ X,
80
+ void 0,
81
+ h
80
82
  ),
81
83
  n,
82
- e === i.TOOLTIP && !p,
83
- fo.POPOVER
84
- ), Z = lo(a ? null : D, X), P = Eo(
85
- C(
84
+ e === i.TOOLTIP && !a,
85
+ lo.POPOVER
86
+ ), z = Oo(f ? null : k, Z), O = To(
87
+ _(
86
88
  (t, m) => {
87
- m instanceof Element && (m[O] = void 0, delete m[O]), t instanceof Element && (t[O] = o.current, cancelAnimationFrame(h.current), h.current = requestAnimationFrame(() => {
88
- if ($.current === p || !($.current = p)) return;
89
- const A = _o(t);
89
+ m instanceof Element && (m[d] = void 0, delete m[d]), t instanceof Element && (t[d] = o.current, cancelAnimationFrame(B.current), B.current = requestAnimationFrame(() => {
90
+ if (D.current === a || !(D.current = a)) return;
91
+ const A = yo(t);
90
92
  A == null || A.focus();
91
93
  }));
92
94
  },
93
- [p, o]
95
+ [a, o]
94
96
  ),
95
- a ? D : Z
96
- ), z = w(P), g = q(
97
+ f ? k : z
98
+ ), g = L(O), oo = x(
97
99
  () => ({
98
- [`${c}--medium`]: d === k.MEDIUM,
100
+ [`${c}--medium`]: E === b.MEDIUM,
99
101
  [`${c}--with-divider`]: !!S,
100
- [`${c}--wide`]: d === k.WIDE,
101
- [`${c}--fit-content`]: R,
102
- [`${c}--without-space`]: v,
103
- [`${c}--auto-width`]: f
102
+ [`${c}--wide`]: E === b.WIDE,
103
+ [`${c}--fit-content`]: v,
104
+ [`${c}--without-space`]: I,
105
+ [`${c}--auto-width`]: p
104
106
  }),
105
- [d, S, v, R, f]
107
+ [E, S, I, v, p]
106
108
  );
107
- x(() => {
108
- P.current && (P.current[O] = o.current);
109
- }, [o]), x(() => (document.removeEventListener("keydown", T.current), document.addEventListener("keydown", T.current = E), () => document.removeEventListener("keydown", T.current)), [E]);
110
- const oo = e === i.TOOLTIP ? io : `${c} ${so}`, ro = e === i.TOOLTIP ? U : `${N}`;
111
- return Ao(
112
- /* @__PURE__ */ r(_, { children: p ? /* @__PURE__ */ r(_, { children: [
113
- f && /* @__PURE__ */ r("div", { className: "adyen-pe-popover__overlay" }),
109
+ U(() => {
110
+ O.current && (O.current[d] = o.current);
111
+ }, [O, o]), U(() => (document.removeEventListener("keydown", P.current), document.addEventListener("keydown", P.current = T), () => document.removeEventListener("keydown", P.current)), [T]);
112
+ const ro = e === i.TOOLTIP ? so : `${c} ${uo}`, eo = e === i.TOOLTIP ? K : `${N}`;
113
+ return No(
114
+ /* @__PURE__ */ r(y, { children: a ? /* @__PURE__ */ r(y, { children: [
115
+ p && /* @__PURE__ */ r("div", { className: "adyen-pe-popover__overlay" }),
114
116
  /* @__PURE__ */ r(
115
117
  "div",
116
118
  {
117
119
  id: "popover",
118
- ref: z,
119
- ...F,
120
- className: b(oo, g, G),
120
+ ref: g,
121
+ ...M,
122
+ className: q(ro, oo, Y),
121
123
  style: { visibility: "hidden" },
122
- role: F.role ?? (e === i.POPOVER ? "dialog" : "tooltip"),
124
+ role: M.role ?? (e === i.POPOVER ? "dialog" : "tooltip"),
123
125
  children: [
124
- (u || M) && /* @__PURE__ */ r("div", { className: Co(B, K, [B]), children: [
125
- u && /* @__PURE__ */ r("div", { className: to, children: /* @__PURE__ */ r(mo, { title: u }) }),
126
- M && /* @__PURE__ */ r(uo, { onClick: n })
126
+ (u || V) && /* @__PURE__ */ r("div", { className: _o(w, W, [w]), children: [
127
+ u && /* @__PURE__ */ r("div", { className: co, children: /* @__PURE__ */ r(fo, { title: u }) }),
128
+ V && /* @__PURE__ */ r(mo, { onClick: n })
127
129
  ] }),
128
- I && /* @__PURE__ */ r(_, { children: [
130
+ F && /* @__PURE__ */ r(y, { children: [
129
131
  /* @__PURE__ */ r(
130
132
  "div",
131
133
  {
132
- className: b(ro, {
133
- [`${N}--with-padding`]: j,
134
- [`${N}--overlay`]: f
134
+ className: q(eo, {
135
+ [`${N}--with-padding`]: G,
136
+ [`${N}--overlay`]: p
135
137
  }),
136
- children: I
138
+ ref: h,
139
+ children: F
137
140
  }
138
141
  ),
139
- e === i.TOOLTIP && /* @__PURE__ */ r("span", { "data-popover-placement": "hidden", ref: V, className: "adyen-pe-tooltip__arrow" })
142
+ e === i.TOOLTIP && /* @__PURE__ */ r("span", { "data-popover-placement": "hidden", ref: $, className: "adyen-pe-tooltip__arrow" })
140
143
  ] }),
141
- s && /* @__PURE__ */ r("div", { className: co, children: /* @__PURE__ */ r(eo, { actions: s, layout: l }) })
144
+ s && /* @__PURE__ */ r("div", { className: io, children: /* @__PURE__ */ r(no, { actions: s, layout: l }) })
142
145
  ]
143
146
  }
144
147
  )
@@ -147,5 +150,5 @@ function Yo({
147
150
  );
148
151
  }
149
152
  export {
150
- Yo as default
153
+ Jo as default
151
154
  };
@@ -1,6 +1,6 @@
1
- var O = /* @__PURE__ */ ((T) => (T.TOOLTIP = "tooltip", T.POPOVER = "popover", T))(O || {}), E = /* @__PURE__ */ ((T) => (T.TOP = "top", T.TOP_LEFT = "top-left", T.RIGHT = "right", T.BOTTOM = "bottom", T.BOTTOM_LEFT = "bottom-left", T.LEFT = "left", T))(E || {}), l = /* @__PURE__ */ ((T) => (T.MEDIUM = "medium", T.WIDE = "wide", T))(l || {});
1
+ var O = /* @__PURE__ */ ((T) => (T.TOOLTIP = "tooltip", T.POPOVER = "popover", T))(O || {}), E = /* @__PURE__ */ ((T) => (T.TOP = "top", T.RIGHT = "right", T.BOTTOM = "bottom", T.LEFT = "left", T.TOP_LEFT = "top-left", T.TOP_RIGHT = "top-right", T.BOTTOM_LEFT = "bottom-left", T.BOTTOM_RIGHT = "bottom-right", T))(E || {}), I = /* @__PURE__ */ ((T) => (T.MEDIUM = "medium", T.WIDE = "wide", T))(I || {});
2
2
  export {
3
3
  E as PopoverContainerPosition,
4
- l as PopoverContainerSize,
4
+ I as PopoverContainerSize,
5
5
  O as PopoverContainerVariant
6
6
  };