@eclass/ui-kit 1.46.1 → 1.46.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/eclass-ui-kit.es.js
CHANGED
|
@@ -29924,7 +29924,7 @@ function Accessibility(props) {
|
|
|
29924
29924
|
viewBox: "0 0 16 16",
|
|
29925
29925
|
fill: "none",
|
|
29926
29926
|
stroke: "#60798E",
|
|
29927
|
-
strokeWidth: 0.
|
|
29927
|
+
strokeWidth: 0.3,
|
|
29928
29928
|
children: /* @__PURE__ */ jsx("path", {
|
|
29929
29929
|
fillRule: "evenodd",
|
|
29930
29930
|
clipRule: "evenodd",
|
|
@@ -29951,7 +29951,6 @@ const waitForUserWay = async () => {
|
|
|
29951
29951
|
});
|
|
29952
29952
|
};
|
|
29953
29953
|
function UserWay({
|
|
29954
|
-
accountId,
|
|
29955
29954
|
color: color2 = "#0189FF"
|
|
29956
29955
|
}) {
|
|
29957
29956
|
const [isUserWayReady, setIsUserWayReady] = useState(false);
|
|
@@ -29961,7 +29960,7 @@ function UserWay({
|
|
|
29961
29960
|
script.id = "userway-script";
|
|
29962
29961
|
script.src = "https://cdn.userway.org/widget.js";
|
|
29963
29962
|
script.async = true;
|
|
29964
|
-
script.setAttribute("data-account",
|
|
29963
|
+
script.setAttribute("data-account", "06mvMZzmO4");
|
|
29965
29964
|
script.setAttribute("data-color", color2);
|
|
29966
29965
|
script.setAttribute("data-trigger", "customTrigger");
|
|
29967
29966
|
document.body.appendChild(script);
|
|
@@ -29972,7 +29971,7 @@ function UserWay({
|
|
|
29972
29971
|
}).catch((error) => {
|
|
29973
29972
|
console.error("Failed to load UserWay:", error);
|
|
29974
29973
|
});
|
|
29975
|
-
}, [
|
|
29974
|
+
}, [color2]);
|
|
29976
29975
|
const handleButtonClick = () => {
|
|
29977
29976
|
var _a;
|
|
29978
29977
|
if (isUserWayReady && ((_a = window == null ? void 0 : window.UserWay) == null ? void 0 : _a.widgetOpen)) {
|