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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.js +5 -1
- package/src/site/site.test.js +8 -9
package/dist/index.modern.js
CHANGED
@@ -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
|
-
|
3320
|
+
if (className === "prompt") {
|
3321
|
+
site.closePromptDialog();
|
3322
|
+
} else {
|
3323
|
+
site.closeDialog();
|
3324
|
+
}
|
3321
3325
|
}
|
3322
3326
|
|
3323
3327
|
function prevent(e) {
|