@eclass/ui-kit 1.46.0 → 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
|
@@ -29923,6 +29923,8 @@ function Accessibility(props) {
|
|
|
29923
29923
|
height: "16",
|
|
29924
29924
|
viewBox: "0 0 16 16",
|
|
29925
29925
|
fill: "none",
|
|
29926
|
+
stroke: "#60798E",
|
|
29927
|
+
strokeWidth: 0.3,
|
|
29926
29928
|
children: /* @__PURE__ */ jsx("path", {
|
|
29927
29929
|
fillRule: "evenodd",
|
|
29928
29930
|
clipRule: "evenodd",
|
|
@@ -29949,7 +29951,6 @@ const waitForUserWay = async () => {
|
|
|
29949
29951
|
});
|
|
29950
29952
|
};
|
|
29951
29953
|
function UserWay({
|
|
29952
|
-
accountId = "06mvMZzmO4",
|
|
29953
29954
|
color: color2 = "#0189FF"
|
|
29954
29955
|
}) {
|
|
29955
29956
|
const [isUserWayReady, setIsUserWayReady] = useState(false);
|
|
@@ -29959,7 +29960,7 @@ function UserWay({
|
|
|
29959
29960
|
script.id = "userway-script";
|
|
29960
29961
|
script.src = "https://cdn.userway.org/widget.js";
|
|
29961
29962
|
script.async = true;
|
|
29962
|
-
script.setAttribute("data-account",
|
|
29963
|
+
script.setAttribute("data-account", "06mvMZzmO4");
|
|
29963
29964
|
script.setAttribute("data-color", color2);
|
|
29964
29965
|
script.setAttribute("data-trigger", "customTrigger");
|
|
29965
29966
|
document.body.appendChild(script);
|
|
@@ -29970,7 +29971,7 @@ function UserWay({
|
|
|
29970
29971
|
}).catch((error) => {
|
|
29971
29972
|
console.error("Failed to load UserWay:", error);
|
|
29972
29973
|
});
|
|
29973
|
-
}, [
|
|
29974
|
+
}, [color2]);
|
|
29974
29975
|
const handleButtonClick = () => {
|
|
29975
29976
|
var _a;
|
|
29976
29977
|
if (isUserWayReady && ((_a = window == null ? void 0 : window.UserWay) == null ? void 0 : _a.widgetOpen)) {
|
|
@@ -29984,7 +29985,7 @@ function UserWay({
|
|
|
29984
29985
|
alignItems: "center",
|
|
29985
29986
|
bg: vars("colors-main-blueGrey"),
|
|
29986
29987
|
borderRadius: "100%",
|
|
29987
|
-
border: "
|
|
29988
|
+
border: "1px solid transparent",
|
|
29988
29989
|
display: "flex",
|
|
29989
29990
|
height: "30px",
|
|
29990
29991
|
id: "customTrigger",
|