Skip to content

Commit 18697f1

Browse files
committed
v5.4.0
1 parent 50f1c3e commit 18697f1

File tree

7 files changed

+13
-14
lines changed

7 files changed

+13
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "5.3.4",
3+
"version": "5.4.0",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/components/table/body/header/dragOverlay.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import styled from "styled-components"
55
import Flex from "@/components/templates/flex"
66
import { Text } from "@/components/typography"
77

8-
const OverlayContainer = styled(Flex)`
9-
background: ${({ theme }) => theme.colors.mainBackground};
10-
border: 1px solid ${({ theme }) => theme.colors.border};
8+
const OverlayContainer = styled(Flex).attrs({
9+
background: "mainBackground",
10+
padding: [2, 4],
11+
round: 1,
12+
border: true,
13+
})`
1114
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
12-
padding: 8px 16px;
13-
border-radius: 4px;
1415
opacity: 0.9;
1516
`
1617

src/components/table/body/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ const Body = memo(
100100
flex="1"
101101
data-testid={`netdata-table${testPrefix}`}
102102
onScroll={onScroll}
103-
border
104103
>
105104
<div
106105
style={{

src/components/table/components/pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Pagination = ({ table }) => {
2121
alignItems="center"
2222
justifyContent="end"
2323
height="45px"
24-
background="mainBackground"
24+
background="panelBg"
2525
border={{ side: "top", color: "borderSecondary" }}
2626
>
2727
<IconButton

src/components/table/header/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ const Header = ({
3636
data-noprint
3737
width="100%"
3838
zIndex={10}
39-
background="mainBackground"
39+
background="panelBg"
4040
gap={1}
4141
alignItems="center"
4242
padding={[2, 3]}
4343
round={{ side: "top", size: 1 }}
44-
border={{ side: ["vertical", "top"] }}
4544
flexWrap
4645
{...tableMeta.bulkActionsStyles}
4746
>

src/theme/dark/colors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const appColors = {
130130
// Table
131131
dropdownTable: rawColors.neutral.eerieBlack,
132132
tableRowBgHover: rawColors.neutral.grey35,
133-
tableRowBg: rawColors.neutral.grey10,
133+
tableRowBg: rawColors.neutral.grey25,
134134
tableRowBg2: rawColors.neutral.grey20,
135135
tableRowBg2Hover: rawColors.neutral.grey35,
136136
columnHighlight: rawColors.green.green30,

src/theme/default/colors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ const appColors = {
130130

131131
// Table
132132
dropdownTable: rawColors.neutral.white,
133-
tableRowBg: rawColors.neutral.grey195,
133+
tableRowBg: rawColors.neutral.grey190,
134134
tableRowBgHover: rawColors.neutral.grey180,
135-
tableRowBg2: rawColors.neutral.grey190,
136-
tableRowBg2Hover: rawColors.neutral.grey180,
135+
tableRowBg2: rawColors.neutral.grey195,
136+
tableRowBg2Hover: rawColors.neutral.grey185,
137137
columnHighlight: rawColors.green.green190,
138138

139139
// IconButton

0 commit comments

Comments
 (0)