@hybridcore/ui 1.5.1 → 1.5.2

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.
@@ -3,7 +3,7 @@ import "react-confirm";
3
3
  import "@mui/material";
4
4
  import "@mui/icons-material";
5
5
  import "../../DialogContent-CtA2aNum.js";
6
- import { a as f } from "../../dialog-DrVArHYg.js";
6
+ import { a as f } from "../../dialog-BDt1r9fh.js";
7
7
  import "../../Button-jy67CcTH.js";
8
8
  export {
9
9
  f as default
@@ -1,5 +1,5 @@
1
1
  import { createConfirmation as r } from "react-confirm";
2
- import { a as i } from "../../dialog-DrVArHYg.js";
2
+ import { a as i } from "../../dialog-BDt1r9fh.js";
3
3
  const o = r(i);
4
4
  function f(t, n, e = {
5
5
  cancelButtonText: "Cancel",
@@ -8,7 +8,7 @@ import { B as f } from "../../../../Box-SSMZuKnS.js";
8
8
  import { T as y } from "../../../../Typography-CLq43OVQ.js";
9
9
  import { B as h } from "../../../../Button-jy67CcTH.js";
10
10
  import { D as g, a as b } from "../../../../DialogContent-CtA2aNum.js";
11
- import { D } from "../../../../dialog-DrVArHYg.js";
11
+ import { D } from "../../../../dialog-BDt1r9fh.js";
12
12
  function v(t) {
13
13
  var a;
14
14
  const { state: o, action: r } = u(t);
@@ -8,7 +8,7 @@ import { B as g } from "../../../../Box-SSMZuKnS.js";
8
8
  import { T as u } from "../../../../Typography-CLq43OVQ.js";
9
9
  import { B as h } from "../../../../Button-jy67CcTH.js";
10
10
  import { D as f, a as y } from "../../../../DialogContent-CtA2aNum.js";
11
- import { D as b } from "../../../../dialog-DrVArHYg.js";
11
+ import { D as b } from "../../../../dialog-BDt1r9fh.js";
12
12
  function L(i) {
13
13
  const { state: l, action: t } = p(i);
14
14
  return /* @__PURE__ */ r(g, { children: [
@@ -69,11 +69,11 @@ process.env.NODE_ENV !== "production" && (u.propTypes = {
69
69
  */
70
70
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
71
71
  });
72
- const A = {
72
+ const I = {
73
73
  confirmButtonText: "OK",
74
74
  cancelButtonText: "Cancel",
75
75
  disableCancelButton: !1
76
- }, I = ({
76
+ }, A = ({
77
77
  show: a = !0,
78
78
  proceed: t = () => {
79
79
  },
@@ -81,7 +81,7 @@ const A = {
81
81
  description: i,
82
82
  options: e
83
83
  }) => {
84
- e = { ...A, ...e };
84
+ e = { ...I, ...e };
85
85
  const n = () => {
86
86
  t(!1);
87
87
  }, l = () => {
@@ -97,6 +97,7 @@ const A = {
97
97
  "aria-labelledby": "dialog-title",
98
98
  "aria-describedby": "dialog-description",
99
99
  sx: {
100
+ zIndex: 9999,
100
101
  "& .MuiDialog-paper": {
101
102
  borderRadius: 3
102
103
  },
@@ -146,7 +147,7 @@ const A = {
146
147
  ]
147
148
  }
148
149
  );
149
- }, G = x(I);
150
+ }, G = x(A);
150
151
  export {
151
152
  u as D,
152
153
  G as a
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",