@utrecht/web-component-library-stencil 1.0.0-alpha.194 → 1.0.0-alpha.197
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/dist/cjs/utrecht-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-button_2.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-pagination.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-sidenav.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-textbox.cjs.entry.js +1 -1
- package/dist/collection/alternate-lang-nav/bem.js +2 -2
- package/dist/collection/breadcrumb/stencil.css +4 -2
- package/dist/collection/button/stencil.css +1 -1
- package/dist/collection/checkbox/stencil.css +2 -2
- package/dist/collection/custom-checkbox/stencil.css +4 -4
- package/dist/collection/form-field-checkbox/stencil.css +2 -2
- package/dist/collection/form-field-textarea/stencil.css +1 -1
- package/dist/collection/form-field-textbox/stencil.css +1 -1
- package/dist/collection/html-content/stencil.css +10 -18
- package/dist/collection/link/css/template.js +57 -0
- package/dist/collection/link/html/template.js +11 -0
- package/dist/collection/link-list/bem.js +1 -1
- package/dist/collection/navigatie sidenav/bem.css +1 -1
- package/dist/collection/pagination/stencil.css +1 -1
- package/dist/collection/templates/contact-card-template/stencil.css +4 -2
- package/dist/collection/textbox/stencil.css +1 -1
- package/dist/custom-elements/index.js +12 -12
- package/dist/esm/utrecht-breadcrumb.entry.js +1 -1
- package/dist/esm/utrecht-button_2.entry.js +1 -1
- package/dist/esm/utrecht-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-contact-card-template.entry.js +1 -1
- package/dist/esm/utrecht-custom-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-form-field-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-form-field-textarea.entry.js +1 -1
- package/dist/esm/utrecht-form-field-textbox.entry.js +1 -1
- package/dist/esm/utrecht-html-content.entry.js +1 -1
- package/dist/esm/utrecht-pagination.entry.js +1 -1
- package/dist/esm/utrecht-sidenav.entry.js +1 -1
- package/dist/esm/utrecht-textbox.entry.js +1 -1
- package/dist/utrecht/p-0bd956aa.entry.js +1 -0
- package/dist/utrecht/p-206407ec.entry.js +1 -0
- package/dist/utrecht/{p-bace480b.entry.js → p-24f6df95.entry.js} +1 -1
- package/dist/utrecht/p-494a2de2.entry.js +1 -0
- package/dist/utrecht/{p-4abab8ba.entry.js → p-52b840b4.entry.js} +1 -1
- package/dist/utrecht/{p-cc6ea231.entry.js → p-7a694b68.entry.js} +1 -1
- package/dist/utrecht/{p-f43fc7ea.entry.js → p-aa7f0306.entry.js} +1 -1
- package/dist/utrecht/{p-0efec1ca.entry.js → p-c1cefe13.entry.js} +1 -1
- package/dist/utrecht/{p-7c4f1d4e.entry.js → p-c7c1b303.entry.js} +1 -1
- package/dist/utrecht/{p-84188382.entry.js → p-cf06abf1.entry.js} +1 -1
- package/dist/utrecht/{p-332a8b95.entry.js → p-e425fabc.entry.js} +1 -1
- package/dist/utrecht/p-f430397a.entry.js +1 -0
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/package.json +2 -2
- package/dist/collection/alternate-lang-link/bem.js +0 -21
- package/dist/collection/link/bem.js +0 -43
- package/dist/utrecht/p-11581c25.entry.js +0 -1
- package/dist/utrecht/p-15e48feb.entry.js +0 -1
- package/dist/utrecht/p-83d1b80d.entry.js +0 -1
- package/dist/utrecht/p-df7b5348.entry.js +0 -1
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
.utrecht-checkbox--focus-visible {
|
|
29
29
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
30
30
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
31
|
-
outline-offset: 0;
|
|
31
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
32
32
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
33
33
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.utrecht-checkbox--html-input:focus {
|
|
37
37
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
38
38
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
39
|
-
outline-offset: 0;
|
|
39
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
40
40
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
41
41
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
42
42
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
.utrecht-checkbox--focus-visible {
|
|
33
33
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
34
34
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
35
|
-
outline-offset: 0;
|
|
35
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
36
36
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
37
37
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
38
38
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.utrecht-checkbox--html-input:focus {
|
|
41
41
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
42
42
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
43
|
-
outline-offset: 0;
|
|
43
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
44
44
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
45
45
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
46
46
|
}
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
.utrecht-custom-checkbox__box--focus-visible {
|
|
144
144
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
145
145
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
146
|
-
outline-offset: 0;
|
|
146
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
147
147
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
148
148
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
149
149
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
.utrecht-custom-checkbox__input:focus ~ .utrecht-custom-checkbox__box {
|
|
152
152
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
153
153
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
154
|
-
outline-offset: 0;
|
|
154
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
155
155
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
156
156
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
157
157
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
.utrecht-checkbox--focus-visible {
|
|
80
80
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
81
81
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
82
|
-
outline-offset: 0;
|
|
82
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
83
83
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
84
84
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
85
85
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
.utrecht-checkbox--html-input:focus {
|
|
88
88
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
89
89
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
90
|
-
outline-offset: 0;
|
|
90
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
91
91
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
92
92
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
93
93
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
.utrecht-textarea--focus-visible, .utrecht-textarea--html-textarea:focus {
|
|
99
99
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
100
100
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
101
|
-
outline-offset: 0;
|
|
101
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
102
102
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
103
103
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
104
104
|
}
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
.utrecht-textbox--focus-visible, .utrecht-textbox--html-input:focus {
|
|
91
91
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
92
92
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
93
|
-
outline-offset: 0;
|
|
93
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
94
94
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
95
95
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
96
96
|
}
|
|
@@ -8,16 +8,6 @@
|
|
|
8
8
|
* Copyright (c) 2021 Robbert Broersma
|
|
9
9
|
*/
|
|
10
10
|
/* Collection of all semantic HTML styles in the component library */
|
|
11
|
-
/**
|
|
12
|
-
* @license EUPL-1.2
|
|
13
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* @license EUPL-1.2
|
|
17
|
-
* Copyright (c) 2021 Robbert Broersma
|
|
18
|
-
*/
|
|
19
|
-
/* stylelint-disable-next-line block-no-empty */
|
|
20
|
-
/* stylelint-disable-next-line block-no-empty */
|
|
21
11
|
/**
|
|
22
12
|
* @license EUPL-1.2
|
|
23
13
|
* Copyright (c) 2021 Robbert Broersma
|
|
@@ -153,7 +143,7 @@
|
|
|
153
143
|
/* the pseudo-class for `:focus-visible` is implemented via the mixin */
|
|
154
144
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
155
145
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
156
|
-
outline-offset: 0;
|
|
146
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
157
147
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
158
148
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
159
149
|
}
|
|
@@ -221,7 +211,7 @@
|
|
|
221
211
|
.utrecht-checkbox--focus-visible {
|
|
222
212
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
223
213
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
224
|
-
outline-offset: 0;
|
|
214
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
225
215
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
226
216
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
227
217
|
}
|
|
@@ -229,7 +219,7 @@
|
|
|
229
219
|
.utrecht-checkbox--html-input:focus, .utrecht-html input[type=checkbox i]:focus {
|
|
230
220
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
231
221
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
232
|
-
outline-offset: 0;
|
|
222
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
233
223
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
234
224
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
235
225
|
}
|
|
@@ -573,7 +563,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
573
563
|
text-underline-offset: var(--utrecht-link-text-underline-offset);
|
|
574
564
|
}
|
|
575
565
|
|
|
576
|
-
.utrecht-link
|
|
566
|
+
.utrecht-link--icon-left {
|
|
577
567
|
background-image: var(--utrecht-link-icon-left-background-image, none);
|
|
578
568
|
background-position: 0 0.25em;
|
|
579
569
|
background-repeat: no-repeat;
|
|
@@ -616,7 +606,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
616
606
|
.utrecht-link--focus-visible, .utrecht-html a:focus, .utrecht-link:focus {
|
|
617
607
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
618
608
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
619
|
-
outline-offset: 0;
|
|
609
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
620
610
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
621
611
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
622
612
|
}
|
|
@@ -633,6 +623,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
633
623
|
white-space: nowrap;
|
|
634
624
|
}
|
|
635
625
|
|
|
626
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
627
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
636
628
|
.utrecht-html a:focus:not(:focus-visible) {
|
|
637
629
|
/* undo focus ring */
|
|
638
630
|
box-shadow: none;
|
|
@@ -731,7 +723,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
731
723
|
.utrecht-radio-button--focus-visible, .utrecht-radio-button--html-input:focus, .utrecht-html input[type=radio i]:focus {
|
|
732
724
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
733
725
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
734
|
-
outline-offset: 0;
|
|
726
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
735
727
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
736
728
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
737
729
|
}
|
|
@@ -923,7 +915,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
923
915
|
.utrecht-textarea--focus-visible, .utrecht-textarea--html-textarea:focus, .utrecht-html textarea:focus {
|
|
924
916
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
925
917
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
926
|
-
outline-offset: 0;
|
|
918
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
927
919
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
928
920
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
929
921
|
}
|
|
@@ -1071,7 +1063,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
1071
1063
|
.utrecht-html input[type=week i]:focus {
|
|
1072
1064
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
1073
1065
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
1074
|
-
outline-offset: 0;
|
|
1066
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
1075
1067
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
1076
1068
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
1077
1069
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import clsx from 'clsx';
|
|
8
|
+
|
|
9
|
+
export const defaultArgs = {
|
|
10
|
+
active: false,
|
|
11
|
+
current: false,
|
|
12
|
+
external: false,
|
|
13
|
+
hreflang: '',
|
|
14
|
+
hover: false,
|
|
15
|
+
lang: '',
|
|
16
|
+
focus: false,
|
|
17
|
+
focusVisible: false,
|
|
18
|
+
href: null,
|
|
19
|
+
telephone: false,
|
|
20
|
+
textContent: '...',
|
|
21
|
+
title: '',
|
|
22
|
+
visited: false,
|
|
23
|
+
iconleft: false,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const Link = ({
|
|
27
|
+
active = defaultArgs.active,
|
|
28
|
+
current = defaultArgs.current,
|
|
29
|
+
external = defaultArgs.external,
|
|
30
|
+
hreflang = defaultArgs.hreflang,
|
|
31
|
+
hover = defaultArgs.hover,
|
|
32
|
+
lang = defaultArgs.lang,
|
|
33
|
+
focus = defaultArgs.focus,
|
|
34
|
+
focusVisible = defaultArgs.focusVisible,
|
|
35
|
+
href = defaultArgs.href,
|
|
36
|
+
telephone = defaultArgs.telephone,
|
|
37
|
+
textContent = defaultArgs.textContent,
|
|
38
|
+
title = defaultArgs.title,
|
|
39
|
+
visited = defaultArgs.visited,
|
|
40
|
+
iconleft = defaultArgs.iconleft,
|
|
41
|
+
}) =>
|
|
42
|
+
`<a href="${href === null ? `https://example.com/${lang}` : href}" class="${clsx('utrecht-link', {
|
|
43
|
+
'utrecht-link--active': active,
|
|
44
|
+
'utrecht-link--alternate-lang': lang && !current,
|
|
45
|
+
'utrecht-link--current-lang': lang && current,
|
|
46
|
+
'utrecht-link--external': external,
|
|
47
|
+
'utrecht-link--focus': focus,
|
|
48
|
+
'utrecht-link--focus-visible': focusVisible,
|
|
49
|
+
'utrecht-link--hover': hover,
|
|
50
|
+
'utrecht-link--telephone': telephone,
|
|
51
|
+
'utrecht-link--visited': visited,
|
|
52
|
+
'utrecht-link--icon-left': iconleft,
|
|
53
|
+
})}"${external ? ' rel="external noopener noreferrer"' : ''}${current ? ' aria-current="page"' : ''}${
|
|
54
|
+
title ? ` title="${title}"` : ''
|
|
55
|
+
}${hreflang ? ` hreflang="${hreflang}"` : ''}${lang ? ` lang="${lang}"` : ''}${
|
|
56
|
+
!current ? ' rel="alternate"' : ''
|
|
57
|
+
}>${textContent}</a>`;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const Link = ({ external = false, href = null, textContent = '' }) =>
|
|
2
|
+
`<section class="utrecht-html">
|
|
3
|
+
<a href="${href === null ? '#' : href}"${external ? ' rel="external noopener noreferrer"' : ''}>${textContent}</a>
|
|
4
|
+
</section>`;
|
|
5
|
+
|
|
6
|
+
export const AlternateLangLink = ({ textContent, title, current, lang, hreflang }) =>
|
|
7
|
+
`<section class="utrecht-html">
|
|
8
|
+
<a href="https://example.com/${lang}/" ${
|
|
9
|
+
current ? 'aria-current="page"' : ''
|
|
10
|
+
} title="${title}" hreflang="${hreflang}" lang="${lang}"${!current ? 'rel="alternate"' : ''}>${textContent}</a>
|
|
11
|
+
</section>`;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 Robbert Broersma
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Link } from '../link/
|
|
6
|
+
import { Link } from '../link/css/template';
|
|
7
7
|
|
|
8
8
|
export const LinkList = ({ links = [] }) => `<ul class="utrecht-link-list utrecht-link-list--html-ul">
|
|
9
9
|
${links.map((link) => `<li class="utrecht-link-list__item">${Link(link)}</li>`).join('\n ')}
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
.utrecht-sidenav__link--focus-visible, .utrecht-sidenav__link:focus {
|
|
82
82
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
83
83
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
84
|
-
outline-offset: 0;
|
|
84
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
85
85
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
86
86
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
87
87
|
}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.utrecht-pagination__relative-link:focus {
|
|
98
98
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
99
99
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
100
|
-
outline-offset: 0;
|
|
100
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
101
101
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
102
102
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
103
103
|
}
|
|
@@ -77,7 +77,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
77
77
|
text-underline-offset: var(--utrecht-link-text-underline-offset);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.utrecht-link
|
|
80
|
+
.utrecht-link--icon-left {
|
|
81
81
|
background-image: var(--utrecht-link-icon-left-background-image, none);
|
|
82
82
|
background-position: 0 0.25em;
|
|
83
83
|
background-repeat: no-repeat;
|
|
@@ -117,7 +117,7 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
117
117
|
.utrecht-link--focus-visible, .utrecht-link:focus {
|
|
118
118
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
119
119
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
120
|
-
outline-offset: 0;
|
|
120
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
121
121
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
122
122
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
123
123
|
}
|
|
@@ -134,6 +134,8 @@ however browsers don't seem to have implemented great looking supixel tweening y
|
|
|
134
134
|
white-space: nowrap;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
138
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
137
139
|
/**
|
|
138
140
|
* @license EUPL-1.2
|
|
139
141
|
* Copyright (c) 2021 Robbert Broersma
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
.utrecht-textbox--focus-visible, .utrecht-textbox--html-input:focus {
|
|
54
54
|
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
55
55
|
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
56
|
-
outline-offset: 0;
|
|
56
|
+
outline-offset: var(--utrecht-focus-outline-offset, 0);
|
|
57
57
|
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
58
58
|
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
59
59
|
}
|