@danske/sapphire-css 45.0.0 → 45.1.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.
|
@@ -87,6 +87,12 @@ instead of being applied on the list item itself */
|
|
|
87
87
|
align-items: inherit;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
.sapphire-list__item > .sapphire-list__item--selected {
|
|
91
|
+
background: var(
|
|
92
|
+
--sapphire-semantic-color-background-action-select-secondary-default
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
90
96
|
.sapphire-list--negative-margin-self {
|
|
91
97
|
margin-left: calc(var(--sapphire-semantic-size-spacing-md) * -1);
|
|
92
98
|
width: calc(100% + (var(--sapphire-semantic-size-spacing-md) * 2));
|
|
@@ -163,6 +169,15 @@ instead of being applied on the list item itself */
|
|
|
163
169
|
background: var(--sapphire-semantic-color-background-action-tertiary-hover);
|
|
164
170
|
}
|
|
165
171
|
|
|
172
|
+
.sapphire-list__item--selected.is-hover:not(.is-active):not(:has(.is-hover)),
|
|
173
|
+
.sapphire-list__item--selected:not(.js-hover):not([aria-disabled='true']):not(
|
|
174
|
+
:disabled
|
|
175
|
+
):not(:active):not(:has(:hover)):hover {
|
|
176
|
+
background: var(
|
|
177
|
+
--sapphire-semantic-color-background-action-select-secondary-hover
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
|
|
166
181
|
/*
|
|
167
182
|
* Focus
|
|
168
183
|
*/
|
|
@@ -193,6 +208,17 @@ instead of being applied on the list item itself */
|
|
|
193
208
|
);
|
|
194
209
|
}
|
|
195
210
|
|
|
211
|
+
.sapphire-list__item--selected:not(.is-disabled).is-active:not(
|
|
212
|
+
:has(.is-active)
|
|
213
|
+
),
|
|
214
|
+
.sapphire-list__item--selected:not([aria-disabled='true']):not(:disabled):not(
|
|
215
|
+
:has(:active)
|
|
216
|
+
):active {
|
|
217
|
+
background-color: var(
|
|
218
|
+
--sapphire-semantic-color-background-action-select-secondary-active
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
|
|
196
222
|
.sapphire-list__item[aria-disabled='true']
|
|
197
223
|
.sapphire-list__item--interactive:active,
|
|
198
224
|
.sapphire-list__item--interactive:focus-visible {
|
|
@@ -2,6 +2,7 @@ declare const styles: {
|
|
|
2
2
|
readonly "sapphire-list": string;
|
|
3
3
|
readonly "sapphire-list__item": string;
|
|
4
4
|
readonly "sapphire-list__item--interactive": string;
|
|
5
|
+
readonly "sapphire-list__item--selected": string;
|
|
5
6
|
readonly "sapphire-list--negative-margin-self": string;
|
|
6
7
|
readonly "is-focus": string;
|
|
7
8
|
readonly "js-focus": string;
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.sapphire-modal-layout__section-title {
|
|
117
|
+
z-index: 1; /* Only <legend> element appears above content by default when sticky, <header> needs this */
|
|
117
118
|
margin-left: calc(
|
|
118
119
|
var(--sapphire-semantic-size-spacing-container-horizontal-md) * -1
|
|
119
120
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danske/sapphire-css",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.1.0",
|
|
4
4
|
"description": "CSS implementation of the Sapphire Design System from Danske Bank A/S",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@danske/sapphire-design-tokens": "^42.2.1"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "fe060604b778104583e59507572af0dc0747afb4"
|
|
73
73
|
}
|