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.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
|
-
|
3328
|
+
if (className === "prompt") {
|
3329
|
+
site.closePromptDialog();
|
3330
|
+
} else {
|
3331
|
+
site.closeDialog();
|
3332
|
+
}
|
3329
3333
|
}
|
3330
3334
|
|
3331
3335
|
function prevent(e) {
|