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.
package/dist/index.cjs CHANGED
@@ -3325,7 +3325,11 @@ var Dialog = function Dialog(props) {
3325
3325
  eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3326
3326
 
3327
3327
  function close() {
3328
- site.closeDialog();
3328
+ if (className === "prompt") {
3329
+ site.closePromptDialog();
3330
+ } else {
3331
+ site.closeDialog();
3332
+ }
3329
3333
  }
3330
3334
 
3331
3335
  function prevent(e) {