stone-kit 0.0.789 → 0.0.790

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,12 +1,12 @@
1
- import { jsxs as B, jsx as n } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as n } from "react/jsx-runtime";
2
2
  import { useEffect as N } from "react";
3
3
  import { createPortal as C } from "react-dom";
4
- const L = "_root_1a9ep_11", b = "_modalBody_1a9ep_26", x = "_modalOverlay_1a9ep_31", I = "_isTransparentBack_1a9ep_42", T = "_fadeInUp_1a9ep_1", s = {
4
+ const L = "_root_1a9ep_11", x = "_modalBody_1a9ep_26", I = "_modalOverlay_1a9ep_31", T = "_isTransparentBack_1a9ep_42", U = "_fadeInUp_1a9ep_1", s = {
5
5
  root: L,
6
- modalBody: b,
7
- modalOverlay: x,
8
- isTransparentBack: I,
9
- fadeInUp: T
6
+ modalBody: x,
7
+ modalOverlay: I,
8
+ isTransparentBack: T,
9
+ fadeInUp: U
10
10
  }, h = ({
11
11
  isOpen: d,
12
12
  emitIsOpen: t,
@@ -24,7 +24,7 @@ const L = "_root_1a9ep_11", b = "_modalBody_1a9ep_26", x = "_modalOverlay_1a9ep_
24
24
  modalBodyRef: _,
25
25
  additionalStylesModalBody: v
26
26
  }) => {
27
- const $ = () => {
27
+ const k = () => {
28
28
  r && t(!1);
29
29
  };
30
30
  N(() => {
@@ -41,16 +41,16 @@ const L = "_root_1a9ep_11", b = "_modalBody_1a9ep_26", x = "_modalOverlay_1a9ep_
41
41
  return () => document.body.classList.remove("disable-scroll");
42
42
  }
43
43
  }, [d]);
44
- const l = /* @__PURE__ */ B(
44
+ const l = /* @__PURE__ */ $(
45
45
  "div",
46
46
  {
47
- className: `${s.root} ${d ? s.visible : ""} ${c}`,
48
- onClick: (k) => k.stopPropagation(),
47
+ className: `${s.root} ${c}`,
48
+ onClick: (B) => B.stopPropagation(),
49
49
  children: [
50
50
  /* @__PURE__ */ n(
51
51
  "div",
52
52
  {
53
- onClick: $,
53
+ onClick: k,
54
54
  className: `${s.modalOverlay} ${m} ${e ? s.isTransparentBack : ""}`,
55
55
  style: {
56
56
  opacity: e ? p : void 0,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.789",
5
+ "version": "0.0.790",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",