@mushi-mushi/web 1.7.1 → 1.7.2
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 +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1975,6 +1975,7 @@ var MushiWidget = class _MushiWidget {
|
|
|
1975
1975
|
this.attachedLaunchers = [];
|
|
1976
1976
|
this.removeSelectorHint();
|
|
1977
1977
|
this.removeNudge();
|
|
1978
|
+
this.removeBodyNudge();
|
|
1978
1979
|
this.host.remove();
|
|
1979
1980
|
}
|
|
1980
1981
|
syncAttachedLaunchers() {
|
|
@@ -2058,8 +2059,14 @@ var MushiWidget = class _MushiWidget {
|
|
|
2058
2059
|
this.removeBodyNudge();
|
|
2059
2060
|
return;
|
|
2060
2061
|
}
|
|
2061
|
-
if (!this.triggerVisible)
|
|
2062
|
-
|
|
2062
|
+
if (!this.triggerVisible) {
|
|
2063
|
+
this.removeBodyNudge();
|
|
2064
|
+
return;
|
|
2065
|
+
}
|
|
2066
|
+
if (this.isRouteHidden()) {
|
|
2067
|
+
this.removeBodyNudge();
|
|
2068
|
+
return;
|
|
2069
|
+
}
|
|
2063
2070
|
const bc = this.config.bannerConfig ?? {};
|
|
2064
2071
|
const variant = bc.variant ?? "brand";
|
|
2065
2072
|
const position = bc.position ?? "top";
|
|
@@ -4639,7 +4646,7 @@ function createProactiveManager(config = {}) {
|
|
|
4639
4646
|
|
|
4640
4647
|
// src/version.ts
|
|
4641
4648
|
var MUSHI_SDK_PACKAGE = "@mushi-mushi/web";
|
|
4642
|
-
var MUSHI_SDK_VERSION = "1.7.
|
|
4649
|
+
var MUSHI_SDK_VERSION = "1.7.2" ;
|
|
4643
4650
|
|
|
4644
4651
|
// src/mushi.ts
|
|
4645
4652
|
var instance = null;
|