@mjsz-vbr-elements/shared 2.1.0-rc.0 → 2.1.0-rc.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.
@@ -107,6 +107,8 @@
107
107
  display: grid;
108
108
  grid-template-columns: 1fr var(--overlay-size) 1fr;
109
109
  grid-template-rows: 1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);
110
+ margin-left: var(--vbr-widget-main-image-wrapper-horizontal-margin);
111
+ margin-right: var(--vbr-widget-main-image-wrapper-horizontal-margin);
110
112
  }
111
113
 
112
114
  .mjsz-vbr-main-image-wrapper:has(img.is-default) {
@@ -88,6 +88,13 @@ ul {
88
88
  --vbr-widget-typography-text-4xl-lineheight: 2.75rem; /* 44px */
89
89
  --vbr-widget-typography-heading-weight: 500;
90
90
 
91
+ --vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-text-2xl-size);
92
+ --vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-text-xl-size);
93
+ --vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-text-lg-size);
94
+ --vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-text-base-size);
95
+ --vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-text-sm-size);
96
+ --vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-text-xs-size);
97
+
91
98
  --vbr-widget-table-header-font-size: var(--vbr-widget-typography-text-xs-size);
92
99
  --vbr-widget-table-default-column-width: 30px;
93
100
  --vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);
@@ -230,6 +237,8 @@ ul {
230
237
  --vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-text-base-size);
231
238
  --vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-text-sm-size);
232
239
  --vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-text-sm-size);
240
+
241
+ --vbr-widget-main-image-wrapper-horizontal-margin: 0rem;
233
242
  }
234
243
 
235
244
  .transition-fade-enter-active,
@@ -59,21 +59,21 @@
59
59
  white-space: nowrap;
60
60
  }
61
61
  .is-heading-1 {
62
- font-size: var(--vbr-widget-typography-text-xl-size);
62
+ font-size: var(--vbr-widget-typography-heading-1-size);
63
63
  line-height: var(--vbr-widget-typography-text-xl-lineheight);
64
64
  margin-block-start: var(--vbr-widget-typography-text-xl-size);
65
65
  margin-block-end: calc(var(--vbr-widget-typography-text-xl-size) / 2);
66
66
  font-weight: var(--vbr-widget-typography-heading-weight);
67
67
  }
68
68
  .is-heading-2 {
69
- font-size: var(--vbr-widget-typography-text-lg-size);
69
+ font-size: var(--vbr-widget-typography-heading-2-size);
70
70
  line-height: var(--vbr-widget-typography-text-lg-lineheight);
71
71
  font-weight: var(--vbr-widget-typography-heading-weight);
72
72
  margin-block-start: var(--vbr-widget-typography-text-lg-size);
73
73
  margin-block-end: calc(var(--vbr-widget-typography-text-lg-size) / 2);
74
74
  }
75
75
  .is-heading-3 {
76
- font-size: var(--vbr-widget-typography-text-base-size);
76
+ font-size: var(--vbr-widget-typography-heading-3-size);
77
77
  line-height: var(--vbr-widget-typography-text-base-lineheight);
78
78
  font-weight: var(--vbr-widget-typography-heading-weight);
79
79
  margin-block-start: var(--vbr-widget-typography-text-base-size);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/shared",
3
3
  "private": false,
4
- "version": "2.1.0-rc.0",
4
+ "version": "2.1.0-rc.2",
5
5
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
6
6
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
7
7
  "type": "module",