@cere/cere-design-system 0.0.3 → 0.0.4
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.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2069,6 +2069,7 @@ var Dialog = ({
|
|
|
2069
2069
|
children,
|
|
2070
2070
|
dividers = true,
|
|
2071
2071
|
confirmBeforeClose = false,
|
|
2072
|
+
customActions,
|
|
2072
2073
|
...dialogProps
|
|
2073
2074
|
}) => {
|
|
2074
2075
|
const handleCloseAttempt = (e) => {
|
|
@@ -2110,9 +2111,9 @@ var Dialog = ({
|
|
|
2110
2111
|
] }),
|
|
2111
2112
|
dividers && /* @__PURE__ */ jsx26(Divider2, {}),
|
|
2112
2113
|
/* @__PURE__ */ jsx26(DialogContent, { dividers, children }),
|
|
2113
|
-
showActions && /* @__PURE__ */ jsxs8(Fragment5, { children: [
|
|
2114
|
+
(showActions || customActions) && /* @__PURE__ */ jsxs8(Fragment5, { children: [
|
|
2114
2115
|
dividers && /* @__PURE__ */ jsx26(Divider2, {}),
|
|
2115
|
-
/* @__PURE__ */
|
|
2116
|
+
/* @__PURE__ */ jsx26(DialogActions, { children: customActions || /* @__PURE__ */ jsxs8(Fragment5, { children: [
|
|
2116
2117
|
/* @__PURE__ */ jsx26(
|
|
2117
2118
|
Button4,
|
|
2118
2119
|
{
|
|
@@ -2132,7 +2133,7 @@ var Dialog = ({
|
|
|
2132
2133
|
children: submitLabel
|
|
2133
2134
|
}
|
|
2134
2135
|
)
|
|
2135
|
-
] })
|
|
2136
|
+
] }) })
|
|
2136
2137
|
] })
|
|
2137
2138
|
]
|
|
2138
2139
|
}
|