pl-fe: port new hotkeys component from mastodon

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-09-14 13:16:36 +02:00
parent ac0b3c9366
commit 1834e39bf9
11 changed files with 496 additions and 228 deletions

21
pnpm-lock.yaml generated
View File

@ -163,9 +163,6 @@ importers:
'@lexical/utils':
specifier: ^0.29.0
version: 0.29.0
'@mkljczk/react-hotkeys':
specifier: ^1.3.0
version: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@mkljczk/url-purify':
specifier: ^0.0.3
version: 0.0.3
@ -1963,12 +1960,6 @@ packages:
'@microsoft/tsdoc@0.15.1':
resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
'@mkljczk/react-hotkeys@1.3.0':
resolution: {integrity: sha512-xfcYZ/J2YCpakRDEZd0ZdCQ2wx75Pmub9JksyBWX+W56UGDeMbmI8nPedG6V89JhUlgFsijZVVlVeDHIuzG6Hw==}
peerDependencies:
react: '>= 16.0.0'
react-dom: '>= 16.0.0'
'@mkljczk/url-purify@0.0.3':
resolution: {integrity: sha512-3O4QO/nH9yV/GKim+yKvQF1cKWN0dBAsxC5Ve50d1PaUYQFSd4y733eRGt+zRcPZrvgyAkyZZ5Bx7dAHWX+bBQ==}
@ -4890,9 +4881,6 @@ packages:
mlly@1.7.4:
resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==}
mousetrap@1.6.5:
resolution: {integrity: sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==}
ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
@ -8226,13 +8214,6 @@ snapshots:
'@microsoft/tsdoc@0.15.1': {}
'@mkljczk/react-hotkeys@1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
lodash: 4.17.21
mousetrap: 1.6.5
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
'@mkljczk/url-purify@0.0.3': {}
'@napi-rs/wasm-runtime@0.2.12':
@ -11697,8 +11678,6 @@ snapshots:
pkg-types: 1.3.1
ufo: 1.6.1
mousetrap@1.6.5: {}
ms@2.1.3: {}
muggle-string@0.4.1: {}