@eclass/ui-kit 1.57.7 → 1.57.8

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.
@@ -1783,37 +1783,43 @@ function BtnLink({
1783
1783
  }
1784
1784
  };
1785
1785
  return /* @__PURE__ */ jsx(Box, {
1786
+ ...stylesBtnLink,
1786
1787
  "aria-label": ariaLabel,
1787
1788
  as,
1788
1789
  autoFocus: false,
1789
- backgroundColor: "transparent",
1790
- borderStyle: "none",
1791
1790
  className: "linkButton",
1792
- color: vars("colors-main-deepSkyBlue"),
1793
1791
  cursor: isDisable ? "not-allowed" : "pointer",
1794
- fontFamily: "Roboto",
1795
1792
  fontSize,
1796
- fontStyle: "normal",
1797
- fontWeight: "500",
1798
1793
  id,
1799
- lineHeight: "1rem",
1800
1794
  onClick: isDisable ? void 0 : onClick,
1801
1795
  opacity: isDisable ? 0.5 : 1,
1802
- padding: ".25em",
1803
1796
  role,
1804
1797
  tabIndex,
1805
1798
  textDecorationLine: textDecorationLine ? "underline" : "none",
1806
- width: "fit-content",
1807
1799
  m: m2,
1808
- _hover: {
1809
- color: vars("colors-neutral-darkCharcoal"),
1810
- cursor: "pointer"
1811
- },
1812
1800
  ...typeButton[as],
1813
1801
  sx,
1814
1802
  children
1815
1803
  });
1816
1804
  }
1805
+ const stylesBtnLink = {
1806
+ backgroundColor: "transparent",
1807
+ borderStyle: "none",
1808
+ color: vars("colors-main-deepSkyBlue"),
1809
+ cursor: "pointer",
1810
+ fontFamily: "Roboto",
1811
+ fontSize: "1rem",
1812
+ fontStyle: "normal",
1813
+ fontWeight: "500",
1814
+ lineHeight: "1rem",
1815
+ padding: ".25em",
1816
+ textDecorationLine: "underline",
1817
+ width: "fit-content",
1818
+ _hover: {
1819
+ color: vars("colors-neutral-darkCharcoal"),
1820
+ cursor: "pointer"
1821
+ }
1822
+ };
1817
1823
  BtnLink.displayName = "BtnLink";
1818
1824
  const HelpIcon = () => {
1819
1825
  return /* @__PURE__ */ jsx("svg", {
@@ -2097,6 +2103,7 @@ function Header$1() {
2097
2103
  children: [(profile == null ? void 0 : profile.id) !== STUDENT && /* @__PURE__ */ jsx(Label, {
2098
2104
  bg: vars("colors-neutral-white"),
2099
2105
  children: /* @__PURE__ */ jsxs(Flex, {
2106
+ alignItems: "center",
2100
2107
  children: [/* @__PURE__ */ jsx(Profile, {
2101
2108
  m: "0 .25rem 0 0"
2102
2109
  }), profile == null ? void 0 : profile.name]
@@ -2110,6 +2117,10 @@ function Header$1() {
2110
2117
  const labelStyle = LABEL_STYLES[item.id];
2111
2118
  return /* @__PURE__ */ jsx(Label, {
2112
2119
  bg: labelStyle == null ? void 0 : labelStyle.bg,
2120
+ sx: {
2121
+ display: "flex",
2122
+ alignItems: "center"
2123
+ },
2113
2124
  children: item.text
2114
2125
  }, index2);
2115
2126
  })
@@ -2682,7 +2693,12 @@ const dataStates = {
2682
2693
  ...dataBase.action,
2683
2694
  enabled: false
2684
2695
  },
2685
- labels: []
2696
+ labels: [
2697
+ {
2698
+ id: "ADMIN",
2699
+ text: "Curso madre"
2700
+ }
2701
+ ]
2686
2702
  },
2687
2703
  activado: {
2688
2704
  ...dataBase,
@@ -7640,6 +7656,11 @@ const ModalAlertContent = ({
7640
7656
  fontSize: "16px",
7641
7657
  lineHeight: "24px",
7642
7658
  mb: 0,
7659
+ sx: {
7660
+ a: {
7661
+ ...stylesBtnLink
7662
+ }
7663
+ },
7643
7664
  children: descriptionParsed
7644
7665
  })]
7645
7666
  }), type !== "loading" && children ? children : /* @__PURE__ */ jsx(Fragment, {})]