@adyen/adyen-platform-experience-web 1.6.0 → 1.6.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.
- package/dist/adyen-platform-experience-web.css +1 -1
- package/dist/{angle-right-Bb55rXYe.cjs → angle-right-K64mXtoy.cjs} +2 -2
- package/dist/{angle-right-Bb55rXYe.cjs.map → angle-right-K64mXtoy.cjs.map} +1 -1
- package/dist/{checkmark-DiDm_wM9.cjs → checkmark-BFOfQ4U3.cjs} +2 -2
- package/dist/{checkmark-DiDm_wM9.cjs.map → checkmark-BFOfQ4U3.cjs.map} +1 -1
- package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs → checkmark-circle-fill-BV2FvQh0.cjs} +2 -2
- package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs.map → checkmark-circle-fill-BV2FvQh0.cjs.map} +1 -1
- package/dist/{checkmark-square-fill-B0JKpJWE.cjs → checkmark-square-fill-B6rUSLy6.cjs} +2 -2
- package/dist/{checkmark-square-fill-B0JKpJWE.cjs.map → checkmark-square-fill-B6rUSLy6.cjs.map} +1 -1
- package/dist/{chevron-down-BhSTKYlw.cjs → chevron-down-Cwk2F1N2.cjs} +2 -2
- package/dist/{chevron-down-BhSTKYlw.cjs.map → chevron-down-Cwk2F1N2.cjs.map} +1 -1
- package/dist/{chevron-left-D-GWfC1v.cjs → chevron-left-3kfyOgH8.cjs} +2 -2
- package/dist/{chevron-left-D-GWfC1v.cjs.map → chevron-left-3kfyOgH8.cjs.map} +1 -1
- package/dist/{chevron-right-CSehcQXv.cjs → chevron-right-DlSewmYP.cjs} +2 -2
- package/dist/{chevron-right-CSehcQXv.cjs.map → chevron-right-DlSewmYP.cjs.map} +1 -1
- package/dist/{chevron-up-D8g7ZBDG.cjs → chevron-up-DcHOD7ve.cjs} +2 -2
- package/dist/{chevron-up-D8g7ZBDG.cjs.map → chevron-up-DcHOD7ve.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{copy-BOKezSIj.cjs → copy-DmBUwp7_.cjs} +2 -2
- package/dist/{copy-BOKezSIj.cjs.map → copy-DmBUwp7_.cjs.map} +1 -1
- package/dist/{cross-BMK10x3R.cjs → cross-JGXC9RPo.cjs} +2 -2
- package/dist/{cross-BMK10x3R.cjs.map → cross-JGXC9RPo.cjs.map} +1 -1
- package/dist/{cross-circle-fill-DzWguWQ6.cjs → cross-circle-fill-CepPVSd-.cjs} +2 -2
- package/dist/{cross-circle-fill-DzWguWQ6.cjs.map → cross-circle-fill-CepPVSd-.cjs.map} +1 -1
- package/dist/{download-DciFfoOz.cjs → download-BToMR9ry.cjs} +2 -2
- package/dist/{download-DciFfoOz.cjs.map → download-BToMR9ry.cjs.map} +1 -1
- package/dist/es/components/internal/Popover/Popover.js +95 -92
- package/dist/es/components/internal/Popover/types.js +2 -2
- package/dist/es/components/internal/Tooltip/Tooltip.js +28 -32
- package/dist/es/core/Http/utils.js +1 -1
- package/dist/es/core/core.js +1 -1
- package/dist/es/hooks/element/usePopoverPositioner.js +129 -89
- package/dist/{external-link-B2F_A_Cq.cjs → external-link-BRDaK3Bx.cjs} +2 -2
- package/dist/{external-link-B2F_A_Cq.cjs.map → external-link-BRDaK3Bx.cjs.map} +1 -1
- package/dist/{filter-D22HZfjz.cjs → filter-DXSSpM1j.cjs} +2 -2
- package/dist/{filter-D22HZfjz.cjs.map → filter-DXSSpM1j.cjs.map} +1 -1
- package/dist/index-BKTWT4wv.cjs +12 -0
- package/dist/index-BKTWT4wv.cjs.map +1 -0
- package/dist/{info-filled-DChkt5PM.cjs → info-filled-CqqSx6ab.cjs} +2 -2
- package/dist/{info-filled-DChkt5PM.cjs.map → info-filled-CqqSx6ab.cjs.map} +1 -1
- package/dist/{minus-circle-outline-o-wMYGB7.cjs → minus-circle-outline-C_OF3LwJ.cjs} +2 -2
- package/dist/{minus-circle-outline-o-wMYGB7.cjs.map → minus-circle-outline-C_OF3LwJ.cjs.map} +1 -1
- package/dist/{plus-IYFySo3s.cjs → plus-CW8c0zs1.cjs} +2 -2
- package/dist/{plus-IYFySo3s.cjs.map → plus-CW8c0zs1.cjs.map} +1 -1
- package/dist/{plus-circle-outline-CoI6-j9k.cjs → plus-circle-outline-DJ6zGU6z.cjs} +2 -2
- package/dist/{plus-circle-outline-CoI6-j9k.cjs.map → plus-circle-outline-DJ6zGU6z.cjs.map} +1 -1
- package/dist/{square-DN8rGu6b.cjs → square-2HAeIvAR.cjs} +2 -2
- package/dist/{square-DN8rGu6b.cjs.map → square-2HAeIvAR.cjs.map} +1 -1
- package/dist/{trash-can-DIrL2Xi0.cjs → trash-can-BLQ5Pm8W.cjs} +2 -2
- package/dist/{trash-can-DIrL2Xi0.cjs.map → trash-can-BLQ5Pm8W.cjs.map} +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/types.d.ts +4 -2
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/{upload-deLJWgy1.cjs → upload-C9Z9qRuS.cjs} +2 -2
- package/dist/{upload-deLJWgy1.cjs.map → upload-C9Z9qRuS.cjs.map} +1 -1
- package/dist/{warning-DhLYlOp4.cjs → warning-CIRG3GTY.cjs} +2 -2
- package/dist/{warning-DhLYlOp4.cjs.map → warning-CIRG3GTY.cjs.map} +1 -1
- package/dist/{warning-filled-B9O_Hc7Y.cjs → warning-filled-3hD1yAKv.cjs} +2 -2
- package/dist/{warning-filled-B9O_Hc7Y.cjs.map → warning-filled-3hD1yAKv.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CmIP-V4s.cjs +0 -12
- package/dist/index-CmIP-V4s.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=chevron-down-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),t=o=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...o,children:e.u("path",{fill:"currentColor",d:"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z"})});exports.default=t;
|
|
2
|
+
//# sourceMappingURL=chevron-down-Cwk2F1N2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-down-
|
|
1
|
+
{"version":3,"file":"chevron-down-Cwk2F1N2.cjs","sources":["../src/images/icons/chevron-down.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronDown = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z\" }) });\nexport default SvgChevronDown;\n"],"names":["SvgChevronDown","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,6CAA6C,CAAE,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=chevron-left-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z"})});exports.default=l;
|
|
2
|
+
//# sourceMappingURL=chevron-left-3kfyOgH8.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-left-
|
|
1
|
+
{"version":3,"file":"chevron-left-3kfyOgH8.cjs","sources":["../src/images/icons/chevron-left.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronLeft = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z\" }) });\nexport default SvgChevronLeft;\n"],"names":["SvgChevronLeft","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=chevron-right-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),o=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z"})});exports.default=o;
|
|
2
|
+
//# sourceMappingURL=chevron-right-DlSewmYP.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-right-
|
|
1
|
+
{"version":3,"file":"chevron-right-DlSewmYP.cjs","sources":["../src/images/icons/chevron-right.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronRight = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z\" }) });\nexport default SvgChevronRight;\n"],"names":["SvgChevronRight","props","jsx"],"mappings":"wHACMA,EAAmBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=chevron-up-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z"})});exports.default=l;
|
|
2
|
+
//# sourceMappingURL=chevron-up-DcHOD7ve.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-up-
|
|
1
|
+
{"version":3,"file":"chevron-up-DcHOD7ve.cjs","sources":["../src/images/icons/chevron-up.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronUp = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z\" }) });\nexport default SvgChevronUp;\n"],"names":["SvgChevronUp","props","jsx"],"mappings":"wHACMA,EAAgBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,+CAA+C,CAAE,CAAG,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-BKTWT4wv.cjs");exports.AdyenPlatformExperience=e.AdyenPlatformExperience;exports.CapitalOffer=e.CapitalOfferElement;exports.CapitalOverview=e.CapitalOverviewElement;exports.Core=e.Core;exports.DisputeManagement=e.DisputeManagementElement;exports.DisputesOverview=e.DisputesOverviewElement;exports.PayoutDetails=e.PayoutElement;exports.PayoutsOverview=e.PayoutsElement;exports.ReportsOverview=e.ReportsElement;exports.TransactionDetails=e.TransactionElement;exports.TransactionsOverview=e.TransactionsElement;exports.all_locales=e.all_locales;exports.da_DK=e.da_DK;exports.de_DE=e.de_DE;exports.en_US=e.en_US;exports.es_ES=e.es_ES;exports.fi_FI=e.fi_FI;exports.fr_FR=e.fr_FR;exports.it_IT=e.it_IT;exports.nl_NL=e.nl_NL;exports.no_NO=e.no_NO;exports.pt_BR=e.pt_BR;exports.sv_SE=e.sv_SE;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-
|
|
2
|
-
//# sourceMappingURL=copy-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-BKTWT4wv.cjs"),t=e=>c.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...e,children:c.u("path",{fill:"currentColor",d:"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75"})});exports.default=t;
|
|
2
|
+
//# sourceMappingURL=copy-DmBUwp7_.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-
|
|
1
|
+
{"version":3,"file":"copy-DmBUwp7_.cjs","sources":["../src/images/icons/copy.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCopy = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75\" }) });\nexport default SvgCopy;\n"],"names":["SvgCopy","props","jsx"],"mappings":"wHACMA,EAAWC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,2YAA2Y,CAAE,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=cross-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),t=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:e.u("path",{fill:"currentColor",d:"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z"})});exports.default=t;
|
|
2
|
+
//# sourceMappingURL=cross-JGXC9RPo.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-
|
|
1
|
+
{"version":3,"file":"cross-JGXC9RPo.cjs","sources":["../src/images/icons/cross.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCross = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z\" }) });\nexport default SvgCross;\n"],"names":["SvgCross","props","jsx"],"mappings":"wHACMA,EAAYC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAwE,CAAE,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-
|
|
2
|
-
//# sourceMappingURL=cross-circle-fill-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-BKTWT4wv.cjs"),e=r=>l.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...r,children:[l.u("g",{clipPath:"url(#cross-circle-fill_svg__a)",children:l.u("path",{fill:"currentColor",d:"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z"})}),l.u("defs",{children:l.u("clipPath",{id:"cross-circle-fill_svg__a",children:l.u("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]});exports.default=e;
|
|
2
|
+
//# sourceMappingURL=cross-circle-fill-CepPVSd-.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-circle-fill-
|
|
1
|
+
{"version":3,"file":"cross-circle-fill-CepPVSd-.cjs","sources":["../src/images/icons/cross-circle-fill.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgCrossCircleFill = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"g\", { clipPath: \"url(#cross-circle-fill_svg__a)\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z\" }) }),\n /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsx(\"clipPath\", { id: \"cross-circle-fill_svg__a\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M0 0h16v16H0z\" }) }) })\n] });\nexport default SvgCrossCircleFill;\n"],"names":["SvgCrossCircleFill","props","jsxs","jsx"],"mappings":"wHACMA,EAAsBC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CAC/IE,EAAAA,EAAI,IAAK,CAAE,SAAU,iCAAkC,SAA0BA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,2HAA2H,CAAE,CAAC,CAAE,EACxPA,EAAG,EAAC,OAAQ,CAAE,SAA0BA,EAAG,EAAC,WAAY,CAAE,GAAI,2BAA4B,SAA0BA,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,eAAe,CAAE,CAAC,CAAE,CAAG,CAAA,CACpM,CAAG,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
2
|
-
//# sourceMappingURL=download-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BKTWT4wv.cjs"),o=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:[e.u("path",{fill:"currentColor",d:"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z"}),e.u("path",{fill:"currentColor",d:"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75"})]});exports.default=o;
|
|
2
|
+
//# sourceMappingURL=download-BToMR9ry.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-
|
|
1
|
+
{"version":3,"file":"download-BToMR9ry.cjs","sources":["../src/images/icons/download.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgDownload = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z\" }),\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75\" })\n] });\nexport default SvgDownload;\n"],"names":["SvgDownload","props","jsxs","jsx"],"mappings":"wHACMA,EAAeC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CACxIE,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAyE,EAChHA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,8IAAgJ,CAAA,CACzM,CAAG,CAAA"}
|
|
@@ -1,144 +1,147 @@
|
|
|
1
1
|
import { jsx as r } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
2
|
-
import
|
|
3
|
-
import { ButtonActionsLayoutBasic as
|
|
4
|
-
import { DEFAULT_POPOVER_CLASSNAME as c, POPOVER_HEADER_TITLE_CLASSNAME as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { PopoverContainerVariant as i, PopoverContainerSize as
|
|
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
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { SELECTORS as
|
|
15
|
-
import
|
|
16
|
-
import { createPortal as
|
|
17
|
-
import { useMemo as
|
|
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
|
|
20
|
-
import { isFunction as
|
|
21
|
-
import { boolOrTrue as
|
|
22
|
-
import { getModifierClasses as
|
|
23
|
-
const
|
|
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
|
|
26
|
-
const l = (e = s.querySelector(`.${
|
|
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 (
|
|
29
|
-
}),
|
|
30
|
-
},
|
|
31
|
-
function
|
|
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:
|
|
34
|
-
actionsLayout: l =
|
|
33
|
+
disableFocusTrap: f = !1,
|
|
34
|
+
actionsLayout: l = to.SPACE_BETWEEN,
|
|
35
35
|
variant: e = i.TOOLTIP,
|
|
36
36
|
title: u,
|
|
37
|
-
open:
|
|
38
|
-
dismissible:
|
|
39
|
-
modifiers:
|
|
37
|
+
open: a,
|
|
38
|
+
dismissible: R,
|
|
39
|
+
modifiers: W,
|
|
40
40
|
divider: S,
|
|
41
|
-
fitContent:
|
|
42
|
-
withoutSpace:
|
|
43
|
-
containerSize:
|
|
44
|
-
position:
|
|
41
|
+
fitContent: v,
|
|
42
|
+
withoutSpace: I,
|
|
43
|
+
containerSize: E,
|
|
44
|
+
position: H,
|
|
45
45
|
targetElement: o,
|
|
46
|
-
setToTargetWidth:
|
|
46
|
+
setToTargetWidth: j,
|
|
47
47
|
dismiss: n,
|
|
48
|
-
children:
|
|
49
|
-
withContentPadding:
|
|
50
|
-
classNameModifiers:
|
|
51
|
-
showOverlay:
|
|
52
|
-
fitPosition:
|
|
53
|
-
fixedPositioning:
|
|
54
|
-
additionalStyle:
|
|
55
|
-
...
|
|
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
|
|
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
|
-
),
|
|
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
|
-
),
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
77
|
-
|
|
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 && !
|
|
83
|
-
|
|
84
|
-
),
|
|
85
|
-
|
|
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[
|
|
88
|
-
if (
|
|
89
|
-
const A =
|
|
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
|
-
[
|
|
95
|
+
[a, o]
|
|
94
96
|
),
|
|
95
|
-
|
|
96
|
-
),
|
|
97
|
+
f ? k : z
|
|
98
|
+
), g = L(O), oo = x(
|
|
97
99
|
() => ({
|
|
98
|
-
[`${c}--medium`]:
|
|
100
|
+
[`${c}--medium`]: E === b.MEDIUM,
|
|
99
101
|
[`${c}--with-divider`]: !!S,
|
|
100
|
-
[`${c}--wide`]:
|
|
101
|
-
[`${c}--fit-content`]:
|
|
102
|
-
[`${c}--without-space`]:
|
|
103
|
-
[`${c}--auto-width`]:
|
|
102
|
+
[`${c}--wide`]: E === b.WIDE,
|
|
103
|
+
[`${c}--fit-content`]: v,
|
|
104
|
+
[`${c}--without-space`]: I,
|
|
105
|
+
[`${c}--auto-width`]: p
|
|
104
106
|
}),
|
|
105
|
-
[
|
|
107
|
+
[E, S, I, v, p]
|
|
106
108
|
);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}, [o]),
|
|
110
|
-
const
|
|
111
|
-
return
|
|
112
|
-
/* @__PURE__ */ r(
|
|
113
|
-
|
|
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:
|
|
119
|
-
...
|
|
120
|
-
className:
|
|
120
|
+
ref: g,
|
|
121
|
+
...M,
|
|
122
|
+
className: q(ro, oo, Y),
|
|
121
123
|
style: { visibility: "hidden" },
|
|
122
|
-
role:
|
|
124
|
+
role: M.role ?? (e === i.POPOVER ? "dialog" : "tooltip"),
|
|
123
125
|
children: [
|
|
124
|
-
(u ||
|
|
125
|
-
u && /* @__PURE__ */ r("div", { className:
|
|
126
|
-
|
|
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
|
-
|
|
130
|
+
F && /* @__PURE__ */ r(y, { children: [
|
|
129
131
|
/* @__PURE__ */ r(
|
|
130
132
|
"div",
|
|
131
133
|
{
|
|
132
|
-
className:
|
|
133
|
-
[`${N}--with-padding`]:
|
|
134
|
-
[`${N}--overlay`]:
|
|
134
|
+
className: q(eo, {
|
|
135
|
+
[`${N}--with-padding`]: G,
|
|
136
|
+
[`${N}--overlay`]: p
|
|
135
137
|
}),
|
|
136
|
-
|
|
138
|
+
ref: h,
|
|
139
|
+
children: F
|
|
137
140
|
}
|
|
138
141
|
),
|
|
139
|
-
e === i.TOOLTIP && /* @__PURE__ */ r("span", { "data-popover-placement": "hidden", ref:
|
|
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:
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
4
|
+
I as PopoverContainerSize,
|
|
5
5
|
O as PopoverContainerVariant
|
|
6
6
|
};
|
|
@@ -1,45 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { PopoverContainerVariant as
|
|
4
|
-
import { useTooltipListeners as
|
|
5
|
-
import { TypographyVariant as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
1
|
+
import { jsx as r } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
2
|
+
import _ from "../Popover/Popover.js";
|
|
3
|
+
import { PopoverContainerVariant as T } from "../Popover/types.js";
|
|
4
|
+
import { useTooltipListeners as b } from "./useTooltipListeners.js";
|
|
5
|
+
import { TypographyVariant as v } from "../Typography/types.js";
|
|
6
|
+
import P from "../Typography/Typography.js";
|
|
7
|
+
import x from "../../../hooks/element/useUniqueIdentifier.js";
|
|
8
|
+
import n from "classnames";
|
|
9
|
+
import { cloneElement as I, Fragment as g } from "../../../external/preact/dist/preact.module.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var m, u, f;
|
|
18
|
-
const e = l(), { isVisible: n, listeners: T } = P();
|
|
19
|
-
return h() ? /* @__PURE__ */ a(s, { children: o }) : /* @__PURE__ */ a(s, { children: [
|
|
20
|
-
o ? b(o, {
|
|
21
|
-
...o == null ? void 0 : o.props,
|
|
11
|
+
const N = (o) => typeof o == "string", F = ({ content: o, children: t, triggerRef: u, showTooltip: p, position: y, isContainerHovered: a = !1 }) => {
|
|
12
|
+
var m, i, f;
|
|
13
|
+
const e = x(), { isVisible: s, listeners: l } = b();
|
|
14
|
+
return /* @__PURE__ */ r(g, { children: [
|
|
15
|
+
t ? I(t, {
|
|
16
|
+
...t == null ? void 0 : t.props,
|
|
22
17
|
role: "button",
|
|
23
18
|
tabIndex: -1,
|
|
24
19
|
ref: e,
|
|
25
|
-
className: (m =
|
|
26
|
-
" adyen-pe__tooltip-target--hovered":
|
|
27
|
-
}) :
|
|
28
|
-
...
|
|
20
|
+
className: (m = t == null ? void 0 : t.props) != null && m.className ? n(`${(i = t == null ? void 0 : t.props) == null ? void 0 : i.className} adyen-pe__tooltip-target`, {
|
|
21
|
+
" adyen-pe__tooltip-target--hovered": a
|
|
22
|
+
}) : n("adyen-pe__tooltip-target", { "adyen-pe__tooltip-target--hovered": a }),
|
|
23
|
+
...l,
|
|
29
24
|
"aria-describedby": `tooltip-${(f = e.current) == null ? void 0 : f.id}`
|
|
30
25
|
}) : null,
|
|
31
|
-
(
|
|
32
|
-
|
|
26
|
+
(s || p) && /* @__PURE__ */ r(
|
|
27
|
+
_,
|
|
33
28
|
{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
fitPosition: !0,
|
|
30
|
+
variant: T.TOOLTIP,
|
|
31
|
+
targetElement: u ?? e,
|
|
32
|
+
position: y,
|
|
33
|
+
open: s || p,
|
|
34
|
+
children: /* @__PURE__ */ r(g, { children: o && N(o) ? /* @__PURE__ */ r(P, { variant: v.CAPTION, children: o }) : { content: o } })
|
|
39
35
|
}
|
|
40
36
|
)
|
|
41
37
|
] });
|
|
42
38
|
};
|
|
43
39
|
export {
|
|
44
|
-
|
|
40
|
+
F as Tooltip
|
|
45
41
|
};
|
|
@@ -26,7 +26,7 @@ const p = (e) => {
|
|
|
26
26
|
}
|
|
27
27
|
}, O = (e) => {
|
|
28
28
|
var s;
|
|
29
|
-
const { headers: n = [], method: t = "GET" } = e, r = "1.6.
|
|
29
|
+
const { headers: n = [], method: t = "GET" } = e, r = "1.6.1", o = ((s = e.contentType) == null ? void 0 : s.toLowerCase()) ?? "application/json";
|
|
30
30
|
return {
|
|
31
31
|
method: t,
|
|
32
32
|
mode: "cors",
|