@bonniernews/dn-design-system-web 3.0.0-alpha.87 → 3.0.0-alpha.88

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.88](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.87...@bonniernews/dn-design-system-web@3.0.0-alpha.88) (2023-06-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **web:** bautaXL: yellow, uppercase, no arrow, typo 05 for large-teaser ([#857](https://github.com/BonnierNews/dn-design-system/issues/857)) ([9fc0954](https://github.com/BonnierNews/dn-design-system/commit/9fc09549dd9f9889ac407d8f0ae0531458f9e2df))
12
+
13
+
14
+
6
15
  ## [3.0.0-alpha.87](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.86...@bonniernews/dn-design-system-web@3.0.0-alpha.87) (2023-06-07)
7
16
 
8
17
  **Note:** Version bump only for package @bonniernews/dn-design-system-web
@@ -26,7 +26,10 @@
26
26
  class="{{ componentClassName + '__vignette'}}"
27
27
  {{- attributes | safe }}>
28
28
  <span>{{ params.vignetteText }}</span>
29
- {{ IconUse({ icon: "arrow_forward", attributes: {"aria-hidden": true} }) }}
29
+ {# To keep the design as close to the old master design as possible, bautaXL does not have an arrow now. But we are hoping it'll make a comeback. #}
30
+ {% if params.areaType != "bautaxl" %}
31
+ {{ IconUse({ icon: "arrow_forward", attributes: {"aria-hidden": true} }) }}
32
+ {% endif %}
30
33
  </a>
31
34
  {% elif params.vignetteText %}
32
35
  <div class="{{ componentClassName + '__vignette'}}">{{ params.vignetteText }}</div>
@@ -79,18 +79,17 @@
79
79
  }
80
80
 
81
81
  .ds-teaser-package__vignette {
82
- color: $ds-color-static-white;
82
+ color: $ds-color-static-yellow;
83
83
  background-color: #2b2b2b; // @todo change to token when available
84
+ @include ds-typography($ds-typography-detailbaota-xl-label);
84
85
  }
85
86
 
86
87
  .ds-teaser-package__vignette
87
88
  + .ds-teaser--large:not(.ds-teaser--large-italic):not(.ds-teaser--large-big-italic) {
88
- @include ds-mq-smallest-breakpoint(desktop) {
89
- .ds-teaser__title {
90
- font-size: 80px; // special case, will not have a token
91
- line-height: 88px;
92
- }
89
+ .ds-teaser__title {
90
+ @include ds-typography($ds-typography-expressive-heading05bold);
93
91
  }
92
+
94
93
  @include ds-mq-only-breakpoint(mobile) {
95
94
  background-color: #2b2b2b; // @todo change to token when available
96
95
  .ds-teaser__title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "3.0.0-alpha.87",
3
+ "version": "3.0.0-alpha.88",
4
4
  "description": "DN design system for web.",
5
5
  "main": "index.js",
6
6
  "homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",