@bonniernews/dn-design-system-web 21.1.3 → 21.1.5
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/.release-it-beta.cjs +25 -0
- package/CHANGELOG.md +14 -0
- package/assets/teaser/teaser.scss +6 -4
- package/components/badge/badge.scss +6 -5
- package/components/blocked-content/blocked-content.scss +8 -6
- package/components/buddy-menu/buddy-menu.scss +13 -10
- package/components/button/button.scss +29 -19
- package/components/checkbox/checkbox.scss +1 -1
- package/components/disclaimer/disclaimer.scss +6 -4
- package/components/empty-state/empty-state.scss +6 -4
- package/components/factbox/factbox.scss +6 -4
- package/components/footer/footer.scss +5 -6
- package/components/game-header/game-header.scss +6 -4
- package/components/group-header/group-header.scss +4 -3
- package/components/image-caption/image-caption.scss +3 -2
- package/components/link-box/link-box-item.scss +6 -4
- package/components/list-item/list-item.scss +22 -14
- package/components/modal/modal.scss +6 -4
- package/components/pagination/pagination.scss +3 -2
- package/components/profile-header/profile-header.scss +9 -6
- package/components/quote/quote.scss +3 -2
- package/components/radio-button/radio-button.scss +1 -1
- package/components/tag-header/tag-header.scss +13 -9
- package/components/teaser-footer/teaser-footer.scss +6 -4
- package/components/teaser-image/teaser-image.scss +3 -2
- package/components/teaser-list-vertical/teaser-list-vertical.scss +6 -4
- package/components/teaser-longlife/teaser-longlife.scss +1 -1
- package/components/teaser-native/teaser-native.scss +3 -3
- package/components/teaser-standard/teaser-standard.scss +0 -1
- package/components/teaser-swipe-card/teaser-swipe-card.scss +7 -5
- package/components/teaser-tipsa/teaser-tipsa.scss +1 -1
- package/components/text-button/text-button.scss +14 -13
- package/components/text-button-toggle/text-button-toggle.scss +6 -3
- package/components/text-input/text-input.scss +6 -5
- package/components/tooltip/tooltip.scss +1 -1
- package/components/video-caption/video-caption.scss +4 -3
- package/components/vip-badge/vip-badge.scss +3 -3
- package/foundations/helpers/links.scss +27 -22
- package/foundations/helpers/mediaQueries.scss +0 -2
- package/foundations/helpers/metrics.scss +1 -2
- package/foundations/helpers/shadows.scss +0 -2
- package/foundations/helpers/spacing.scss +4 -3
- package/foundations/helpers/typography.scss +14 -8
- package/foundations/helpers/utilities.scss +2 -1
- package/foundations/shadows.scss +3 -3
- package/foundations/spacing.scss +2 -2
- package/package.json +2 -2
package/foundations/shadows.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "sass:meta";
|
|
2
|
-
@use "sass:string";
|
|
3
3
|
@use "./helpers/shadows.scss" as *;
|
|
4
4
|
@use "./variables/shadowsDnLightTokens";
|
|
5
5
|
@use "./variables/shadowsDnDarkTokens";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
html,
|
|
8
8
|
.ds-light {
|
|
9
9
|
@each $name, $value in meta.module-variables("shadowsDnLightTokens") {
|
|
10
|
-
@each $key in map
|
|
10
|
+
@each $key in map.keys($value) {
|
|
11
11
|
@include ds-shadow($key, light);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -18,7 +18,7 @@ html,
|
|
|
18
18
|
.dnDark,
|
|
19
19
|
.ds-dark {
|
|
20
20
|
@each $name, $value in meta.module-variables("shadowsDnDarkTokens") {
|
|
21
|
-
@each $key in map
|
|
21
|
+
@each $key in map.keys($value) {
|
|
22
22
|
@include ds-shadow($key, dark);
|
|
23
23
|
}
|
|
24
24
|
}
|
package/foundations/spacing.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
:root {
|
|
9
9
|
@each $name, $map in meta.module-variables("spacingDetail") {
|
|
10
|
-
@each $key in map
|
|
10
|
+
@each $key in map.keys($map) {
|
|
11
11
|
--ds-spacing-px-#{$key}: #{map.get($map, $key) * 1px};
|
|
12
12
|
--ds-spacing-rem-#{$key}: #{ds-px-to-rem(map.get($map, $key))};
|
|
13
13
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
@include ds-mq-smallest-breakpoint(tablet) {
|
|
17
17
|
@each $name, $map in meta.module-variables("spacingDetailScreenLarge") {
|
|
18
|
-
@each $key in map
|
|
18
|
+
@each $key in map.keys($map) {
|
|
19
19
|
--ds-spacing-px-#{$key}: #{map.get($map, $key) * 1px};
|
|
20
20
|
--ds-spacing-rem-#{$key}: #{ds-px-to-rem(map.get($map, $key))};
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.5",
|
|
4
4
|
"description": "DN design system for web.",
|
|
5
5
|
"main": "index.tsx",
|
|
6
6
|
"type": "module",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"scripts": {
|
|
74
74
|
"lint:styles": "yarn stylelint \"**/*.scss\" \"!node_modules/\"",
|
|
75
75
|
"release:web": "release-it --ci --vv",
|
|
76
|
-
"prerelease:web": "release-it --preRelease=beta --ci --vv"
|
|
76
|
+
"prerelease:web": "release-it --preRelease=beta --ci --vv --config .release-it-beta.cjs"
|
|
77
77
|
}
|
|
78
78
|
}
|