@bonniernews/dn-design-system-web 2.1.0-alpha.20 → 2.1.0-alpha.22
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,24 @@
|
|
|
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
|
+
## [2.1.0-alpha.22](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@2.1.0-alpha.21...@bonniernews/dn-design-system-web@2.1.0-alpha.22) (2023-03-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** set box-sizing on disclaimer ([#715](https://github.com/BonnierNews/dn-design-system/issues/715)) ([4933e7f](https://github.com/BonnierNews/dn-design-system/commit/4933e7f8ab27f20ac745b2b0d1706fb535d2335d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 2.1.0-alpha.21 (2023-03-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **web:** change breakpoint for large screen from desktop to tablet ([#708](https://github.com/BonnierNews/dn-design-system/issues/708)) ([fc3ae78](https://github.com/BonnierNews/dn-design-system/commit/fc3ae78eaae866bcab14b39a638df94349193dcd))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [2.1.0-alpha.20](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@2.1.0-alpha.19...@bonniernews/dn-design-system-web@2.1.0-alpha.20) (2023-03-01)
|
|
7
25
|
|
|
8
26
|
|
package/README.md
CHANGED
|
@@ -10,4 +10,4 @@ Storybook latest: [https://designsystem-latest.dn.se/](https://designsystem-late
|
|
|
10
10
|
|
|
11
11
|
Github: [https://github.com/BonnierNews/dn-design-system/tree/main/web/src](https://github.com/BonnierNews/dn-design-system/tree/main/web/src)
|
|
12
12
|
|
|
13
|
-
For specific instructions see each component readme.
|
|
13
|
+
For specific instructions see each component or helper readme.
|
|
@@ -74,7 +74,7 @@ $dsSerifWeights: (
|
|
|
74
74
|
$tmpMapScreenLarge: map.get($typographyTokensScreenLarge, $component);
|
|
75
75
|
|
|
76
76
|
@if $tmpMap {
|
|
77
|
-
@include ds-mq-largest-breakpoint(
|
|
77
|
+
@include ds-mq-largest-breakpoint(mobile) {
|
|
78
78
|
@include _ds-normalize-letter-spacing($tmpMap);
|
|
79
79
|
@each $key in map-keys($tmpMap) {
|
|
80
80
|
@include _ds-typography-get-property($tmpMap, $key, $forcePx);
|
|
@@ -83,7 +83,7 @@ $dsSerifWeights: (
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@if $tmpMapScreenLarge {
|
|
86
|
-
@include ds-mq-smallest-breakpoint(
|
|
86
|
+
@include ds-mq-smallest-breakpoint(tablet) {
|
|
87
87
|
@include _ds-normalize-letter-spacing($tmpMapScreenLarge);
|
|
88
88
|
@each $key in map-keys($tmpMapScreenLarge) {
|
|
89
89
|
@include _ds-typography-get-property(
|
|
@@ -99,9 +99,9 @@ $dsSerifWeights: (
|
|
|
99
99
|
@mixin ds-typography-without-mq($component, $screen: false, $forcePx: false) {
|
|
100
100
|
$tmpMap: false;
|
|
101
101
|
|
|
102
|
-
@if $screen == mobile
|
|
102
|
+
@if $screen == mobile {
|
|
103
103
|
$tmpMap: map.get($typographyTokensScreenSmall, $component);
|
|
104
|
-
} @else if $screen == desktop {
|
|
104
|
+
} @else if $screen == tablet or $screen == desktop {
|
|
105
105
|
$tmpMap: map.get($typographyTokensScreenLarge, $component);
|
|
106
106
|
}
|
|
107
107
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.22",
|
|
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",
|