@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.
- package/.turbo/turbo-build.log +5 -5
- package/dist/index.js +8 -3
- package/dist/index.umd.cjs +2 -2
- package/dist/utils/colors.test.d.ts +1 -0
- package/package.json +2 -2
- package/vitest.config.ts +7 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@2.2.
|
|
2
|
+
> @botpress/webchat@2.2.8 build /home/runner/work/echo/echo/packages/webchat-frontend
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v4.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -17,10 +17,10 @@ rendering chunks...
|
|
|
17
17
|
[32m
|
|
18
18
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
19
19
|
computing gzip size...
|
|
20
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
20
|
+
[32m[36m[vite:dts][32m Declaration files built in 16528ms.
|
|
21
21
|
[39m
|
|
22
22
|
[2mdist/[22m[35mstyle.css [39m[1m[2m 28.87 kB[22m[1m[22m[2m │ gzip: 5.57 kB[22m
|
|
23
|
-
[2mdist/[22m[36mindex.js [39m[1m[33m1,410.
|
|
23
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m1,410.53 kB[39m[22m[2m │ gzip: 355.20 kB[22m
|
|
24
24
|
[2mdist/[22m[35mstyle.css [39m[1m[2m 28.87 kB[22m[1m[22m[2m │ gzip: 5.57 kB[22m
|
|
25
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m985.
|
|
26
|
-
[32m✓ built in
|
|
25
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m985.35 kB[39m[22m[2m │ gzip: 298.11 kB[22m
|
|
26
|
+
[32m✓ built in 27.71s[39m
|
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
|
-
|
|
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(
|
|
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) {
|