@navikt/ds-css 3.0.1 → 3.1.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 +13 -0
- package/button.css +87 -12
- package/chat.css +0 -5
- package/chips.css +24 -0
- package/date.css +42 -8
- package/dist/component/button.css +87 -12
- package/dist/component/button.min.css +1 -1
- package/dist/component/chat.css +0 -5
- package/dist/component/chat.min.css +1 -1
- package/dist/component/chips.css +24 -0
- package/dist/component/chips.min.css +1 -1
- package/dist/component/date.css +42 -8
- package/dist/component/date.min.css +1 -1
- package/dist/component/expansioncard.css +7 -3
- package/dist/component/expansioncard.min.css +1 -1
- package/dist/component/form.css +161 -33
- package/dist/component/form.min.css +1 -1
- package/dist/component/helptext.css +20 -4
- package/dist/component/helptext.min.css +1 -1
- package/dist/component/index.css +420 -77
- package/dist/component/index.min.css +2 -2
- package/dist/component/link.css +11 -1
- package/dist/component/link.min.css +1 -1
- package/dist/component/linkpanel.css +8 -1
- package/dist/component/linkpanel.min.css +1 -1
- package/dist/component/modal.css +9 -1
- package/dist/component/modal.min.css +1 -1
- package/dist/component/pagination.css +7 -1
- package/dist/component/pagination.min.css +1 -1
- package/dist/component/popover.css +8 -1
- package/dist/component/popover.min.css +1 -1
- package/dist/component/readmore.css +8 -1
- package/dist/component/readmore.min.css +1 -1
- package/dist/component/stepper.css +9 -1
- package/dist/component/stepper.min.css +1 -1
- package/dist/component/table.css +15 -2
- package/dist/component/table.min.css +1 -1
- package/dist/component/tabs.css +16 -1
- package/dist/component/tabs.min.css +1 -1
- package/dist/component/togglegroup.css +22 -2
- package/dist/component/togglegroup.min.css +1 -1
- package/dist/components.css +419 -76
- package/dist/components.min.css +2 -2
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +420 -77
- package/dist/index.min.css +2 -2
- package/expansioncard.css +7 -3
- package/form/error-summary.css +8 -1
- package/form/fieldset.css +1 -1
- package/form/form.css +5 -1
- package/form/radio-checkbox.css +79 -16
- package/form/search.css +39 -7
- package/form/select.css +8 -1
- package/form/switch.css +8 -2
- package/form/text-field.css +15 -2
- package/form/textarea.css +16 -2
- package/help-text.css +20 -4
- package/link-panel.css +8 -1
- package/link.css +11 -1
- package/modal.css +9 -1
- package/package.json +2 -2
- package/pagination.css +7 -1
- package/popover.css +8 -1
- package/read-more.css +8 -1
- package/stepper.css +9 -1
- package/table.css +15 -2
- package/tabs.css +16 -1
- package/toggle-group.css +22 -2
package/toggle-group.css
CHANGED
|
@@ -49,20 +49,40 @@
|
|
|
49
49
|
color: var(--ac-toggle-group-button-neutral-hover-text, var(--a-text-default));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.navds-toggle-group__button:focus {
|
|
52
|
+
.navds-toggle-group__button:focus-visible {
|
|
53
53
|
outline: none;
|
|
54
54
|
box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 4px var(--a-border-focus);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
@supports not selector(:focus-visible) {
|
|
58
|
+
.navds-toggle-group__button:focus {
|
|
59
|
+
outline: none;
|
|
60
|
+
box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 4px var(--a-border-focus);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.navds-toggle-group__button:focus-visible:hover[aria-pressed="false"] {
|
|
58
65
|
box-shadow: 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)), 0 0 0 4px var(--a-border-focus);
|
|
59
66
|
}
|
|
60
67
|
|
|
68
|
+
@supports not selector(:focus-visible) {
|
|
69
|
+
.navds-toggle-group__button:focus:hover[aria-pressed="false"] {
|
|
70
|
+
box-shadow: 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)), 0 0 0 4px var(--a-border-focus);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
61
74
|
.navds-toggle-group--neutral > .navds-toggle-group__button:focus:hover[aria-pressed="false"] {
|
|
62
75
|
box-shadow: 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
|
|
63
76
|
0 0 0 4px var(--a-border-focus);
|
|
64
77
|
}
|
|
65
78
|
|
|
79
|
+
@supports not selector(:focus-visible) {
|
|
80
|
+
.navds-toggle-group--neutral > .navds-toggle-group__button:focus-visible:hover[aria-pressed="false"] {
|
|
81
|
+
box-shadow: 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
|
|
82
|
+
0 0 0 4px var(--a-border-focus);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
66
86
|
.navds-toggle-group__button-inner {
|
|
67
87
|
display: flex;
|
|
68
88
|
align-items: center;
|