diff --git a/package-lock.json b/package-lock.json index 4119b29..b11b432 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "rc-slider": "^10.0.1", "react": "18.2.0", "react-dom": "18.2.0", - "react-hot-keys": "^2.7.2", "react-hotkeys-hook": "^3.4.7", "react-swipeable": "^7.0.0", "react-zoom-pan-pinch": "^2.1.3", @@ -7033,6 +7032,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -7635,6 +7635,7 @@ "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -7761,20 +7762,6 @@ "react": "^18.2.0" } }, - "node_modules/react-hot-keys": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/react-hot-keys/-/react-hot-keys-2.7.2.tgz", - "integrity": "sha512-Z7eSh7SU6s52+zP+vkfFoNk0x4kgEmnwqDiyACKv53crK2AZ7FUaBLnf+vxLor3dvtId9murLmKOsrJeYgeHWw==", - "dependencies": { - "hotkeys-js": "^3.8.1", - "prop-types": "^15.7.2" - }, - "peerDependencies": { - "@babel/runtime": ">=7.10.0", - "react": ">=16.9.0", - "react-dom": ">=16.9.0" - } - }, "node_modules/react-hotkeys-hook": { "version": "3.4.7", "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-3.4.7.tgz", @@ -14430,7 +14417,8 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-hash": { "version": "3.0.0", @@ -14849,6 +14837,7 @@ "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, "requires": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -14934,15 +14923,6 @@ "scheduler": "^0.23.0" } }, - "react-hot-keys": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/react-hot-keys/-/react-hot-keys-2.7.2.tgz", - "integrity": "sha512-Z7eSh7SU6s52+zP+vkfFoNk0x4kgEmnwqDiyACKv53crK2AZ7FUaBLnf+vxLor3dvtId9murLmKOsrJeYgeHWw==", - "requires": { - "hotkeys-js": "^3.8.1", - "prop-types": "^15.7.2" - } - }, "react-hotkeys-hook": { "version": "3.4.7", "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-3.4.7.tgz", diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index 3df9db8..0770f35 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -141,7 +141,8 @@ export const AppLayout = ({ onClick={() => { setMainPanelOpen(false); setSubPanelOpen(false); - }}> + }} + /> {/* Content panel */} diff --git a/src/components/HorizontalLine.tsx b/src/components/HorizontalLine.tsx index 6090749..5c1b7d7 100644 --- a/src/components/HorizontalLine.tsx +++ b/src/components/HorizontalLine.tsx @@ -12,5 +12,5 @@ interface Props { // ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ export const HorizontalLine = ({ className }: Props): JSX.Element => ( -
+ ); diff --git a/src/components/Markdown/Markdawn.tsx b/src/components/Markdown/Markdawn.tsx index 079bc20..14db799 100644 --- a/src/components/Markdown/Markdawn.tsx +++ b/src/components/Markdown/Markdawn.tsx @@ -204,7 +204,8 @@ export const Markdawn = ({ className, text: rawText }: MarkdawnProps): JSX.Eleme : compProps.src } quality={ImageQuality.Medium} - className="drop-shadow-shade-lg"> + className="drop-shadow-shade-lg" + /> ), }, diff --git a/src/components/PreviewLine.tsx b/src/components/PreviewLine.tsx index 4d43936..a164675 100644 --- a/src/components/PreviewLine.tsx +++ b/src/components/PreviewLine.tsx @@ -44,7 +44,7 @@ const PreviewLine = ({ ) : ( - + )}Ref
Name
Type
diff --git a/src/pages/dev/checkup/libraryitems.tsx b/src/pages/dev/checkup/libraryitems.tsx index cbd8605..d81e415 100644 --- a/src/pages/dev/checkup/libraryitems.tsx +++ b/src/pages/dev/checkup/libraryitems.tsx @@ -33,8 +33,8 @@ const CheckupLibraryItems = ({ libraryItems, ...otherProps }: Props): JSX.Elemen {Ref
Name
Type
diff --git a/src/pages/dev/transcript.tsx b/src/pages/dev/transcript.tsx index 9dd23fc..90c11fe 100644 --- a/src/pages/dev/transcript.tsx +++ b/src/pages/dev/transcript.tsx @@ -369,7 +369,8 @@ const Transcript = (props: Props): JSX.Element => { onClick={updateLineIndex} onKeyUp={updateLineIndex} title="Input textarea" - className="whitespace-pre"> + className="whitespace-pre" + />setXOffset(parseInt(event.target.value, 10) / 10)}> + onChange={(event) => setXOffset(parseInt(event.target.value, 10) / 10)} + />
{rangeStart}
{rangeStart}
{content?.type &&