@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
- ._course__header_cu2xn_1{align-items:center;display:flex;gap:1rem;justify-content:space-between;padding:.5rem .1rem .5rem 1rem;position:relative}._course__header--new_cu2xn_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_cu2xn_22{align-items:center;display:flex;gap:1rem;justify-content:flex-start}._course__header-left--code_cu2xn_29{color:var(--color-grey-400);width:5rem}._course__header-left--title_cu2xn_34{font-weight:var(--semibold)}._course__header-right_cu2xn_38{align-items:center;display:flex;gap:1.5rem;justify-content:flex-end}
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
- ._course__instance_1dr3c_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 1rem}._course__instance--language_1dr3c_12,._course__instance--course-coordinator--line_1dr3c_13{align-items:center;display:flex;gap:.5rem}._course__instance--course-coordinator_1dr3c_13{color:var(--color-black)}
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 i } from "../../../clsx-OuTLNxxd.js";
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 = "_course__header_cu2xn_1", e = {
5
+ import '../../../assets/CourseCardHeader.css';const p = "_course__header_ohjo1_1", e = {
6
6
  course__header: p,
7
- "course__header--new": "_course__header--new_cu2xn_10",
8
- "course__header-left": "_course__header-left_cu2xn_22",
9
- "course__header-left--code": "_course__header-left--code_cu2xn_29",
10
- "course__header-left--title": "_course__header-left--title_cu2xn_34",
11
- "course__header-right": "_course__header-right_cu2xn_38"
12
- }, C = ({
13
- id: o,
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: l,
16
- credits: d,
15
+ name: h,
16
+ credits: l,
17
17
  actions: s,
18
- localeTags: h,
19
- isNew: c,
20
- onActionClick: n
21
- }) => /* @__PURE__ */ _("header", { className: i(e.course__header, c && e["course__header--new"]), children: [
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: l }),
25
- c && /* @__PURE__ */ r(f, { label: c, status: "new" })
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
- d,
29
+ l,
30
30
  " EC"
31
31
  ] }),
32
- s && /* @__PURE__ */ r(m, { iconName: "EllipsisVertical", variant: "blank-icon", label: "", children: s.map(({ action: a, value: u }) => /* @__PURE__ */ r("button", { type: "button", onClick: () => n({ action: a, id: o }), children: h[`menu-actions-${a}`] }, u)) })
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
- C as CourseCardHeader
36
+ x as CourseCardHeader
37
37
  };
38
38
  //# sourceMappingURL=CourseCardHeader.js.map
@@ -1,21 +1,21 @@
1
- import { jsxs as r, jsx as c } from "react/jsx-runtime";
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 = "_course__instance_1dr3c_1", n = {
3
+ import '../../../assets/CourseCardOffering.css';const i = "_course__instance_igt67_1", s = {
4
4
  course__instance: i,
5
- "course__instance--language": "_course__instance--language_1dr3c_12",
6
- "course__instance--course-coordinator--line": "_course__instance--course-coordinator--line_1dr3c_13",
7
- "course__instance--course-coordinator": "_course__instance--course-coordinator_1dr3c_13"
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: s,
10
- currentLanguage: e,
9
+ periods: c,
10
+ currentLanguage: r,
11
11
  localeTags: o,
12
12
  maxPeriods: a = t
13
- }) => /* @__PURE__ */ r("div", { className: n.course__instance, children: [
14
- /* @__PURE__ */ c(_, { periods: s, maxPeriods: a }),
15
- /* @__PURE__ */ c("span", { className: n["course__instance--language"], children: /* @__PURE__ */ c("span", { children: e }) }),
16
- /* @__PURE__ */ r("span", { className: n["course__instance--course-coordinator--line"], children: [
17
- /* @__PURE__ */ c("span", { children: o["course-coordinator"] }),
18
- /* @__PURE__ */ c("span", { className: n["course__instance--course-coordinator"], children: "dr. Marten Stienstra" })
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.1",
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.4",
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",