@eclass/ui-kit 1.45.1 → 1.45.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
|
@@ -32049,80 +32049,80 @@ const LargeBox = ({
|
|
|
32049
32049
|
};
|
|
32050
32050
|
return /* @__PURE__ */ jsx(Link, {
|
|
32051
32051
|
href: redirect,
|
|
32052
|
-
_hover: {
|
|
32053
|
-
textDecoration: "none"
|
|
32054
|
-
},
|
|
32055
32052
|
target: targetBlank ? "_blank" : "_self",
|
|
32056
32053
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
32057
|
-
|
|
32058
|
-
|
|
32059
|
-
|
|
32060
|
-
|
|
32061
|
-
|
|
32062
|
-
|
|
32063
|
-
|
|
32064
|
-
|
|
32065
|
-
|
|
32066
|
-
display: isMobile ? "block" : "flex",
|
|
32067
|
-
children: [/* @__PURE__ */ jsx(Box, {
|
|
32068
|
-
width: "285px",
|
|
32069
|
-
height: isMobile ? "140px" : "168px",
|
|
32070
|
-
bgImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${eventImage})`,
|
|
32071
|
-
backgroundSize: "cover",
|
|
32072
|
-
borderRadius: isMobile ? "8px 8px 0px 0px" : "8px 0 0 8px"
|
|
32073
|
-
}), /* @__PURE__ */ jsxs(Box, {
|
|
32074
|
-
width: isMobile ? "285px" : "305px",
|
|
32075
|
-
minHeight: isMobile ? "160px" : "168px",
|
|
32076
|
-
borderRadius: isMobile ? "0 0 8px 8px" : "0 8px 8px 0",
|
|
32077
|
-
border: vars("borders-light"),
|
|
32078
|
-
display: "flex",
|
|
32079
|
-
flexDirection: "column",
|
|
32054
|
+
w: "fit-content",
|
|
32055
|
+
h: "fit-content",
|
|
32056
|
+
transition: "box-shadow .3s",
|
|
32057
|
+
borderRadius: vars("radii-big"),
|
|
32058
|
+
_active: cssActive,
|
|
32059
|
+
_hover: cssActive,
|
|
32060
|
+
_focus: cssActive,
|
|
32061
|
+
children: /* @__PURE__ */ jsx(Ripples, {
|
|
32062
|
+
children: /* @__PURE__ */ jsxs(Flex, {
|
|
32080
32063
|
cursor: "pointer",
|
|
32081
|
-
|
|
32082
|
-
|
|
32083
|
-
|
|
32084
|
-
|
|
32085
|
-
|
|
32086
|
-
|
|
32087
|
-
|
|
32088
|
-
|
|
32089
|
-
|
|
32090
|
-
|
|
32091
|
-
|
|
32092
|
-
|
|
32093
|
-
|
|
32094
|
-
|
|
32095
|
-
|
|
32096
|
-
|
|
32097
|
-
|
|
32098
|
-
|
|
32099
|
-
|
|
32100
|
-
|
|
32101
|
-
|
|
32102
|
-
|
|
32103
|
-
|
|
32104
|
-
|
|
32105
|
-
|
|
32106
|
-
children:
|
|
32064
|
+
w: "fit-content",
|
|
32065
|
+
display: isMobile ? "block" : "flex",
|
|
32066
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
32067
|
+
width: "285px",
|
|
32068
|
+
height: isMobile ? "140px" : "168px",
|
|
32069
|
+
bgImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${eventImage})`,
|
|
32070
|
+
backgroundSize: "cover",
|
|
32071
|
+
borderRadius: isMobile ? "8px 8px 0px 0px" : "8px 0 0 8px"
|
|
32072
|
+
}), /* @__PURE__ */ jsxs(Box, {
|
|
32073
|
+
width: isMobile ? "285px" : "305px",
|
|
32074
|
+
minHeight: isMobile ? "160px" : "168px",
|
|
32075
|
+
borderRadius: isMobile ? "0 0 8px 8px" : "0 8px 8px 0",
|
|
32076
|
+
border: vars("borders-light"),
|
|
32077
|
+
display: "flex",
|
|
32078
|
+
flexDirection: "column",
|
|
32079
|
+
cursor: "pointer",
|
|
32080
|
+
children: [/* @__PURE__ */ jsxs(Box, {
|
|
32081
|
+
width: "inherit",
|
|
32082
|
+
height: "100%",
|
|
32083
|
+
padding: "4",
|
|
32084
|
+
color: "#555555",
|
|
32085
|
+
gap: "16px",
|
|
32086
|
+
display: "grid",
|
|
32087
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
32088
|
+
fontWeight: "700",
|
|
32089
|
+
children: eventTitle
|
|
32090
|
+
}), /* @__PURE__ */ jsxs(Box, {
|
|
32091
|
+
display: "flex",
|
|
32092
|
+
alignItems: "center",
|
|
32093
|
+
gap: "4px",
|
|
32094
|
+
children: [/* @__PURE__ */ jsx(Calendar, {
|
|
32095
|
+
color: vars("colors-main-ziggurat")
|
|
32096
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
32097
|
+
fontWeight: "400",
|
|
32098
|
+
children: startDate
|
|
32099
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
32100
|
+
color: vars("borders-light"),
|
|
32101
|
+
children: "|"
|
|
32102
|
+
}), /* @__PURE__ */ jsx(Clock, {
|
|
32103
|
+
color: vars("colors-main-ziggurat")
|
|
32104
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
32105
|
+
children: startTime
|
|
32106
|
+
})]
|
|
32107
32107
|
})]
|
|
32108
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
32109
|
+
borderTop: `${vars("borders-light")}`,
|
|
32110
|
+
width: "100%",
|
|
32111
|
+
height: "50px",
|
|
32112
|
+
padding: "12px",
|
|
32113
|
+
backgroundColor: "white",
|
|
32114
|
+
alignItems: "center",
|
|
32115
|
+
display: "flex",
|
|
32116
|
+
justifyContent: "center",
|
|
32117
|
+
borderRadius: " 0 0 8px 8px",
|
|
32118
|
+
fontSize: "16px",
|
|
32119
|
+
fontFamily: "Roboto",
|
|
32120
|
+
color: vars("colors-main-deepSkyBlue"),
|
|
32121
|
+
fontWeight: "500",
|
|
32122
|
+
children: buttonInfo
|
|
32108
32123
|
})]
|
|
32109
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
32110
|
-
borderTop: `${vars("borders-light")}`,
|
|
32111
|
-
width: "100%",
|
|
32112
|
-
height: "50px",
|
|
32113
|
-
padding: "12px",
|
|
32114
|
-
backgroundColor: "white",
|
|
32115
|
-
alignItems: "center",
|
|
32116
|
-
display: "flex",
|
|
32117
|
-
justifyContent: "center",
|
|
32118
|
-
borderRadius: " 0 0 8px 8px",
|
|
32119
|
-
fontSize: "16px",
|
|
32120
|
-
fontFamily: "Roboto",
|
|
32121
|
-
color: vars("colors-main-deepSkyBlue"),
|
|
32122
|
-
fontWeight: "500",
|
|
32123
|
-
children: buttonInfo
|
|
32124
32124
|
})]
|
|
32125
|
-
})
|
|
32125
|
+
})
|
|
32126
32126
|
})
|
|
32127
32127
|
}, id2);
|
|
32128
32128
|
};
|
|
@@ -32141,78 +32141,79 @@ const SmallBox = ({
|
|
|
32141
32141
|
};
|
|
32142
32142
|
return /* @__PURE__ */ jsx(Link, {
|
|
32143
32143
|
href: redirect,
|
|
32144
|
-
_hover: {
|
|
32145
|
-
textDecoration: "none"
|
|
32146
|
-
},
|
|
32147
32144
|
target: targetBlank ? "_blank" : "_self",
|
|
32148
32145
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
32149
|
-
|
|
32150
|
-
|
|
32151
|
-
|
|
32152
|
-
|
|
32153
|
-
|
|
32154
|
-
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32158
|
-
|
|
32159
|
-
|
|
32160
|
-
|
|
32161
|
-
|
|
32162
|
-
|
|
32163
|
-
|
|
32164
|
-
|
|
32165
|
-
|
|
32166
|
-
|
|
32167
|
-
|
|
32168
|
-
|
|
32169
|
-
|
|
32170
|
-
|
|
32171
|
-
|
|
32172
|
-
|
|
32173
|
-
color: vars("colors-neutral-white"),
|
|
32174
|
-
padding: "16px",
|
|
32175
|
-
textAlign: "initial",
|
|
32176
|
-
fontFamily: "Roboto",
|
|
32177
|
-
fontSize: "16px",
|
|
32178
|
-
lineHeight: "21px",
|
|
32146
|
+
transition: "box-shadow .3s",
|
|
32147
|
+
_active: cssActive,
|
|
32148
|
+
_hover: cssActive,
|
|
32149
|
+
_focus: cssActive,
|
|
32150
|
+
width: "286px",
|
|
32151
|
+
height: "247px",
|
|
32152
|
+
borderRadius: vars("radii-big"),
|
|
32153
|
+
children: /* @__PURE__ */ jsx(Ripples, {
|
|
32154
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
32155
|
+
width: "286px",
|
|
32156
|
+
height: "247px",
|
|
32157
|
+
borderRadius: vars("radii-big"),
|
|
32158
|
+
border: vars("borders-light"),
|
|
32159
|
+
justifyContent: "center",
|
|
32160
|
+
textAlign: "center",
|
|
32161
|
+
display: "flex",
|
|
32162
|
+
flexDirection: "column",
|
|
32163
|
+
cursor: "pointer",
|
|
32164
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
32165
|
+
flex: "1",
|
|
32166
|
+
bgImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${eventImage})`,
|
|
32167
|
+
backgroundSize: "cover",
|
|
32168
|
+
borderRadius: "8px 8px 0 0",
|
|
32169
|
+
margin: "0",
|
|
32179
32170
|
display: "grid",
|
|
32180
|
-
|
|
32181
|
-
children:
|
|
32182
|
-
|
|
32183
|
-
|
|
32184
|
-
|
|
32185
|
-
|
|
32186
|
-
|
|
32187
|
-
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
32191
|
-
|
|
32192
|
-
children: startDate
|
|
32193
|
-
}), /* @__PURE__ */ jsx(Text, {
|
|
32171
|
+
alignItems: "flex-end",
|
|
32172
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
32173
|
+
color: vars("colors-neutral-white"),
|
|
32174
|
+
padding: "16px",
|
|
32175
|
+
textAlign: "initial",
|
|
32176
|
+
fontFamily: "Roboto",
|
|
32177
|
+
fontSize: "16px",
|
|
32178
|
+
lineHeight: "21px",
|
|
32179
|
+
display: "grid",
|
|
32180
|
+
gap: "8px",
|
|
32181
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
32182
|
+
fontWeight: "700",
|
|
32194
32183
|
m: "0px",
|
|
32195
|
-
children:
|
|
32196
|
-
}), /* @__PURE__ */
|
|
32197
|
-
|
|
32198
|
-
|
|
32184
|
+
children: eventTitle
|
|
32185
|
+
}), /* @__PURE__ */ jsxs(Box, {
|
|
32186
|
+
display: "flex",
|
|
32187
|
+
alignItems: "center",
|
|
32188
|
+
gap: "4px",
|
|
32189
|
+
children: [/* @__PURE__ */ jsx(Calendar, {}), /* @__PURE__ */ jsx(Text, {
|
|
32190
|
+
fontWeight: "400",
|
|
32191
|
+
m: "0px",
|
|
32192
|
+
children: startDate
|
|
32193
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
32194
|
+
m: "0px",
|
|
32195
|
+
children: "|"
|
|
32196
|
+
}), /* @__PURE__ */ jsx(Clock, {}), /* @__PURE__ */ jsx(Text, {
|
|
32197
|
+
m: "0px",
|
|
32198
|
+
children: startTime
|
|
32199
|
+
})]
|
|
32199
32200
|
})]
|
|
32200
|
-
})
|
|
32201
|
-
})
|
|
32202
|
-
|
|
32203
|
-
|
|
32204
|
-
|
|
32205
|
-
|
|
32206
|
-
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
})
|
|
32201
|
+
})
|
|
32202
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
32203
|
+
width: "100%",
|
|
32204
|
+
height: "50px",
|
|
32205
|
+
backgroundColor: "white",
|
|
32206
|
+
alignItems: "center",
|
|
32207
|
+
display: "flex",
|
|
32208
|
+
justifyContent: "center",
|
|
32209
|
+
borderRadius: " 0 0 8px 8px",
|
|
32210
|
+
fontSize: "16px",
|
|
32211
|
+
fontFamily: "Roboto",
|
|
32212
|
+
color: vars("colors-main-deepSkyBlue"),
|
|
32213
|
+
fontWeight: "500",
|
|
32214
|
+
children: buttonInfo
|
|
32215
|
+
})]
|
|
32216
|
+
})
|
|
32216
32217
|
})
|
|
32217
32218
|
}, id2);
|
|
32218
32219
|
};
|
|
@@ -33206,68 +33207,67 @@ const Resources = ({
|
|
|
33206
33207
|
href: resourceLink,
|
|
33207
33208
|
target: targetBlank ? "_blank" : "_self",
|
|
33208
33209
|
rel: targetBlank ? "noopener noreferrer" : void 0,
|
|
33209
|
-
|
|
33210
|
-
|
|
33211
|
-
|
|
33212
|
-
|
|
33213
|
-
|
|
33214
|
-
|
|
33215
|
-
|
|
33216
|
-
|
|
33217
|
-
|
|
33218
|
-
|
|
33219
|
-
|
|
33220
|
-
|
|
33221
|
-
gap: "8px",
|
|
33222
|
-
padding: "1rem",
|
|
33223
|
-
transition: "box-shadow .3s",
|
|
33224
|
-
_active: cssActive,
|
|
33225
|
-
_hover: cssActive,
|
|
33226
|
-
_focus: cssActive,
|
|
33227
|
-
cursor: "pointer",
|
|
33228
|
-
children: [/* @__PURE__ */ jsx(Box, {
|
|
33229
|
-
children: /* @__PURE__ */ jsx(Icons, {
|
|
33230
|
-
type: resourceType
|
|
33231
|
-
})
|
|
33232
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33233
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
33234
|
-
fontFamily: "Roboto",
|
|
33235
|
-
fontWeight: "700",
|
|
33236
|
-
lineHeight: "21px",
|
|
33237
|
-
fontSize: "16px",
|
|
33238
|
-
color: "#555555",
|
|
33239
|
-
m: "0px",
|
|
33240
|
-
children: resourceTitle
|
|
33241
|
-
})
|
|
33242
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33243
|
-
children: /* @__PURE__ */ jsx(Text, {
|
|
33244
|
-
fontFamily: "Roboto",
|
|
33245
|
-
fontWeight: "400",
|
|
33246
|
-
lineHeight: "14px",
|
|
33247
|
-
fontSize: "12px",
|
|
33248
|
-
color: "#555555",
|
|
33249
|
-
m: "0px",
|
|
33250
|
-
children: resourceDetail
|
|
33251
|
-
})
|
|
33252
|
-
}), /* @__PURE__ */ jsx(Box, {
|
|
33253
|
-
display: "flex",
|
|
33254
|
-
alignItems: "center",
|
|
33210
|
+
transition: "box-shadow 0.3s",
|
|
33211
|
+
_active: cssActive,
|
|
33212
|
+
_hover: cssActive,
|
|
33213
|
+
_focus: cssActive,
|
|
33214
|
+
cursor: "pointer",
|
|
33215
|
+
borderRadius: vars("radii-big"),
|
|
33216
|
+
border: vars("borders-light"),
|
|
33217
|
+
overflow: "hidden",
|
|
33218
|
+
children: /* @__PURE__ */ jsx(Ripples, {
|
|
33219
|
+
children: /* @__PURE__ */ jsxs(Box, {
|
|
33220
|
+
width: "285px",
|
|
33221
|
+
height: "147px",
|
|
33255
33222
|
justifyContent: "center",
|
|
33256
|
-
|
|
33257
|
-
|
|
33258
|
-
|
|
33259
|
-
|
|
33260
|
-
|
|
33261
|
-
|
|
33262
|
-
|
|
33263
|
-
|
|
33223
|
+
textAlign: "center",
|
|
33224
|
+
display: "grid",
|
|
33225
|
+
gap: "8px",
|
|
33226
|
+
padding: "1rem",
|
|
33227
|
+
children: [/* @__PURE__ */ jsx(Box, {
|
|
33228
|
+
children: /* @__PURE__ */ jsx(Icons, {
|
|
33229
|
+
type: resourceType
|
|
33230
|
+
})
|
|
33231
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33232
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
33233
|
+
fontFamily: "Roboto",
|
|
33234
|
+
fontWeight: "700",
|
|
33235
|
+
lineHeight: "21px",
|
|
33236
|
+
fontSize: "16px",
|
|
33237
|
+
color: "#555555",
|
|
33238
|
+
m: "0px",
|
|
33239
|
+
children: resourceTitle
|
|
33240
|
+
})
|
|
33241
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33242
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
33243
|
+
fontFamily: "Roboto",
|
|
33244
|
+
fontWeight: "400",
|
|
33245
|
+
lineHeight: "14px",
|
|
33246
|
+
fontSize: "12px",
|
|
33247
|
+
color: "#555555",
|
|
33248
|
+
m: "0px",
|
|
33249
|
+
children: resourceDetail
|
|
33250
|
+
})
|
|
33251
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
33264
33252
|
display: "flex",
|
|
33265
|
-
|
|
33266
|
-
|
|
33267
|
-
|
|
33268
|
-
|
|
33269
|
-
|
|
33270
|
-
|
|
33253
|
+
alignItems: "center",
|
|
33254
|
+
justifyContent: "center",
|
|
33255
|
+
children: /* @__PURE__ */ jsxs(Text, {
|
|
33256
|
+
fontFamily: "Roboto",
|
|
33257
|
+
fontWeight: "500",
|
|
33258
|
+
fontSize: "14px",
|
|
33259
|
+
lineHeight: "16px",
|
|
33260
|
+
color: vars("colors-neutral-gray"),
|
|
33261
|
+
textDecoration: "underline",
|
|
33262
|
+
gap: "8px",
|
|
33263
|
+
display: "flex",
|
|
33264
|
+
m: "0px",
|
|
33265
|
+
children: [/* @__PURE__ */ jsx(Download, {
|
|
33266
|
+
color: vars("colors-main-deepSkyBlue")
|
|
33267
|
+
}), resourceTextDownload]
|
|
33268
|
+
})
|
|
33269
|
+
})]
|
|
33270
|
+
})
|
|
33271
33271
|
})
|
|
33272
33272
|
});
|
|
33273
33273
|
};
|