@eclass/ui-kit 1.49.1 → 1.49.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.
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -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",
|
|
@@ -30037,12 +30035,14 @@ function Header() {
|
|
|
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:
|
|
30038
|
+
zIndex: 0
|
|
30041
30039
|
},
|
|
30042
30040
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
30043
30041
|
p: "1rem",
|
|
30044
30042
|
display: "flex",
|
|
30045
30043
|
gap: "0.625rem",
|
|
30044
|
+
position: "absolute",
|
|
30045
|
+
zIndex: 2,
|
|
30046
30046
|
children: [(profile == null ? void 0 : profile.id) !== STUDENT && /* @__PURE__ */ jsx(Label, {
|
|
30047
30047
|
bg: vars("colors-neutral-white"),
|
|
30048
30048
|
m: "0 0 .625rem 0",
|
|
@@ -30055,6 +30055,7 @@ function Header() {
|
|
|
30055
30055
|
direction: "row",
|
|
30056
30056
|
spacing: ".625rem",
|
|
30057
30057
|
wrap: "wrap",
|
|
30058
|
+
zIndex: 2,
|
|
30058
30059
|
children: labels.map((item, index2) => /* @__PURE__ */ jsx(Label, {
|
|
30059
30060
|
bg: item.id === "NEW" ? vars("colors-secondary-pumpkin") : void 0,
|
|
30060
30061
|
children: item.text
|
|
@@ -30063,6 +30064,7 @@ function Header() {
|
|
|
30063
30064
|
direction: "row",
|
|
30064
30065
|
spacing: ".625rem",
|
|
30065
30066
|
wrap: "wrap",
|
|
30067
|
+
zIndex: 2,
|
|
30066
30068
|
children: /* @__PURE__ */ jsx(Label, {
|
|
30067
30069
|
children: soonCourse.text
|
|
30068
30070
|
})
|
|
@@ -30078,6 +30080,7 @@ function Header() {
|
|
|
30078
30080
|
overflow: "hidden",
|
|
30079
30081
|
borderRadius: vars("radii-small"),
|
|
30080
30082
|
w: "6.25rem",
|
|
30083
|
+
zIndex: 2,
|
|
30081
30084
|
children: /* @__PURE__ */ jsx(Image$1, {
|
|
30082
30085
|
src: logo,
|
|
30083
30086
|
alt: logoAlt != null ? logoAlt : "logo",
|
|
@@ -31098,6 +31101,42 @@ const dataStates = {
|
|
|
31098
31101
|
show: true,
|
|
31099
31102
|
text: "Pr\xF3ximamente"
|
|
31100
31103
|
},
|
|
31104
|
+
labels: []
|
|
31105
|
+
},
|
|
31106
|
+
proximamente2: {
|
|
31107
|
+
...dataBase,
|
|
31108
|
+
id: 23,
|
|
31109
|
+
hasFinanzeFreezed: false,
|
|
31110
|
+
status: {
|
|
31111
|
+
...dataBase.status,
|
|
31112
|
+
id: 3,
|
|
31113
|
+
name: "inscripcion"
|
|
31114
|
+
},
|
|
31115
|
+
progress: {
|
|
31116
|
+
...dataBase.progress,
|
|
31117
|
+
label: "Tu curso iniciara el Lunes 16 de Enero de 2023",
|
|
31118
|
+
icon: "schedule"
|
|
31119
|
+
},
|
|
31120
|
+
dateStatus: {
|
|
31121
|
+
...dataBase.dateStatus,
|
|
31122
|
+
hasDates: true
|
|
31123
|
+
},
|
|
31124
|
+
information: [
|
|
31125
|
+
{
|
|
31126
|
+
icon: "certificate",
|
|
31127
|
+
text: "Certificado por ACHS",
|
|
31128
|
+
href: ""
|
|
31129
|
+
}
|
|
31130
|
+
],
|
|
31131
|
+
action: {
|
|
31132
|
+
...dataBase.action,
|
|
31133
|
+
text: "Ver informacion del curso",
|
|
31134
|
+
targetBlank: true
|
|
31135
|
+
},
|
|
31136
|
+
soonCourse: {
|
|
31137
|
+
show: true,
|
|
31138
|
+
text: "Pr\xF3ximamente"
|
|
31139
|
+
},
|
|
31101
31140
|
labels: [
|
|
31102
31141
|
{
|
|
31103
31142
|
id: "OBLIGATORY",
|