Skip to content

Commit

Permalink
chore(dev-deps): update all non-major dependencies (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <[email protected]>
  • Loading branch information
renovate[bot] and renovate-bot authored Mar 24, 2022
1 parent d1c60e2 commit 271b8b7
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 244 deletions.
4 changes: 2 additions & 2 deletions contents/Table/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type RowProps = {
}
export const Row: FunctionComponent<RowProps> = ({ columns, dataRow }) => (
<tr>
{columns.map((column, index) => (
<Cell key={String(index)} column={column} dataRow={dataRow} />
{columns.map(column => (
<Cell key={dataRow.id} column={column} dataRow={dataRow} />
))}
</tr>
)
Expand Down
4 changes: 2 additions & 2 deletions contents/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ const TableWithRef: ForwardRefRenderFunction<HTMLTableElement, TableProps> = (
<table ref={ref} {...props}>
<thead>
<tr>
{columns.map((column: TableColumnProps, index: number) => {
{columns.map((column: TableColumnProps) => {
const sortOrder = column.type !== 'action' && column.key === sortedKey ? sortedKeyOrder : undefined

return <Head key={String(index)} column={column} onSort={sortDataByKey} sortOrder={sortOrder} />
return <Head key={column.label} column={column} onSort={sortDataByKey} sortOrder={sortOrder} />
})}
</tr>
</thead>
Expand Down
2 changes: 2 additions & 0 deletions contents/Tasker/Lane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export const Lane: SuiComponent<HTMLAttributes<HTMLDivElement>, LaneProps> = ({
<Box>
<Label>{label}</Label>
{tasks.map((Task, index) => (
// TODO Stop using index as key in lane tasks list
// eslint-disable-next-line react/no-array-index-key
<Task key={String(index)} />
))}
</Box>
Expand Down
2 changes: 2 additions & 0 deletions contents/Tasker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export const Tasker = Object.assign<
return (
<Box {...props}>
{data.map((dataLane, laneIndex) => (
// TODO Stop using index as key in lanes list
// eslint-disable-next-line react/no-array-index-key
<LaneBox key={String(laneIndex)} width={laneWidth}>
<Lane label={dataLane.label} tasks={dataLane.tasks} />
</LaneBox>
Expand Down
4 changes: 3 additions & 1 deletion fields/MarkdownEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const HOTKEYS: Record<string, string> = {
'mod+u': 'underline',
}

const deserialize = unified().use(remarkParse).use(remarkSlate)
const deserialize = unified()
.use(remarkParse as any)
.use(remarkSlate)

type MarkdownEditorProps = DOMAttributes<HTMLDivElement> & {
className?: string
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,70 +26,70 @@
"remark-parse": "10.0.1",
"remark-slate": "1.8.5",
"sha1": "1.1.1",
"slate": "0.72.8",
"slate": "0.75.0",
"slate-history": "0.66.0",
"slate-react": "0.72.9",
"slate-react": "0.75.0",
"tslib": "2.3.1",
"unified": "10.1.1"
"unified": "10.1.2"
},
"devDependencies": {
"@babel/core": "7.17.5",
"@babel/core": "7.17.8",
"@babel/preset-react": "7.16.7",
"@commitlint/cli": "16.2.1",
"@commitlint/cli": "16.2.3",
"@commitlint/config-conventional": "16.2.1",
"@fontsource/poppins": "4.5.2",
"@fontsource/poppins": "4.5.5",
"@ivangabriele/commitlint-config": "1.0.5",
"@ivangabriele/eslint-config-typescript-react": "3.0.1",
"@ivangabriele/prettier-config": "3.0.2",
"@ivangabriele/semantic-release-config-dist": "2.0.2",
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-commonjs": "21.0.2",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-typescript": "8.3.0",
"@rollup/plugin-typescript": "8.3.1",
"@storybook/addon-actions": "6.4.19",
"@storybook/addon-essentials": "6.4.19",
"@storybook/addon-links": "6.4.19",
"@storybook/addon-postcss": "2.0.0",
"@storybook/react": "6.4.19",
"@types/jabber": "1.2.0",
"@types/node": "17.0.16",
"@types/ramda": "0.27.64",
"@types/ramda": "0.28.2",
"@types/sha1": "1.1.3",
"@types/styled-components": "5.1.23",
"@typescript-eslint/eslint-plugin": "5.12.0",
"@typescript-eslint/parser": "5.12.0",
"babel-loader": "8.2.3",
"@types/styled-components": "5.1.24",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"babel-loader": "8.2.4",
"bhala": "3.0.4",
"dumdum": "1.0.0-alpha.5",
"eslint": "8.9.0",
"eslint": "8.11.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "16.1.0",
"eslint-config-prettier": "8.4.0",
"eslint-config-airbnb-typescript": "16.1.4",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "26.1.1",
"eslint-plugin-jest": "26.1.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-sort-destructure-keys": "1.4.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"gh-pages": "3.2.3",
"husky": "7.0.4",
"jabber": "1.2.2",
"jabber": "1.4.0",
"microbundle": "0.14.2",
"prettier": "2.5.1",
"prettier": "2.6.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-feather": "2.0.9",
"react-is": "17.0.2",
"rollup": "2.67.3",
"rollup": "2.70.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-sizes": "1.0.4",
"styled-components": "5.3.3",
"typescript": "4.5.5",
"webpack": "5.69.1"
"typescript": "4.6.2",
"webpack": "5.70.0"
},
"peerDependencies": {
"react": "^17.0.2",
Expand Down
1 change: 1 addition & 0 deletions types/Common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ declare namespace Common {
type Collection = CollectionItem[]
type CollectionItem = {
[key: string]: any
id: string
}

type DeepPartial<T> = {
Expand Down
Loading

0 comments on commit 271b8b7

Please sign in to comment.