ptechcore_ui 1.0.66 → 1.0.67
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1410,7 +1410,7 @@ var ToastProvider = ({ children }) => {
|
|
|
1410
1410
|
const typeStyles = confirmState.options ? getConfirmTypeStyles(confirmState.options.type) : getConfirmTypeStyles();
|
|
1411
1411
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(ToastContext.Provider, { value, children: [
|
|
1412
1412
|
children,
|
|
1413
|
-
confirmState.isOpen && confirmState.options && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "fixed inset-0 z-[
|
|
1413
|
+
confirmState.isOpen && confirmState.options && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "fixed inset-0 z-[11000] flex items-center justify-center", children: [
|
|
1414
1414
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1415
1415
|
"div",
|
|
1416
1416
|
{
|
|
@@ -1448,7 +1448,7 @@ var ToastProvider = ({ children }) => {
|
|
|
1448
1448
|
{
|
|
1449
1449
|
variant: "full",
|
|
1450
1450
|
onClick: () => handleConfirm(true),
|
|
1451
|
-
|
|
1451
|
+
classname: typeStyles.confirmBtnClass,
|
|
1452
1452
|
children: confirmState.options.confirmText || "Confirmer"
|
|
1453
1453
|
}
|
|
1454
1454
|
)
|
package/dist/index.js
CHANGED
|
@@ -1240,7 +1240,7 @@ var ToastProvider = ({ children }) => {
|
|
|
1240
1240
|
const typeStyles = confirmState.options ? getConfirmTypeStyles(confirmState.options.type) : getConfirmTypeStyles();
|
|
1241
1241
|
return /* @__PURE__ */ jsxs3(ToastContext.Provider, { value, children: [
|
|
1242
1242
|
children,
|
|
1243
|
-
confirmState.isOpen && confirmState.options && /* @__PURE__ */ jsxs3("div", { className: "fixed inset-0 z-[
|
|
1243
|
+
confirmState.isOpen && confirmState.options && /* @__PURE__ */ jsxs3("div", { className: "fixed inset-0 z-[11000] flex items-center justify-center", children: [
|
|
1244
1244
|
/* @__PURE__ */ jsx6(
|
|
1245
1245
|
"div",
|
|
1246
1246
|
{
|
|
@@ -1278,7 +1278,7 @@ var ToastProvider = ({ children }) => {
|
|
|
1278
1278
|
{
|
|
1279
1279
|
variant: "full",
|
|
1280
1280
|
onClick: () => handleConfirm(true),
|
|
1281
|
-
|
|
1281
|
+
classname: typeStyles.confirmBtnClass,
|
|
1282
1282
|
children: confirmState.options.confirmText || "Confirmer"
|
|
1283
1283
|
}
|
|
1284
1284
|
)
|