Skip to content

Commit 045db94

Browse files
committed
v5.0.6
1 parent 8b9116b commit 045db94

File tree

5 files changed

+245
-248
lines changed

5 files changed

+245
-248
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "5.0.5",
3+
"version": "5.0.6",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",
@@ -41,10 +41,10 @@
4141
"@dnd-kit/sortable": "^10.0.0",
4242
"@elastic/react-search-ui": "^1.23.0",
4343
"@elastic/search-ui-site-search-connector": "^1.23.0",
44-
"@prismicio/client": "7.17.1",
45-
"@storybook/test": "^8.6.11",
44+
"@prismicio/client": "7.17.2",
45+
"@storybook/test": "^8.6.12",
4646
"@styled-system/css": "^5.1.5",
47-
"@tanstack/react-table": "^8.21.2",
47+
"@tanstack/react-table": "^8.21.3",
4848
"@tanstack/react-virtual": "3.13.6",
4949
"axios": "^1.8.4",
5050
"polished": "^4.3.1",
@@ -69,23 +69,23 @@
6969
"@babel/plugin-transform-runtime": "^7.26.10",
7070
"@babel/preset-env": "^7.26.9",
7171
"@babel/preset-react": "^7.26.3",
72-
"@storybook/addon-essentials": "^8.6.11",
73-
"@storybook/addon-interactions": "^8.6.11",
74-
"@storybook/addon-links": "^8.6.11",
72+
"@storybook/addon-essentials": "^8.6.12",
73+
"@storybook/addon-interactions": "^8.6.12",
74+
"@storybook/addon-links": "^8.6.12",
7575
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
76-
"@storybook/blocks": "^8.6.11",
77-
"@storybook/react": "^8.6.11",
78-
"@storybook/react-webpack5": "^8.6.11",
76+
"@storybook/blocks": "^8.6.12",
77+
"@storybook/react": "^8.6.12",
78+
"@storybook/react-webpack5": "^8.6.12",
7979
"@testing-library/jest-dom": "^6.6.3",
80-
"@testing-library/react": "^16.2.0",
80+
"@testing-library/react": "^16.3.0",
8181
"@testing-library/user-event": "^14.6.1",
8282
"babel-loader": "^10.0.0",
8383
"babel-plugin-module-resolver": "^5.0.2",
8484
"babel-plugin-styled-components": "^2.1.4",
8585
"clean-webpack-plugin": "^4.0.0",
8686
"copyfiles": "^2.4.1",
87-
"eslint": "^9.23.0",
88-
"eslint-plugin-react": "^7.37.4",
87+
"eslint": "^9.25.1",
88+
"eslint-plugin-react": "^7.37.5",
8989
"eslint-plugin-react-hooks": "^5.2.0",
9090
"eslint-plugin-storybook": "^0.12.0",
9191
"globals": "^16.0.0",
@@ -95,7 +95,7 @@
9595
"jest": "^29.7.0",
9696
"jest-environment-jsdom": "^29.7.0",
9797
"jest-styled-components": "^7.1.1",
98-
"jsdom": "26.0.0",
98+
"jsdom": "26.1.0",
9999
"lodash": "^4.17.21",
100100
"markdown-loader": "8.0.0",
101101
"prettier": "^3.5.3",
@@ -105,12 +105,12 @@
105105
"react-dom": "^19.1.0",
106106
"rimraf": "^6.0.1",
107107
"sass-loader": "^16.0.5",
108-
"storybook": "^8.6.11",
109-
"styled-components": "^6.1.16",
108+
"storybook": "^8.6.12",
109+
"styled-components": "^6.1.17",
110110
"svg-sprite-loader": "^6.0.11",
111111
"svgo-loader": "^4.0.0",
112112
"url-loader": "^4.1.1",
113-
"webpack": "^5.98.0",
113+
"webpack": "^5.99.6",
114114
"webpack-cli": "^6.0.1"
115115
}
116116
}

src/components/drops/menu/dropdown.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const Dropdown = ({
3030
gap = 0,
3131
estimateSize = defaultEstimateSize,
3232
close,
33+
containerRef,
3334
ref: forwardedRef,
3435
...rest
3536
}) => {
@@ -69,6 +70,7 @@ const Dropdown = ({
6970
column
7071
tabindex="-1"
7172
width="auto"
73+
ref={containerRef}
7274
{...rest}
7375
>
7476
{dropTitle && <Flex padding={dropTitlePadding}>{dropTitle}</Flex>}

src/components/table/body/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ const Body = memo(
155155
</div>
156156
</div>
157157
)
158-
}
158+
},
159+
() => true
159160
)
160161

161162
export default Body

src/components/table/table.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ const Table = memo(props => {
7878
columnVisibility: defaultColumnVisibility,
7979
onColumnVisibilityChange: visibilityChangeCb = tableDefaultProps.onColumnVisibilityChange,
8080

81-
enableColumnSizing,
8281
columnSizing: defaultColumnSizing,
8382
onColumnSizingChange: sizingChangeCb,
8483

@@ -221,7 +220,7 @@ const Table = memo(props => {
221220

222221
const dispatch = useTableDispatch()
223222

224-
const dispatchThrottled = useCallback(throttle(10, dispatch), [])
223+
const dispatchThrottled = useCallback(throttle(300, dispatch), [])
225224

226225
useLayoutEffect(() => {
227226
dispatchThrottled({

0 commit comments

Comments
 (0)