@botpress/webchat 2.2.7 → 2.2.8

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/webchat@2.2.7 build /home/runner/work/echo/echo/packages/webchat-frontend
2
+ > @botpress/webchat@2.2.8 build /home/runner/work/echo/echo/packages/webchat-frontend
3
3
  > vite build
4
4
 
5
5
  vite v4.4.11 building for production...
@@ -17,10 +17,10 @@ rendering chunks...
17
17
  
18
18
  [vite:dts] Start generate declaration files...
19
19
  computing gzip size...
20
- [vite:dts] Declaration files built in 15273ms.
20
+ [vite:dts] Declaration files built in 16528ms.
21
21
  
22
22
  dist/style.css  28.87 kB │ gzip: 5.57 kB
23
- dist/index.js 1,410.48 kB │ gzip: 355.19 kB
23
+ dist/index.js 1,410.53 kB │ gzip: 355.20 kB
24
24
  dist/style.css  28.87 kB │ gzip: 5.57 kB
25
- dist/index.umd.cjs 985.33 kB │ gzip: 298.11 kB
26
- ✓ built in 25.74s
25
+ dist/index.umd.cjs 985.35 kB │ gzip: 298.11 kB
26
+ ✓ built in 27.71s
package/dist/index.js CHANGED
@@ -14760,7 +14760,7 @@ const oc = Z.object({
14760
14760
  });
14761
14761
  function w4(e) {
14762
14762
  const { fontFamily: t, radius: r, themeMode: n, variant: o, color: i } = FR.parse(e);
14763
- let a = {}, s;
14763
+ let a = {}, s = {};
14764
14764
  if (i) {
14765
14765
  const u = mx(i), d = n === "dark" ? ax(u) : u, p = mx(D5(L5(ig(i)))), f = n === "dark" ? ax(p) : p, h = n === "dark" ? "#101010" : "#fdfdfd";
14766
14766
  s = Object.entries({ ...d, 1: h }).reduce(
@@ -24468,10 +24468,15 @@ var kV = EV;
24468
24468
  "#FFCC33"
24469
24469
  ];
24470
24470
  function r() {
24471
- return typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs) ? !0 : typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/) ? !1 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
24471
+ if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs))
24472
+ return !0;
24473
+ if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
24474
+ return !1;
24475
+ let c;
24476
+ return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
24472
24477
  typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
24473
24478
  // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
24474
- typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
24479
+ typeof navigator < "u" && navigator.userAgent && (c = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(c[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
24475
24480
  typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
24476
24481
  }
24477
24482
  function n(c) {