@eclass/ui-kit 1.44.0 → 1.45.1
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
|
@@ -32044,6 +32044,9 @@ const LargeBox = ({
|
|
|
32044
32044
|
targetBlank,
|
|
32045
32045
|
isMobile
|
|
32046
32046
|
}) => {
|
|
32047
|
+
const cssActive = {
|
|
32048
|
+
boxShadow: `0 2px 7px 0 ${vars("colors-neutral-silverSand")}`
|
|
32049
|
+
};
|
|
32047
32050
|
return /* @__PURE__ */ jsx(Link, {
|
|
32048
32051
|
href: redirect,
|
|
32049
32052
|
_hover: {
|
|
@@ -32051,15 +32054,15 @@ const LargeBox = ({
|
|
|
32051
32054
|
},
|
|
32052
32055
|
target: targetBlank ? "_blank" : "_self",
|
|
32053
32056
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
32054
|
-
display: "
|
|
32057
|
+
display: "contents",
|
|
32055
32058
|
children: /* @__PURE__ */ jsxs(Flex, {
|
|
32056
32059
|
cursor: "pointer",
|
|
32057
|
-
transition: "box-shadow
|
|
32058
|
-
|
|
32059
|
-
|
|
32060
|
-
|
|
32060
|
+
transition: "box-shadow .3s",
|
|
32061
|
+
_active: cssActive,
|
|
32062
|
+
_hover: cssActive,
|
|
32063
|
+
_focus: cssActive,
|
|
32061
32064
|
w: "fit-content",
|
|
32062
|
-
borderRadius: "
|
|
32065
|
+
borderRadius: vars("radii-big"),
|
|
32063
32066
|
display: isMobile ? "block" : "flex",
|
|
32064
32067
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
32065
32068
|
width: "285px",
|
|
@@ -32071,8 +32074,7 @@ const LargeBox = ({
|
|
|
32071
32074
|
width: isMobile ? "285px" : "305px",
|
|
32072
32075
|
minHeight: isMobile ? "160px" : "168px",
|
|
32073
32076
|
borderRadius: isMobile ? "0 0 8px 8px" : "0 8px 8px 0",
|
|
32074
|
-
border: "
|
|
32075
|
-
borderColor: vars("colors-neutral-platinum"),
|
|
32077
|
+
border: vars("borders-light"),
|
|
32076
32078
|
display: "flex",
|
|
32077
32079
|
flexDirection: "column",
|
|
32078
32080
|
cursor: "pointer",
|
|
@@ -32096,7 +32098,7 @@ const LargeBox = ({
|
|
|
32096
32098
|
fontWeight: "400",
|
|
32097
32099
|
children: startDate
|
|
32098
32100
|
}), /* @__PURE__ */ jsx(Text, {
|
|
32099
|
-
color: vars("
|
|
32101
|
+
color: vars("borders-light"),
|
|
32100
32102
|
children: "|"
|
|
32101
32103
|
}), /* @__PURE__ */ jsx(Clock, {
|
|
32102
32104
|
color: vars("colors-main-ziggurat")
|
|
@@ -32105,7 +32107,7 @@ const LargeBox = ({
|
|
|
32105
32107
|
})]
|
|
32106
32108
|
})]
|
|
32107
32109
|
}), /* @__PURE__ */ jsx(Box, {
|
|
32108
|
-
borderTop:
|
|
32110
|
+
borderTop: `${vars("borders-light")}`,
|
|
32109
32111
|
width: "100%",
|
|
32110
32112
|
height: "50px",
|
|
32111
32113
|
padding: "12px",
|
|
@@ -32134,6 +32136,9 @@ const SmallBox = ({
|
|
|
32134
32136
|
eventImage,
|
|
32135
32137
|
targetBlank
|
|
32136
32138
|
}) => {
|
|
32139
|
+
const cssActive = {
|
|
32140
|
+
boxShadow: `0 2px 7px 0 ${vars("colors-neutral-silverSand")}`
|
|
32141
|
+
};
|
|
32137
32142
|
return /* @__PURE__ */ jsx(Link, {
|
|
32138
32143
|
href: redirect,
|
|
32139
32144
|
_hover: {
|
|
@@ -32141,22 +32146,21 @@ const SmallBox = ({
|
|
|
32141
32146
|
},
|
|
32142
32147
|
target: targetBlank ? "_blank" : "_self",
|
|
32143
32148
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
32144
|
-
display: "
|
|
32149
|
+
display: "contents",
|
|
32145
32150
|
children: /* @__PURE__ */ jsxs(Box, {
|
|
32146
32151
|
width: "286px",
|
|
32147
32152
|
height: "247px",
|
|
32148
|
-
borderRadius: "
|
|
32149
|
-
border: "
|
|
32150
|
-
borderColor: vars("colors-neutral-platinum"),
|
|
32153
|
+
borderRadius: vars("radii-big"),
|
|
32154
|
+
border: vars("borders-light"),
|
|
32151
32155
|
justifyContent: "center",
|
|
32152
32156
|
textAlign: "center",
|
|
32153
32157
|
display: "flex",
|
|
32154
32158
|
flexDirection: "column",
|
|
32155
32159
|
cursor: "pointer",
|
|
32156
|
-
transition: "box-shadow
|
|
32157
|
-
|
|
32158
|
-
|
|
32159
|
-
|
|
32160
|
+
transition: "box-shadow .3s",
|
|
32161
|
+
_active: cssActive,
|
|
32162
|
+
_hover: cssActive,
|
|
32163
|
+
_focus: cssActive,
|
|
32160
32164
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
32161
32165
|
flex: "1",
|
|
32162
32166
|
bgImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${eventImage})`,
|
|
@@ -32176,6 +32180,7 @@ const SmallBox = ({
|
|
|
32176
32180
|
gap: "8px",
|
|
32177
32181
|
children: [/* @__PURE__ */ jsx(Text, {
|
|
32178
32182
|
fontWeight: "700",
|
|
32183
|
+
m: "0px",
|
|
32179
32184
|
children: eventTitle
|
|
32180
32185
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
32181
32186
|
display: "flex",
|
|
@@ -32183,10 +32188,13 @@ const SmallBox = ({
|
|
|
32183
32188
|
gap: "4px",
|
|
32184
32189
|
children: [/* @__PURE__ */ jsx(Calendar, {}), /* @__PURE__ */ jsx(Text, {
|
|
32185
32190
|
fontWeight: "400",
|
|
32191
|
+
m: "0px",
|
|
32186
32192
|
children: startDate
|
|
32187
32193
|
}), /* @__PURE__ */ jsx(Text, {
|
|
32194
|
+
m: "0px",
|
|
32188
32195
|
children: "|"
|
|
32189
32196
|
}), /* @__PURE__ */ jsx(Clock, {}), /* @__PURE__ */ jsx(Text, {
|
|
32197
|
+
m: "0px",
|
|
32190
32198
|
children: startTime
|
|
32191
32199
|
})]
|
|
32192
32200
|
})]
|
|
@@ -33191,6 +33199,9 @@ const Resources = ({
|
|
|
33191
33199
|
resourceLink,
|
|
33192
33200
|
targetBlank
|
|
33193
33201
|
}) => {
|
|
33202
|
+
const cssActive = {
|
|
33203
|
+
boxShadow: `0 2px 7px 0 ${vars("colors-neutral-silverSand")}`
|
|
33204
|
+
};
|
|
33194
33205
|
return /* @__PURE__ */ jsx(Link, {
|
|
33195
33206
|
href: resourceLink,
|
|
33196
33207
|
target: targetBlank ? "_blank" : "_self",
|
|
@@ -33198,21 +33209,21 @@ const Resources = ({
|
|
|
33198
33209
|
_hover: {
|
|
33199
33210
|
textDecoration: "none"
|
|
33200
33211
|
},
|
|
33212
|
+
display: "contents",
|
|
33201
33213
|
children: /* @__PURE__ */ jsxs(Box, {
|
|
33202
33214
|
width: "285px",
|
|
33203
33215
|
height: "147px",
|
|
33204
|
-
borderRadius: "
|
|
33205
|
-
border: "
|
|
33206
|
-
borderColor: vars("colors-neutral-platinum"),
|
|
33216
|
+
borderRadius: vars("radii-big"),
|
|
33217
|
+
border: vars("borders-light"),
|
|
33207
33218
|
justifyContent: "center",
|
|
33208
33219
|
textAlign: "center",
|
|
33209
33220
|
display: "grid",
|
|
33210
33221
|
gap: "8px",
|
|
33211
|
-
padding:
|
|
33212
|
-
transition: "box-shadow
|
|
33213
|
-
|
|
33214
|
-
|
|
33215
|
-
|
|
33222
|
+
padding: "1rem",
|
|
33223
|
+
transition: "box-shadow .3s",
|
|
33224
|
+
_active: cssActive,
|
|
33225
|
+
_hover: cssActive,
|
|
33226
|
+
_focus: cssActive,
|
|
33216
33227
|
cursor: "pointer",
|
|
33217
33228
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
33218
33229
|
children: /* @__PURE__ */ jsx(Icons, {
|
|
@@ -33225,6 +33236,7 @@ const Resources = ({
|
|
|
33225
33236
|
lineHeight: "21px",
|
|
33226
33237
|
fontSize: "16px",
|
|
33227
33238
|
color: "#555555",
|
|
33239
|
+
m: "0px",
|
|
33228
33240
|
children: resourceTitle
|
|
33229
33241
|
})
|
|
33230
33242
|
}), /* @__PURE__ */ jsx(Box, {
|
|
@@ -33234,6 +33246,7 @@ const Resources = ({
|
|
|
33234
33246
|
lineHeight: "14px",
|
|
33235
33247
|
fontSize: "12px",
|
|
33236
33248
|
color: "#555555",
|
|
33249
|
+
m: "0px",
|
|
33237
33250
|
children: resourceDetail
|
|
33238
33251
|
})
|
|
33239
33252
|
}), /* @__PURE__ */ jsx(Box, {
|
|
@@ -33249,6 +33262,7 @@ const Resources = ({
|
|
|
33249
33262
|
textDecoration: "underline",
|
|
33250
33263
|
gap: "8px",
|
|
33251
33264
|
display: "flex",
|
|
33265
|
+
m: "0px",
|
|
33252
33266
|
children: [/* @__PURE__ */ jsx(Download, {
|
|
33253
33267
|
color: vars("colors-main-deepSkyBlue")
|
|
33254
33268
|
}), resourceTextDownload]
|