@mjsz-vbr-elements/shared 2.2.6 → 2.3.0

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.
@@ -34,6 +34,15 @@
34
34
  border-bottom: 1px solid var(--vbr-widget-primary-color-100);
35
35
  }
36
36
 
37
+ .mjsz-vbr-card-item.is-optional {
38
+ opacity: 0.4;
39
+ transition: opacity 0.3s ease-out;
40
+ }
41
+
42
+ .mjsz-vbr-card-item.is-optional:hover {
43
+ opacity: 1;
44
+ }
45
+
37
46
  .mjsz-vbr-card-item svg {
38
47
  display: block;
39
48
  }
@@ -1,6 +1,6 @@
1
1
  .mjsz-vbr-playoffs .mjsz-vbr-table-grid {
2
2
  display: grid;
3
- grid-template-columns: 60px 150px minmax(60px, 0.41fr) minmax(160px, 1fr) minmax(40px, 60px) 70px minmax(160px, 1fr) minmax(
3
+ grid-template-columns: 60px 160px minmax(60px, 0.41fr) minmax(160px, 1fr) minmax(40px, 60px) 70px minmax(160px, 1fr) minmax(
4
4
  180px,
5
5
  0.9fr
6
6
  );
@@ -11,6 +11,10 @@
11
11
  background-color: var(--vbr-widget-table-stripped-bg-color);
12
12
  }
13
13
 
14
+ .mjsz-vbr-playoffs .mjsz-vbr-table-grid.is-optional {
15
+ opacity: 0.5;
16
+ }
17
+
14
18
  .mjsz-vbr-playoffs .mjsz-vbr-table-grid > div {
15
19
  padding: 8px;
16
20
  }
@@ -57,16 +61,22 @@
57
61
  .mjsz-vbr-playoffs .mjsz-vbr-table-grid .label:not(:last-of-type) {
58
62
  margin-right: 3px;
59
63
  }
60
- /* table-layout: fixed; */
61
- .mjsz-vbr-playoffs .mjsz-vbr-table table,
62
- .mjsz-vbr-playoffs .mjsz-vbr-table th,
63
- .mjsz-vbr-playoffs .mjsz-vbr-table td {
64
- border-collapse: collapse;
65
- }
66
- @media (max-width: 600px) {
67
- .mjsz-vbr-playoffs .mjsz-vbr-table {
68
- table-layout: auto
69
- }
64
+
65
+ .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-long {
66
+ display: block;
67
+ }
68
+
69
+ .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-short {
70
+ display: none;
71
+ }
72
+
73
+ @container table-wrapper (max-width: 768px) {
74
+ .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-long {
75
+ display: none;
76
+ }
77
+ .mjsz-vbr-playoffs .mjsz-vbr-table-grid .is-team-name-short {
78
+ display: block;
79
+ }
70
80
  }
71
81
  .mjsz-vbr-playoffs .mjsz-vbr-section-title {
72
82
  padding: 10px;
@@ -90,6 +100,20 @@
90
100
  grid-template-columns: 1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr;
91
101
  }
92
102
  }
103
+ .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-long {
104
+ display: block;
105
+ }
106
+ .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-short {
107
+ display: none;
108
+ }
109
+ @container section-details (max-width: 768px) {
110
+ .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-long {
111
+ display: none;
112
+ }
113
+ .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-team-name-short {
114
+ display: block;
115
+ }
116
+ }
93
117
  .mjsz-vbr-playoffs .mjsz-vbr-section-details .is-logo-image {
94
118
  width: 70px;
95
119
  height: 70px;
@@ -9,7 +9,7 @@ const n = {
9
9
  r
10
10
  ];
11
11
  function l(s, a) {
12
- return e(), o("svg", n, c);
12
+ return e(), o("svg", n, [...c]);
13
13
  }
14
14
  const _ = { render: l };
15
15
  export {
@@ -9,7 +9,7 @@ const r = {
9
9
  n
10
10
  ];
11
11
  function l(s, d) {
12
- return e(), o("svg", r, c);
12
+ return e(), o("svg", r, [...c]);
13
13
  }
14
14
  const i = { render: l };
15
15
  export {
@@ -30,7 +30,7 @@ const n = {
30
30
  c
31
31
  ];
32
32
  function i(d, _) {
33
- return o(), t("svg", n, l);
33
+ return o(), t("svg", n, [...l]);
34
34
  }
35
35
  const x = { render: i };
36
36
  export {
@@ -10,7 +10,7 @@ const o = {
10
10
  n
11
11
  ];
12
12
  function s(a, l) {
13
- return c(), e("svg", o, r);
13
+ return c(), e("svg", o, [...r]);
14
14
  }
15
15
  const i = { render: s };
16
16
  export {
@@ -11,7 +11,7 @@ const n = {
11
11
  r
12
12
  ];
13
13
  function c(l, i) {
14
- return e(), o("svg", n, s);
14
+ return e(), o("svg", n, [...s]);
15
15
  }
16
16
  const _ = { render: c };
17
17
  export {
@@ -25,7 +25,7 @@ const t = {
25
25
  l
26
26
  ];
27
27
  function i(d, _) {
28
- return o(), c("svg", t, s);
28
+ return o(), c("svg", t, [...s]);
29
29
  }
30
30
  const h = { render: i };
31
31
  export {
@@ -11,7 +11,7 @@ const n = {
11
11
  r
12
12
  ];
13
13
  function c(l, i) {
14
- return e(), o("svg", n, s);
14
+ return e(), o("svg", n, [...s]);
15
15
  }
16
16
  const _ = { render: c };
17
17
  export {
@@ -19,7 +19,7 @@ const n = {
19
19
  c
20
20
  ];
21
21
  function l(h, i) {
22
- return t(), o("svg", n, s);
22
+ return t(), o("svg", n, [...s]);
23
23
  }
24
24
  const a = { render: l };
25
25
  export {
@@ -15,7 +15,7 @@ const c = {
15
15
  r
16
16
  ];
17
17
  function a(s, l) {
18
- return e(), t("svg", c, n);
18
+ return e(), t("svg", c, [...n]);
19
19
  }
20
20
  const d = { render: a };
21
21
  export {
@@ -15,7 +15,7 @@ const n = {
15
15
  r
16
16
  ];
17
17
  function s(a, l) {
18
- return e(), o("svg", n, c);
18
+ return e(), o("svg", n, [...c]);
19
19
  }
20
20
  const i = { render: s };
21
21
  export {
@@ -15,7 +15,7 @@ const r = {
15
15
  c
16
16
  ];
17
17
  function s(a, l) {
18
- return e(), t("svg", r, n);
18
+ return e(), t("svg", r, [...n]);
19
19
  }
20
20
  const d = { render: s };
21
21
  export {
@@ -14,7 +14,7 @@ const l = {
14
14
  r
15
15
  ];
16
16
  function s(d, i) {
17
- return e(), o("svg", l, c);
17
+ return e(), o("svg", l, [...c]);
18
18
  }
19
19
  const a = { render: s };
20
20
  export {
@@ -10,7 +10,7 @@ const c = {
10
10
  n
11
11
  ];
12
12
  function a(h, l) {
13
- return e(), t("svg", c, r);
13
+ return e(), t("svg", c, [...r]);
14
14
  }
15
15
  const d = { render: a };
16
16
  export {
@@ -23,7 +23,7 @@ const t = {
23
23
  s
24
24
  ];
25
25
  function i(d, _) {
26
- return o(), n("svg", t, c);
26
+ return o(), n("svg", t, [...c]);
27
27
  }
28
28
  const h = { render: i };
29
29
  export {
@@ -6,7 +6,7 @@ const n = { viewBox: "0 0 24 24" }, c = /* @__PURE__ */ o("path", {
6
6
  c
7
7
  ];
8
8
  function l(h, s) {
9
- return e(), t("svg", n, r);
9
+ return e(), t("svg", n, [...r]);
10
10
  }
11
11
  const d = { render: l };
12
12
  export {
@@ -12,7 +12,7 @@ const n = {
12
12
  s
13
13
  ];
14
14
  function l(i, d) {
15
- return e(), t("svg", n, c);
15
+ return e(), t("svg", n, [...c]);
16
16
  }
17
17
  const u = { render: l };
18
18
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/shared",
3
3
  "private": false,
4
- "version": "2.2.6",
4
+ "version": "2.3.0",
5
5
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
6
6
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
7
7
  "type": "module",
@@ -22,16 +22,16 @@
22
22
  }
23
23
  },
24
24
  "devDependencies": {
25
- "@vitejs/plugin-vue": "^5.0.2",
26
- "glob": "^10.2.6",
27
- "nodemon": "^3.0.2",
28
- "postcss": "^8.4.31",
29
- "postcss-import": "^15.1.0",
25
+ "@vitejs/plugin-vue": "^5.0.4",
26
+ "glob": "^10.3.10",
27
+ "nodemon": "^3.1.0",
28
+ "postcss": "^8.4.35",
29
+ "postcss-import": "^16.0.1",
30
30
  "postcss-mixins": "^9.0.4",
31
31
  "postcss-nested": "^6.0.1",
32
32
  "postcss-prefixer": "^3.0.0",
33
- "vite": "^5.0.10",
34
- "vite-svg-loader": "^4.0.0"
33
+ "vite": "^5.1.4",
34
+ "vite-svg-loader": "^5.1.0"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "vite",