@rijkshuisstijl-community/components-css 1.0.3 → 1.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rijkshuisstijl-community/components-css",
3
- "version": "1.0.3",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "author": "Community for NL Design System",
6
6
  "description": "CSS Components for a design system based on the NL Design System architecture",
@@ -20,15 +20,15 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "scss": "0.2.4",
23
- "vite": "6.2.2"
23
+ "vite": "6.3.4"
24
24
  },
25
25
  "dependencies": {
26
- "@nl-design-system-candidate/heading-css": "1.0.0",
27
- "@nl-design-system-candidate/link-css": "1.0.0",
28
- "@nl-design-system-candidate/number-badge-css": "1.1.0",
29
- "@nl-design-system-candidate/paragraph-css": "2.0.0",
30
- "@nl-design-system-candidate/skip-link-css": "1.0.0",
31
- "@utrecht/component-library-css": "7.1.2"
26
+ "@nl-design-system-candidate/heading-css": "1.1.0",
27
+ "@nl-design-system-candidate/link-css": "1.0.1",
28
+ "@nl-design-system-candidate/number-badge-css": "1.1.2",
29
+ "@nl-design-system-candidate/paragraph-css": "2.1.0",
30
+ "@nl-design-system-candidate/skip-link-css": "1.0.2",
31
+ "@utrecht/component-library-css": "7.2.1"
32
32
  },
33
33
  "scripts": {
34
34
  "dev": "vite build --watch",
@@ -63,6 +63,10 @@
63
63
  z-index: 1;
64
64
  }
65
65
 
66
+ @mixin rhc-card__image-container {
67
+ order: -1;
68
+ }
69
+
66
70
  @mixin rhc-card__image {
67
71
  aspect-ratio: 16 / 9;
68
72
  block-size: 100%;
@@ -31,6 +31,11 @@
31
31
  .rhc-card__footer {
32
32
  @include mixin.rhc-card__content;
33
33
  }
34
+
35
+ .rhc-card__image-container {
36
+ @include mixin.rhc-card__image-container;
37
+ }
38
+
34
39
  .rhc-card__image {
35
40
  @include mixin.rhc-card__image;
36
41
  }
@@ -14,6 +14,7 @@
14
14
  --nl-heading-level-4-color: currentColor;
15
15
  --nl-heading-level-5-color: currentColor;
16
16
  --nl-heading-level-6-color: currentColor;
17
+ --nl-paragraph-color: currentColor;
17
18
 
18
19
  align-items: center;
19
20
  display: flex;
@@ -21,7 +22,7 @@
21
22
  padding-block: 0;
22
23
  padding-inline: 0;
23
24
 
24
- :is(h1, h2, h3, h4, h5, h6) {
25
+ :is(h1, h2, h3, h4, h5, h6, p) {
25
26
  margin-block-end: var(--utrecht-rich-text-friend-margin-block-end);
26
27
  }
27
28
  }
@@ -10,6 +10,10 @@
10
10
  margin-block-end: var(--nl-link-margin-block-end);
11
11
  }
12
12
 
13
+ .nl-link svg {
14
+ flex-shrink: 0;
15
+ }
16
+
13
17
  .nl-link:any-link {
14
18
  @include mixin.rhc-link--any-link;
15
19
  }
@@ -9,6 +9,10 @@
9
9
 
10
10
  align-items: flex-start;
11
11
  column-gap: var(--utrecht-link-list-item-column-gap, inherit);
12
+
13
+ .utrecht-icon {
14
+ flex-shrink: 0;
15
+ }
12
16
  }
13
17
 
14
18
  .utrecht-link-list__link:visited {
@@ -24,3 +28,8 @@
24
28
  .utrecht-link-list__item .utrecht-link:any-link {
25
29
  line-height: var(--rhc-line-height-md, inherit);
26
30
  }
31
+
32
+ .utrecht-link-list__item .nl-link {
33
+ --nl-link-column-gap: var(--utrecht-link-list-item-column-gap);
34
+ --nl-link-text-decoration-line: var(--rhc-link-list-text-decoration);
35
+ }