@deriv-web-design/ui 0.1.24 → 0.1.25
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/index.css +61 -61
- package/dist/index.css.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9589,15 +9589,15 @@ var LinkModal = ({
|
|
|
9589
9589
|
}
|
|
9590
9590
|
};
|
|
9591
9591
|
if (!open || typeof document === "undefined") return null;
|
|
9592
|
-
const rootClass = ["
|
|
9592
|
+
const rootClass = ["lkm", className].filter(Boolean).join(" ");
|
|
9593
9593
|
return (0, import_react_dom2.createPortal)(
|
|
9594
9594
|
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: rootClass, onClick: onClose, children: [
|
|
9595
|
-
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "
|
|
9595
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "lkm__scrim", "aria-hidden": "true" }),
|
|
9596
9596
|
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
9597
9597
|
"div",
|
|
9598
9598
|
{
|
|
9599
9599
|
ref: panelRef,
|
|
9600
|
-
className: "
|
|
9600
|
+
className: "lkm__panel",
|
|
9601
9601
|
role: "dialog",
|
|
9602
9602
|
"aria-modal": "true",
|
|
9603
9603
|
"aria-labelledby": titleId,
|
|
@@ -9610,14 +9610,14 @@ var LinkModal = ({
|
|
|
9610
9610
|
"button",
|
|
9611
9611
|
{
|
|
9612
9612
|
type: "button",
|
|
9613
|
-
className: "
|
|
9613
|
+
className: "lkm__close",
|
|
9614
9614
|
onClick: onClose,
|
|
9615
9615
|
"aria-label": closeLabel,
|
|
9616
9616
|
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(XMarkIcon3, {})
|
|
9617
9617
|
}
|
|
9618
9618
|
),
|
|
9619
|
-
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(HeadingTag, { id: titleId, className: "
|
|
9620
|
-
children && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "
|
|
9619
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(HeadingTag, { id: titleId, className: "lkm__title", children: title }),
|
|
9620
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "lkm__body", children })
|
|
9621
9621
|
]
|
|
9622
9622
|
}
|
|
9623
9623
|
)
|