@navikt/ds-css 7.14.3 → 7.16.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 +8 -0
- package/darkside/accordion.darkside.css +23 -23
- package/darkside/action-menu.darkside.css +21 -21
- package/darkside/alert.darkside.css +22 -22
- package/darkside/baseline/baseline.darkside.css +4 -4
- package/darkside/button.darkside.css +47 -47
- package/darkside/chat.darkside.css +20 -20
- package/darkside/chips.darkside.css +24 -24
- package/darkside/copybutton.darkside.css +1 -1
- package/darkside/date.darkside.css +33 -33
- package/darkside/dropdown.darkside.css +9 -9
- package/darkside/expansioncard.darkside.css +20 -20
- package/darkside/form/combobox.darkside.css +69 -69
- package/darkside/form/confirmation-panel.darkside.css +5 -5
- package/darkside/form/error-summary.darkside.css +8 -8
- package/darkside/form/fieldset.darkside.css +11 -11
- package/darkside/form/file-upload.darkside.css +26 -26
- package/darkside/form/form-progress.darkside.css +6 -6
- package/darkside/form/form-summary.darkside.css +15 -15
- package/darkside/form/form.darkside.css +8 -8
- package/darkside/form/radio-checkbox.darkside.css +80 -80
- package/darkside/form/search.darkside.css +30 -30
- package/darkside/form/select.darkside.css +11 -11
- package/darkside/form/switch.darkside.css +61 -61
- package/darkside/form/text-field.darkside.css +6 -6
- package/darkside/form/textarea.darkside.css +15 -15
- package/darkside/guide-panel.darkside.css +15 -15
- package/darkside/help-text.darkside.css +10 -10
- package/darkside/internalheader.darkside.css +9 -9
- package/darkside/link-panel.darkside.css +6 -6
- package/darkside/link.darkside.css +9 -9
- package/darkside/list.darkside.css +14 -14
- package/darkside/loader.darkside.css +21 -21
- package/darkside/modal.darkside.css +25 -25
- package/darkside/pagination.darkside.css +7 -7
- package/darkside/panel.darkside.css +2 -2
- package/darkside/popover.darkside.css +4 -4
- package/darkside/primitives/base.darkside.css +150 -150
- package/darkside/primitives/bleed.darkside.css +12 -12
- package/darkside/primitives/box.darkside.css +10 -10
- package/darkside/primitives/hgrid.darkside.css +13 -13
- package/darkside/primitives/page.darkside.css +12 -12
- package/darkside/primitives/responsive.darkside.css +10 -10
- package/darkside/primitives/stack.darkside.css +28 -28
- package/darkside/progress-bar.darkside.css +12 -12
- package/darkside/read-more.darkside.css +15 -15
- package/darkside/skeleton.darkside.css +10 -10
- package/darkside/stepper.darkside.css +38 -38
- package/darkside/table.darkside.css +69 -69
- package/darkside/tabs.darkside.css +23 -23
- package/darkside/tag.darkside.css +21 -21
- package/darkside/theme.darkside.css +1 -1
- package/darkside/timeline.darkside.css +60 -62
- package/darkside/toggle-group.darkside.css +13 -13
- package/darkside/tooltip.darkside.css +7 -7
- package/darkside/typography.darkside.css +47 -47
- package/dist/darkside/component/accordion.css +25 -25
- package/dist/darkside/component/accordion.min.css +1 -1
- package/dist/darkside/component/actionmenu.css +27 -27
- package/dist/darkside/component/actionmenu.min.css +1 -1
- package/dist/darkside/component/alert.css +20 -20
- package/dist/darkside/component/alert.min.css +1 -1
- package/dist/darkside/component/button.css +55 -55
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/chat.css +16 -16
- package/dist/darkside/component/chat.min.css +1 -1
- package/dist/darkside/component/chips.css +33 -33
- package/dist/darkside/component/chips.min.css +1 -1
- package/dist/darkside/component/copybutton.css +1 -1
- package/dist/darkside/component/copybutton.min.css +1 -1
- package/dist/darkside/component/date.css +44 -44
- package/dist/darkside/component/date.min.css +1 -1
- package/dist/darkside/component/dropdown.css +13 -13
- package/dist/darkside/component/dropdown.min.css +1 -1
- package/dist/darkside/component/expansioncard.css +26 -26
- package/dist/darkside/component/expansioncard.min.css +1 -1
- package/dist/darkside/component/form.css +326 -326
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/guidepanel.css +20 -20
- package/dist/darkside/component/guidepanel.min.css +1 -1
- package/dist/darkside/component/helptext.css +9 -9
- package/dist/darkside/component/helptext.min.css +1 -1
- package/dist/darkside/component/internalheader.css +13 -13
- package/dist/darkside/component/internalheader.min.css +1 -1
- package/dist/darkside/component/link.css +12 -12
- package/dist/darkside/component/link.min.css +1 -1
- package/dist/darkside/component/linkpanel.css +7 -7
- package/dist/darkside/component/linkpanel.min.css +1 -1
- package/dist/darkside/component/list.css +15 -15
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/loader.css +17 -17
- package/dist/darkside/component/loader.min.css +1 -1
- package/dist/darkside/component/modal.css +25 -25
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/pagination.css +8 -8
- package/dist/darkside/component/pagination.min.css +1 -1
- package/dist/darkside/component/panel.css +2 -2
- package/dist/darkside/component/panel.min.css +1 -1
- package/dist/darkside/component/popover.css +4 -4
- package/dist/darkside/component/popover.min.css +1 -1
- package/dist/darkside/component/primitives.css +235 -235
- package/dist/darkside/component/primitives.min.css +1 -1
- package/dist/darkside/component/progressbar.css +11 -11
- package/dist/darkside/component/progressbar.min.css +1 -1
- package/dist/darkside/component/readmore.css +16 -16
- package/dist/darkside/component/readmore.min.css +1 -1
- package/dist/darkside/component/skeleton.css +12 -12
- package/dist/darkside/component/skeleton.min.css +1 -1
- package/dist/darkside/component/stepper.css +37 -37
- package/dist/darkside/component/stepper.min.css +1 -1
- package/dist/darkside/component/table.css +55 -55
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tabs.css +25 -25
- package/dist/darkside/component/tabs.min.css +1 -1
- package/dist/darkside/component/tag.css +18 -18
- package/dist/darkside/component/tag.min.css +1 -1
- package/dist/darkside/component/theme.css +4 -4
- package/dist/darkside/component/theme.min.css +1 -1
- package/dist/darkside/component/timeline.css +58 -59
- package/dist/darkside/component/timeline.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +19 -19
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/tooltip.css +9 -9
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/component/typography.css +48 -48
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +1265 -1266
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/baseline.css +3 -3
- package/dist/darkside/global/baseline.min.css +1 -1
- package/dist/darkside/global/tokens.css +1 -1
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +1269 -1270
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/accordion.css +25 -25
- package/dist/darkside/version/7.16.0/component/accordion.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/actionmenu.css +27 -27
- package/dist/darkside/version/7.16.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/alert.css +20 -20
- package/dist/darkside/version/7.16.0/component/alert.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/button.css +55 -55
- package/dist/darkside/version/7.16.0/component/button.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/chat.css +16 -16
- package/dist/darkside/version/7.16.0/component/chat.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/chips.css +33 -33
- package/dist/darkside/version/7.16.0/component/chips.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/copybutton.css +1 -1
- package/dist/darkside/version/7.16.0/component/copybutton.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/date.css +44 -44
- package/dist/darkside/version/7.16.0/component/date.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/dropdown.css +13 -13
- package/dist/darkside/version/7.16.0/component/dropdown.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/expansioncard.css +26 -26
- package/dist/darkside/version/7.16.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/form.css +326 -326
- package/dist/darkside/version/7.16.0/component/form.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/guidepanel.css +20 -20
- package/dist/darkside/version/7.16.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/helptext.css +9 -9
- package/dist/darkside/version/7.16.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/internalheader.css +13 -13
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/internalheader.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/link.css +12 -12
- package/dist/darkside/version/7.16.0/component/link.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/linkpanel.css +7 -7
- package/dist/darkside/version/7.16.0/component/linkpanel.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/list.css +15 -15
- package/dist/darkside/version/7.16.0/component/list.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/loader.css +17 -17
- package/dist/darkside/version/7.16.0/component/loader.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/modal.css +25 -25
- package/dist/darkside/version/7.16.0/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/pagination.css +8 -8
- package/dist/darkside/version/7.16.0/component/pagination.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/panel.css +2 -2
- package/dist/darkside/version/7.16.0/component/panel.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/popover.css +4 -4
- package/dist/darkside/version/7.16.0/component/popover.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/primitives.css +235 -235
- package/dist/darkside/version/7.16.0/component/primitives.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/progressbar.css +11 -11
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/progressbar.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/readmore.css +16 -16
- package/dist/darkside/version/7.16.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/skeleton.css +12 -12
- package/dist/darkside/version/7.16.0/component/skeleton.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/stepper.css +37 -37
- package/dist/darkside/version/7.16.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/7.16.0/component/table.css +254 -0
- package/dist/darkside/version/7.16.0/component/table.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/tabs.css +25 -25
- package/dist/darkside/version/7.16.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/tag.css +18 -18
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/tag.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/theme.css +4 -4
- package/dist/darkside/version/7.16.0/component/theme.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/timeline.css +58 -59
- package/dist/darkside/version/7.16.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/togglegroup.css +19 -19
- package/dist/darkside/version/7.16.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/tooltip.css +9 -9
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/tooltip.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/component/typography.css +48 -48
- package/dist/darkside/version/7.16.0/component/typography.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/components.css +1265 -1266
- package/dist/darkside/version/7.16.0/components.min.css +1 -0
- package/dist/darkside/version/{7.14.3 → 7.16.0}/global/baseline.css +3 -3
- package/dist/darkside/version/{7.14.3 → 7.16.0}/global/baseline.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/global/tokens.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/global/tokens.min.css +1 -1
- package/dist/darkside/version/{7.14.3 → 7.16.0}/index.css +1269 -1270
- package/dist/darkside/version/7.16.0/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +4 -3
- package/dist/darkside/version/7.14.3/component/accordion.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/actionmenu.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/alert.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/button.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/chat.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/chips.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/copybutton.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/date.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/dropdown.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/expansioncard.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/form.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/guidepanel.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/helptext.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/link.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/linkpanel.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/list.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/loader.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/modal.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/pagination.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/panel.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/popover.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/primitives.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/readmore.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/skeleton.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/stepper.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/table.css +0 -254
- package/dist/darkside/version/7.14.3/component/table.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/tabs.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/theme.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/timeline.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.14.3/component/typography.min.css +0 -1
- package/dist/darkside/version/7.14.3/components.min.css +0 -1
- package/dist/darkside/version/7.14.3/index.min.css +0 -1
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.14.3 → 7.16.0}/global/reset.min.css +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-combobox__wrapper {
|
|
2
2
|
--__axc-combobox-icon-size: 1.5rem;
|
|
3
3
|
--__axc-combobox-wrapper-inner-padding: var(--ax-space-8);
|
|
4
4
|
--__axc-combobox-list-item-padding-block: var(--ax-space-12);
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
border-radius: var(--ax-border-radius-large);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
17
|
-
& .
|
|
16
|
+
.aksel-form-field:not(:is(.aksel-combobox--disabled, .aksel-combobox--readonly)) {
|
|
17
|
+
& .aksel-combobox__wrapper:hover {
|
|
18
18
|
border-color: var(--ax-border-accent-strong);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.aksel-form-field--small .aksel-combobox__wrapper {
|
|
23
23
|
--__axc-combobox-icon-size: 1.25rem;
|
|
24
24
|
--__axc-combobox-wrapper-inner-padding: var(--ax-space-4);
|
|
25
25
|
--__axc-combobox-list-item-padding-block: var(--ax-space-6);
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
--__axc-combobox-input-height: 1.5rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.aksel-combobox--disabled {
|
|
31
31
|
opacity: var(--ax-opacity-disabled);
|
|
32
32
|
|
|
33
|
-
& .
|
|
33
|
+
& .aksel-combobox__wrapper {
|
|
34
34
|
&:hover {
|
|
35
35
|
border-color: var(--ax-border-neutral);
|
|
36
36
|
}
|
|
@@ -40,61 +40,61 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
& .
|
|
43
|
+
& .aksel-combobox__selected-options {
|
|
44
44
|
pointer-events: none;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
& .
|
|
47
|
+
& .aksel-combobox--readonly {
|
|
48
48
|
pointer-events: none;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.aksel-combobox--readonly {
|
|
53
53
|
pointer-events: none;
|
|
54
54
|
|
|
55
|
-
& .
|
|
56
|
-
& .
|
|
55
|
+
& .aksel-combobox__selected-options {
|
|
56
|
+
& .aksel-chips__chip {
|
|
57
57
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
& .
|
|
61
|
+
& .aksel-combobox__button-toggle-list {
|
|
62
62
|
color: var(--ax-bg-neutral-moderate);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
& .
|
|
65
|
+
& .aksel-combobox__wrapper {
|
|
66
66
|
border-color: var(--ax-border-neutral-subtle);
|
|
67
67
|
overflow: clip;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
& .
|
|
71
|
-
& .
|
|
70
|
+
& .aksel-text-field__input,
|
|
71
|
+
& .aksel-combobox__input {
|
|
72
72
|
background-color: var(--ax-bg-neutral-moderate);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
77
|
-
.
|
|
76
|
+
.aksel-combobox__button-toggle-list svg,
|
|
77
|
+
.aksel-combobox__list svg {
|
|
78
78
|
width: var(--__axc-combobox-icon-size);
|
|
79
79
|
height: var(--__axc-combobox-icon-size);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.aksel-combobox__wrapper-inner {
|
|
83
83
|
border: 1px solid var(--ax-border-neutral);
|
|
84
84
|
border-radius: var(--ax-border-radius-large);
|
|
85
85
|
|
|
86
|
-
&:has(.
|
|
86
|
+
&:has(.aksel-combobox__input:focus-visible) {
|
|
87
87
|
outline: 3px solid var(--ax-border-focus);
|
|
88
88
|
outline-offset: 3px;
|
|
89
89
|
border-color: var(--ax-border-accent-strong);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
&:has(.
|
|
92
|
+
&:has(.aksel-combobox__input:focus-visible).aksel-combobox__wrapper-inner--virtually-unfocused {
|
|
93
93
|
outline: none;
|
|
94
94
|
border-color: var(--ax-border-neutral);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
&.
|
|
97
|
+
&.aksel-text-field__input {
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: row;
|
|
@@ -118,23 +118,23 @@
|
|
|
118
118
|
cursor: text;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.aksel-combobox--disabled &:hover {
|
|
122
122
|
border-color: var(--ax-border-neutral);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
127
|
-
& .
|
|
126
|
+
.aksel-combobox--error {
|
|
127
|
+
& .aksel-combobox__wrapper-inner {
|
|
128
128
|
border-color: var(--ax-border-danger-strong);
|
|
129
129
|
box-shadow: 0 0 0 1px var(--ax-border-danger-strong);
|
|
130
130
|
|
|
131
|
-
&:has(.
|
|
131
|
+
&:has(.aksel-combobox__input:focus-visible) {
|
|
132
132
|
border-color: var(--ax-border-danger-strong);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
.aksel-combobox__selected-options {
|
|
138
138
|
gap: 0;
|
|
139
139
|
align-items: center;
|
|
140
140
|
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.
|
|
156
|
+
.aksel-combobox__selected-options--no-bg {
|
|
157
157
|
font-family: inherit;
|
|
158
158
|
font-size: var(--ax-font-size-large);
|
|
159
159
|
font-weight: var(--ax-font-weight-regular);
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
padding-left: 0.25rem;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
.
|
|
166
|
+
.aksel-combobox__input-wrapper {
|
|
167
167
|
width: 100%;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.
|
|
170
|
+
.aksel-combobox__input {
|
|
171
171
|
flex: 1;
|
|
172
172
|
border: none;
|
|
173
173
|
padding: 0;
|
|
@@ -182,39 +182,39 @@
|
|
|
182
182
|
border: none;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.
|
|
185
|
+
.aksel-combobox__selected-options > li:only-child > & {
|
|
186
186
|
margin-left: var(--ax-space-4);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.
|
|
190
|
+
.aksel-combobox__input--hide-caret {
|
|
191
191
|
caret-color: transparent;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
@supports not selector(:focus-visible) {
|
|
195
|
-
.
|
|
195
|
+
.aksel-combobox__input {
|
|
196
196
|
&:focus {
|
|
197
197
|
outline: none;
|
|
198
198
|
border: none;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.
|
|
203
|
-
&:has(.
|
|
202
|
+
.aksel-combobox__wrapper-inner {
|
|
203
|
+
&:has(.aksel-combobox__input:focus) {
|
|
204
204
|
outline: none;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
&:has(.
|
|
207
|
+
&:has(.aksel-combobox__input:focus).aksel-combobox__wrapper-inner--virtually-unfocused {
|
|
208
208
|
outline: none;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.
|
|
213
|
+
.aksel-combobox__input::-webkit-search-cancel-button {
|
|
214
214
|
display: none;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
.
|
|
217
|
+
.aksel-combobox__button-toggle-list {
|
|
218
218
|
color: var(--ax-text-neutral);
|
|
219
219
|
display: flex;
|
|
220
220
|
justify-content: center;
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
|
|
237
237
|
/* dropdown & non selectable dropdown items */
|
|
238
238
|
|
|
239
|
-
.
|
|
239
|
+
.aksel-combobox__list {
|
|
240
240
|
max-height: 316px;
|
|
241
241
|
overflow: clip;
|
|
242
242
|
position: absolute;
|
|
@@ -253,20 +253,20 @@
|
|
|
253
253
|
overscroll-behavior: contain;
|
|
254
254
|
box-shadow: var(--ax-shadow-dialog);
|
|
255
255
|
|
|
256
|
-
& .
|
|
256
|
+
& .aksel-combobox__list-options {
|
|
257
257
|
overflow-y: auto;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.
|
|
261
|
+
.aksel-combobox__list--closed {
|
|
262
262
|
display: none;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
.
|
|
266
|
-
.
|
|
267
|
-
.
|
|
268
|
-
.
|
|
269
|
-
.
|
|
265
|
+
.aksel-combobox__list-item,
|
|
266
|
+
.aksel-combobox__list-item--loading,
|
|
267
|
+
.aksel-combobox__list-item--no-options,
|
|
268
|
+
.aksel-combobox__list-item--new-option,
|
|
269
|
+
.aksel-combobox__list-item--max-selected {
|
|
270
270
|
align-items: center;
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: space-between;
|
|
@@ -279,16 +279,16 @@
|
|
|
279
279
|
scroll-margin-block: 8px; /* outline + outline-offset + margin-block */
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
.aksel-combobox__list-item--no-options {
|
|
283
283
|
margin: 0;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
.aksel-combobox__list-item--loading {
|
|
287
287
|
justify-content: center;
|
|
288
288
|
margin: 0;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.
|
|
291
|
+
.aksel-combobox__list-item--max-selected {
|
|
292
292
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
293
293
|
margin: 0;
|
|
294
294
|
border-radius: 0;
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
|
|
300
300
|
/* ul-list and selectable li-items */
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
.aksel-combobox__list-options {
|
|
303
303
|
list-style: none;
|
|
304
304
|
margin: 0;
|
|
305
305
|
display: inherit;
|
|
@@ -311,12 +311,12 @@
|
|
|
311
311
|
padding-block: var(--ax-space-4);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
.aksel-combobox__list-item--focus {
|
|
315
315
|
cursor: pointer;
|
|
316
316
|
outline: 2px solid var(--ax-border-focus);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
.
|
|
319
|
+
.aksel-combobox__list-item {
|
|
320
320
|
user-select: none;
|
|
321
321
|
|
|
322
322
|
&[data-no-focus="true"] {
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
.
|
|
338
|
+
.aksel-combobox__list-item--selected {
|
|
339
339
|
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
340
340
|
|
|
341
341
|
& p {
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
.
|
|
346
|
+
.aksel-combobox__list-item--new-option {
|
|
347
347
|
border-bottom: 1px solid var(--ax-border-accent-subtleA);
|
|
348
348
|
border-radius: 0;
|
|
349
349
|
background: var(--ax-bg-accent-moderateA);
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
.
|
|
366
|
+
.aksel-combobox__list-item--new-option--focus {
|
|
367
367
|
border-radius: calc(var(--ax-border-radius-large) - 1px) calc(var(--ax-border-radius-large) - 1px) 0 0;
|
|
368
368
|
|
|
369
369
|
/* TODO: new option should get a wrapper div later to
|
|
@@ -379,39 +379,39 @@
|
|
|
379
379
|
|
|
380
380
|
/* Mobile */
|
|
381
381
|
@media (max-width: 479px) {
|
|
382
|
-
.
|
|
382
|
+
.aksel-combobox__button-toggle-list {
|
|
383
383
|
right: 0.5rem;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
/* add bigger click area for input */
|
|
387
|
-
.
|
|
387
|
+
.aksel-combobox__input {
|
|
388
388
|
min-width: min-content;
|
|
389
389
|
padding: 0.75rem 0;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
.
|
|
392
|
+
.aksel-combobox__selected-options {
|
|
393
393
|
gap: var(--ax-space-4);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
@media (forced-colors: active) {
|
|
398
|
-
.
|
|
398
|
+
.aksel-combobox__wrapper-inner:has(.aksel-combobox__input:focus-visible) {
|
|
399
399
|
outline-color: highlight;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
.
|
|
403
|
-
.
|
|
404
|
-
.
|
|
402
|
+
.aksel-combobox__list-item--focus,
|
|
403
|
+
.aksel-combobox__list--with-hover
|
|
404
|
+
.aksel-combobox__list-item:not([data-no-focus="true"], .aksel-combobox__list-item--new-option):hover {
|
|
405
405
|
border-left-color: highlight;
|
|
406
406
|
color: highlight;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
.
|
|
409
|
+
.aksel-combobox__list-item[data-no-focus="true"] {
|
|
410
410
|
opacity: 1;
|
|
411
411
|
color: graytext;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
.
|
|
414
|
+
.aksel-combobox__list-item--selected {
|
|
415
415
|
background-color: highlight;
|
|
416
416
|
color: selecteditemtext;
|
|
417
417
|
|
|
@@ -424,22 +424,22 @@
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
|
|
427
|
-
.
|
|
428
|
-
.
|
|
427
|
+
.aksel-combobox__list-item--selected.aksel-combobox__list-item--focus,
|
|
428
|
+
.aksel-combobox__list--with-hover .aksel-combobox__list-item--selected:hover {
|
|
429
429
|
border-left-color: highlight;
|
|
430
430
|
color: highlight;
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
-
.
|
|
433
|
+
.aksel-combobox__list--with-hover .aksel-combobox__list-item--new-option:hover {
|
|
434
434
|
color: highlight;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
.
|
|
437
|
+
.aksel-combobox__list-item--new-option--focus {
|
|
438
438
|
outline: 2px solid highlight;
|
|
439
439
|
outline-offset: 0;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
.
|
|
442
|
+
.aksel-combobox--disabled {
|
|
443
443
|
opacity: 1;
|
|
444
444
|
|
|
445
445
|
& * {
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
.
|
|
452
|
+
.aksel-combobox__list-item--new-option {
|
|
453
453
|
svg {
|
|
454
454
|
color: canvastext;
|
|
455
455
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-confirmation-panel__inner {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: var(--ax-space-12);
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
position: relative;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.aksel-confirmation-panel__content {
|
|
15
15
|
max-width: 80ch;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@media (forced-colors: active) {
|
|
19
|
-
.
|
|
19
|
+
.aksel-confirmation-panel__inner::before {
|
|
20
20
|
content: "";
|
|
21
21
|
position: absolute;
|
|
22
22
|
left: 0;
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
border-end-start-radius: calc(var(--ax-border-radius-large) - 1px);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.aksel-confirmation-panel--checked .aksel-confirmation-panel__inner::before {
|
|
33
33
|
border-color: green;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.aksel-confirmation-panel--error .aksel-confirmation-panel__inner::before {
|
|
37
37
|
border-color: red;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-error-summary {
|
|
2
2
|
background-color: var(--ax-bg-default);
|
|
3
3
|
padding: var(--ax-space-16) var(--ax-space-20);
|
|
4
4
|
border: 4px solid var(--ax-border-danger);
|
|
@@ -6,32 +6,32 @@
|
|
|
6
6
|
outline-offset: 3px;
|
|
7
7
|
|
|
8
8
|
&:focus-visible,
|
|
9
|
-
&:has(.
|
|
9
|
+
&:has(.aksel-error-summary__heading:focus-visible) {
|
|
10
10
|
outline: 3px solid var(--ax-border-focus);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@supports not selector(:focus-visible) {
|
|
15
|
-
.
|
|
15
|
+
.aksel-error-summary:focus {
|
|
16
16
|
outline: 3px solid var(--ax-border-focus);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.aksel-error-summary--small {
|
|
21
21
|
padding: var(--ax-space-12) var(--ax-space-16);
|
|
22
22
|
|
|
23
|
-
& .
|
|
23
|
+
& .aksel-error-summary__heading {
|
|
24
24
|
scroll-margin-top: var(--ax-space-16);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
& > .
|
|
27
|
+
& > .aksel-error-summary__list {
|
|
28
28
|
margin: var(--ax-space-8) 0;
|
|
29
29
|
gap: var(--ax-space-8);
|
|
30
30
|
padding-left: var(--ax-space-20);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.aksel-error-summary__heading {
|
|
35
35
|
scroll-margin-top: var(--ax-space-24);
|
|
36
36
|
|
|
37
37
|
&:focus {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
.aksel-error-summary__list {
|
|
43
43
|
margin: var(--ax-space-12) 0;
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-direction: column;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-fieldset {
|
|
2
2
|
margin: 0;
|
|
3
3
|
padding: 0;
|
|
4
4
|
border: 0;
|
|
5
5
|
min-width: 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.aksel-fieldset > :not(:first-child, :empty) {
|
|
9
9
|
margin-top: var(--ax-space-8);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.aksel-fieldset__description {
|
|
13
13
|
color: var(--ax-text-neutral-subtle);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.aksel-fieldset > .aksel-fieldset__description:not(:empty) {
|
|
17
17
|
margin-top: 0.125rem;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* Applied when hideLegend is applied to fieldset */
|
|
21
|
-
.
|
|
21
|
+
.aksel-fieldset > .aksel-sr-only + :not(:first-child, :empty) {
|
|
22
22
|
margin-top: 0;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.aksel-fieldset__legend {
|
|
26
26
|
padding: 0;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
.aksel-fieldset--readonly > :where(.aksel-fieldset__legend) {
|
|
30
30
|
display: inline-flex;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
34
|
-
.
|
|
33
|
+
.aksel-fieldset:disabled > .aksel-fieldset__legend,
|
|
34
|
+
.aksel-fieldset:disabled > .aksel-fieldset__description {
|
|
35
35
|
opacity: var(--ax-opacity-disabled);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@media (forced-colors: active) {
|
|
39
|
-
.
|
|
40
|
-
.
|
|
39
|
+
.aksel-fieldset:disabled > .aksel-fieldset__legend,
|
|
40
|
+
.aksel-fieldset:disabled > .aksel-fieldset__description {
|
|
41
41
|
opacity: 1;
|
|
42
42
|
}
|
|
43
43
|
}
|