@eclass/ui-kit 1.49.0 → 1.49.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.
@@ -30021,8 +30021,6 @@ function Header() {
30021
30021
  } = React.useContext(CourseBoxContext);
30022
30022
  return /* @__PURE__ */ jsxs(Box, {
30023
30023
  as: "header",
30024
- bgPos: "center",
30025
- bgSize: "cover",
30026
30024
  height: "8.75rem",
30027
30025
  borderBottom: vars("borders-light"),
30028
30026
  pos: "relative",
@@ -30033,11 +30031,11 @@ function Header() {
30033
30031
  left: 0,
30034
30032
  width: "100%",
30035
30033
  height: "100%",
30036
- backgroundImage: background2,
30034
+ backgroundImage: `url(${background2 != null ? background2 : ""})`,
30037
30035
  backgroundSize: "cover",
30038
30036
  backgroundPosition: "center",
30039
30037
  opacity: ((_a = soonCourse == null ? void 0 : soonCourse.show) != null ? _a : false) ? 0.3 : 1,
30040
- zIndex: -1
30038
+ zIndex: 0
30041
30039
  },
30042
30040
  children: [/* @__PURE__ */ jsxs(Box, {
30043
30041
  p: "1rem",
@@ -30055,6 +30053,7 @@ function Header() {
30055
30053
  direction: "row",
30056
30054
  spacing: ".625rem",
30057
30055
  wrap: "wrap",
30056
+ zIndex: 2,
30058
30057
  children: labels.map((item, index2) => /* @__PURE__ */ jsx(Label, {
30059
30058
  bg: item.id === "NEW" ? vars("colors-secondary-pumpkin") : void 0,
30060
30059
  children: item.text
@@ -30063,6 +30062,7 @@ function Header() {
30063
30062
  direction: "row",
30064
30063
  spacing: ".625rem",
30065
30064
  wrap: "wrap",
30065
+ zIndex: 2,
30066
30066
  children: /* @__PURE__ */ jsx(Label, {
30067
30067
  children: soonCourse.text
30068
30068
  })