@eclass/ui-kit 1.45.0 → 1.45.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.
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: {
|
|
@@ -32054,10 +32057,10 @@ const LargeBox = ({
|
|
|
32054
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
32065
|
borderRadius: vars("radii-big"),
|
|
32063
32066
|
display: isMobile ? "block" : "flex",
|
|
@@ -32133,6 +32136,9 @@ const SmallBox = ({
|
|
|
32133
32136
|
eventImage,
|
|
32134
32137
|
targetBlank
|
|
32135
32138
|
}) => {
|
|
32139
|
+
const cssActive = {
|
|
32140
|
+
boxShadow: `0 2px 7px 0 ${vars("colors-neutral-silverSand")}`
|
|
32141
|
+
};
|
|
32136
32142
|
return /* @__PURE__ */ jsx(Link, {
|
|
32137
32143
|
href: redirect,
|
|
32138
32144
|
_hover: {
|
|
@@ -32151,10 +32157,10 @@ const SmallBox = ({
|
|
|
32151
32157
|
display: "flex",
|
|
32152
32158
|
flexDirection: "column",
|
|
32153
32159
|
cursor: "pointer",
|
|
32154
|
-
transition: "box-shadow
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32160
|
+
transition: "box-shadow .3s",
|
|
32161
|
+
_active: cssActive,
|
|
32162
|
+
_hover: cssActive,
|
|
32163
|
+
_focus: cssActive,
|
|
32158
32164
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
32159
32165
|
flex: "1",
|
|
32160
32166
|
bgImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${eventImage})`,
|
|
@@ -33193,72 +33199,74 @@ const Resources = ({
|
|
|
33193
33199
|
resourceLink,
|
|
33194
33200
|
targetBlank
|
|
33195
33201
|
}) => {
|
|
33202
|
+
const cssActive = {
|
|
33203
|
+
boxShadow: `0 2px 7px 0 ${vars("colors-neutral-silverSand")}`
|
|
33204
|
+
};
|
|
33196
33205
|
return /* @__PURE__ */ jsx(Link, {
|
|
33197
33206
|
href: resourceLink,
|
|
33198
33207
|
target: targetBlank ? "_blank" : "_self",
|
|
33199
33208
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
33200
|
-
|
|
33201
|
-
|
|
33202
|
-
|
|
33203
|
-
|
|
33204
|
-
|
|
33205
|
-
|
|
33206
|
-
|
|
33207
|
-
|
|
33208
|
-
|
|
33209
|
-
|
|
33210
|
-
|
|
33211
|
-
|
|
33212
|
-
gap: "8px",
|
|
33213
|
-
padding: "1rem",
|
|
33214
|
-
transition: "box-shadow 0.3s ease-in-out",
|
|
33215
|
-
_hover: {
|
|
33216
|
-
shadow: "sm"
|
|
33217
|
-
},
|
|
33218
|
-
cursor: "pointer",
|
|
33219
|
-
children: [/* @__PURE__ */ jsx(Box, {
|
|
33220
|
-
children: /* @__PURE__ */ jsx(Icons, {
|
|
33221
|
-
type: resourceType
|
|
33222
|
-
})
|
|
33223
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33224
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
33225
|
-
fontFamily: "Roboto",
|
|
33226
|
-
fontWeight: "700",
|
|
33227
|
-
lineHeight: "21px",
|
|
33228
|
-
fontSize: "16px",
|
|
33229
|
-
color: "#555555",
|
|
33230
|
-
m: "0px",
|
|
33231
|
-
children: resourceTitle
|
|
33232
|
-
})
|
|
33233
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33234
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
33235
|
-
fontFamily: "Roboto",
|
|
33236
|
-
fontWeight: "400",
|
|
33237
|
-
lineHeight: "14px",
|
|
33238
|
-
fontSize: "12px",
|
|
33239
|
-
color: "#555555",
|
|
33240
|
-
m: "0px",
|
|
33241
|
-
children: resourceDetail
|
|
33242
|
-
})
|
|
33243
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33244
|
-
display: "flex",
|
|
33245
|
-
alignItems: "center",
|
|
33209
|
+
transition: "box-shadow 0.3s",
|
|
33210
|
+
_active: cssActive,
|
|
33211
|
+
_hover: cssActive,
|
|
33212
|
+
_focus: cssActive,
|
|
33213
|
+
cursor: "pointer",
|
|
33214
|
+
borderRadius: vars("radii-big"),
|
|
33215
|
+
border: vars("borders-light"),
|
|
33216
|
+
overflow: "hidden",
|
|
33217
|
+
children: /* @__PURE__ */ jsx(Ripples, {
|
|
33218
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
33219
|
+
width: "285px",
|
|
33220
|
+
height: "147px",
|
|
33246
33221
|
justifyContent: "center",
|
|
33247
|
-
|
|
33248
|
-
|
|
33249
|
-
|
|
33250
|
-
|
|
33251
|
-
|
|
33252
|
-
|
|
33253
|
-
|
|
33254
|
-
|
|
33222
|
+
textAlign: "center",
|
|
33223
|
+
display: "grid",
|
|
33224
|
+
gap: "8px",
|
|
33225
|
+
padding: "1rem",
|
|
33226
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
33227
|
+
children: /* @__PURE__ */ jsx(Icons, {
|
|
33228
|
+
type: resourceType
|
|
33229
|
+
})
|
|
33230
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33231
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
33232
|
+
fontFamily: "Roboto",
|
|
33233
|
+
fontWeight: "700",
|
|
33234
|
+
lineHeight: "21px",
|
|
33235
|
+
fontSize: "16px",
|
|
33236
|
+
color: "#555555",
|
|
33237
|
+
m: "0px",
|
|
33238
|
+
children: resourceTitle
|
|
33239
|
+
})
|
|
33240
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33241
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
33242
|
+
fontFamily: "Roboto",
|
|
33243
|
+
fontWeight: "400",
|
|
33244
|
+
lineHeight: "14px",
|
|
33245
|
+
fontSize: "12px",
|
|
33246
|
+
color: "#555555",
|
|
33247
|
+
m: "0px",
|
|
33248
|
+
children: resourceDetail
|
|
33249
|
+
})
|
|
33250
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33255
33251
|
display: "flex",
|
|
33256
|
-
|
|
33257
|
-
|
|
33258
|
-
|
|
33259
|
-
|
|
33260
|
-
|
|
33261
|
-
|
|
33252
|
+
alignItems: "center",
|
|
33253
|
+
justifyContent: "center",
|
|
33254
|
+
children: /* @__PURE__ */ jsxs(Text, {
|
|
33255
|
+
fontFamily: "Roboto",
|
|
33256
|
+
fontWeight: "500",
|
|
33257
|
+
fontSize: "14px",
|
|
33258
|
+
lineHeight: "16px",
|
|
33259
|
+
color: vars("colors-neutral-gray"),
|
|
33260
|
+
textDecoration: "underline",
|
|
33261
|
+
gap: "8px",
|
|
33262
|
+
display: "flex",
|
|
33263
|
+
m: "0px",
|
|
33264
|
+
children: [/* @__PURE__ */ jsx(Download, {
|
|
33265
|
+
color: vars("colors-main-deepSkyBlue")
|
|
33266
|
+
}), resourceTextDownload]
|
|
33267
|
+
})
|
|
33268
|
+
})]
|
|
33269
|
+
})
|
|
33262
33270
|
})
|
|
33263
33271
|
});
|
|
33264
33272
|
};
|