@eclass/ui-kit 1.54.18 → 1.54.20
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 +23 -8
- 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/BoxImage.d.ts.map +1 -1
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts.map +1 -1
- package/dist/organisms/Events/TypeBox/LargeBox.d.ts.map +1 -1
- package/dist/organisms/Events/TypeBox/SmallBox.d.ts.map +1 -1
- package/dist/organisms/Resources/Resources.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
|
@@ -3386,8 +3386,7 @@ function BoxTraditional({
|
|
|
3386
3386
|
transition: "box-shadow .3s",
|
|
3387
3387
|
overflow: "hidden",
|
|
3388
3388
|
_hover: cssActive,
|
|
3389
|
-
|
|
3390
|
-
_focusWithin: {
|
|
3389
|
+
_focusVisible: {
|
|
3391
3390
|
boxShadow: `0 0 0 3px ${vars("colors-alert-deepSkyBlue")} inset`
|
|
3392
3391
|
},
|
|
3393
3392
|
tabIndex: 0,
|
|
@@ -3441,8 +3440,12 @@ function BoxImage({
|
|
|
3441
3440
|
};
|
|
3442
3441
|
return /* @__PURE__ */ jsx(WithRipples, {
|
|
3443
3442
|
enabled: isCourseActive((_b = (_a = data == null ? void 0 : data.action) == null ? void 0 : _a.enabled) != null ? _b : false, (_c = data == null ? void 0 : data.Profile) == null ? void 0 : _c.id),
|
|
3444
|
-
children: /* @__PURE__ */ jsxs(
|
|
3443
|
+
children: /* @__PURE__ */ jsxs(LinkBox, {
|
|
3445
3444
|
className: "CourseList-ImageBox",
|
|
3445
|
+
_focusVisible: {
|
|
3446
|
+
boxShadow: `0 0 0 3px ${vars("colors-alert-deepSkyBlue")} inset`
|
|
3447
|
+
},
|
|
3448
|
+
tabIndex: 0,
|
|
3446
3449
|
sx: {
|
|
3447
3450
|
backgroundImage: `linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${backgroundImg})`,
|
|
3448
3451
|
color: vars("colors-neutral-white"),
|
|
@@ -3457,11 +3460,17 @@ function BoxImage({
|
|
|
3457
3460
|
flexDirection: "column",
|
|
3458
3461
|
margin: m2,
|
|
3459
3462
|
justifyContent: "end",
|
|
3460
|
-
textAlign: "left"
|
|
3463
|
+
textAlign: "left",
|
|
3464
|
+
a: {
|
|
3465
|
+
"&:active": {
|
|
3466
|
+
boxShadow: "none"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3461
3469
|
},
|
|
3462
3470
|
children: [!(data == null ? void 0 : data.hasFinanzeFreezed) && isCourseActive((_e = (_d = data == null ? void 0 : data.action) == null ? void 0 : _d.enabled) != null ? _e : false, (_f = data == null ? void 0 : data.Profile) == null ? void 0 : _f.id) && /* @__PURE__ */ jsx(LinkOverlay, {
|
|
3463
3471
|
href: (_g = data == null ? void 0 : data.action) == null ? void 0 : _g.href,
|
|
3464
|
-
isExternal: (_h = data == null ? void 0 : data.action) == null ? void 0 : _h.targetBlank
|
|
3472
|
+
isExternal: (_h = data == null ? void 0 : data.action) == null ? void 0 : _h.targetBlank,
|
|
3473
|
+
tabIndex: -1
|
|
3465
3474
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
3466
3475
|
className: "textBox",
|
|
3467
3476
|
bottom: "20px",
|
|
@@ -4571,7 +4580,9 @@ const LargeBox = ({
|
|
|
4571
4580
|
borderRadius: vars("radii-big"),
|
|
4572
4581
|
_active: cssActive,
|
|
4573
4582
|
_hover: cssActive,
|
|
4574
|
-
|
|
4583
|
+
_focusVisible: {
|
|
4584
|
+
boxShadow: `0 0 0 3px ${vars("colors-alert-deepSkyBlue")}`
|
|
4585
|
+
},
|
|
4575
4586
|
children: /* @__PURE__ */ jsx(Ripples, {
|
|
4576
4587
|
children: /* @__PURE__ */ jsxs(Flex, {
|
|
4577
4588
|
cursor: "pointer",
|
|
@@ -4668,7 +4679,9 @@ const SmallBox = ({
|
|
|
4668
4679
|
transition: "box-shadow .3s",
|
|
4669
4680
|
_active: cssActive,
|
|
4670
4681
|
_hover: cssActive,
|
|
4671
|
-
|
|
4682
|
+
_focusVisible: {
|
|
4683
|
+
boxShadow: `0 0 0 3px ${vars("colors-alert-deepSkyBlue")}`
|
|
4684
|
+
},
|
|
4672
4685
|
width: "286px",
|
|
4673
4686
|
height: "247px",
|
|
4674
4687
|
borderRadius: vars("radii-big"),
|
|
@@ -5849,7 +5862,9 @@ const Resources = ({
|
|
|
5849
5862
|
transition: "box-shadow 0.3s",
|
|
5850
5863
|
_active: cssActive,
|
|
5851
5864
|
_hover: cssActive,
|
|
5852
|
-
|
|
5865
|
+
_focusVisible: {
|
|
5866
|
+
boxShadow: `0 0 0 3px ${vars("colors-alert-deepSkyBlue")}`
|
|
5867
|
+
},
|
|
5853
5868
|
cursor: "pointer",
|
|
5854
5869
|
borderRadius: vars("radii-big"),
|
|
5855
5870
|
border: vars("borders-light"),
|