Wire up chat message props. Add username highlighting. Closes #1921

This commit is contained in:
Gabe Kangas
2022-06-24 21:30:54 -07:00
parent b7df2949e4
commit e08037b64a
13 changed files with 141 additions and 143 deletions

18
web/package-lock.json generated
View File

@@ -20,6 +20,7 @@
"chartkick": "4.1.1",
"classnames": "2.3.1",
"date-fns": "2.28.0",
"he": "^1.2.0",
"lodash": "4.17.21",
"markdown-it": "12.3.2",
"next": "^12.1.5",
@@ -34,6 +35,7 @@
"react-contenteditable": "^3.3.6",
"react-crossfade-img": "^1.0.0",
"react-dom": "17.0.2",
"react-highlighter-ts": "^2.2.0",
"react-hotkeys-hook": "^3.4.6",
"react-linkify": "1.0.0-alpha",
"react-markdown": "8.0.0",
@@ -27300,6 +27302,14 @@
"react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/react-highlighter-ts": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/react-highlighter-ts/-/react-highlighter-ts-2.2.0.tgz",
"integrity": "sha512-wZgYrOq6bO1O1szjyduvqeiuV1DuZbKb22FvbclXEhyG5rw9vFaJhdO420RwBvDkD4DvFnDLX4hFuAOg0aQkXA==",
"dependencies": {
"react": "^17.0.1"
}
},
"node_modules/react-hotkeys-hook": {
"version": "3.4.6",
"resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-3.4.6.tgz",
@@ -53410,6 +53420,14 @@
"shallowequal": "^1.1.0"
}
},
"react-highlighter-ts": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/react-highlighter-ts/-/react-highlighter-ts-2.2.0.tgz",
"integrity": "sha512-wZgYrOq6bO1O1szjyduvqeiuV1DuZbKb22FvbclXEhyG5rw9vFaJhdO420RwBvDkD4DvFnDLX4hFuAOg0aQkXA==",
"requires": {
"react": "^17.0.1"
}
},
"react-hotkeys-hook": {
"version": "3.4.6",
"resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-3.4.6.tgz",