@rijkshuisstijl-community/components-css 16.0.0 → 16.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 +7 -0
- package/index.scss +1 -1
- package/package.json +2 -1
- package/src/link/_mixin.scss +0 -23
- package/src/link/index.scss +0 -21
package/CHANGELOG.md
CHANGED
package/index.scss
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@use "src/language-navigation/index" as languageNavigation;
|
|
33
33
|
@use "src/link-list/index" as linkList;
|
|
34
34
|
@use "src/link-list-card/index" as linkListCard;
|
|
35
|
-
@use "
|
|
35
|
+
@use "@rijkshuisstijl-community/link-css/src/index" as link;
|
|
36
36
|
@use "src/listbox/index" as listbox;
|
|
37
37
|
@use "src/logo/index" as logo;
|
|
38
38
|
@use "src/navbar/index" as navbar;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/components-css",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.1",
|
|
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",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"@rijkshuisstijl-community/button-css": "1.0.0",
|
|
86
86
|
"@rijkshuisstijl-community/dot-badge-css": "1.0.0",
|
|
87
87
|
"@rijkshuisstijl-community/figure-css": "1.0.0",
|
|
88
|
+
"@rijkshuisstijl-community/link-css": "1.0.0",
|
|
88
89
|
"@rijkshuisstijl-community/paragraph-css": "2.0.0",
|
|
89
90
|
"@rijkshuisstijl-community/separator-css": "1.0.0"
|
|
90
91
|
},
|
package/src/link/_mixin.scss
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-link--any-link {
|
|
7
|
-
align-items: baseline;
|
|
8
|
-
column-gap: var(--rhc-link-column-gap, inherit);
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin rhc-link__icon {
|
|
13
|
-
--utrecht-icon-size: 1em;
|
|
14
|
-
|
|
15
|
-
align-self: center;
|
|
16
|
-
line-height: 1.25em;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* For rhc-link, `inline-flex` was chosen as default, to enable control on positioning of an icon.
|
|
20
|
-
To have a link in running text, please enable `inline` property and don't combine it with an icon. */
|
|
21
|
-
@mixin rhc-link--inline {
|
|
22
|
-
display: inline;
|
|
23
|
-
}
|
package/src/link/index.scss
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "mixin";
|
|
7
|
-
@use "@nl-design-system-candidate/link-css/dist/link.css";
|
|
8
|
-
.rhc-link {
|
|
9
|
-
&.nl-link:any-link {
|
|
10
|
-
@include mixin.rhc-link--any-link;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.nl-link .utrecht-icon,
|
|
14
|
-
&__icon {
|
|
15
|
-
@include mixin.rhc-link__icon;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&.nl-link:any-link.rhc-link--inline {
|
|
19
|
-
@include mixin.rhc-link--inline;
|
|
20
|
-
}
|
|
21
|
-
}
|