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