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 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 {