pangea-lib 2.0.4 → 2.0.6
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/main.cjs.js +15 -15
- package/dist/main.es.js +22 -28
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1014,7 +1014,7 @@ const Cn = {
|
|
|
1014
1014
|
link: "#0064ff",
|
|
1015
1015
|
error: "#e11515"
|
|
1016
1016
|
}, fz = {
|
|
1017
|
-
colors: Cn
|
|
1017
|
+
colors: { ...Cn }
|
|
1018
1018
|
};
|
|
1019
1019
|
function E4(e, c) {
|
|
1020
1020
|
let a = 0, t = 0, n = 0, r = 0;
|
|
@@ -1030,33 +1030,27 @@ function E4(e, c) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
return `rgba(${a}, ${t}, ${n}, ${r * c})`;
|
|
1032
1032
|
}
|
|
1033
|
-
const U4 = Mn(
|
|
1034
|
-
|
|
1035
|
-
(
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
(t
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
e.value = t;
|
|
1055
|
-
}
|
|
1056
|
-
return { colors: e, setColor: c, setColors: a };
|
|
1057
|
-
},
|
|
1058
|
-
{ persist: !0 }
|
|
1059
|
-
);
|
|
1033
|
+
const U4 = Mn("pga-colors", () => {
|
|
1034
|
+
const e = f1({ ...Cn });
|
|
1035
|
+
h3(
|
|
1036
|
+
e,
|
|
1037
|
+
(t) => {
|
|
1038
|
+
const n = document.querySelector(":root");
|
|
1039
|
+
for (const r in t) {
|
|
1040
|
+
const i = `--pga${r.charAt(0).toUpperCase()}${r.slice(1)}Color`, s = t[r];
|
|
1041
|
+
n.style.setProperty(i, s);
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
{ deep: !0, immediate: !0 }
|
|
1045
|
+
);
|
|
1046
|
+
function c(t, n) {
|
|
1047
|
+
e.value[t] = n;
|
|
1048
|
+
}
|
|
1049
|
+
function a(t) {
|
|
1050
|
+
e.value = t;
|
|
1051
|
+
}
|
|
1052
|
+
return { colors: e, setColor: c, setColors: a };
|
|
1053
|
+
});
|
|
1060
1054
|
const uz = { class: "badge" }, hz = /* @__PURE__ */ Z1({
|
|
1061
1055
|
__name: "PgaBadge",
|
|
1062
1056
|
props: {
|