@bonniernews/dn-design-system-web 4.1.0 → 4.1.1

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
+ ## 4.1.1 (2023-09-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **web:** package release from web folder ([#982](https://github.com/BonnierNews/dn-design-system/issues/982)) ([7e73340](https://github.com/BonnierNews/dn-design-system/commit/7e73340e7f9fd1403ff7634d0f132b8581312d1f))
12
+
13
+
14
+
6
15
  ## 4.1.0 (2023-09-05)
7
16
 
8
17
 
@@ -40,17 +40,17 @@
40
40
  {% endif %}
41
41
 
42
42
  {% if params.vignette %}
43
- <div class="ds-teaser__vignette">{{ params.vignette }}</div>
43
+ <div class="ds-teaser__vignette">{{- params.vignette -}}</div>
44
44
  {% endif %}
45
45
 
46
46
  <h2 class="{{ componentClassName + '__title'}}">
47
- {{ params.title }}
47
+ {{- params.title -}}
48
48
  </h2>
49
49
 
50
50
  {% if params.text and nativeVariant !== "right" %}
51
51
  <p class="{{ componentClassName + '__text' }}">
52
- {{ TeaserDot() }}
53
- {{ params.text }}
52
+ {{- TeaserDot() -}}
53
+ {{- params.text -}}
54
54
  </p>
55
55
  {% endif %}
56
56
  </div>
@@ -1,5 +1,6 @@
1
1
  - GitHub: [BonnierNews/dn-design-system/../web/src/foundations/helpers/spacing.scss](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/foundations/helpers/spacing.scss)
2
- - Storybook: - not visible in storybook
2
+ - Storybook: [Spacing > Component](https://designsystem.dn.se/?path=/story/foundations-spacing--component)
3
+ - Storybook: [Spacing > Layout](https://designsystem.dn.se/?path=/story/foundations-spacing--layout)
3
4
 
4
5
  ----
5
6
 
@@ -10,7 +11,7 @@ To avoid silent breaking changes use sass variable instead of raw token name.
10
11
 
11
12
  Ex: `margin: ds-spacing-component($ds-sc-x1 0 $ds-sc-x4)`
12
13
 
13
- Ex: `@include ds-spacing-layout($ds-sl-page-horizontal auto, padding-top)`
14
+ Ex: `@include ds-spacing-layout($ds-sl-page-horizontal auto, padding-top)`
14
15
 
15
16
  By using sass variables (instead of token name directly), if a spacing token used in scss is removed sass will not compile - which is a good thing!
16
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
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",