Skip to content

Commit

Permalink
deps: update antd/rc-table for access to showExpandColumn prop and ad…
Browse files Browse the repository at this point in the history
…d resize observer
  • Loading branch information
stanbaker committed Oct 27, 2022
1 parent c1d5164 commit a3ef0fd
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 137 deletions.
5 changes: 3 additions & 2 deletions datahub-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@vx/shape": "^0.0.199",
"@vx/zoom": "^0.0.199",
"analytics": "^0.7.5",
"antd": "^4.16.0",
"antd": "~4.18.0",
"apollo-link": "^1.2.14",
"apollo-link-error": "^1.1.13",
"apollo-link-http": "^1.5.17",
Expand All @@ -70,7 +70,8 @@
"monaco-editor": "^0.28.1",
"monaco-yaml": "^3.2.1",
"query-string": "^6.13.8",
"rc-table": "^7.13.1",
"rc-resize-observer": "^1.2.0",
"rc-table": "~7.23.0",
"react": "^17.0.0",
"react-color": "^2.19.3",
"react-dom": "^17.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function ListField({ field, removeMargin }: CommonFieldProps) {
</Tooltip>
</Label>
{fields.map((item) => (
<Form.Item key={item.fieldKey} style={{ marginBottom: '10px' }}>
<Form.Item key={item.key} style={{ marginBottom: '10px' }}>
<Form.Item {...item} noStyle>
<Input style={{ width: '80%' }} placeholder={field.placeholder} />
</Form.Item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function SecretField({ field, secrets, removeMargin, refetchSecrets }: SecretFie
removeMargin={!!removeMargin}
isSecretField
>
<Select
<Select<string, { children: string }>
showSearch
placeholder={field.placeholder}
filterOption={(input, option) => !!option?.children.toLowerCase().includes(input.toLowerCase())}
Expand Down
2 changes: 1 addition & 1 deletion datahub-web-react/src/app/search/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const SearchBar = ({

return (
<AutoCompleteContainer style={style} ref={searchBarWrapperRef}>
<StyledAutoComplete
<StyledAutoComplete<any>
defaultActiveFirstOption={false}
style={autoCompleteStyle}
options={options}
Expand Down
Loading

0 comments on commit a3ef0fd

Please sign in to comment.