@nice2dev/ui-platform 1.0.11 → 1.0.14
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/README.md +14 -0
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +7 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1502,7 +1502,7 @@ const pt = {
|
|
|
1502
1502
|
smooth: !0
|
|
1503
1503
|
},
|
|
1504
1504
|
colorCycle: {
|
|
1505
|
-
colors: ["var(--text-primary, #000000)", "#111111", "#0a0a0a"],
|
|
1505
|
+
colors: ["var(--text-primary, #000000)", "var(--nice-text, #111111)", "var(--nice-bg, #0a0a0a)"],
|
|
1506
1506
|
interval: 3e4,
|
|
1507
1507
|
transitionDuration: 1e3
|
|
1508
1508
|
},
|
|
@@ -2101,8 +2101,8 @@ const _t = {
|
|
|
2101
2101
|
textAlign: "center",
|
|
2102
2102
|
textPosition: "bottom",
|
|
2103
2103
|
textMargin: 2,
|
|
2104
|
-
background: "#
|
|
2105
|
-
lineColor: "#000000",
|
|
2104
|
+
background: "var(--nice-bg, #fff)",
|
|
2105
|
+
lineColor: "var(--nice-text, #000000)",
|
|
2106
2106
|
margin: 10,
|
|
2107
2107
|
flat: !1
|
|
2108
2108
|
}, xe = 104, xt = 106, St = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", he = [
|
|
@@ -3041,8 +3041,8 @@ const Wt = {
|
|
|
3041
3041
|
errorCorrection: "M",
|
|
3042
3042
|
size: 200,
|
|
3043
3043
|
margin: 2,
|
|
3044
|
-
darkColor: "#000000",
|
|
3045
|
-
lightColor: "#
|
|
3044
|
+
darkColor: "var(--nice-text, #000000)",
|
|
3045
|
+
lightColor: "var(--nice-bg, #fff)",
|
|
3046
3046
|
logoSize: 0.2,
|
|
3047
3047
|
logoMargin: 1,
|
|
3048
3048
|
cornerRadius: 0
|
|
@@ -4909,13 +4909,14 @@ const hn = ce(null), gn = {
|
|
|
4909
4909
|
case "latest-wins":
|
|
4910
4910
|
Z = x.clientVersion.timestamp > x.serverVersion.timestamp ? x.clientVersion.data : x.serverVersion.data;
|
|
4911
4911
|
break;
|
|
4912
|
-
case "merge":
|
|
4912
|
+
case "merge": {
|
|
4913
4913
|
Z = await (J.merge || vn)(
|
|
4914
4914
|
x.clientVersion.data,
|
|
4915
4915
|
x.serverVersion.data,
|
|
4916
4916
|
(Q = x.baseVersion) == null ? void 0 : Q.data
|
|
4917
4917
|
);
|
|
4918
4918
|
break;
|
|
4919
|
+
}
|
|
4919
4920
|
case "manual":
|
|
4920
4921
|
if (W === void 0)
|
|
4921
4922
|
throw new Error("Manual resolution requires merged data");
|