@navikt/ds-css 1.3.3 → 1.3.4
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 +16 -7
- package/package.json +3 -3
- package/table.css +17 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-css",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Css for NAV Designsystem components",
|
|
5
5
|
"author": "NAV Designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@navikt/ds-tokens": "^1.3.
|
|
23
|
+
"@navikt/ds-tokens": "^1.3.4",
|
|
24
24
|
"normalize.css": "^8.0.1",
|
|
25
25
|
"postcss": "^8.3.6",
|
|
26
26
|
"postcss-cli": "^8.3.1",
|
|
27
27
|
"postcss-combine-duplicated-selectors": "10.0.3",
|
|
28
28
|
"postcss-import": "^14.0.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "f3929075e3f936f2a0dd6369f197af21814c3400"
|
|
31
31
|
}
|
package/table.css
CHANGED
|
@@ -88,15 +88,19 @@
|
|
|
88
88
|
text-align: center;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.navds-table__body
|
|
92
|
-
.navds-table__row--shade-on-hover:hover
|
|
91
|
+
where(.navds-table__body
|
|
92
|
+
.navds-table__row--shade-on-hover:hover)
|
|
93
93
|
.navds-table__header-cell,
|
|
94
|
-
.navds-table__body
|
|
95
|
-
.navds-table__row--shade-on-hover:hover
|
|
94
|
+
where(.navds-table__body
|
|
95
|
+
.navds-table__row--shade-on-hover:hover)
|
|
96
96
|
.navds-table__data-cell {
|
|
97
97
|
border-color: var(--navds-table-cell-color-border-hover);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
where(.navds-table__expandable-row--open:hover) .navds-table__data-cell {
|
|
101
|
+
border-bottom-color: transparent;
|
|
102
|
+
}
|
|
103
|
+
|
|
100
104
|
.navds-table--small .navds-table__header-cell,
|
|
101
105
|
.navds-table--small .navds-table__data-cell {
|
|
102
106
|
padding: var(--navds-spacing-2) var(--navds-spacing-3);
|
|
@@ -165,8 +169,16 @@
|
|
|
165
169
|
flex-shrink: 0;
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
.navds-table__expandable-row
|
|
172
|
+
.navds-table__expandable-row:not(.navds-table__expandable-row--open)
|
|
173
|
+
.navds-table__data-cell {
|
|
174
|
+
transition: border-bottom-color 190ms cubic-bezier(0.6, 0.04, 0.98, 0.335);
|
|
175
|
+
}
|
|
176
|
+
|
|
169
177
|
.navds-table__expandable-row--open .navds-table__data-cell {
|
|
178
|
+
border-bottom-color: transparent;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.navds-table__expandable-row--open .navds-table__header-cell {
|
|
170
182
|
border-color: var(--navds-semantic-color-border-muted);
|
|
171
183
|
}
|
|
172
184
|
|