@navikt/ds-css 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/component/form.css +18 -2
- package/dist/component/form.min.css +1 -1
- package/dist/component/index.css +19 -3
- package/dist/component/index.min.css +1 -1
- package/dist/components.css +18 -2
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +19 -3
- package/dist/index.min.css +1 -1
- package/form/combobox.css +20 -2
- package/package.json +2 -2
package/form/combobox.css
CHANGED
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
position: relative;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: row;
|
|
12
|
+
align-items: center;
|
|
12
13
|
justify-content: space-between;
|
|
13
14
|
width: 100%;
|
|
14
|
-
|
|
15
|
+
padding: calc(var(--a-spacing-2) - 2px) var(--a-spacing-2);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.navds-combobox__wrapper-inner > :first-child {
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
|
|
34
35
|
.navds-combobox__selected-options {
|
|
35
36
|
gap: var(--a-spacing-2);
|
|
37
|
+
align-items: center;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
.navds-combobox__selected-options > li {
|
|
@@ -67,6 +69,7 @@
|
|
|
67
69
|
margin: 0;
|
|
68
70
|
min-width: 10ch;
|
|
69
71
|
width: 100%;
|
|
72
|
+
height: 2rem;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
.navds-combobox__input:focus-visible {
|
|
@@ -85,7 +88,7 @@
|
|
|
85
88
|
}
|
|
86
89
|
|
|
87
90
|
@supports not selector(:focus-visible) {
|
|
88
|
-
.navds-combobox__input:focus
|
|
91
|
+
.navds-combobox__input:focus {
|
|
89
92
|
outline: none;
|
|
90
93
|
border: none;
|
|
91
94
|
box-shadow: none;
|
|
@@ -101,6 +104,17 @@
|
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
|
|
107
|
+
@supports not selector(:has) {
|
|
108
|
+
.navds-combobox--focused .navds-combobox__wrapper-inner {
|
|
109
|
+
box-shadow: 0 0 0 1px var(--a-surface-default) inset, var(--a-shadow-focus);
|
|
110
|
+
box-shadow: var(--a-shadow-focus);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.navds-combobox--focused .navds-combobox__wrapper-inner.navds-combobox__wrapper-inner--virtually-unfocused {
|
|
114
|
+
box-shadow: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
104
118
|
.navds-combobox__button-clear {
|
|
105
119
|
border-radius: var(--a-border-radius-medium);
|
|
106
120
|
color: var(--ac-combobox-clear-icon, var(--a-text-subtle));
|
|
@@ -243,6 +257,10 @@
|
|
|
243
257
|
background-color: var(--ac-combobox-list-item-selected-bg, var(--a-surface-selected));
|
|
244
258
|
}
|
|
245
259
|
|
|
260
|
+
.navds-combobox__list-item--selected p {
|
|
261
|
+
font-weight: var(--a-font-weight-bold);
|
|
262
|
+
}
|
|
263
|
+
|
|
246
264
|
.navds-combobox__list-item--selected.navds-combobox__list-item--focus,
|
|
247
265
|
.navds-combobox__list-item--selected:hover {
|
|
248
266
|
background-color: var(--ac-combobox-list-item-selected-hover-bg, var(--a-surface-action-subtle-hover));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-css",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "CSS for NAV Designsystem",
|
|
5
5
|
"author": "Aksel | NAV designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"css:get-version": "node config/get-version.js"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@navikt/ds-tokens": "^4.9.
|
|
30
|
+
"@navikt/ds-tokens": "^4.9.1",
|
|
31
31
|
"cssnano": "6.0.0",
|
|
32
32
|
"fast-glob": "3.2.11",
|
|
33
33
|
"lodash": "4.17.21",
|