ywana-core8 0.0.693 → 0.0.694
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.js +2 -1
package/dist/index.cjs
CHANGED
@@ -3961,9 +3961,12 @@ var Dialog = function Dialog(props) {
|
|
3961
3961
|
toolbar = props.toolbar,
|
3962
3962
|
children = props.children,
|
3963
3963
|
actions = props.actions,
|
3964
|
-
className = props.className
|
3964
|
+
className = props.className,
|
3965
|
+
onClose = props.onClose;
|
3965
3966
|
|
3966
3967
|
function close() {
|
3968
|
+
if (onClose) onClose();
|
3969
|
+
|
3967
3970
|
if (className === "prompt") {
|
3968
3971
|
site.closePromptDialog();
|
3969
3972
|
} else {
|