@bonniernews/dn-design-system-web 8.0.0 → 8.0.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
+ ## 8.0.1 (2023-10-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **web:** hide scrollbars in TeaserListSwipe ([#1074](https://github.com/BonnierNews/dn-design-system/issues/1074)) ([69351f0](https://github.com/BonnierNews/dn-design-system/commit/69351f08c1d2548ea0b957e92a61ae6dae018b9a))
12
+
13
+
14
+
6
15
  ## 8.0.0 (2023-10-26)
7
16
 
8
17
 
@@ -19,6 +19,7 @@
19
19
  grid-auto-flow: column;
20
20
  gap: ds-spacing($ds-s-050);
21
21
 
22
+ @include ds-hide-scrollbars();
22
23
  @include ds-teaser-focus(2px);
23
24
  }
24
25
 
@@ -11,3 +11,12 @@
11
11
 
12
12
  @return $number;
13
13
  }
14
+
15
+ @mixin ds-hide-scrollbars() {
16
+ scrollbar-width: none; // hide scrollbar in Firefox
17
+ -ms-overflow-style: none; // hide scrollbar in IE
18
+
19
+ &::-webkit-scrollbar {
20
+ display: none; // hide scrhollbar in chrome, edge & safari
21
+ }
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "8.0.0",
3
+ "version": "8.0.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",