@rijkshuisstijl-community/components-css 17.0.0 → 17.1.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/CHANGELOG.md +90 -0
- package/README.md +2 -2
- package/dist/index.css +1 -1
- package/index.scss +30 -30
- package/package.json +48 -18
- package/src/expandable-checkbox-group/_mixin.scss +1 -1
- package/src/wrapper/createSpacingCSS.js +2 -2
- package/src/code-input/index.scss +0 -14
- package/src/code-input-group/_mixin.scss +0 -16
- package/src/code-input-group/index.scss +0 -14
- package/src/data-badge-button/_mixin.scss +0 -28
- package/src/data-badge-button/index.scss +0 -23
- package/src/data-summary/_mixin.scss +0 -127
- package/src/data-summary/index.scss +0 -58
- package/src/file/index.scss +0 -43
- package/src/file-input/index.scss +0 -32
- package/src/footer/index.scss +0 -126
- package/src/heading/index.scss +0 -33
- package/src/hero/_mixin.scss +0 -104
- package/src/hero/index.scss +0 -87
- package/src/language-navigation/_mixin.scss +0 -85
- package/src/language-navigation/index.scss +0 -37
- package/src/link-button/_mixin.scss +0 -6
- package/src/link-button/index.scss +0 -7
- package/src/link-list/index.scss +0 -28
- package/src/link-list-card/index.scss +0 -15
- package/src/listbox/_mixin.scss +0 -6
- package/src/listbox/index.scss +0 -7
- package/src/logo/_mixin.scss +0 -61
- package/src/logo/index.scss +0 -32
- package/src/message-list/_mixin.scss +0 -89
- package/src/message-list/index.scss +0 -41
- package/src/navbar/index.scss +0 -98
- package/src/navigation-list/_mixin.scss +0 -97
- package/src/navigation-list/index.scss +0 -44
- package/src/number-badge/index.scss +0 -10
- package/src/ordered-list/_mixin.scss +0 -6
- package/src/ordered-list/index.scss +0 -7
- package/src/page-number-navigation/index.scss +0 -7
- package/src/radio/index.scss +0 -27
- package/src/rounded-corner/_mixin.scss +0 -20
- package/src/rounded-corner/index.scss +0 -31
- package/src/side-nav/index.scss +0 -49
- package/src/skip-link/index.scss +0 -6
- package/src/text-input/index.scss +0 -11
- package/src/textarea/index.scss +0 -13
- package/src/toggletip/_mixin.scss +0 -59
- package/src/toggletip/index.scss +0 -48
- package/src/unordered-list/_mixin.scss +0 -8
- package/src/unordered-list/index.scss +0 -10
- package/src/visually-hidden/_mixin.scss +0 -19
- package/src/visually-hidden/index.scss +0 -10
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-message-list {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
list-style: none;
|
|
10
|
-
margin-block: 0;
|
|
11
|
-
padding-inline: 0;
|
|
12
|
-
&:last-child {
|
|
13
|
-
border-block-end-color: var(--rhc-message-list-item-border-color);
|
|
14
|
-
border-block-end-style: solid;
|
|
15
|
-
border-block-end-width: var(--rhc-message-list-item-border-width);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
@mixin rhc-message-list__item {
|
|
19
|
-
background-color: var(--rhc-message-list-item-background-color);
|
|
20
|
-
border-block-start-color: var(--rhc-message-list-item-border-color);
|
|
21
|
-
border-block-start-style: solid;
|
|
22
|
-
border-block-start-width: var(--rhc-message-list-item-border-width);
|
|
23
|
-
color: var(--rhc-message-list-item-color);
|
|
24
|
-
column-gap: var(--rhc-message-list-item-column-gap);
|
|
25
|
-
display: flex;
|
|
26
|
-
min-block-size: var(--rhc-message-list-item-min-height);
|
|
27
|
-
padding-block: var(--rhc-message-list-item-padding-block);
|
|
28
|
-
padding-inline: var(--rhc-message-list-item-padding-inline);
|
|
29
|
-
position: relative;
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
&:hover {
|
|
32
|
-
background-color: var(--rhc-message-list-item-hover-background-color, var(--rhc-color-grijs-50));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:focus {
|
|
36
|
-
background-color: var(--rhc-message-list-item-focus-background-color, var(--rhc-color-lintblauw-50));
|
|
37
|
-
z-index: 999;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:active {
|
|
41
|
-
background-color: var(--rhc-message-list-item-active-background-color, var(--rhc-color-grijs-100));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@mixin rhc-message-list__item-content {
|
|
46
|
-
align-items: center;
|
|
47
|
-
display: grid;
|
|
48
|
-
flex: 1;
|
|
49
|
-
grid-column-gap: var(--rhc-message-list-item-content-column-gap);
|
|
50
|
-
grid-row-gap: var(--rhc-message-list-item-content-row-gap);
|
|
51
|
-
grid-template-areas:
|
|
52
|
-
"label description meta icon"
|
|
53
|
-
"label description meta icon"
|
|
54
|
-
"label description meta icon";
|
|
55
|
-
grid-template-columns: 1fr 2fr auto auto;
|
|
56
|
-
}
|
|
57
|
-
@mixin rhc-message-list__item__label {
|
|
58
|
-
--nl-paragraph-font-weight: var(--rhc-message-list-item-label-font-weight);
|
|
59
|
-
--nl-paragraph-font-size: var(--rhc-message-list-item-label-font-size);
|
|
60
|
-
--nl-paragraph-line-height: var(--rhc-message-list-item-label-line-height);
|
|
61
|
-
|
|
62
|
-
align-items: center;
|
|
63
|
-
color: var(--rhc-message-list-item-heading-color);
|
|
64
|
-
column-gap: var(--rhc-space-md);
|
|
65
|
-
display: flex;
|
|
66
|
-
font-family: var(--rhc-message-list-item-label-font-family), sans-serif;
|
|
67
|
-
grid-area: label;
|
|
68
|
-
margin-block: 0;
|
|
69
|
-
}
|
|
70
|
-
@mixin rhc-message-list__item__description {
|
|
71
|
-
--nl-paragraph-color: var(--rhc-color-foreground-subtle, inherit);
|
|
72
|
-
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
73
|
-
|
|
74
|
-
grid-area: description;
|
|
75
|
-
margin-block: 0;
|
|
76
|
-
}
|
|
77
|
-
@mixin rhc-message-list__item__meta-data {
|
|
78
|
-
--nl-paragraph-color: var(--rhc-color-foreground-subtle, inherit);
|
|
79
|
-
--nl-paragraph-font-size: var(--rhc-message-list-item-content-font-size);
|
|
80
|
-
|
|
81
|
-
grid-area: meta;
|
|
82
|
-
margin-block: 0;
|
|
83
|
-
}
|
|
84
|
-
@mixin rhc-navigation-list__item__end-icon {
|
|
85
|
-
--utrecht-icon-color: var(--rhc-color-foreground-lint, inherit);
|
|
86
|
-
|
|
87
|
-
grid-area: icon;
|
|
88
|
-
min-block-size: var(--rhc-message-list-item-icon-size);
|
|
89
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "mixin";
|
|
7
|
-
|
|
8
|
-
.rhc-message-list {
|
|
9
|
-
@include mixin.rhc-message-list;
|
|
10
|
-
&__item {
|
|
11
|
-
@include mixin.rhc-message-list__item;
|
|
12
|
-
&-content {
|
|
13
|
-
@include mixin.rhc-message-list__item-content;
|
|
14
|
-
}
|
|
15
|
-
&__label {
|
|
16
|
-
@include mixin.rhc-message-list__item__label;
|
|
17
|
-
}
|
|
18
|
-
&__description {
|
|
19
|
-
@include mixin.rhc-message-list__item__description;
|
|
20
|
-
}
|
|
21
|
-
&__meta-data {
|
|
22
|
-
@include mixin.rhc-message-list__item__meta-data;
|
|
23
|
-
}
|
|
24
|
-
&__end-icon {
|
|
25
|
-
@include mixin.rhc-navigation-list__item__end-icon;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.rhc-message-list__item-container {
|
|
30
|
-
container-name: message-list;
|
|
31
|
-
container-type: inline-size;
|
|
32
|
-
}
|
|
33
|
-
@container message-list (width <= 768px) {
|
|
34
|
-
.rhc-message-list__item-content {
|
|
35
|
-
grid-row-gap: var(--rhc-message-list-item-content-row-gap);
|
|
36
|
-
grid-template-areas:
|
|
37
|
-
"label label label icon"
|
|
38
|
-
"description description description icon"
|
|
39
|
-
"meta meta meta icon";
|
|
40
|
-
}
|
|
41
|
-
}
|
package/src/navbar/index.scss
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-nav-bar__container {
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: var(--rhc-nav-bar-background-color);
|
|
9
|
-
border-block-end-color: var(--rhc-nav-bar-border-color);
|
|
10
|
-
border-block-end-style: solid;
|
|
11
|
-
border-block-end-width: var(--rhc-nav-bar-border-block-end-width);
|
|
12
|
-
display: flex;
|
|
13
|
-
inline-size: var(--rhc-nav-bar-container-inline-size);
|
|
14
|
-
justify-content: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.rhc-nav-bar {
|
|
18
|
-
align-items: center;
|
|
19
|
-
background-color: var(--rhc-nav-bar-background-color);
|
|
20
|
-
color: var(--rhc-nav-bar-color);
|
|
21
|
-
column-gap: var(--rhc-nav-bar-content-column-gap);
|
|
22
|
-
display: flex;
|
|
23
|
-
flex: 1;
|
|
24
|
-
font-family: var(--rhc-text-font-family-default, inherit);
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
max-inline-size: var(--rhc-nav-bar-max-inline-size);
|
|
27
|
-
row-gap: var(--rhc-nav-bar-content-row-gap);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.rhc-nav-bar__list {
|
|
31
|
-
background-color: var(--rhc-nav-bar-background-color);
|
|
32
|
-
display: flex;
|
|
33
|
-
list-style: none;
|
|
34
|
-
margin-block: 0;
|
|
35
|
-
margin-inline: 0;
|
|
36
|
-
padding-block: 0;
|
|
37
|
-
padding-inline: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.rhc-nav-bar__list--end {
|
|
41
|
-
margin-inline-start: auto;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.rhc-nav-bar__heading {
|
|
45
|
-
font-weight: var(--rhc-nav-bar-heading-font-weight);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.rhc-nav-bar__link {
|
|
49
|
-
--nl-link-text-decoration-line: none;
|
|
50
|
-
--utrecht-link-visited-color: var(--rhc-nav-bar-color);
|
|
51
|
-
--nl-link-color: var(--rhc-nav-bar-color);
|
|
52
|
-
|
|
53
|
-
font-size: var(--rhc-nav-bar-link-font-size);
|
|
54
|
-
padding-block-end: var(--rhc-nav-bar-link-padding-block-end);
|
|
55
|
-
padding-block-start: var(--rhc-nav-bar-link-padding-block-start);
|
|
56
|
-
padding-inline-end: var(--rhc-nav-bar-link-padding-inline-end);
|
|
57
|
-
padding-inline-start: var(--rhc-nav-bar-link-padding-inline-start);
|
|
58
|
-
text-decoration: none;
|
|
59
|
-
|
|
60
|
-
&:active {
|
|
61
|
-
background-color: var(--rhc-nav-bar-link-active-background-color);
|
|
62
|
-
color: var(--rhc-nav-bar-link-active-color);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:hover {
|
|
66
|
-
background-color: var(--rhc-nav-bar-link-hover-background-color);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:focus {
|
|
70
|
-
background-color: var(--rhc-nav-bar-link-focus-background-color);
|
|
71
|
-
color: var(--rhc-nav-bar-link-focus-color);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.rhc-sub-nav-bar {
|
|
76
|
-
--utrecht-column-layout-gap: var(--rhc-sub-nav-bar-column-gap);
|
|
77
|
-
--utrecht-column-layout-column-width: var(--rhc-sub-nav-bar-column-width);
|
|
78
|
-
|
|
79
|
-
background-color: var(--rhc-sub-nav-bar-background-color);
|
|
80
|
-
inline-size: var(--rhc-sub-nav-bar-inline-size);
|
|
81
|
-
padding-block-end: calc(var(--rhc-sub-nav-bar-padding-block-end) - var(--rhc-sub-nav-bar-content-list-row-gap));
|
|
82
|
-
padding-block-start: var(--rhc-sub-nav-bar-padding-block-start);
|
|
83
|
-
text-align: center;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.rhc-sub-nav-bar__content {
|
|
87
|
-
margin-inline-end: auto;
|
|
88
|
-
margin-inline-start: auto;
|
|
89
|
-
max-inline-size: var(--rhc-sub-nav-bar-content-max-inline-size);
|
|
90
|
-
padding-inline-end: var(--rhc-sub-nav-bar-content-padding-inline-end);
|
|
91
|
-
padding-inline-start: var(--rhc-sub-nav-bar-content-padding-inline-start);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.rhc-sub-nav-bar__list {
|
|
95
|
-
break-inside: avoid;
|
|
96
|
-
margin-block-end: var(--rhc-sub-nav-bar-content-list-row-gap);
|
|
97
|
-
text-align: initial;
|
|
98
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-navigation-list {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
list-style: none;
|
|
10
|
-
margin-block: 0;
|
|
11
|
-
padding-inline: 0;
|
|
12
|
-
&:last-child {
|
|
13
|
-
border-block-start-color: var(--rhc-navigation-list-item-border-color, var(--rhc-color-grijs-300));
|
|
14
|
-
border-block-start-style: solid;
|
|
15
|
-
border-block-start-width: var(--rhc-navigation-list-item-border-width, var(--rhc-border-width-default));
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
@mixin rhc-navigation-list__item {
|
|
19
|
-
align-items: center;
|
|
20
|
-
background-color: var(--rhc-navigation-list-item-background-color, var(--rhc-color-bg-document));
|
|
21
|
-
border-block-end-color: var(--rhc-navigation-list-item-border-color, var(--rhc-color-grijs-300));
|
|
22
|
-
border-block-end-style: solid;
|
|
23
|
-
border-block-end-width: var(--rhc-navigation-list-item-border-width, var(--rhc-border-width-default));
|
|
24
|
-
column-gap: var(--rhc-navigation-list-item-column-gap, var(--rhc-space-md));
|
|
25
|
-
display: flex;
|
|
26
|
-
min-block-size: var(--rhc-navigation-list-item-min-height, var(--rhc-size-pointer-target));
|
|
27
|
-
padding-block: var(--rhc-navigation-list-item-padding-block, var(--rhc-space-md));
|
|
28
|
-
padding-inline: var(--rhc-navigation-list-item-padding-inline, var(--rhc-space-xl));
|
|
29
|
-
position: relative;
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
&:hover {
|
|
32
|
-
background-color: var(--rhc-navigation-list-item-hover-background-color, var(--rhc-color-grijs-50));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:focus {
|
|
36
|
-
background-color: var(--rhc-navigation-list-item-focus-background-color, var(--rhc-color-lintblauw-50));
|
|
37
|
-
z-index: 999;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:active {
|
|
41
|
-
background-color: var(--rhc-navigation-list-item-active-background-color, var(--rhc-color-grijs-100));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@mixin rhc-navigation-list__item__start-icon {
|
|
46
|
-
--utrecht-icon-color: var(--rhc-navigation-list-item-icon-start-color, var(--rhc-color-foreground-subtle));
|
|
47
|
-
|
|
48
|
-
background-color: var(--rhc-navigation-list-item-icon-start-background-color, var(--rhc-color-wit));
|
|
49
|
-
block-size: var(--rhc-navigation-list-item-icon-start-size);
|
|
50
|
-
border-radius: var(--rhc-navigation-list-item-icon-start-border-radius, var(--rhc-border-radius-circle));
|
|
51
|
-
grid-area: start-icon;
|
|
52
|
-
min-inline-size: var(--rhc-navigation-list-item-icon-start-size);
|
|
53
|
-
padding-block: var(--rhc-navigation-list-item-icon-start-padding-block);
|
|
54
|
-
padding-inline: var(--rhc-navigation-list-item-icon-start-padding-inline);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@mixin rhc-navigation-list__item-content {
|
|
58
|
-
align-items: center;
|
|
59
|
-
display: grid;
|
|
60
|
-
flex: 1;
|
|
61
|
-
grid-column-gap: var(--rhc-navigation-list-item-content-column-gap, var(--rhc-space-md));
|
|
62
|
-
grid-row-gap: var(--rhc-navigation-list-item-content-row-gap, var(--rhc-space-md));
|
|
63
|
-
grid-template-areas:
|
|
64
|
-
"label content content end-icon"
|
|
65
|
-
"label content content end-icon";
|
|
66
|
-
grid-template-columns: 1fr 1fr 1fr auto;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@mixin rhc-navigation-list__item__label {
|
|
70
|
-
--nl-paragraph-color: var(--rhc-navigation-list-item-label-color, var(--rhc-color-foreground-lint));
|
|
71
|
-
--nl-paragraph-font-family:
|
|
72
|
-
var(--rhc-navigation-list-item-label-font-family, var(--rhc-text-font-family-default)), sans-serif;
|
|
73
|
-
--nl-paragraph-font-size: var(--rhc-navigation-list-item-label-font-size);
|
|
74
|
-
--nl-paragraph-font-weight: var(--rhc-navigation-list-item-label-font-weight, var(--rhc-text-font-weight-bold));
|
|
75
|
-
--nl-paragraph-line-height: var(--rhc-navigation-list-item-label-line-height, var(--rhc-text-line-height-md));
|
|
76
|
-
--nl-paragraph-margin-block-end: 0;
|
|
77
|
-
--nl-paragraph-margin-block-start: 0;
|
|
78
|
-
|
|
79
|
-
grid-area: label;
|
|
80
|
-
}
|
|
81
|
-
@mixin rhc-navigation-list__item__description {
|
|
82
|
-
--nl-paragraph-color: var(--rhc-navigation-list-item-description-color, var(--rhc-color-foreground-subtle));
|
|
83
|
-
--nl-paragraph-font-size: var(--rhc-navigation-list-item-description-font-size);
|
|
84
|
-
--nl-paragraph-line-height: var(--rhc-navigation-list-item-description-line-height, inherit);
|
|
85
|
-
--nl-paragraph-margin-block-end: 0;
|
|
86
|
-
--nl-paragraph-margin-block-start: 0;
|
|
87
|
-
|
|
88
|
-
grid-area: content;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@mixin rhc-navigation-list__item__end-icon {
|
|
92
|
-
--utrecht-icon-color: var(--rhc-navigation-list-item-icon-end-color, var(--rhc-color-foreground-subtle));
|
|
93
|
-
|
|
94
|
-
align-self: center;
|
|
95
|
-
grid-area: end-icon;
|
|
96
|
-
justify-self: end;
|
|
97
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "mixin";
|
|
7
|
-
|
|
8
|
-
.rhc-navigation-list {
|
|
9
|
-
@include mixin.rhc-navigation-list;
|
|
10
|
-
&__item {
|
|
11
|
-
@include mixin.rhc-navigation-list__item;
|
|
12
|
-
&-content {
|
|
13
|
-
@include mixin.rhc-navigation-list__item-content;
|
|
14
|
-
}
|
|
15
|
-
&__label {
|
|
16
|
-
@include mixin.rhc-navigation-list__item__label;
|
|
17
|
-
}
|
|
18
|
-
&__description {
|
|
19
|
-
@include mixin.rhc-navigation-list__item__description;
|
|
20
|
-
}
|
|
21
|
-
&__start-icon {
|
|
22
|
-
@include mixin.rhc-navigation-list__item__start-icon;
|
|
23
|
-
}
|
|
24
|
-
&__end-icon {
|
|
25
|
-
@include mixin.rhc-navigation-list__item__end-icon;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.rhc-navigation-list--container-small {
|
|
30
|
-
container-type: inline-size;
|
|
31
|
-
}
|
|
32
|
-
@container (width <= 768px) {
|
|
33
|
-
.rhc-navigation-list__item-content {
|
|
34
|
-
grid-template-areas:
|
|
35
|
-
"label label label end-icon"
|
|
36
|
-
"content content content end-icon";
|
|
37
|
-
}
|
|
38
|
-
.rhc-navigation-list__item__start-icon {
|
|
39
|
-
align-self: start;
|
|
40
|
-
}
|
|
41
|
-
.rhc-navigation-list__item__description {
|
|
42
|
-
text-align: start;
|
|
43
|
-
}
|
|
44
|
-
}
|
package/src/radio/index.scss
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-radio.utrecht-radio-button {
|
|
7
|
-
--utrecht-radio-button-icon-size: calc(var(--utrecht-radio-button-dot-size) * 0.5);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.rhc-radio.utrecht-radio-button:disabled,
|
|
11
|
-
.rhc-radio.utrecht-radio-button--disabled {
|
|
12
|
-
--utrecht-radio-button-checked-color: var(--utrecht-radio-button-disabled-color, inherit);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.rhc-radio.utrecht-radio-button:invalid,
|
|
16
|
-
.rhc-radio.utrecht-radio-button--invalid {
|
|
17
|
-
--utrecht-radio-button-background-color: var(--utrecht-radio-button-invalid-background-color, inherit);
|
|
18
|
-
&:hover,
|
|
19
|
-
&:focus {
|
|
20
|
-
background-color: var(--utrecht-radio-button-background-color);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.rhc-radio.utrecht-radio-button:focus:focus,
|
|
25
|
-
.rhc-radio.utrecht-radio-button--focus {
|
|
26
|
-
--utrecht-radio-button-checked-color: var(--utrecht-radio-button-checked-background-color, inherit);
|
|
27
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "sass:map";
|
|
7
|
-
|
|
8
|
-
$rhc-rounded-corner-positions: ("start-start", "start-end", "end-start", "end-end") !default;
|
|
9
|
-
$rhc-rounded-corner-sizes: ("sm", "md", "lg") !default;
|
|
10
|
-
|
|
11
|
-
@mixin rhc-rounded-corner {
|
|
12
|
-
overflow: var(--rhc-rounded-corner-overflow);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin rhc-reset-border-radius {
|
|
16
|
-
border-end-end-radius: 0;
|
|
17
|
-
border-end-start-radius: 0;
|
|
18
|
-
border-start-end-radius: 0;
|
|
19
|
-
border-start-start-radius: 0;
|
|
20
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "mixin";
|
|
7
|
-
|
|
8
|
-
.rhc-rounded-corner {
|
|
9
|
-
--_rhc-rounded-corner-border-radius: var(
|
|
10
|
-
--rhc-rounded-corner-border-radius,
|
|
11
|
-
var(--rhc-rounded-corner-md-border-radius)
|
|
12
|
-
);
|
|
13
|
-
@include mixin.rhc-rounded-corner;
|
|
14
|
-
@include mixin.rhc-reset-border-radius;
|
|
15
|
-
|
|
16
|
-
&.rhc-rounded-corner--size {
|
|
17
|
-
@each $size in mixin.$rhc-rounded-corner-sizes {
|
|
18
|
-
&-#{$size} {
|
|
19
|
-
--_rhc-rounded-corner-border-radius: var(--rhc-rounded-corner-#{$size}-border-radius);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.rhc-rounded-corner--position {
|
|
25
|
-
@each $position in mixin.$rhc-rounded-corner-positions {
|
|
26
|
-
&-#{$position} {
|
|
27
|
-
border-#{$position}-radius: var(--_rhc-rounded-corner-border-radius);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
package/src/side-nav/index.scss
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-side-nav {
|
|
7
|
-
display: var(--rhc-sidenav-display, flex);
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
row-gap: var(--rhc-sidenav-row-gap);
|
|
10
|
-
&__heading {
|
|
11
|
-
display: none;
|
|
12
|
-
}
|
|
13
|
-
&__list {
|
|
14
|
-
list-style: none;
|
|
15
|
-
margin-block: 0;
|
|
16
|
-
padding-block: 0;
|
|
17
|
-
padding-inline: 0;
|
|
18
|
-
}
|
|
19
|
-
&__link {
|
|
20
|
-
align-items: center;
|
|
21
|
-
color: var(--rhc-sidenav-link-color);
|
|
22
|
-
column-gap: var(--rhc-sidenav-link-column-gap);
|
|
23
|
-
display: flex;
|
|
24
|
-
font-family: var(--rhc-sidenav-link-font-family), sans-serif;
|
|
25
|
-
font-size: var(--rhc-sidenav-link-font-size);
|
|
26
|
-
font-weight: var(--rhc-sidenav-link-font-weight);
|
|
27
|
-
line-height: var(--rhc-sidenav-link-line-height);
|
|
28
|
-
padding-block-end: var(--rhc-sidenav-link-padding-block-end);
|
|
29
|
-
padding-block-start: var(--rhc-sidenav-link-padding-block-start);
|
|
30
|
-
text-decoration: var(--rhc-sidenav-link-text-decoration);
|
|
31
|
-
&[aria-current="page"] {
|
|
32
|
-
color: var(--rhc-sidenav-link-current-color);
|
|
33
|
-
font-weight: var(--rhc-sidenav-link-current-font-weight);
|
|
34
|
-
}
|
|
35
|
-
&:active {
|
|
36
|
-
color: var(--rhc-sidenav-link-active-color);
|
|
37
|
-
text-decoration: var(--rhc-sidenav-link-active-text-decoration);
|
|
38
|
-
}
|
|
39
|
-
&:focus {
|
|
40
|
-
background-color: var(--rhc-sidenav-link-focus-background-color);
|
|
41
|
-
color: var(--rhc-sidenav-link-focus-color);
|
|
42
|
-
text-decoration: var(--rhc-sidenav-link-focus-text-decoration);
|
|
43
|
-
}
|
|
44
|
-
&:hover {
|
|
45
|
-
color: var(--rhc-sidenav-link-hover-color);
|
|
46
|
-
text-decoration: var(--rhc-sidenav-link-hover-text-decoration);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
package/src/skip-link/index.scss
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-text-input.utrecht-textbox:focus {
|
|
7
|
-
border-width: var(--utrecht-textbox-focus-border-width, var(--rhc-border-width-md));
|
|
8
|
-
}
|
|
9
|
-
.rhc-text-input.utrecht-textbox--invalid:focus {
|
|
10
|
-
border-width: var(--utrecht-textbox-focus-border-width, var(--rhc-border-width-md));
|
|
11
|
-
}
|
package/src/textarea/index.scss
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-textarea.utrecht-textarea {
|
|
7
|
-
&:focus {
|
|
8
|
-
border-width: var(--rhc-textarea-focus-border-width, var(--rhc-border-width-md));
|
|
9
|
-
}
|
|
10
|
-
&--html-textarea:read-only {
|
|
11
|
-
--utrecht-textarea-read-only-border: var(--utrecht-textarea-read-only-background-color, --rhc-color-grijs-100);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-toggletip {
|
|
7
|
-
background-color: transparent;
|
|
8
|
-
border-radius: var(--rhc-toggletip-border-radius);
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
size: var(--rhc-toggletip-size);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin rhc-toggletip__summary {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
display: inline-flex;
|
|
17
|
-
margin-block-end: var(--rhc-toggletip-gap, var(--rhc-space-xl));
|
|
18
|
-
max-inline-size: var(--rhc-toggletip-size);
|
|
19
|
-
size: var(--rhc-toggletip-size);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin rhc-toggletip__button {
|
|
23
|
-
background-color: var(--rhc-toggletip-background-color);
|
|
24
|
-
border-color: var(--rhc-toggletip-border-color);
|
|
25
|
-
border-radius: var(--rhc-toggletip-border-radius);
|
|
26
|
-
border-width: var(--rhc-toggletip-border-width);
|
|
27
|
-
color: var(--rhc-toggletip-color);
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
max-inline-size: var(--rhc-toggletip-size);
|
|
31
|
-
padding-block: 0;
|
|
32
|
-
padding-inline: 0;
|
|
33
|
-
size: var(--rhc-toggletip-size);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin rhc-toggletip__button--no-pointer-events {
|
|
37
|
-
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@mixin rhc-toggletip__icon {
|
|
41
|
-
size: var(--rhc-toggletip-icon-size);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@mixin rhc-toggletip--active {
|
|
45
|
-
background-color: var(--rhc-toggletip-active-background-color);
|
|
46
|
-
border-color: var(--rhc-toggletip-active-border-color);
|
|
47
|
-
border-style: solid;
|
|
48
|
-
color: var(--rhc-toggletip-active-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@mixin rhc-toggletip--hover {
|
|
52
|
-
background-color: var(--rhc-toggletip-hover-background-color);
|
|
53
|
-
color: var(--rhc-toggletip-hover-color);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin rhc-toggletip--focus {
|
|
57
|
-
background-color: var(--rhc-toggletip-focus-background-color);
|
|
58
|
-
color: var(--rhc-toggletip-focus-color);
|
|
59
|
-
}
|
package/src/toggletip/index.scss
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2026 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "mixin";
|
|
7
|
-
|
|
8
|
-
.rhc-toggletip {
|
|
9
|
-
@include mixin.rhc-toggletip;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.rhc-toggletip__summary {
|
|
13
|
-
@include mixin.rhc-toggletip__summary;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.rhc-toggletip__button {
|
|
17
|
-
@include mixin.rhc-toggletip__button;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.rhc-toggletip__summary .rhc-toggletip__button {
|
|
21
|
-
// If button is not used standalone the summary should take precedence
|
|
22
|
-
@include mixin.rhc-toggletip__button--no-pointer-events;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.rhc-toggletip__button:focus {
|
|
26
|
-
@include mixin.rhc-toggletip--focus;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.rhc-toggletip__button:hover {
|
|
30
|
-
@include mixin.rhc-toggletip--hover;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.rhc-toggletip__summary:focus .rhc-toggletip__button {
|
|
34
|
-
@include mixin.rhc-toggletip--focus;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.rhc-toggletip__summary:hover .rhc-toggletip__button {
|
|
38
|
-
@include mixin.rhc-toggletip--hover;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.rhc-toggletip:active .rhc-toggletip__button,
|
|
42
|
-
.rhc-toggletip[open] .rhc-toggletip__button {
|
|
43
|
-
@include mixin.rhc-toggletip--active;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.rhc-toggletip__icon {
|
|
47
|
-
@include mixin.rhc-toggletip__icon;
|
|
48
|
-
}
|