Skip to content

Commit 08205b0

Browse files
ci: apply automated fixes
1 parent 3632818 commit 08205b0

16 files changed

+34
-34
lines changed

docs/reference/functions/normalizeKeyName.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: normalizeKeyName
99
function normalizeKeyName(key): string;
1010
```
1111

12-
Defined in: [constants.ts:422](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/constants.ts#L422)
12+
Defined in: [constants.ts:423](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/constants.ts#L423)
1313

1414
Normalizes a key name to its canonical form.
1515

docs/reference/interfaces/FormatDisplayOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: FormatDisplayOptions
55

66
# Interface: FormatDisplayOptions
77

8-
Defined in: [hotkey.ts:367](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L367)
8+
Defined in: [hotkey.ts:368](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L368)
99

1010
Options for formatting hotkeys for display.
1111

@@ -17,6 +17,6 @@ Options for formatting hotkeys for display.
1717
optional platform: "mac" | "windows" | "linux";
1818
```
1919

20-
Defined in: [hotkey.ts:369](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L369)
20+
Defined in: [hotkey.ts:370](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L370)
2121

2222
The target platform. Defaults to auto-detection.

docs/reference/interfaces/HotkeyCallbackContext.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: HotkeyCallbackContext
55

66
# Interface: HotkeyCallbackContext
77

8-
Defined in: [hotkey.ts:387](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L387)
8+
Defined in: [hotkey.ts:388](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L388)
99

1010
Context passed to hotkey callbacks along with the keyboard event.
1111

@@ -17,7 +17,7 @@ Context passed to hotkey callbacks along with the keyboard event.
1717
hotkey: Hotkey;
1818
```
1919

20-
Defined in: [hotkey.ts:389](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L389)
20+
Defined in: [hotkey.ts:390](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L390)
2121

2222
The original hotkey string that was registered
2323

@@ -29,6 +29,6 @@ The original hotkey string that was registered
2929
parsedHotkey: ParsedHotkey;
3030
```
3131

32-
Defined in: [hotkey.ts:391](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L391)
32+
Defined in: [hotkey.ts:392](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L392)
3333

3434
The parsed representation of the hotkey

docs/reference/interfaces/ParsedHotkey.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: ParsedHotkey
55

66
# Interface: ParsedHotkey
77

8-
Defined in: [hotkey.ts:308](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L308)
8+
Defined in: [hotkey.ts:309](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L309)
99

1010
A parsed representation of a hotkey string.
1111

@@ -33,7 +33,7 @@ useHotkey(parsed, handler) // Works even if userInput isn't in Hotkey type
3333
alt: boolean;
3434
```
3535

36-
Defined in: [hotkey.ts:316](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L316)
36+
Defined in: [hotkey.ts:317](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L317)
3737

3838
Whether the Alt key is required
3939

@@ -45,7 +45,7 @@ Whether the Alt key is required
4545
ctrl: boolean;
4646
```
4747

48-
Defined in: [hotkey.ts:312](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L312)
48+
Defined in: [hotkey.ts:313](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L313)
4949

5050
Whether the Control key is required
5151

@@ -57,7 +57,7 @@ Whether the Control key is required
5757
key: Key | string & object;
5858
```
5959

60-
Defined in: [hotkey.ts:310](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L310)
60+
Defined in: [hotkey.ts:311](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L311)
6161

6262
The non-modifier key (e.g., 'S', 'Escape', 'F1', '/', '['). Can be any string for flexibility.
6363

@@ -69,7 +69,7 @@ The non-modifier key (e.g., 'S', 'Escape', 'F1', '/', '['). Can be any string fo
6969
meta: boolean;
7070
```
7171

72-
Defined in: [hotkey.ts:318](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L318)
72+
Defined in: [hotkey.ts:319](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L319)
7373

7474
Whether the Meta (Command) key is required
7575

@@ -81,7 +81,7 @@ Whether the Meta (Command) key is required
8181
modifiers: CanonicalModifier[];
8282
```
8383

84-
Defined in: [hotkey.ts:320](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L320)
84+
Defined in: [hotkey.ts:321](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L321)
8585

8686
List of canonical modifier names that are required, in canonical order
8787

@@ -93,6 +93,6 @@ List of canonical modifier names that are required, in canonical order
9393
shift: boolean;
9494
```
9595

96-
Defined in: [hotkey.ts:314](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L314)
96+
Defined in: [hotkey.ts:315](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L315)
9797

9898
Whether the Shift key is required

docs/reference/interfaces/RawHotkey.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: RawHotkey
55

66
# Interface: RawHotkey
77

8-
Defined in: [hotkey.ts:343](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L343)
8+
Defined in: [hotkey.ts:344](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L344)
99

