@eclass/ui-kit 1.57.7 → 1.57.9

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, {})]
@@ -9138,11 +9159,21 @@ const Url = () => {
9138
9159
  fill: "none",
9139
9160
  xmlns: "http://www.w3.org/2000/svg",
9140
9161
  children: [/* @__PURE__ */ jsx("path", {
9141
- d: "M38.5416 22.1768L33.6394 27.0768C33.5081 27.2102 33.4206 27.3611 33.2938 27.4989C35.6231 27.8201 37.785 28.8895 39.4537 30.5461C41.5013 32.5997 42.6511 35.3812 42.6511 38.2811C42.6511 41.181 41.5013 43.9626 39.4537 46.0161L27.4225 58.0474C25.3711 60.0988 22.5887 61.2513 19.6875 61.2513C16.7863 61.2513 14.004 60.0988 11.9525 58.0474C9.90105 55.9959 8.74856 53.2136 8.74856 50.3124C8.74856 47.4112 9.90105 44.6288 11.9525 42.5774L17.1697 37.3602C16.4134 34.4991 16.2423 31.5149 16.6666 28.5861L7.31281 37.9377C4.03084 41.2197 2.18705 45.671 2.18705 50.3124C2.18705 54.9538 4.03084 59.4051 7.31281 62.6871C10.5948 65.969 15.0461 67.8128 19.6875 67.8128C24.3289 67.8128 28.7802 65.969 32.0622 62.6871L44.0934 50.6558C46.1231 48.6313 47.6235 46.1386 48.4627 43.3975C49.3018 40.6563 49.4538 37.7508 48.9052 34.9371C48.3567 32.1233 47.1245 29.4877 45.3172 27.2625C43.5099 25.0372 41.183 23.2907 38.5416 22.1768Z",
9142
- fill: "white"
9162
+ stroke: "#fff",
9163
+ strokeWidth: 4,
9164
+ d: "M58.625 29.067 38.341 49.35"
9143
9165
  }), /* @__PURE__ */ jsx("path", {
9144
- d: "M37.9378 7.31274L25.9066 19.344C23.8769 21.3685 22.3765 23.8612 21.5373 26.6023C20.6982 29.3435 20.5462 32.249 21.0948 35.0627C21.6433 37.8765 22.8755 40.5121 24.6828 42.7373C26.4901 44.9626 28.817 46.7091 31.4584 47.8231L36.3606 42.9231C36.4919 42.7896 36.5947 42.6409 36.715 42.5009C34.3823 42.1823 32.2168 41.1127 30.5462 39.4537C28.4987 37.4001 27.3489 34.6186 27.3489 31.7187C27.3489 28.8188 28.4987 26.0372 30.5462 23.9837L42.5775 11.9524C44.629 9.90098 47.4113 8.74848 50.3125 8.74848C51.749 8.74848 53.1715 9.03143 54.4987 9.58116C55.8258 10.1309 57.0317 10.9367 58.0475 11.9524C59.0633 12.9682 59.869 14.1741 60.4188 15.5013C60.9685 16.8284 61.2514 18.2509 61.2514 19.6874C61.2514 21.1239 60.9685 22.5464 60.4188 23.8736C59.869 25.2008 59.0633 26.4067 58.0475 27.4224L52.8347 32.6331C53.5939 35.4851 53.7732 38.4605 53.3619 41.3831L62.6872 32.0577C65.9081 28.7633 67.6999 24.3316 67.6737 19.7243C67.6476 15.117 65.8055 10.7059 62.5473 7.44827C59.2891 4.19066 54.8777 2.34937 50.2704 2.324C45.6631 2.29862 41.2317 4.09121 37.9378 7.31274Z",
9145
- fill: "white"
9166
+ stroke: "#fff",
9167
+ strokeLinecap: "round",
9168
+ strokeWidth: 4,
9169
+ d: "M67.64 7.657H2.281V64H67.64V7.657ZM2.281 20.052H67.64"
9170
+ }), /* @__PURE__ */ jsx("path", {
9171
+ stroke: "#fff",
9172
+ strokeWidth: 4,
9173
+ d: "M40.59 29.067h18.03v18.03"
9174
+ }), /* @__PURE__ */ jsx("path", {
9175
+ fill: "#fff",
9176
+ d: "M8.48 15.544a1.69 1.69 0 1 0 0-3.38 1.69 1.69 0 0 0 0 3.38ZM15.24 15.544a1.69 1.69 0 1 0 0-3.38 1.69 1.69 0 0 0 0 3.38Z"
9146
9177
  })]
9147
9178
  });
9148
9179
  };
@@ -9193,6 +9224,8 @@ const StandardBackground = ({
9193
9224
  })]
9194
9225
  });
9195
9226
  };
9227
+ const StyledText = Text$1;
9228
+ const StyledLink = Link;
9196
9229
  const Resources = ({
9197
9230
  id,
9198
9231
  resourceType,
@@ -9228,7 +9261,7 @@ const Resources = ({
9228
9261
  };
9229
9262
  return colorMap[resourceType] || "#FFBC27";
9230
9263
  };
9231
- return /* @__PURE__ */ jsx(Link, {
9264
+ return /* @__PURE__ */ jsx(StyledLink, {
9232
9265
  href: resourceLink,
9233
9266
  target: targetBlank ? "_blank" : "_self",
9234
9267
  rel: targetBlank ? "noopener noreferrer" : void 0,
@@ -9250,7 +9283,6 @@ const Resources = ({
9250
9283
  textAlign: "center",
9251
9284
  alignItems: "center",
9252
9285
  display: "grid",
9253
- padding: "1rem",
9254
9286
  children: [/* @__PURE__ */ jsx(Icons, {
9255
9287
  type: resourceType
9256
9288
  }), /* @__PURE__ */ jsx(Box, {
@@ -9274,7 +9306,7 @@ const Resources = ({
9274
9306
  gap: "8px",
9275
9307
  padding: "1rem",
9276
9308
  children: [/* @__PURE__ */ jsx(Box, {
9277
- children: /* @__PURE__ */ jsx(Text$1, {
9309
+ children: /* @__PURE__ */ jsx(StyledText, {
9278
9310
  fontFamily: "Roboto",
9279
9311
  fontWeight: "700",
9280
9312
  lineHeight: "21px",
@@ -9284,7 +9316,7 @@ const Resources = ({
9284
9316
  children: resourceTitle
9285
9317
  })
9286
9318
  }), /* @__PURE__ */ jsx(Box, {
9287
- children: /* @__PURE__ */ jsx(Text$1, {
9319
+ children: /* @__PURE__ */ jsx(StyledText, {
9288
9320
  fontFamily: "Roboto",
9289
9321
  fontWeight: "400",
9290
9322
  lineHeight: "14px",
@@ -9297,7 +9329,7 @@ const Resources = ({
9297
9329
  display: "flex",
9298
9330
  alignItems: "center",
9299
9331
  justifyContent: "center",
9300
- children: /* @__PURE__ */ jsxs(Text$1, {
9332
+ children: /* @__PURE__ */ jsxs(StyledText, {
9301
9333
  fontFamily: "Roboto",
9302
9334
  fontWeight: "500",
9303
9335
  fontSize: "14px",