Commit Graph

101 Commits

Author SHA1 Message Date
Sindre Sorhus 018e445b34 Support disabling/enabling multiple keyboard shortcuts in a single call 2023-05-05 01:08:43 +07:00
Nathan 921c77e14f
Fix cursor disappearing when switching to other textfield (#124) 2023-05-05 00:50:40 +07:00
soundflix 746f74e1de
Improve display of keypad keys (#128) 2023-05-05 00:49:44 +07:00
Sindre Sorhus d168f629ed Fix typo 2023-03-01 04:35:02 +07:00
Sindre Sorhus 70caa8dea4 Documentation improvements 2023-03-01 04:27:18 +07:00
decodism 3362cdbdf9
Fix keyboard shortcuts when `NSMenu` is open (#122)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2023-03-01 04:11:45 +07:00
Seungwoo Choe 8c90a95cb9
Add Korean localization (#121) 2023-02-09 15:29:43 +07:00
Jun Harada d7b349f682
Add Japanese localization (#120)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2023-01-17 15:02:26 +07:00
DeLoeribas 4a41861265
Add missing quote in Dutch localization (#118) 2023-01-11 14:33:18 +07:00
Kaunteya Suryawanshi a99680cbbb
Remove the UserDefaults key for a shortcut completely if the `default` parameter on `Name` is not used (#114) 2022-12-13 12:27:10 +01:00
Sindre Sorhus a105b13603 Fix link to docs 2022-11-13 16:54:31 +07:00
Sindre Sorhus aa50ffb413 Minor tweak 2022-10-29 20:11:49 +07:00
Sindre Sorhus c8b3e27b09 Fix using the recorder in a popover
Closes #93
Fixes #75
2022-10-29 20:11:42 +07:00
filipesaz f01895dd4e
Allow clicking controls outside the recorder input directly when the recorder is focused (#96) 2022-10-29 20:07:52 +07:00
Darío Hereñú 5cf044b041
Update `es` localization for macOS 13 (#104) 2022-10-21 14:17:43 +07:00
Francis Feng 32253e3fa9
Update `zh-TW` & `zh-Hans` localizations for macOS 13 (#100) 2022-10-20 21:16:05 +07:00
Sam b82670dfd6
Update `cs` localization for macOS 13 (#99) 2022-10-20 20:09:27 +07:00
DeLoeribas 0bad518780 Add French and Dutch localization (#95)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-10-20 19:31:06 +07:00
Sindre Sorhus be789e0fac 1.8.0 2022-10-20 17:17:14 +07:00
Sindre Sorhus e0fe7a6235 Fix text field getting initial focus
Fixes #98
2022-10-20 17:09:04 +07:00
Sindre Sorhus d2fc65f9c3 Minor tweaks 2022-10-20 17:07:12 +07:00
Megabits_mzq 5e674337c1
Fix shortcut bug with Shift key (#94) 2022-08-19 13:14:14 +02:00
Mu-An Chiou fe481cb687
Fix documentation link (#91) 2022-07-27 13:03:30 +02:00
Sindre Sorhus 0994810987 Use Swift Package Index for docs 2022-07-07 21:13:17 +02:00
Megabits_mzq 1522654b59
Fix duplication checking with menu items for shortcuts with a Shift modifier (#88)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-26 15:34:48 +02:00
Yazeed AlKhalaf 660c11ee4d Add Arabic localization (#85)
Co-authored-by: Mais Alheraki <mais.alheraki@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-06 11:34:36 +07:00
Sindre Sorhus 387756ce61
Fix compatibility with `View#focused()` (#82) 2022-06-06 11:30:33 +07:00
Sindre Sorhus 6cfee79adf Minor tweaks 2022-06-06 11:13:46 +07:00
Sindre Sorhus 5e453238c1 Fix linting 2022-05-03 21:58:13 +07:00
Sindre Sorhus 94b4c9278c
Automate DocC generation (#73) 2022-05-03 16:43:07 +07:00
Emilio Pelaez Romero 8a2cc9130b
Rename `.on()` to `.events()` and add SwiftUI view modifier for listening to events (#79)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-05-03 15:14:49 +07:00
Francis Feng ee60fcf3fc
Update localization zh-TW to align with Apple's (#77) 2022-04-14 23:24:44 +07:00
Francis Feng 9779fc68c7
Fix inconsistent punctuation in `en` localization (#78) 2022-04-14 23:21:03 +07:00
Sindre Sorhus 82e9303f5e Switch to DocC for documentation generation 2022-04-05 19:33:41 +07:00
Sindre Sorhus 0dcedd5699 Add modern listener method
Fixes #46
2022-03-30 13:01:31 +07:00
Sindre Sorhus 7e251f3a15 Add support for specifying a label 2022-03-30 12:53:17 +07:00
Sam 954285d111
Add Czech localization (#71) 2022-03-30 12:52:27 +07:00
Sindre Sorhus 3017db0d96 Make logo dark mode compatible
Fixes #67
2022-01-24 14:10:53 +07:00
Sindre Sorhus 9bc72c441c Document how to get all keyboard shortcuts
Fixes #53
Closes #57
2022-01-23 12:41:29 +07:00
fejese ab6822ade2
Add Hungarian localization (#64) 2022-01-23 12:41:16 +07:00
Darío Hereñú ba9c9c82b1 Add Spanish localization (#60)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-01-23 02:14:50 +07:00
Sindre Sorhus cc9ac2ab7b Improve example 2022-01-23 02:10:37 +07:00
Sindre Sorhus e72d2ff504 Minor tweaks 2021-12-27 15:04:13 +01:00
Sindre Sorhus 4f1541b488 Code style tweaks 2021-11-15 02:43:27 +07:00
Sindre Sorhus 04fdf3380e Add FAQ about media keys
Closes #56
2021-10-05 20:05:33 +07:00
Sindre Sorhus 0d77aa6851 Upgrade to Swift 5.5 2021-10-03 23:33:57 +07:00
Jason Ou 32aef044a7
Add Chinese (Traditional, Taiwan) localization (#55)
Co-authored-by: hank121314 <hank121314@gmail.com>
2021-10-03 23:32:58 +07:00
Sindre Sorhus 7030a2e3d4 Don't allow “shift” key without other modifiers or function key
Fixes #54
2021-09-11 18:20:29 +07:00
Sindre Sorhus 52b5666b1f Meta tweaks 2021-08-15 11:32:17 +02:00
Sindre Sorhus 30461e925f Fix some macOS 12 deprecations 2021-06-13 17:04:24 +07:00