@solibo/solibo-ui 2.0.0 → 2.0.1

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.
@@ -16,7 +16,7 @@ import '../../assets/index38.css';const F = "_dialog_10cs4_3", I = "_close_10cs4
16
16
  className: l,
17
17
  controls: o,
18
18
  fullscreen: f = !1,
19
- header: _,
19
+ header: m,
20
20
  onCancel: n,
21
21
  onClick: i,
22
22
  onClose: d,
@@ -24,9 +24,9 @@ import '../../assets/index38.css';const F = "_dialog_10cs4_3", I = "_close_10cs4
24
24
  setOpen: r,
25
25
  ...x
26
26
  }) => {
27
- const m = Y(null), g = k(o), h = f || _ != null || o != null;
27
+ const _ = Y(null), g = k(o), h = f || m != null || o != null;
28
28
  w(() => {
29
- const t = m.current;
29
+ const t = _.current;
30
30
  t && (a && !t.open ? t.showModal() : !a && t.open && t.close());
31
31
  }, [a]);
32
32
  const y = (t) => {
@@ -43,9 +43,9 @@ import '../../assets/index38.css';const F = "_dialog_10cs4_3", I = "_close_10cs4
43
43
  }, X = (t) => {
44
44
  d == null || d(t), a && (r == null || r(!1));
45
45
  }, p = r && !g ? /* @__PURE__ */ e(R, { "aria-label": "Close dialog", className: c.close, onClick: () => r(!1), variant: "simple", children: /* @__PURE__ */ e(A, { name: "X" }) }) : null;
46
- return /* @__PURE__ */ e("dialog", { className: T(c.dialog, h && c.structured, f && c.fullscreen, l), onCancel: y, onClick: D, onClose: X, ref: m, ...x, "data-component": "dialog", children: h ? /* @__PURE__ */ u(B, { children: [
46
+ return /* @__PURE__ */ e("dialog", { className: T(c.dialog, h && c.structured, f && c.fullscreen, l), onCancel: y, onClick: D, onClose: X, ref: _, ...x, "data-component": "dialog", children: h ? /* @__PURE__ */ u(B, { children: [
47
47
  /* @__PURE__ */ u("div", { className: c.header, children: [
48
- _,
48
+ m,
49
49
  p
50
50
  ] }),
51
51
  /* @__PURE__ */ e("div", { className: c.content, children: s }),