@rijkshuisstijl-community/components-css 1.0.0-alpha.59 → 1.0.0-alpha.60
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/index.css +67 -0
- package/index.scss +41 -38
- package/package.json +14 -2
- package/{breadcrumb-nav → src/breadcrumb-nav}/index.scss +8 -5
- package/{button → src/button}/_mixin.scss +13 -13
- package/{checkbox → src/checkbox}/_mixin.scss +7 -7
- package/{form-field → src/form-field}/index.scss +1 -1
- package/{ordered-list → src/ordered-list}/index.scss +1 -1
- package/{select → src/select}/index.scss +5 -8
- package/{table → src/table}/index.scss +2 -2
- package/vite.config.js +18 -0
- /package/{accordion → src/accordion}/index.scss +0 -0
- /package/{action-group → src/action-group}/index.scss +0 -0
- /package/{alert → src/alert}/index.scss +0 -0
- /package/{article → src/article}/index.scss +0 -0
- /package/{badgecounter → src/badgecounter}/index.scss +0 -0
- /package/{blockquote → src/blockquote}/_mixin.scss +0 -0
- /package/{blockquote → src/blockquote}/index.scss +0 -0
- /package/{button → src/button}/index.scss +0 -0
- /package/{card → src/card}/_mixin.scss +0 -0
- /package/{card → src/card}/index.scss +0 -0
- /package/{checkbox → src/checkbox}/index.scss +0 -0
- /package/{dot-badge → src/dot-badge}/_mixin.scss +0 -0
- /package/{dot-badge → src/dot-badge}/index.scss +0 -0
- /package/{figure → src/figure}/index.scss +0 -0
- /package/{file-input → src/file-input}/index.scss +0 -0
- /package/{footer → src/footer}/index.scss +0 -0
- /package/{form → src/form}/index.scss +0 -0
- /package/{form-field-error-message → src/form-field-error-message}/index.scss +0 -0
- /package/{form-field-radio-option → src/form-field-radio-option}/index.scss +0 -0
- /package/{hero → src/hero}/_mixin.scss +0 -0
- /package/{hero → src/hero}/index.scss +0 -0
- /package/{link → src/link}/_mixin.scss +0 -0
- /package/{link → src/link}/index.scss +0 -0
- /package/{link-list → src/link-list}/index.scss +0 -0
- /package/{link-list-card → src/link-list-card}/index.scss +0 -0
- /package/{logo → src/logo}/_mixin.scss +0 -0
- /package/{logo → src/logo}/index.scss +0 -0
- /package/{message-list → src/message-list}/_mixin.scss +0 -0
- /package/{message-list → src/message-list}/index.scss +0 -0
- /package/{navbar → src/navbar}/index.scss +0 -0
- /package/{navigation-list → src/navigation-list}/_mixin.scss +0 -0
- /package/{navigation-list → src/navigation-list}/index.scss +0 -0
- /package/{radio → src/radio}/index.scss +0 -0
- /package/{radio-group → src/radio-group}/_mixin.scss +0 -0
- /package/{radio-group → src/radio-group}/index.scss +0 -0
- /package/{separator → src/separator}/index.scss +0 -0
- /package/{side-nav → src/side-nav}/index.scss +0 -0
- /package/{skip-link → src/skip-link}/_mixin.scss +0 -0
- /package/{skip-link → src/skip-link}/index.scss +0 -0
- /package/{textarea → src/textarea}/index.scss +0 -0
- /package/{textbox → src/textbox}/index.scss +0 -0
- /package/{toggletip → src/toggletip}/_mixin.scss +0 -0
- /package/{toggletip → src/toggletip}/index.scss +0 -0
- /package/{unordered-list → src/unordered-list}/index.scss +0 -0
package/index.scss
CHANGED
|
@@ -3,41 +3,44 @@
|
|
|
3
3
|
* Copyright (c) 2021 Community for NL Design System
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@use "
|
|
7
|
-
@use "
|
|
8
|
-
|
|
9
|
-
@use "
|
|
10
|
-
@use "
|
|
11
|
-
@use "
|
|
12
|
-
@use "
|
|
13
|
-
@use "
|
|
14
|
-
@use "
|
|
15
|
-
@use "
|
|
16
|
-
@use "
|
|
17
|
-
@use "
|
|
18
|
-
@use "
|
|
19
|
-
@use "
|
|
20
|
-
@use "
|
|
21
|
-
@use "form
|
|
22
|
-
@use "
|
|
23
|
-
@use "
|
|
24
|
-
@use "
|
|
25
|
-
@use "
|
|
26
|
-
@use "
|
|
27
|
-
@use "
|
|
28
|
-
@use "
|
|
29
|
-
@use "
|
|
30
|
-
@use "
|
|
31
|
-
@use "
|
|
32
|
-
@use "
|
|
33
|
-
@use "
|
|
34
|
-
@use "
|
|
35
|
-
@use "
|
|
36
|
-
@use "
|
|
37
|
-
@use "
|
|
38
|
-
@use "
|
|
39
|
-
@use "
|
|
40
|
-
@use "
|
|
41
|
-
@use "
|
|
42
|
-
@use "
|
|
43
|
-
@use "
|
|
6
|
+
@use "@utrecht/component-library-css/dist/index.css";
|
|
7
|
+
@use "@utrecht/component-library-css/dist/html.css";
|
|
8
|
+
|
|
9
|
+
@use "src/accordion/index" as accordion;
|
|
10
|
+
@use "src/action-group/index" as actionGroup;
|
|
11
|
+
@use "src/alert/index" as alert;
|
|
12
|
+
@use "src/article/index" as article;
|
|
13
|
+
@use "src/blockquote/index" as blockquote;
|
|
14
|
+
@use "src/breadcrumb-nav/index" as breadcrumb;
|
|
15
|
+
@use "src/button/index" as button;
|
|
16
|
+
@use "src/card/index" as card;
|
|
17
|
+
@use "src/dot-badge/index" as dotBadge;
|
|
18
|
+
@use "src/checkbox/index" as checkbox;
|
|
19
|
+
@use "src/figure/index" as figure;
|
|
20
|
+
@use "src/file-input/index" as fileInput;
|
|
21
|
+
@use "src/form/index" as form;
|
|
22
|
+
@use "src/form-field/index" as formField;
|
|
23
|
+
@use "src/form-field-error-message/index" as formFieldError;
|
|
24
|
+
@use "src/form-field-radio-option/index" as formFieldRadioOption;
|
|
25
|
+
@use "src/footer/index" as footer;
|
|
26
|
+
@use "src/hero/index" as hero;
|
|
27
|
+
@use "src/link-list/index" as linkList;
|
|
28
|
+
@use "src/link-list-card/index" as linkListCard;
|
|
29
|
+
@use "src/link/index" as link;
|
|
30
|
+
@use "src/logo/index" as logo;
|
|
31
|
+
@use "src/navbar/index" as navbar;
|
|
32
|
+
@use "src/message-list/index" as messageList;
|
|
33
|
+
@use "src/navigation-list/index" as navigationList;
|
|
34
|
+
@use "src/ordered-list/index" as orderedList;
|
|
35
|
+
@use "src/radio/index" as radio;
|
|
36
|
+
@use "src/radio-group/index" as radioGroup;
|
|
37
|
+
@use "src/select/index" as select;
|
|
38
|
+
@use "src/separator/index" as separator;
|
|
39
|
+
@use "src/side-nav/index" as sideNav;
|
|
40
|
+
@use "src/skip-link/index" as skipLink;
|
|
41
|
+
@use "src/table/index" as table;
|
|
42
|
+
@use "src/textarea/index" as textarea;
|
|
43
|
+
@use "src/textbox/index" as textbox;
|
|
44
|
+
@use "src/toggletip/index" as toggletip;
|
|
45
|
+
@use "src/unordered-list/index" as unorderedList;
|
|
46
|
+
@use "src/badgecounter/index" as badgecounter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/components-css",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.60",
|
|
4
4
|
"author": "Community for NL Design System",
|
|
5
5
|
"description": "CSS Components for a design system based on the NL Design System architecture",
|
|
6
6
|
"license": "EUPL-1.2",
|
|
@@ -17,5 +17,17 @@
|
|
|
17
17
|
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git",
|
|
18
18
|
"directory": "packages/components-css"
|
|
19
19
|
},
|
|
20
|
-
"
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"scss": "0.2.4",
|
|
22
|
+
"vite": "5.3.4"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"dev": "vite build --watch",
|
|
26
|
+
"build": "pnpm run build:css",
|
|
27
|
+
"build:css": "vite build"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@utrecht/component-library-css": "6.1.0"
|
|
31
|
+
},
|
|
32
|
+
"gitHead": "282cb13f5c01ffa5147c13e5b8fec33afe159217"
|
|
21
33
|
}
|
|
@@ -9,13 +9,16 @@
|
|
|
9
9
|
--utrecht-link-icon-inset-block-start: var(--utrecht-breadcrumb-nav-link-icon-inset-block-start, inherit);
|
|
10
10
|
|
|
11
11
|
&--current {
|
|
12
|
-
color: var(--utrecht-
|
|
13
|
-
|
|
12
|
+
--utrecht-link-text-decoration-color: var(--utrecht-link-text-decoration-color);
|
|
13
|
+
--utrecht-link-text-decoration: none;
|
|
14
|
+
|
|
15
|
+
color: var(--utrecht-breadcrumb-nav-link-current-color);
|
|
14
16
|
}
|
|
15
17
|
&--active {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
--utrecht-link-text-decoration: var(--utrecht-breadcrumb-nav-link-active-text-decoration, underline);
|
|
19
|
+
|
|
20
|
+
color: var(--utrecht-breadcrumb-nav-link-active-color);
|
|
21
|
+
text-decoration-color: var(--utrecht-breadcrumb-nav-link-active-color);
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
&__separator {
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@mixin invisible-but-accessible {
|
|
21
|
-
block-size: 1px
|
|
21
|
+
block-size: 1px;
|
|
22
22
|
|
|
23
23
|
/* Source: https://kittygiraudel.com/snippets/sr-only-class/ */
|
|
24
|
-
border: 0
|
|
25
|
-
clip: rect(1px, 1px, 1px, 1px)
|
|
26
|
-
-webkit-clip-path: inset(50%)
|
|
27
|
-
clip-path: inset(50%)
|
|
28
|
-
inline-size: 1px
|
|
29
|
-
|
|
30
|
-
margin: -1px
|
|
31
|
-
overflow: hidden
|
|
32
|
-
|
|
33
|
-
padding: 0
|
|
34
|
-
position: absolute
|
|
35
|
-
white-space: nowrap
|
|
24
|
+
border: 0;
|
|
25
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
26
|
+
-webkit-clip-path: inset(50%);
|
|
27
|
+
clip-path: inset(50%);
|
|
28
|
+
inline-size: 1px;
|
|
29
|
+
margin-block: -1px;
|
|
30
|
+
margin-inline: -1px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
padding-block: 0;
|
|
33
|
+
padding-inline: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
white-space: nowrap;
|
|
36
36
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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>')
|
|
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>');
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
@mixin utrecht-checkbox--disabled {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
border-color: var(--utrecht-checkbox-checked-hover-border-color);
|
|
25
25
|
}
|
|
26
26
|
@mixin utrecht-checkbox--checked--disabled {
|
|
27
|
-
background-color: var(--utrecht-checkbox-disabled-background-color)
|
|
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>')
|
|
27
|
+
background-color: var(--utrecht-checkbox-disabled-background-color);
|
|
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>');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
@mixin utrecht-checkbox--indeterminate--active {
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
|
|
41
41
|
@mixin utrecht-checkbox--indeterminate--focus {
|
|
42
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>')
|
|
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>');
|
|
44
44
|
border-color: var(--utrecht-checkbox-indeterminate-focus-border-color);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@mixin utrecht-checkbox--indeterminate--disabled {
|
|
48
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>')
|
|
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>');
|
|
50
50
|
border-color: var(--utrecht-checkbox-indeterminate-disabled-border-color);
|
|
51
51
|
}
|
|
52
52
|
@mixin utrecht-custom-checkbox--html-input {
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
}
|
|
64
64
|
&:focus {
|
|
65
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>')
|
|
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>');
|
|
67
67
|
border-color: var(--utrecht-checkbox-checked-focus-border-color);
|
|
68
68
|
border-width: var(--utrecht-checkbox-checked-focus-border-width);
|
|
69
69
|
}
|
|
70
70
|
&:focus-visible {
|
|
71
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>')
|
|
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>');
|
|
73
73
|
border-color: var(--utrecht-checkbox-checked-focus-border-color);
|
|
74
74
|
border-width: var(--utrecht-checkbox-checked-focus-border-width);
|
|
75
75
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.utrecht-ordered-list {
|
|
7
7
|
color: var(--utrecht-ordered-list-color);
|
|
8
8
|
font-weight: var(--utrecht-ordered-list-font-weight);
|
|
9
|
-
line-height: var(--utrecht-ordered-list-line-height)
|
|
9
|
+
line-height: var(--utrecht-ordered-list-line-height);
|
|
10
10
|
margin-block-end: var(--utrecht-ordered-list-margin-block-end);
|
|
11
11
|
margin-block-start: var(--utrecht-ordered-list-margin-block-start);
|
|
12
12
|
margin-inline-start: var(--utrecht-ordered-list-margin-inline-start);
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
.utrecht-select {
|
|
2
|
-
&--html-select {
|
|
2
|
+
&--html-select:not([multiple]) {
|
|
3
3
|
// This is an svg of chevron down icon
|
|
4
4
|
--utrecht-select-background-image: url('data:image/svg+xml,<svg width="8" height="3" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L7 5.58579L12.2929 0.292893C12.6834 -0.0976311 13.3166 -0.0976311 13.7071 0.292893C14.0976 0.683417 14.0976 1.31658 13.7071 1.70711L7.70711 7.70711C7.31658 8.09763 6.68342 8.09763 6.29289 7.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z" fill="%23154273"/></svg>');
|
|
5
5
|
--utrecht-select-image-background-position: right 0.5rem center;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
background-
|
|
9
|
-
|
|
10
|
-
// the important is needed to overwrite the default background-size as set in the utrecht-select component to 1.4rem which is hardcoded
|
|
11
|
-
background-size: var(--utrecht-select-icon-size) !important;
|
|
7
|
+
background-position: var(--utrecht-select-image-background-position);
|
|
8
|
+
background-size: var(--utrecht-select-icon-size);
|
|
12
9
|
}
|
|
13
|
-
&--html-select-rtl {
|
|
10
|
+
&--html-select-rtl:not([multiple]) {
|
|
14
11
|
--utrecht-select-image-background-position: left 0.5rem center;
|
|
15
12
|
}
|
|
16
13
|
&:focus {
|
|
17
|
-
border-width: var(--utrecht-select-focus-border-width, var(--rhc-border-width-m, 2px))
|
|
14
|
+
border-width: var(--utrecht-select-focus-border-width, var(--rhc-border-width-m, 2px));
|
|
18
15
|
}
|
|
19
16
|
}
|
package/vite.config.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* eslint-disable no-undef */
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { defineConfig } from 'vite';
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
build: {
|
|
7
|
+
outDir: path.resolve(__dirname, 'dist'), // Output folder for compiled CSS
|
|
8
|
+
rollupOptions: {
|
|
9
|
+
input: path.resolve(__dirname, 'index.scss'), // Entry point for SCSS
|
|
10
|
+
output: {
|
|
11
|
+
// Disable JS output and ensure only CSS is generated
|
|
12
|
+
format: 'es',
|
|
13
|
+
assetFileNames: 'index.css', // Ensure the CSS file gets the correct name
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
cssCodeSplit: false, // Avoid splitting the CSS file into multiple parts
|
|
17
|
+
},
|
|
18
|
+
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|