@eclass/ui-kit 1.54.7 → 1.54.8
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 +12 -2
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +4 -4
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts.map +1 -1
- package/dist/organisms/CourseList/CourseList.d.ts.map +1 -1
- package/dist/organisms/CourseList/components/Footer.d.ts.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -3280,8 +3280,11 @@ function Footer({
|
|
|
3280
3280
|
p: "1rem",
|
|
3281
3281
|
borderTop: "1px solid",
|
|
3282
3282
|
borderTopColor: vars("colors-neutral-platinum"),
|
|
3283
|
+
tabIndex: 0,
|
|
3284
|
+
className: "footerButtonBox",
|
|
3283
3285
|
children: [isCourseActive(action.enabled, Profile2 == null ? void 0 : Profile2.id) ? /* @__PURE__ */ jsxs(Fragment, {
|
|
3284
3286
|
children: [hasFinanzeFreezed && modalPaymentText ? /* @__PURE__ */ jsx(Box, {
|
|
3287
|
+
className: "uno",
|
|
3285
3288
|
color: vars("colors-main-deepSkyBlue"),
|
|
3286
3289
|
backgroundColor: "transparent",
|
|
3287
3290
|
fontWeight: "500",
|
|
@@ -3297,6 +3300,7 @@ function Footer({
|
|
|
3297
3300
|
fontSize: "1rem !important",
|
|
3298
3301
|
children: action.text
|
|
3299
3302
|
}) : /* @__PURE__ */ jsx(Text, {
|
|
3303
|
+
className: "dos",
|
|
3300
3304
|
color: vars("colors-main-deepSkyBlue"),
|
|
3301
3305
|
fontWeight: "500",
|
|
3302
3306
|
mr: action.hasIcon ? "1.5rem" : "0",
|
|
@@ -3308,6 +3312,7 @@ function Footer({
|
|
|
3308
3312
|
color: vars("colors-main-deepSkyBlue")
|
|
3309
3313
|
})]
|
|
3310
3314
|
}) : /* @__PURE__ */ jsx(Text, {
|
|
3315
|
+
className: "tres",
|
|
3311
3316
|
fontWeight: "500",
|
|
3312
3317
|
lineHeight: "1.172rem",
|
|
3313
3318
|
color: vars("colors-neutral-spanishGrey"),
|
|
@@ -3345,6 +3350,7 @@ function BoxTraditional({
|
|
|
3345
3350
|
return /* @__PURE__ */ jsx(CourseBoxContext.Provider, {
|
|
3346
3351
|
value: data,
|
|
3347
3352
|
children: /* @__PURE__ */ jsx(LinkBox, {
|
|
3353
|
+
className: "linkBoxTraditional",
|
|
3348
3354
|
as: "article",
|
|
3349
3355
|
border: vars("borders-light"),
|
|
3350
3356
|
borderRadius: vars("radii-big"),
|
|
@@ -3352,8 +3358,9 @@ function BoxTraditional({
|
|
|
3352
3358
|
transition: "box-shadow .3s",
|
|
3353
3359
|
_active: cssActive,
|
|
3354
3360
|
_hover: cssActive,
|
|
3355
|
-
_focus: cssActive,
|
|
3356
3361
|
overflow: "hidden",
|
|
3362
|
+
tabIndex: 0,
|
|
3363
|
+
role: "link",
|
|
3357
3364
|
children: /* @__PURE__ */ jsx(WithRipples$1, {
|
|
3358
3365
|
enabled: isCourseActive((_b = (_a = data.action) == null ? void 0 : _a.enabled) != null ? _b : false, (_c = data.Profile) == null ? void 0 : _c.id),
|
|
3359
3366
|
children: /* @__PURE__ */ jsxs(Flex, {
|
|
@@ -3364,7 +3371,9 @@ function BoxTraditional({
|
|
|
3364
3371
|
className: "CourseList-TraditionalBox",
|
|
3365
3372
|
children: [!data.hasFinanzeFreezed && isCourseActive((_e = (_d = data.action) == null ? void 0 : _d.enabled) != null ? _e : false, (_f = data.Profile) == null ? void 0 : _f.id) && /* @__PURE__ */ jsx(LinkOverlay, {
|
|
3366
3373
|
href: (_g = data.action) == null ? void 0 : _g.href,
|
|
3367
|
-
isExternal: (_h = data.action) == null ? void 0 : _h.targetBlank
|
|
3374
|
+
isExternal: (_h = data.action) == null ? void 0 : _h.targetBlank,
|
|
3375
|
+
tabIndex: -1,
|
|
3376
|
+
className: "linkOverlay"
|
|
3368
3377
|
}), /* @__PURE__ */ jsx(Header$1, {}), /* @__PURE__ */ jsx(Section, {})]
|
|
3369
3378
|
}), /* @__PURE__ */ jsx(Footer, {
|
|
3370
3379
|
modalPaymentText
|
|
@@ -3493,6 +3502,7 @@ function CourseList({
|
|
|
3493
3502
|
return null;
|
|
3494
3503
|
}
|
|
3495
3504
|
return /* @__PURE__ */ jsx(Box, {
|
|
3505
|
+
className: "courseListBox",
|
|
3496
3506
|
display: "grid",
|
|
3497
3507
|
gridColumnGap: `${columnGap}rem`,
|
|
3498
3508
|
gridRowGap: "1.75rem",
|