@uva-glass/component-library 1.40.1 → 1.40.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._course__header_ohjo1_1{align-items:center;display:flex;gap:1rem;justify-content:space-between;padding:.5rem .5rem .5rem 1rem;position:relative}._course__header--new_ohjo1_10:before{background-color:var(--color-blue-500);border-radius:.25rem 0 0;content:"";height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}._course__header-left_ohjo1_22{align-items:center;display:flex;gap:1rem;justify-content:flex-start}._course__header-left--code_ohjo1_29{color:var(--color-grey-400);width:5rem}._course__header-left--title_ohjo1_34{font-weight:var(--semibold)}._course__header-right_ohjo1_38{align-items:center;display:flex;gap:1.5rem;justify-content:flex-end}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._course__instance_igt67_1{align-items:center;border-top:1px solid var(--color-grey-200);color:var(--color-grey-500);display:flex;font-size:14px;gap:2rem;line-height:14px;padding:.25rem .5rem}._course__instance--language_igt67_12,._course__instance--course-coordinator--line_igt67_13{align-items:center;display:flex;gap:.5rem}._course__instance--course-coordinator_igt67_13{color:var(--color-black)}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as u } from "../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { ActionList as m } from "../../ActionList/ActionList.js";
|
|
4
4
|
import { StatusPill as f } from "../../StatusPill/StatusPill.js";
|
|
5
|
-
import '../../../assets/CourseCardHeader.css';const p = "
|
|
5
|
+
import '../../../assets/CourseCardHeader.css';const p = "_course__header_ohjo1_1", e = {
|
|
6
6
|
course__header: p,
|
|
7
|
-
"course__header--new": "_course__header--
|
|
8
|
-
"course__header-left": "_course__header-
|
|
9
|
-
"course__header-left--code": "_course__header-left--
|
|
10
|
-
"course__header-left--title": "_course__header-left--
|
|
11
|
-
"course__header-right": "_course__header-
|
|
12
|
-
},
|
|
13
|
-
id:
|
|
7
|
+
"course__header--new": "_course__header--new_ohjo1_10",
|
|
8
|
+
"course__header-left": "_course__header-left_ohjo1_22",
|
|
9
|
+
"course__header-left--code": "_course__header-left--code_ohjo1_29",
|
|
10
|
+
"course__header-left--title": "_course__header-left--title_ohjo1_34",
|
|
11
|
+
"course__header-right": "_course__header-right_ohjo1_38"
|
|
12
|
+
}, x = ({
|
|
13
|
+
id: c,
|
|
14
14
|
code: t,
|
|
15
|
-
name:
|
|
16
|
-
credits:
|
|
15
|
+
name: h,
|
|
16
|
+
credits: l,
|
|
17
17
|
actions: s,
|
|
18
|
-
localeTags:
|
|
19
|
-
isNew:
|
|
20
|
-
onActionClick:
|
|
21
|
-
}) => /* @__PURE__ */ _("header", { className:
|
|
18
|
+
localeTags: d,
|
|
19
|
+
isNew: o,
|
|
20
|
+
onActionClick: i
|
|
21
|
+
}) => /* @__PURE__ */ _("header", { className: u(e.course__header, o && e["course__header--new"]), children: [
|
|
22
22
|
/* @__PURE__ */ _("div", { className: e["course__header-left"], children: [
|
|
23
23
|
/* @__PURE__ */ r("span", { className: e["course__header-left--code"], children: t }),
|
|
24
|
-
/* @__PURE__ */ r("span", { className: e["course__header-left--title"], children:
|
|
25
|
-
|
|
24
|
+
/* @__PURE__ */ r("span", { className: e["course__header-left--title"], children: h }),
|
|
25
|
+
o && /* @__PURE__ */ r(f, { label: o, status: "new" })
|
|
26
26
|
] }),
|
|
27
27
|
/* @__PURE__ */ _("div", { className: e["course__header-right"], children: [
|
|
28
28
|
/* @__PURE__ */ _("span", { className: e["course__header-right--ec"], children: [
|
|
29
|
-
|
|
29
|
+
l,
|
|
30
30
|
" EC"
|
|
31
31
|
] }),
|
|
32
|
-
s && /* @__PURE__ */ r(m, { iconName: "EllipsisVertical", variant: "blank-icon", label: "", children: s.map(({ action: a, value:
|
|
32
|
+
s && /* @__PURE__ */ r(m, { iconName: "EllipsisVertical", variant: "blank-icon", label: "", children: s.map(({ action: a, value: n }) => /* @__PURE__ */ r("button", { type: "button", onClick: () => i({ action: a, id: c }), children: d[`menu-actions-${a}`] }, n)) })
|
|
33
33
|
] })
|
|
34
34
|
] });
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
x as CourseCardHeader
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=CourseCardHeader.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Periods as _ } from "../../Periods/Periods.js";
|
|
3
|
-
import '../../../assets/CourseCardOffering.css';const i = "
|
|
3
|
+
import '../../../assets/CourseCardOffering.css';const i = "_course__instance_igt67_1", s = {
|
|
4
4
|
course__instance: i,
|
|
5
|
-
"course__instance--language": "_course__instance--
|
|
6
|
-
"course__instance--course-coordinator--line": "_course__instance--course-coordinator--
|
|
7
|
-
"course__instance--course-coordinator": "_course__instance--course-
|
|
5
|
+
"course__instance--language": "_course__instance--language_igt67_12",
|
|
6
|
+
"course__instance--course-coordinator--line": "_course__instance--course-coordinator--line_igt67_13",
|
|
7
|
+
"course__instance--course-coordinator": "_course__instance--course-coordinator_igt67_13"
|
|
8
8
|
}, t = 6, l = ({
|
|
9
|
-
periods:
|
|
10
|
-
currentLanguage:
|
|
9
|
+
periods: c,
|
|
10
|
+
currentLanguage: r,
|
|
11
11
|
localeTags: o,
|
|
12
12
|
maxPeriods: a = t
|
|
13
|
-
}) => /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
13
|
+
}) => /* @__PURE__ */ e("div", { className: s.course__instance, children: [
|
|
14
|
+
/* @__PURE__ */ n(_, { periods: c, maxPeriods: a }),
|
|
15
|
+
/* @__PURE__ */ n("span", { className: s["course__instance--language"], children: /* @__PURE__ */ n("span", { children: r }) }),
|
|
16
|
+
/* @__PURE__ */ e("span", { className: s["course__instance--course-coordinator--line"], children: [
|
|
17
|
+
/* @__PURE__ */ n("span", { children: o["course-coordinator"] }),
|
|
18
|
+
/* @__PURE__ */ n("span", { className: s["course__instance--course-coordinator"], children: "dr. Marten Stienstra" })
|
|
19
19
|
] })
|
|
20
20
|
] });
|
|
21
21
|
export {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uva-glass/component-library",
|
|
3
3
|
"author": "Team Glass - Frontend vrienden",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.40.
|
|
5
|
+
"version": "1.40.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"stylelint-config-standard": "^36.0.1",
|
|
89
89
|
"stylelint-order": "^6.0.4",
|
|
90
90
|
"typescript": "^5.5.4",
|
|
91
|
-
"vite": "^5.3.
|
|
91
|
+
"vite": "^5.3.5",
|
|
92
92
|
"vite-plugin-dts": "^3.9.1",
|
|
93
93
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
94
94
|
"vite-plugin-svgr": "^4.2.0",
|