@cfx-dev/ui-components 2.0.8 → 2.0.9

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.
@@ -1 +1 @@
1
- ._root_15udb_1{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1}._root_15udb_1 ._backdrop_15udb_9{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--color-overlay-backdrop-background);animation-name:_backdrop-appearance_15udb_1;animation-duration:.2s}@keyframes _backdrop-appearance_15udb_1{0%{opacity:0}to{opacity:1}}._root_15udb_1 ._content_15udb_27{position:absolute;top:50%;left:50%;width:1px;height:1px;display:flex;align-items:center;justify-content:center}
1
+ ._root_17xdt_1{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9000}._root_17xdt_1 ._backdrop_17xdt_9{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--color-overlay-backdrop-background);animation-name:_backdrop-appearance_17xdt_1;animation-duration:.2s}@keyframes _backdrop-appearance_17xdt_1{0%{opacity:0}to{opacity:1}}._root_17xdt_1 ._content_17xdt_27{position:absolute;top:50%;left:50%;width:1px;height:1px;display:flex;align-items:center;justify-content:center}
@@ -5,18 +5,18 @@ import { Interactive as m } from "../Interactive/Interactive.js";
5
5
  import { clsx as e } from "../../utils/clsx.js";
6
6
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
7
7
  import "../../utils/hooks/useKeyboardClose.js";
8
- import { useOutlet as u } from "../../utils/hooks/useOutlet.js";
9
- import '../../assets/Overlay.css';const _ = "_root_15udb_1", p = "_backdrop_15udb_9", f = "_content_15udb_27", n = {
10
- root: _,
11
- backdrop: p,
12
- "backdrop-appearance": "_backdrop-appearance_15udb_1",
13
- content: f
14
- }, b = "overlay-outlet";
8
+ import { useOutlet as _ } from "../../utils/hooks/useOutlet.js";
9
+ import '../../assets/Overlay.css';const p = "_root_17xdt_1", f = "_backdrop_17xdt_9", u = "_content_17xdt_27", n = {
10
+ root: p,
11
+ backdrop: f,
12
+ "backdrop-appearance": "_backdrop-appearance_17xdt_1",
13
+ content: u
14
+ }, k = "overlay-outlet";
15
15
  function l(c) {
16
16
  const {
17
17
  className: o,
18
18
  children: t
19
- } = c, i = e(n.root, o), s = u(b);
19
+ } = c, i = e(n.root, o), s = _(k);
20
20
  return /* @__PURE__ */ r(s, { children: /* @__PURE__ */ r("div", { className: i, children: t }) });
21
21
  }
22
22
  l.Backdrop = a.forwardRef(function(o, t) {
@@ -26,6 +26,6 @@ l.Content = a.forwardRef(function(o, t) {
26
26
  return /* @__PURE__ */ r("div", { ref: t, className: e(n.content, o.className), children: /* @__PURE__ */ r(d, { children: o.children }) });
27
27
  });
28
28
  export {
29
- b as OVERLAY_OUTLET_ID,
29
+ k as OVERLAY_OUTLET_ID,
30
30
  l as Overlay
31
31
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "2.0.8",
4
+ "version": "2.0.9",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",