@eclass/ui-kit 1.18.0 → 1.18.3

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.
@@ -29195,24 +29195,29 @@ function BtnLink({
29195
29195
  });
29196
29196
  }
29197
29197
  BtnLink.displayName = "BtnLink";
29198
- const TooltipLabel = ({
29198
+ const NewTooltip = ({
29199
29199
  children,
29200
+ className = "tooltip",
29200
29201
  label,
29201
29202
  isDisabled: isDisabled2 = false,
29202
29203
  m: m2,
29204
+ maxWidth = "200px",
29203
29205
  placement = "bottom"
29204
29206
  }) => {
29205
29207
  return /* @__PURE__ */ jsx(Tooltip, {
29206
29208
  sx: {
29207
29209
  bg: vars("colors-neutral-darkCharcoal"),
29208
29210
  borderRadius: "10px",
29211
+ color: "white !important",
29209
29212
  fontSize: "12px",
29210
- maxWidth: "170px",
29213
+ fontWeight: "400",
29214
+ maxWidth,
29211
29215
  padding: "8px",
29212
29216
  ".chakra-tooltip__arrow": {
29213
29217
  bg: `${vars("colors-neutral-darkCharcoal")} !important`
29214
29218
  }
29215
29219
  },
29220
+ className,
29216
29221
  closeOnClick: true,
29217
29222
  label,
29218
29223
  m: m2,
@@ -30406,5 +30411,5 @@ function CourseList({
30406
30411
  });
30407
30412
  }
30408
30413
  CourseList.displayName = "CourseList";
30409
- export { Btn, BtnLink, BtnPrimary, BtnSecondary, BtnTertiary, CourseList, CourseStatus, index as Icons, Label, Progress, Ripples, TinyAlert, TooltipLabel, dataFake, maxWidthCoursesList, theme, vars };
30414
+ export { Btn, BtnLink, BtnPrimary, BtnSecondary, BtnTertiary, CourseList, CourseStatus, index as Icons, Label, NewTooltip, Progress, Ripples, TinyAlert, dataFake, maxWidthCoursesList, theme, vars };
30410
30415
  //# sourceMappingURL=eclass-ui-kit.es.js.map