@eclass/ui-kit 1.59.1 → 1.59.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
|
@@ -10902,7 +10902,7 @@ const UserDropdown = ({
|
|
|
10902
10902
|
height: isMobile ? "100%" : "auto",
|
|
10903
10903
|
borderRadius: !isMobile ? "10px" : "0",
|
|
10904
10904
|
bg: vars("colors-neutral-white"),
|
|
10905
|
-
">button": {
|
|
10905
|
+
">button, >chakra-link": {
|
|
10906
10906
|
borderBottom: isMobile ? `solid 1px ${vars("colors-neutral-platinum")}` : "none"
|
|
10907
10907
|
}
|
|
10908
10908
|
},
|
|
@@ -10962,7 +10962,7 @@ const UserDropdown = ({
|
|
|
10962
10962
|
const isLogout = type === "logout";
|
|
10963
10963
|
return /* @__PURE__ */ jsx(StyledMenuItem, {
|
|
10964
10964
|
"aria-label": onClick ? "Bot\xF3n" : `V\xEDnculo, ${label}`,
|
|
10965
|
-
as:
|
|
10965
|
+
as: onClick ? "button" : Link,
|
|
10966
10966
|
href: onClick ? void 0 : href,
|
|
10967
10967
|
onClick,
|
|
10968
10968
|
icon: view ? /* @__PURE__ */ jsx(Fragment, {
|