math-main-components 0.0.63 → 0.0.65
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.js +3 -0
- package/dist/index.esm.js +3 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -142,6 +142,9 @@ function Dialog({ data, text, onClose, onSubmit, children }) {
|
|
142
142
|
if (onClose)
|
143
143
|
onClose(event, data?.data);
|
144
144
|
}
|
145
|
+
else {
|
146
|
+
element.click();
|
147
|
+
}
|
145
148
|
}
|
146
149
|
return (React__default["default"].createElement("div", { id: "dialog-backdrop", className: `${styles$m.container} ${data?.isActive ? styles$m.active : styles$m.disabled}`, onClick: onClick },
|
147
150
|
React__default["default"].createElement("div", { className: styles$m.dialog_window },
|
package/dist/index.esm.js
CHANGED
@@ -134,6 +134,9 @@ function Dialog({ data, text, onClose, onSubmit, children }) {
|
|
134
134
|
if (onClose)
|
135
135
|
onClose(event, data?.data);
|
136
136
|
}
|
137
|
+
else {
|
138
|
+
element.click();
|
139
|
+
}
|
137
140
|
}
|
138
141
|
return (React.createElement("div", { id: "dialog-backdrop", className: `${styles$m.container} ${data?.isActive ? styles$m.active : styles$m.disabled}`, onClick: onClick },
|
139
142
|
React.createElement("div", { className: styles$m.dialog_window },
|