@mediaradar/design-components 0.10.0 → 0.11.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.
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +111 -5
- package/dist/index.d.ts +111 -5
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2757,13 +2757,13 @@ function NameListModal({
|
|
|
2757
2757
|
return () => window.removeEventListener("keydown", onKey);
|
|
2758
2758
|
}, [onCancel]);
|
|
2759
2759
|
return (0, import_react_dom5.createPortal)(
|
|
2760
|
-
//
|
|
2761
|
-
//
|
|
2762
|
-
//
|
|
2760
|
+
// bg-scrim, not a literal: design-tokens gained a scrim token in 2.5.0.
|
|
2761
|
+
// No in-data-[theme=dark] override needed any more -- the token redefines
|
|
2762
|
+
// itself under that attribute in dark.css, so one class covers both themes.
|
|
2763
2763
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2764
2764
|
"div",
|
|
2765
2765
|
{
|
|
2766
|
-
className: "fixed inset-0 z-70 flex items-center justify-center bg-
|
|
2766
|
+
className: "fixed inset-0 z-70 flex items-center justify-center bg-scrim px-4",
|
|
2767
2767
|
onMouseDown: (e) => e.target === e.currentTarget && onCancel(),
|
|
2768
2768
|
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2769
2769
|
"div",
|