@rijkshuisstijl-community/components-css 1.0.0-alpha.27 → 1.0.0-alpha.7
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/button/README.md +3 -0
- package/button/index.scss +10 -12
- package/package.json +12 -8
- package/accordion/index.scss +0 -68
- package/action-group/index.scss +0 -11
- package/alert/index.scss +0 -27
- package/article/index.scss +0 -1
- package/blockquote/_mixin.scss +0 -85
- package/blockquote/index.scss +0 -34
- package/breadcrumb-nav/index.scss +0 -25
- package/button/_mixin.scss +0 -36
- package/checkbox/_mixin.scss +0 -103
- package/checkbox/index.scss +0 -34
- package/dot-badge/_mixin.scss +0 -12
- package/dot-badge/index.scss +0 -9
- package/fieldset/index.scss +0 -11
- package/figure/index.scss +0 -18
- package/footer/index.scss +0 -37
- package/form/index.scss +0 -3
- package/form-field/index.scss +0 -13
- package/form-field-error-message/index.scss +0 -15
- package/form-field-radio-option/index.scss +0 -13
- package/hero/_mixin.scss +0 -93
- package/hero/index.scss +0 -73
- package/index.scss +0 -40
- package/link/_mixin.scss +0 -34
- package/link/index.scss +0 -41
- package/link-list/index.scss +0 -9
- package/link-list-card/index.scss +0 -10
- package/logo/_mixin.scss +0 -53
- package/logo/index.scss +0 -26
- package/navbar/index.scss +0 -55
- package/navigation-list/_mixin.scss +0 -88
- package/navigation-list/index.scss +0 -43
- package/ordered-list/index.scss +0 -18
- package/radio/index.scss +0 -27
- package/radio-group/_mixin.scss +0 -12
- package/radio-group/index.scss +0 -10
- package/select/index.scss +0 -19
- package/separator/index.scss +0 -14
- package/side-nav/index.scss +0 -50
- package/skip-link/_mixin.scss +0 -13
- package/skip-link/index.scss +0 -43
- package/table/index.scss +0 -56
- package/textarea/index.scss +0 -8
- package/textbox/index.scss +0 -6
- package/toggletip/_mixin.scss +0 -59
- package/toggletip/index.scss +0 -48
- package/unordered-list/index.scss +0 -27
package/button/README.md
ADDED
package/button/index.scss
CHANGED
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
* @license EUPL-1.2
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
|
-
@import "./mixin";
|
|
6
5
|
|
|
7
|
-
.rhc-button
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@include invisible-but-accessible;
|
|
6
|
+
.rhc-button {
|
|
7
|
+
background-color: var(--rhc-button-background-color);
|
|
8
|
+
border: 0;
|
|
9
|
+
color: var(--rhc-button-color);
|
|
10
|
+
font-family: system-ui;
|
|
11
|
+
font-size: 1rem;
|
|
12
|
+
padding-block-end: 1ex;
|
|
13
|
+
padding-block-start: 1ex;
|
|
14
|
+
padding-inline-end: 1ch;
|
|
15
|
+
padding-inline-start: 1ch;
|
|
18
16
|
}
|
package/package.json
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"version": "1.0.0-alpha.27",
|
|
2
|
+
"version": "1.0.0-alpha.7",
|
|
4
3
|
"author": "Community for NL Design System",
|
|
5
4
|
"description": "CSS Components for a design system based on the NL Design System architecture",
|
|
6
5
|
"license": "EUPL-1.2",
|
|
6
|
+
"name": "@rijkshuisstijl-community/components-css",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"nl-design-system"
|
|
9
9
|
],
|
|
10
10
|
"private": false,
|
|
11
11
|
"publishConfig": {
|
|
12
|
-
"access": "
|
|
12
|
+
"access": "restricted",
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@babel/core": "7.22.5",
|
|
17
|
+
"@mdx-js/react": "1.6.22",
|
|
18
|
+
"@storybook/addon-docs": "6.5.16",
|
|
19
|
+
"react": "18.2.0",
|
|
20
|
+
"react-dom": "18.2.0",
|
|
21
|
+
"typescript": "4.9.5",
|
|
22
|
+
"webpack": "5.88.0"
|
|
19
23
|
},
|
|
20
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9b428801d2a503048bfe61d1e2ec0272a8fa1a4d"
|
|
21
25
|
}
|
package/accordion/index.scss
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../button/mixin";
|
|
7
|
-
|
|
8
|
-
.utrecht-accordion {
|
|
9
|
-
color: var(--rhc-accordion-color, inherit);
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
margin-block-end: var(--utrecht-accordion-margin-block-end);
|
|
13
|
-
row-gap: var(--utrecht-accordion-row-gap, inherit);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.utrecht-accordion__header {
|
|
17
|
-
margin-block-end: var(--rhc-accordion-header-margin-block-end, var(--rhc-accordion-header-margin, inherit));
|
|
18
|
-
margin-block-start: var(--rhc-accordion-header-margin-block-start, var(--rhc-accordion-header-margin, inherit));
|
|
19
|
-
margin-inline-end: var(--rhc-accordion-header-margin-inline-end, var(--rhc-accordion-header-margin, inherit));
|
|
20
|
-
margin-inline-start: var(--rhc-accordion-header-margin-inline-start, var(--rhc-accordion-header-margin, inherit));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.utrecht-accordion__section {
|
|
24
|
-
border-block-end-width: var(
|
|
25
|
-
--rhc-accordion-section-border-block-end-width,
|
|
26
|
-
var(--rhc-accordion-section-border-width, inherit)
|
|
27
|
-
);
|
|
28
|
-
border-block-start-width: var(
|
|
29
|
-
--rhc-accordion-section-border-block-start-width,
|
|
30
|
-
var(--rhc-accordion-section-border-width, inherit)
|
|
31
|
-
);
|
|
32
|
-
border-color: var(--rhc-accordion-section-border-color, inherit);
|
|
33
|
-
border-inline-end-width: var(
|
|
34
|
-
--rhc-accordion-section-border-inline-end-width,
|
|
35
|
-
var(--rhc-accordion-section-border-width, inherit)
|
|
36
|
-
);
|
|
37
|
-
border-inline-start-width: var(
|
|
38
|
-
--rhc-accordion-section-border-inline-start-width,
|
|
39
|
-
var(--rhc-accordion-section-border-width, inherit)
|
|
40
|
-
);
|
|
41
|
-
border-style: solid;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.utrecht-accordion__button {
|
|
45
|
-
--_utrecht-button-appearance-font-weight: var(--rhc-accordion-button-font-weight, inherit);
|
|
46
|
-
--utrecht-button-border-radius: var(--rhc-accordion-border-radius, inherit);
|
|
47
|
-
--utrecht-button-padding-block-end: var(--rhc-accordion-button-padding-block-end, inherit);
|
|
48
|
-
--utrecht-button-padding-block-start: var(--rhc-accordion-button-padding-block-start, inherit);
|
|
49
|
-
--utrecht-button-padding-inline-end: var(--rhc-accordion-button-padding-inline-end, inherit);
|
|
50
|
-
--utrecht-button-padding-inline-start: var(--rhc-accordion-button-padding-inline-start, inherit);
|
|
51
|
-
|
|
52
|
-
align-items: start;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.utrecht-accordion__button:focus-visible,
|
|
56
|
-
.utrecht-accordion__button--focus-visible {
|
|
57
|
-
@include rhc-button--focus-visible;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.utrecht-accordion__button-icon {
|
|
61
|
-
align-items: center;
|
|
62
|
-
block-size: var(--utrecht-accordion-button-icon-size);
|
|
63
|
-
display: flex;
|
|
64
|
-
fill: var(--utrecht-accordion-button-color, inherit);
|
|
65
|
-
inline-size: var(--utrecht-accordion-button-icon-size);
|
|
66
|
-
justify-content: center;
|
|
67
|
-
margin-block: var(--rhc-accordion-button-icon-margin-block);
|
|
68
|
-
}
|
package/action-group/index.scss
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
.utrecht-button-group {
|
|
2
|
-
column-gap: var(--utrecht-button-group-column-gap, 0.5rem);
|
|
3
|
-
row-gap: var(--utrecht-button-group-row-gap, 0.5rem);
|
|
4
|
-
@media (width <= 768px) {
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
.utrecht-button,
|
|
7
|
-
.utrecht-button-link {
|
|
8
|
-
min-inline-size: 100%;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
package/alert/index.scss
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.rhc-alert__container {
|
|
7
|
-
display: flex;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.rhc-alert__icon-container {
|
|
11
|
-
inline-size: var(--utrecht-alert-icon-size);
|
|
12
|
-
inset-block-start: var(--utrecht-alert-icon-inset-block-start);
|
|
13
|
-
min-inline-size: var(--utrecht-alert-icon-size);
|
|
14
|
-
padding-inline-end: var(--rhc-space-100);
|
|
15
|
-
&--ok {
|
|
16
|
-
color: var(--rhc-color-feedback-success-default);
|
|
17
|
-
}
|
|
18
|
-
&--error {
|
|
19
|
-
color: var(--rhc-color-feedback-error-default);
|
|
20
|
-
}
|
|
21
|
-
&--warning {
|
|
22
|
-
color: var(--rhc-color-feedback-warning-default);
|
|
23
|
-
}
|
|
24
|
-
&--info {
|
|
25
|
-
color: var(--rhc-color-feedback-info-default);
|
|
26
|
-
}
|
|
27
|
-
}
|
package/article/index.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// if needed add styles here for the Article components.
|
package/blockquote/_mixin.scss
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-blockquote {
|
|
7
|
-
background-color: var(--utrecht-blockquote-background-color);
|
|
8
|
-
border-block-end-width: var(--utrecht-blockquote-border-block-end-width);
|
|
9
|
-
border-block-start-width: var(--utrecht-blockquote-border-block-start-width);
|
|
10
|
-
border-color: var(--utrecht-blockquote-border-color);
|
|
11
|
-
border-end-end-radius: var(--utrecht-blockquote-border-end-end-radius);
|
|
12
|
-
border-end-start-radius: var(--utrecht-blockquote-border-end-start-radius);
|
|
13
|
-
border-inline-end-width: var(--utrecht-blockquote-border-inline-end-width);
|
|
14
|
-
border-inline-start-width: var(--utrecht-blockquote-border-inline-start-width);
|
|
15
|
-
border-start-end-radius: var(--utrecht-blockquote-border-start-end-radius);
|
|
16
|
-
border-start-start-radius: var(--utrecht-blockquote-border-start-start-radius);
|
|
17
|
-
border-style: solid;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
padding-block-end: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-block-end));
|
|
21
|
-
padding-block-start: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-block-start));
|
|
22
|
-
padding-inline-end: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-inline-end));
|
|
23
|
-
padding-inline-start: var(--utrecht-blockquote-padding, var(--utrecht-blockquote-padding-inline-start));
|
|
24
|
-
row-gap: var(--utrecht-blockquote-row-gap, inherit);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin rhc-blockquote-variation($variation) {
|
|
28
|
-
background-color: var(
|
|
29
|
-
--utrecht-blockquote-#{$variation}-background-color,
|
|
30
|
-
var(--utrecht-blockquote-background-color)
|
|
31
|
-
);
|
|
32
|
-
border-block-end-width: var(
|
|
33
|
-
--utrecht-blockquote-#{$variation}-border-block-end-width,
|
|
34
|
-
var(--utrecht-blockquote-border-block-end-width)
|
|
35
|
-
);
|
|
36
|
-
border-block-start-width: var(
|
|
37
|
-
--utrecht-blockquote-#{$variation}-border-block-start-width,
|
|
38
|
-
var(--utrecht-blockquote-border-block-start-width)
|
|
39
|
-
);
|
|
40
|
-
border-color: var(--utrecht-blockquote-#{$variation}-border-color, var(--utrecht-blockquote-border-color));
|
|
41
|
-
border-end-end-radius: var(
|
|
42
|
-
--utrecht-blockquote-#{$variation}-border-end-end-radius,
|
|
43
|
-
var(--utrecht-blockquote-border-end-end-radius)
|
|
44
|
-
);
|
|
45
|
-
border-end-start-radius: var(
|
|
46
|
-
--utrecht-blockquote-#{$variation}-border-end-start-radius,
|
|
47
|
-
var(--utrecht-blockquote-border-end-start-radius)
|
|
48
|
-
);
|
|
49
|
-
border-inline-end-width: var(
|
|
50
|
-
--utrecht-blockquote-#{$variation}-border-inline-end-width,
|
|
51
|
-
var(--utrecht-blockquote-border-inline-end-width)
|
|
52
|
-
);
|
|
53
|
-
border-inline-start-width: var(
|
|
54
|
-
--utrecht-blockquote-#{$variation}-border-inline-start-width,
|
|
55
|
-
var(--utrecht-blockquote-border-inline-start-width)
|
|
56
|
-
);
|
|
57
|
-
border-start-end-radius: var(
|
|
58
|
-
--utrecht-blockquote-#{$variation}-border-start-end-radius,
|
|
59
|
-
var(--utrecht-blockquote-border-start-end-radius)
|
|
60
|
-
);
|
|
61
|
-
border-start-start-radius: var(
|
|
62
|
-
--utrecht-blockquote-#{$variation}-border-start-start-radius,
|
|
63
|
-
var(--utrecht-blockquote-border-start-start-radius)
|
|
64
|
-
);
|
|
65
|
-
color: var(--utrecht-blockquote-#{$variation}-color, var(--utrecht-blockquote-content-color));
|
|
66
|
-
font-family: var(--utrecht-blockquote-#{$variation}-font-family, var(--utrecht-blockquote-content-font-family));
|
|
67
|
-
font-size: var(--utrecht-blockquote-#{$variation}-font-size, var(--utrecht-blockquote-content-font-size));
|
|
68
|
-
padding-block-end: var(
|
|
69
|
-
--utrecht-blockquote-#{$variation}-padding,
|
|
70
|
-
var(--utrecht-blockquote-#{$variation}-padding-block-end, var(--utrecht-blockquote-padding-block-end))
|
|
71
|
-
);
|
|
72
|
-
padding-block-start: var(
|
|
73
|
-
--utrecht-blockquote-#{$variation}-padding,
|
|
74
|
-
var(--utrecht-blockquote-#{$variation}-padding-block-start, var(--utrecht-blockquote-padding-block-start))
|
|
75
|
-
);
|
|
76
|
-
padding-inline-end: var(
|
|
77
|
-
--utrecht-blockquote-#{$variation}-padding,
|
|
78
|
-
var(--utrecht-blockquote-#{$variation}-padding-inline-end, var(--utrecht-blockquote-padding-inline-end))
|
|
79
|
-
);
|
|
80
|
-
padding-inline-start: var(
|
|
81
|
-
--utrecht-blockquote-#{$variation}-padding,
|
|
82
|
-
var(--utrecht-blockquote-#{$variation}-padding-inline-start, var(--utrecht-blockquote-padding-inline-start))
|
|
83
|
-
);
|
|
84
|
-
row-gap: var(--utrecht-blockquote-#{$variation}-row-gap, var(--utrecht-blockquote-row-gap));
|
|
85
|
-
}
|
package/blockquote/index.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "./mixin";
|
|
7
|
-
|
|
8
|
-
.rhc-blockquote {
|
|
9
|
-
--utrecht-blockquote-color: var(--utrecht-blockquote-content-color);
|
|
10
|
-
--utrecht-blockquote-font-size: var(--utrecht-blockquote-content-font-size);
|
|
11
|
-
--utrecht-document-font-family: var(--utrecht-blockquote-content-font-family);
|
|
12
|
-
|
|
13
|
-
@include rhc-blockquote;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.utrecht-blockquote__attribution {
|
|
17
|
-
font-family: var(--utrecht-blockquote-attribution-font-family, inherit);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.rhc-blockquote--blue-corner-border-variation {
|
|
21
|
-
@include rhc-blockquote-variation("blue-corner-border-variation");
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.rhc-blockquote--pink-background-variation {
|
|
25
|
-
@include rhc-blockquote-variation("pink-background-variation");
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.rhc-blockquote--pink-left-border-variation {
|
|
29
|
-
@include rhc-blockquote-variation("pink-left-border-variation");
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.rhc-blockquote--pink-corner-border-variation {
|
|
33
|
-
@include rhc-blockquote-variation("pink-corner-border-variation");
|
|
34
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.utrecht-breadcrumb-nav {
|
|
7
|
-
line-height: var(--utrecht-breadcrumb-nav-line-height, inherit);
|
|
8
|
-
&__link {
|
|
9
|
-
--utrecht-link-icon-inset-block-start: var(--utrecht-breadcrumb-nav-link-icon-inset-block-start, inherit);
|
|
10
|
-
|
|
11
|
-
&--current {
|
|
12
|
-
color: var(--utrecht-breadcrumb-nav-link-current-color) !important;
|
|
13
|
-
text-decoration: var(--utrecht-breadcrumb-nav-link-current-text-decoration) !important;
|
|
14
|
-
}
|
|
15
|
-
&--active {
|
|
16
|
-
color: var(--utrecht-breadcrumb-nav-link-active-color) !important;
|
|
17
|
-
text-decoration: underline !important;
|
|
18
|
-
text-decoration-color: var(--utrecht-breadcrumb-nav-link-active-color) !important;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&__separator {
|
|
22
|
-
--utrecht-breadcrumb-nav-separator-icon-size: var(--utrecht-breadcrumb-nav-divider-size, 14px);
|
|
23
|
-
--utrecht-breadcrumb-nav-separator-color: --utrecht-breadcrumb-nav-divider-color;
|
|
24
|
-
}
|
|
25
|
-
}
|
package/button/_mixin.scss
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2020-2022 Gemeente Utrecht
|
|
4
|
-
* Copyright (c) 2020-2022 Frameless B.V.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
@import "../link/mixin";
|
|
8
|
-
|
|
9
|
-
@mixin rhc-button--icon-only {
|
|
10
|
-
--utrecht-button-padding-block-end: var(--rhc-icon-only-button-padding-block-end, inherit);
|
|
11
|
-
--utrecht-button-padding-block-start: var(--rhc-icon-only-button-padding-block-start, inherit);
|
|
12
|
-
--utrecht-button-padding-inline-end: var(--rhc-icon-only-button-padding-inline-end, inherit);
|
|
13
|
-
--utrecht-button-padding-inline-start: var(--rhc-icon-only-button-padding-inline-start, inherit);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin rhc-button--focus-visible {
|
|
17
|
-
@include rhc-link--focus-visible;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin invisible-but-accessible {
|
|
21
|
-
block-size: 1px !important;
|
|
22
|
-
|
|
23
|
-
/* Source: https://kittygiraudel.com/snippets/sr-only-class/ */
|
|
24
|
-
border: 0 !important;
|
|
25
|
-
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
26
|
-
-webkit-clip-path: inset(50%) !important;
|
|
27
|
-
clip-path: inset(50%) !important;
|
|
28
|
-
inline-size: 1px !important;
|
|
29
|
-
/* stylelint-disable-next-line property-disallowed-list */
|
|
30
|
-
margin: -1px !important;
|
|
31
|
-
overflow: hidden !important;
|
|
32
|
-
/* stylelint-disable-next-line property-disallowed-list */
|
|
33
|
-
padding: 0 !important;
|
|
34
|
-
position: absolute !important;
|
|
35
|
-
white-space: nowrap !important;
|
|
36
|
-
}
|
package/checkbox/_mixin.scss
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@mixin utrecht-checkbox--checked {
|
|
2
|
-
background-image: url('data:image/svg+xml,<svg width="5.5" height="7" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 0.292893C17.0976 0.683417 17.0976 1.31658 16.7071 1.70711L6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C-0.0976311 6.31658 -0.0976311 5.68342 0.292893 5.29289C0.683417 4.90237 1.31658 4.90237 1.70711 5.29289L6 9.58579L15.2929 0.292893C15.6834 -0.0976311 16.3166 -0.0976311 16.7071 0.292893Z" fill="white"/></svg>') !important;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
@mixin utrecht-checkbox--disabled {
|
|
6
|
-
background-color: var(--utrecht-checkbox-disabled-background-color);
|
|
7
|
-
border-color: var(--utrecht-checkbox-disabled-border-color);
|
|
8
|
-
cursor: var(--utrecht-action-disabled-cursor, revert);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@mixin utrecht-checkbox--invalid {
|
|
12
|
-
background-color: var(--utrecht-checkbox-invalid-background-color);
|
|
13
|
-
border-color: var(--utrecht-checkbox-invalid-border-color);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin utrecht-checkbox--checked--active {
|
|
17
|
-
background-color: var(--utrecht-checkbox-checked-active-background-color);
|
|
18
|
-
border-color: var(--utrecht-checkbox-checked-active-border-color);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin utrecht-checkbox--checked--hover {
|
|
22
|
-
background-color: var(--utrecht-checkbox-checked-hover-background-color);
|
|
23
|
-
background-image: url('data:image/svg+xml,<svg width="5.5" height="7" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 0.292893C17.0976 0.683417 17.0976 1.31658 16.7071 1.70711L6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C-0.0976311 6.31658 -0.0976311 5.68342 0.292893 5.29289C0.683417 4.90237 1.31658 4.90237 1.70711 5.29289L6 9.58579L15.2929 0.292893C15.6834 -0.0976311 16.3166 -0.0976311 16.7071 0.292893Z" fill="white"/></svg>');
|
|
24
|
-
border-color: var(--utrecht-checkbox-checked-hover-border-color);
|
|
25
|
-
}
|
|
26
|
-
@mixin utrecht-checkbox--checked--disabled {
|
|
27
|
-
background-color: var(--utrecht-checkbox-disabled-background-color) !important;
|
|
28
|
-
background-image: url('data:image/svg+xml,<svg width="5.5" height="7" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 0.292893C17.0976 0.683417 17.0976 1.31658 16.7071 1.70711L6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C-0.0976311 6.31658 -0.0976311 5.68342 0.292893 5.29289C0.683417 4.90237 1.31658 4.90237 1.70711 5.29289L6 9.58579L15.2929 0.292893C15.6834 -0.0976311 16.3166 -0.0976311 16.7071 0.292893Z" fill="%23475569"/></svg>') !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin utrecht-checkbox--indeterminate--active {
|
|
32
|
-
background-color: var(--utrecht-checkbox-indeterminate-active-background-color);
|
|
33
|
-
border-color: var(--utrecht-checkbox-indeterminate-active-border-color);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin utrecht-checkbox--indeterminate--hover {
|
|
37
|
-
background-color: var(--utrecht-checkbox-indeterminate-hover-background-color);
|
|
38
|
-
border-color: var(--utrecht-checkbox-indeterminate-hover-border-color);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin utrecht-checkbox--indeterminate--focus {
|
|
42
|
-
background-color: var(--utrecht-checkbox-indeterminate-focus-background-color);
|
|
43
|
-
background-image: url('data:image/svg+xml,<svg width="16" height="4" viewBox="0 0 16 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H15C15.5523 0 16 0.447715 16 1C16 1.55228 15.5523 2 15 2H1C0.447715 2 0 1.55228 0 1Z" fill="%23154273"/></svg>') !important;
|
|
44
|
-
border-color: var(--utrecht-checkbox-indeterminate-focus-border-color);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@mixin utrecht-checkbox--indeterminate--disabled {
|
|
48
|
-
background-color: var(--utrecht-checkbox-indeterminate-disabled-background-color);
|
|
49
|
-
background-image: url('data:image/svg+xml,<svg width="16" height="4" viewBox="0 0 16 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H15C15.5523 0 16 0.447715 16 1C16 1.55228 15.5523 2 15 2H1C0.447715 2 0 1.55228 0 1Z" fill="%23154273"/></svg>') !important;
|
|
50
|
-
border-color: var(--utrecht-checkbox-indeterminate-disabled-border-color);
|
|
51
|
-
}
|
|
52
|
-
@mixin utrecht-custom-checkbox--html-input {
|
|
53
|
-
&:checked {
|
|
54
|
-
@include utrecht-checkbox--checked;
|
|
55
|
-
&:active {
|
|
56
|
-
@include utrecht-checkbox--checked--active;
|
|
57
|
-
}
|
|
58
|
-
&:hover {
|
|
59
|
-
@include utrecht-checkbox--checked--hover;
|
|
60
|
-
}
|
|
61
|
-
&:disabled {
|
|
62
|
-
@include utrecht-checkbox--checked--disabled;
|
|
63
|
-
}
|
|
64
|
-
&:focus {
|
|
65
|
-
background-color: var(--utrecht-checkbox-checked-focus-background-color);
|
|
66
|
-
background-image: url('data:image/svg+xml,<svg width="5.5" height="7" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 0.292893C17.0976 0.683417 17.0976 1.31658 16.7071 1.70711L6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C-0.0976311 6.31658 -0.0976311 5.68342 0.292893 5.29289C0.683417 4.90237 1.31658 4.90237 1.70711 5.29289L6 9.58579L15.2929 0.292893C15.6834 -0.0976311 16.3166 -0.0976311 16.7071 0.292893Z" fill="%23154273"/></svg>') !important;
|
|
67
|
-
border-color: var(--utrecht-checkbox-checked-focus-border-color);
|
|
68
|
-
border-width: var(--utrecht-checkbox-checked-focus-border-width);
|
|
69
|
-
}
|
|
70
|
-
&:focus-visible {
|
|
71
|
-
background-color: var(--utrecht-checkbox-checked-focus-background-color);
|
|
72
|
-
background-image: url('data:image/svg+xml,<svg width="5.5" height="7" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 0.292893C17.0976 0.683417 17.0976 1.31658 16.7071 1.70711L6.70711 11.7071C6.31658 12.0976 5.68342 12.0976 5.29289 11.7071L0.292893 6.70711C-0.0976311 6.31658 -0.0976311 5.68342 0.292893 5.29289C0.683417 4.90237 1.31658 4.90237 1.70711 5.29289L6 9.58579L15.2929 0.292893C15.6834 -0.0976311 16.3166 -0.0976311 16.7071 0.292893Z" fill="%23154273"/></svg>') !important;
|
|
73
|
-
border-color: var(--utrecht-checkbox-checked-focus-border-color);
|
|
74
|
-
border-width: var(--utrecht-checkbox-checked-focus-border-width);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
&:disabled:hover {
|
|
78
|
-
@include utrecht-checkbox--disabled;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
@mixin utrecht-checkbox--indeterminate {
|
|
82
|
-
&:indeterminate,
|
|
83
|
-
&:checked:indeterminate {
|
|
84
|
-
background-image: url('data:image/svg+xml,<svg width="16" height="4" viewBox="0 0 16 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H15C15.5523 0 16 0.447715 16 1C16 1.55228 15.5523 2 15 2H1C0.447715 2 0 1.55228 0 1Z" fill="white"/></svg>');
|
|
85
|
-
background-position: center;
|
|
86
|
-
background-size: 16px 4px;
|
|
87
|
-
}
|
|
88
|
-
&:indeterminate {
|
|
89
|
-
&:active {
|
|
90
|
-
@include utrecht-checkbox--indeterminate--active;
|
|
91
|
-
}
|
|
92
|
-
&:hover {
|
|
93
|
-
@include utrecht-checkbox--indeterminate--hover;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&:focus {
|
|
97
|
-
@include utrecht-checkbox--indeterminate--focus;
|
|
98
|
-
}
|
|
99
|
-
&:disabled {
|
|
100
|
-
@include utrecht-checkbox--indeterminate--disabled;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
package/checkbox/index.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "./mixin";
|
|
7
|
-
|
|
8
|
-
.utrecht-checkbox {
|
|
9
|
-
margin-block-start: var(--rhc-space-50);
|
|
10
|
-
&--disabled {
|
|
11
|
-
@include utrecht-checkbox--disabled;
|
|
12
|
-
}
|
|
13
|
-
&--invalid {
|
|
14
|
-
@include utrecht-checkbox--invalid;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.utrecht-checkbox--custom.utrecht-checkbox--html-input,
|
|
18
|
-
.utrecht-custom-checkbox--html-input {
|
|
19
|
-
@include utrecht-custom-checkbox--html-input;
|
|
20
|
-
}
|
|
21
|
-
.utrecht-checkbox--custom.utrecht-checkbox--html-input:indeterminate {
|
|
22
|
-
@include utrecht-checkbox--indeterminate;
|
|
23
|
-
}
|
|
24
|
-
.utrecht-checkbox--custom.utrecht-checkbox--html-input[aria-invalid="true"]:hover {
|
|
25
|
-
@include utrecht-checkbox--invalid;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.rhc-checkbox-group {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
padding-block-end: var(--rhc-checkbox-group-padding-block-end);
|
|
32
|
-
padding-block-start: var(--rhc-checkbox-group-padding-block-start);
|
|
33
|
-
row-gap: var(--rhc-checkbox-group-row-gap);
|
|
34
|
-
}
|
package/dot-badge/_mixin.scss
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin rhc-dot-badge {
|
|
7
|
-
block-size: var(--rhc-dot-badge-size, var(--rhc-size-quarter-lint));
|
|
8
|
-
border-radius: var(--rhc-dot-badge-border-radius, var(--rhc-border-radius-circle));
|
|
9
|
-
color: var(--rhc-dot-badge-color, var(--rhc-color-rood-500));
|
|
10
|
-
display: inline-block;
|
|
11
|
-
inline-size: var(--rhc-dot-badge-inline-size, var(--rhc-size-quarter-lint));
|
|
12
|
-
}
|
package/dot-badge/index.scss
DELETED
package/fieldset/index.scss
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.utrecht-form-fieldset__legend {
|
|
7
|
-
color: var(--utrecht-form-label-color);
|
|
8
|
-
font-size: var(--utrecht-form-label-font-size);
|
|
9
|
-
font-weight: var(--utrecht-form-label-font-weight);
|
|
10
|
-
margin-block-end: var(--utrecht-form-field-label-margin-block-end);
|
|
11
|
-
}
|
package/figure/index.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.utrecht-figure img {
|
|
7
|
-
border-end-end-radius: var(--utrecht-figure-img-border-end-end-radius);
|
|
8
|
-
border-end-start-radius: var(--utrecht-figure-img-border-end-start-radius);
|
|
9
|
-
border-start-end-radius: var(--utrecht-figure-img-border-start-end-radius);
|
|
10
|
-
border-start-start-radius: var(--utrecht-figure-img-border-start-start-radius);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.utrecht-figure__caption {
|
|
14
|
-
border-inline-start: var(--utrecht-figure-caption-border-width) solid var(--utrecht-figure-caption-border-color);
|
|
15
|
-
padding-block-end: var(--utrecht-figure-caption-padding-block-end);
|
|
16
|
-
padding-block-start: var(--utrecht-figure-caption-padding-block-start);
|
|
17
|
-
padding-inline-start: var(--utrecht-figure-caption-padding-inline-start);
|
|
18
|
-
}
|
package/footer/index.scss
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
.rhc-footer {
|
|
6
|
-
background-color: var(--utrecht-page-footer-background-color);
|
|
7
|
-
color: var(--utrecht-page-footer-color);
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: row;
|
|
10
|
-
gap: var(--utrecht-page-footer-gap);
|
|
11
|
-
justify-content: flex-start;
|
|
12
|
-
padding-block-end: var(--utrecht-page-footer-padding-block-end);
|
|
13
|
-
padding-block-start: var(--utrecht-page-footer-padding-block-start);
|
|
14
|
-
padding-inline-end: var(--utrecht-page-footer-padding-inline-end);
|
|
15
|
-
padding-inline-start: var(--utrecht-page-footer-padding-inline-start);
|
|
16
|
-
@media (width <= 768px) {
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.rhc-footer__title {
|
|
22
|
-
color: var(--utrecht-page-footer-color) !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.rhc-footer__column--title {
|
|
26
|
-
--utrecht-space-around: 1;
|
|
27
|
-
|
|
28
|
-
color: var(--utrecht-page-footer-color) !important;
|
|
29
|
-
margin-block-end: var(--utrecht-page-footer-column-title-margin-block-end);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.rhc-footer__column {
|
|
33
|
-
--utrecht-link-hover-text-decoration: underline;
|
|
34
|
-
--_utrecht-link-state-text-decoration-color: --utrecht-page-footer-color;
|
|
35
|
-
|
|
36
|
-
flex: 1;
|
|
37
|
-
}
|
package/form/index.scss
DELETED
package/form-field/index.scss
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.utrecht-rich-text .utrecht-form-field {
|
|
7
|
-
margin-block-end: var(--utrecht-form-field-margin-block-end) !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.utrecht-form-field__status {
|
|
11
|
-
margin-block-end: var(--rhc-space-100, 0.5rem);
|
|
12
|
-
margin-block-start: var(--rhc-space-100, 0.5rem);
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
.utrecht-form-field-error-message {
|
|
6
|
-
&--icon-container {
|
|
7
|
-
display: flex;
|
|
8
|
-
&-icon {
|
|
9
|
-
--utrecht-icon-size: var(--utrecht-form-field-error-message-icon-size, 24px);
|
|
10
|
-
|
|
11
|
-
margin-inline-end: var(--utrecht-form-field-error-message-icon-margin-inline-end, 0.5rem);
|
|
12
|
-
min-inline-size: var(--utrecht-form-field-error-message-icon-min-width, 24px);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2
|
|
3
|
-
* Copyright (c) 2021 Community for NL Design System
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.utrecht-form-field--radio {
|
|
7
|
-
--utrecht-form-field-label-margin-block-end: var(--rhc-form-field-radio-option-row-gap, inherit);
|
|
8
|
-
--utrecht-radio-button-margin-inline-end: var(--rhc-form-field-radio-option-column-gap, inherit);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.utrecht-form-field--radio .utrecht-form-field__label {
|
|
12
|
-
--utrecht-form-label-font-weight: var(--rhc-form-field-radio-option-font-weight, inherit);
|
|
13
|
-
}
|