@mjsz-vbr-elements/shared 2.1.0-beta.6 → 2.1.0-beta.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.
@@ -1,4 +1,7 @@
1
1
  .mjsz-vbr-table-responsive {
2
+ container-name: table-wrapper;
3
+ container-type: inline-size;
4
+
2
5
  width: 100%;
3
6
  overflow-x: auto;
4
7
  }
@@ -184,6 +184,23 @@
184
184
  color: var(--vbr-widget-hover-color);
185
185
  }
186
186
 
187
+ .mjsz-vbr-table td .is-team-name-long {
188
+ display: block;
189
+ }
190
+
191
+ .mjsz-vbr-table td .is-team-name-short {
192
+ display: none;
193
+ }
194
+
195
+ @container table-wrapper (max-width: 768px) {
196
+ .mjsz-vbr-table td .is-team-name-long {
197
+ display: none;
198
+ }
199
+ .mjsz-vbr-table td .is-team-name-short {
200
+ display: block;
201
+ }
202
+ }
203
+
187
204
  .mjsz-vbr-table th,
188
205
  .mjsz-vbr-table td {
189
206
  padding: 8px;
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/shared",
3
3
  "private": false,
4
- "version": "2.1.0-beta.6",
4
+ "version": "2.1.0-beta.8",
5
+ "author": "Ákos Stegner <akos.stegner@gmail.com>",
6
+ "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
5
7
  "type": "module",
6
8
  "files": [
7
9
  "dist"
8
10
  ],
9
- "module": "./dist/index.js",
11
+ "module": "./dist/icons/index.js",
10
12
  "exports": {
11
13
  ".": {
12
- "import": "./dist/icons/mjsz-vbr-elements-shared.js"
14
+ "import": "./dist/icons/index.js"
13
15
  },
14
16
  "./icons/*": {
15
17
  "import": "./dist/icons/*.js"