math-main-components 0.0.63 → 0.0.64
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 +1 -0
- package/dist/index.esm.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -138,6 +138,7 @@ function Dialog({ data, text, onClose, onSubmit, children }) {
|
|
138
138
|
event.preventDefault();
|
139
139
|
const element = event.target;
|
140
140
|
const id = element.id;
|
141
|
+
console.log(id);
|
141
142
|
if (["dialog-backdrop", "cancel-button"].includes(id)) {
|
142
143
|
if (onClose)
|
143
144
|
onClose(event, data?.data);
|
package/dist/index.esm.js
CHANGED
@@ -130,6 +130,7 @@ function Dialog({ data, text, onClose, onSubmit, children }) {
|
|
130
130
|
event.preventDefault();
|
131
131
|
const element = event.target;
|
132
132
|
const id = element.id;
|
133
|
+
console.log(id);
|
133
134
|
if (["dialog-backdrop", "cancel-button"].includes(id)) {
|
134
135
|
if (onClose)
|
135
136
|
onClose(event, data?.data);
|