@tanstack/hotkeys-devtools 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -194,7 +194,10 @@ function HotkeyDetails(props) {
|
|
|
194
194
|
insert(_el$41, () => reg().options.scope ?? "global", _el$42);
|
|
195
195
|
insert(_el$41, () => getScopeStatus(reg().options.scope ?? "global", state.scopes()), _el$44);
|
|
196
196
|
insert(_el$47, () => reg().options.eventType ?? "keydown");
|
|
197
|
-
insert(_el$50, () =>
|
|
197
|
+
insert(_el$50, (() => {
|
|
198
|
+
var _c$ = memo(() => reg().options.preventDefault === "always");
|
|
199
|
+
return () => _c$() ? "always" : String(!!reg().options.preventDefault);
|
|
200
|
+
})());
|
|
198
201
|
insert(_el$53, () => String(!!reg().options.stopPropagation));
|
|
199
202
|
insert(_el$56, () => String(reg().options.ignoreInputs ?? "auto"));
|
|
200
203
|
insert(_el$59, () => String(!!reg().options.requireReset));
|
|
@@ -572,7 +575,10 @@ function SequenceDetails(props) {
|
|
|
572
575
|
insert(_el$136, () => getScopeStatus(liveReg().options.scope ?? "global", props.state.scopes()), _el$139);
|
|
573
576
|
insert(_el$142, () => liveReg().options.eventType ?? "keydown");
|
|
574
577
|
insert(_el$145, () => liveReg().options.timeout ?? 1e3, _el$146);
|
|
575
|
-
insert(_el$149, () =>
|
|
578
|
+
insert(_el$149, (() => {
|
|
579
|
+
var _c$2 = memo(() => liveReg().options.preventDefault === "always");
|
|
580
|
+
return () => _c$2() ? "always" : String(!!liveReg().options.preventDefault);
|
|
581
|
+
})());
|
|
576
582
|
insert(_el$152, () => String(!!liveReg().options.stopPropagation));
|
|
577
583
|
insert(_el$155, () => String(liveReg().options.ignoreInputs ?? "auto"));
|
|
578
584
|
insert(_el$158, conflictBehavior);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/hotkeys-devtools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Devtools for TanStack Hotkeys",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@tanstack/hotkeys": "0.
|
|
39
|
+
"@tanstack/hotkeys": "0.18.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@tanstack/devtools-ui": "^0.7.1",
|