1010
A raw hotkey object for programmatic registration.
1111

@@ -35,7 +35,7 @@ useHotkey({ key: 'S', mod: true, shift: true }, handler) // Mod+Shift+S
3535
optional alt: boolean;
3636
```
3737

38-
Defined in: [hotkey.ts:353](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L353)
38+
Defined in: [hotkey.ts:354](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L354)
3939

4040
Whether the Alt key is required. Defaults to false.
4141

@@ -47,7 +47,7 @@ Whether the Alt key is required. Defaults to false.
4747
optional ctrl: boolean;
4848
```
4949

50-
Defined in: [hotkey.ts:349](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L349)
50+
Defined in: [hotkey.ts:350](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L350)
5151

5252
Whether the Control key is required. Defaults to false.
5353

@@ -59,7 +59,7 @@ Whether the Control key is required. Defaults to false.
5959
key: Key | string & object;
6060
```
6161

62-
Defined in: [hotkey.ts:345](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L345)
62+
Defined in: [hotkey.ts:346](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L346)
6363

6464
The non-modifier key (e.g., 'S', 'Escape', 'F1').
6565

@@ -71,7 +71,7 @@ The non-modifier key (e.g., 'S', 'Escape', 'F1').
7171
optional meta: boolean;
7272
```
7373

74-
Defined in: [hotkey.ts:355](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L355)
74+
Defined in: [hotkey.ts:356](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L356)
7575

7676
Whether the Meta (Command) key is required. Defaults to false.
7777

@@ -83,7 +83,7 @@ Whether the Meta (Command) key is required. Defaults to false.
8383
optional mod: boolean;
8484
```
8585

86-
Defined in: [hotkey.ts:347](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L347)
86+
Defined in: [hotkey.ts:348](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L348)
8787

8888
Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults to false.
8989

@@ -95,6 +95,6 @@ Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults
9595
optional shift: boolean;
9696
```
9797

98-
Defined in: [hotkey.ts:351](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L351)
98+
Defined in: [hotkey.ts:352](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L352)
9999

100100
Whether the Shift key is required. Defaults to false.

docs/reference/interfaces/ValidationResult.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: ValidationResult
55

66
# Interface: ValidationResult
77

8-
Defined in: [hotkey.ts:375](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L375)
8+
Defined in: [hotkey.ts:376](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L376)
99

1010
Result of validating a hotkey string.
1111

@@ -17,7 +17,7 @@ Result of validating a hotkey string.
1717
errors: string[];
1818
```
1919

20-
Defined in: [hotkey.ts:381](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L381)
20+
Defined in: [hotkey.ts:382](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L382)
2121

2222
Error messages about invalid syntax
2323

@@ -29,7 +29,7 @@ Error messages about invalid syntax
2929
valid: boolean;
3030
```
3131

32-
Defined in: [hotkey.ts:377](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L377)
32+
Defined in: [hotkey.ts:378](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L378)
3333

3434
Whether the hotkey is valid (can still have warnings)
3535

@@ -41,6 +41,6 @@ Whether the hotkey is valid (can still have warnings)
4141
warnings: string[];
4242
```
4343

44-
Defined in: [hotkey.ts:379](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L379)
44+
Defined in: [hotkey.ts:380](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L380)
4545

4646
Warning messages about potential issues

docs/reference/type-aliases/HeldKey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: HeldKey
99
type HeldKey = CanonicalModifier | Key;
1010
```
1111

12-
Defined in: [hotkey.ts:154](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L154)
12+
Defined in: [hotkey.ts:155](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L155)
1313

1414
Keys that can be tracked as "held" (pressed down).
1515
Includes both modifier keys and regular keys.

docs/reference/type-aliases/Hotkey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Hotkey =
1414
| FourModifierHotkey;
1515
```
1616

17-
Defined in: [hotkey.ts:283](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L283)
17+
Defined in: [hotkey.ts:284](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L284)
1818

1919
A type-safe hotkey string.
2020

docs/reference/type-aliases/HotkeyCallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: HotkeyCallback
99
type HotkeyCallback = (event, context) => void;
1010
```
1111

12-
Defined in: [hotkey.ts:408](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L408)
12+
Defined in: [hotkey.ts:409](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L409)
1313

1414
Callback function type for hotkey handlers.
1515

docs/reference/type-aliases/Key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ title: Key
99
type Key = NonPunctuationKey | PunctuationKey;
1010
```
1111

12-
Defined in: [hotkey.ts:148](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L148)
12+
Defined in: [hotkey.ts:149](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.ts#L149)
1313

1414
All supported non-modifier keys.

0 commit comments

Comments
 (0)