@deriv-web-design/ui 0.1.23 → 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 +73 -65
- 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.mjs
CHANGED
|
@@ -9490,15 +9490,15 @@ var LinkModal = ({
|
|
|
9490
9490
|
}
|
|
9491
9491
|
};
|
|
9492
9492
|
if (!open || typeof document === "undefined") return null;
|
|
9493
|
-
const rootClass = ["
|
|
9493
|
+
const rootClass = ["lkm", className].filter(Boolean).join(" ");
|
|
9494
9494
|
return createPortal2(
|
|
9495
9495
|
/* @__PURE__ */ jsxs63("div", { className: rootClass, onClick: onClose, children: [
|
|
9496
|
-
/* @__PURE__ */ jsx67("div", { className: "
|
|
9496
|
+
/* @__PURE__ */ jsx67("div", { className: "lkm__scrim", "aria-hidden": "true" }),
|
|
9497
9497
|
/* @__PURE__ */ jsxs63(
|
|
9498
9498
|
"div",
|
|
9499
9499
|
{
|
|
9500
9500
|
ref: panelRef,
|
|
9501
|
-
className: "
|
|
9501
|
+
className: "lkm__panel",
|
|
9502
9502
|
role: "dialog",
|
|
9503
9503
|
"aria-modal": "true",
|
|
9504
9504
|
"aria-labelledby": titleId,
|
|
@@ -9511,14 +9511,14 @@ var LinkModal = ({
|
|
|
9511
9511
|
"button",
|
|
9512
9512
|
{
|
|
9513
9513
|
type: "button",
|
|
9514
|
-
className: "
|
|
9514
|
+
className: "lkm__close",
|
|
9515
9515
|
onClick: onClose,
|
|
9516
9516
|
"aria-label": closeLabel,
|
|
9517
9517
|
children: /* @__PURE__ */ jsx67(XMarkIcon3, {})
|
|
9518
9518
|
}
|
|
9519
9519
|
),
|
|
9520
|
-
/* @__PURE__ */ jsx67(HeadingTag, { id: titleId, className: "
|
|
9521
|
-
children && /* @__PURE__ */ jsx67("div", { className: "
|
|
9520
|
+
/* @__PURE__ */ jsx67(HeadingTag, { id: titleId, className: "lkm__title", children: title }),
|
|
9521
|
+
children && /* @__PURE__ */ jsx67("div", { className: "lkm__body", children })
|
|
9522
9522
|
]
|
|
9523
9523
|
}
|
|
9524
9524
|
)
|