ywana-core8 0.0.350 → 0.0.351

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.
@@ -3317,7 +3317,11 @@ var Dialog = function Dialog(props) {
3317
3317
  eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3318
3318
 
3319
3319
  function close() {
3320
- site.closeDialog();
3320
+ if (className === "prompt") {
3321
+ site.closePromptDialog();
3322
+ } else {
3323
+ site.closeDialog();
3324
+ }
3321
3325
  }
3322
3326
 
3323
3327
  function prevent(e) {