@rufous/ui 0.2.70 → 0.2.71
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/main.cjs +2 -2
- package/dist/main.js +2 -2
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -1563,7 +1563,7 @@ var BaseDialog = ({
|
|
|
1563
1563
|
const sxClass = useSx(sx);
|
|
1564
1564
|
if (!open && !TransitionComponent) return null;
|
|
1565
1565
|
const isButtonLoading = isSubmitting || loading;
|
|
1566
|
-
const renderButtons = () => /* @__PURE__ */ React65.createElement(
|
|
1566
|
+
const renderButtons = () => /* @__PURE__ */ React65.createElement(React65.Fragment, null, showCancelButton && /* @__PURE__ */ React65.createElement(
|
|
1567
1567
|
"button",
|
|
1568
1568
|
{
|
|
1569
1569
|
className: "btn-cancel",
|
|
@@ -1616,7 +1616,7 @@ var BaseDialog = ({
|
|
|
1616
1616
|
}
|
|
1617
1617
|
},
|
|
1618
1618
|
children
|
|
1619
|
-
), /* @__PURE__ */ React65.createElement("div", { className: "dialog-divider" }), customButtons || renderButtons());
|
|
1619
|
+
), /* @__PURE__ */ React65.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React65.createElement("div", { className: "dialog-footer", style: { justifyContent: buttonAlign } }, customButtons || renderButtons()));
|
|
1620
1620
|
const dialogContent = form ? /* @__PURE__ */ React65.createElement(
|
|
1621
1621
|
"form",
|
|
1622
1622
|
{
|
package/dist/main.js
CHANGED
|
@@ -1391,7 +1391,7 @@ var BaseDialog = ({
|
|
|
1391
1391
|
const sxClass = useSx(sx);
|
|
1392
1392
|
if (!open && !TransitionComponent) return null;
|
|
1393
1393
|
const isButtonLoading = isSubmitting || loading;
|
|
1394
|
-
const renderButtons = () => /* @__PURE__ */ React65.createElement(
|
|
1394
|
+
const renderButtons = () => /* @__PURE__ */ React65.createElement(React65.Fragment, null, showCancelButton && /* @__PURE__ */ React65.createElement(
|
|
1395
1395
|
"button",
|
|
1396
1396
|
{
|
|
1397
1397
|
className: "btn-cancel",
|
|
@@ -1444,7 +1444,7 @@ var BaseDialog = ({
|
|
|
1444
1444
|
}
|
|
1445
1445
|
},
|
|
1446
1446
|
children
|
|
1447
|
-
), /* @__PURE__ */ React65.createElement("div", { className: "dialog-divider" }), customButtons || renderButtons());
|
|
1447
|
+
), /* @__PURE__ */ React65.createElement("div", { className: "dialog-divider" }), /* @__PURE__ */ React65.createElement("div", { className: "dialog-footer", style: { justifyContent: buttonAlign } }, customButtons || renderButtons()));
|
|
1448
1448
|
const dialogContent = form ? /* @__PURE__ */ React65.createElement(
|
|
1449
1449
|
"form",
|
|
1450
1450
|
{
|