@equinor/apollo-components 1.11.0 → 1.11.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/dist/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -285,8 +285,6 @@ var TypographyCustom = (props) => {
|
|
|
285
285
|
});
|
|
286
286
|
};
|
|
287
287
|
var HoverCapture = import_styled_components6.default.div`
|
|
288
|
-
padding: 0.5em 0;
|
|
289
|
-
margin: -0.5em 0;
|
|
290
288
|
height: ${import_eds_tokens3.tokens.typography.table.cell_text.lineHeight};
|
|
291
289
|
background-color: inherit;
|
|
292
290
|
|
|
@@ -564,7 +562,7 @@ function TableRow({ row, rowConfig, cellConfig }) {
|
|
|
564
562
|
}
|
|
565
563
|
var StyledTableRow = (0, import_styled_components12.default)(import_eds_core_react11.Table.Row)`
|
|
566
564
|
/* Background color must be inherited here. Does not work with inline styling */
|
|
567
|
-
background-color: inherit;
|
|
565
|
+
${({ active }) => active ? "" : "background-color: inherit;"}
|
|
568
566
|
`;
|
|
569
567
|
function handleRowEvent(row, handler) {
|
|
570
568
|
if (!handler)
|
package/dist/index.mjs
CHANGED
|
@@ -239,8 +239,6 @@ var TypographyCustom = (props) => {
|
|
|
239
239
|
});
|
|
240
240
|
};
|
|
241
241
|
var HoverCapture = styled6.div`
|
|
242
|
-
padding: 0.5em 0;
|
|
243
|
-
margin: -0.5em 0;
|
|
244
242
|
height: ${tokens3.typography.table.cell_text.lineHeight};
|
|
245
243
|
background-color: inherit;
|
|
246
244
|
|
|
@@ -518,7 +516,7 @@ function TableRow({ row, rowConfig, cellConfig }) {
|
|
|
518
516
|
}
|
|
519
517
|
var StyledTableRow = styled12(Table7.Row)`
|
|
520
518
|
/* Background color must be inherited here. Does not work with inline styling */
|
|
521
|
-
background-color: inherit;
|
|
519
|
+
${({ active }) => active ? "" : "background-color: inherit;"}
|
|
522
520
|
`;
|
|
523
521
|
function handleRowEvent(row, handler) {
|
|
524
522
|
if (!handler)
|