@opentui/keymap 0.0.0-20260429-415e516a → 0.0.0-20260429-00ce2fef

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.
package/extras/index.js CHANGED
@@ -37,7 +37,7 @@ function resolveBindingItem(section, command, item, index) {
37
37
  };
38
38
  }
39
39
  function resolveBindingValue(section, command, value) {
40
- if (value === false) {
40
+ if (value === false || value === "none") {
41
41
  return;
42
42
  }
43
43
  if (Array.isArray(value)) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "type": "module",
7
- "version": "0.0.0-20260429-415e516a",
7
+ "version": "0.0.0-20260429-00ce2fef",
8
8
  "description": "Standalone keymap package for OpenTUI",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -55,7 +55,7 @@
55
55
  }
56
56
  },
57
57
  "dependencies": {
58
- "@opentui/core": "0.0.0-20260429-415e516a"
58
+ "@opentui/core": "0.0.0-20260429-00ce2fef"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@opentui/react": "workspace:*",
@@ -68,8 +68,8 @@
68
68
  "typescript": "^5"
69
69
  },
70
70
  "peerDependencies": {
71
- "@opentui/react": "0.0.0-20260429-415e516a",
72
- "@opentui/solid": "0.0.0-20260429-415e516a",
71
+ "@opentui/react": "0.0.0-20260429-00ce2fef",
72
+ "@opentui/solid": "0.0.0-20260429-00ce2fef",
73
73
  "react": ">=19.0.0",
74
74
  "solid-js": "1.9.12"
75
75
  },
@@ -1,6 +1,6 @@
1
1
  import type { BindingInput, KeyLike, KeymapEvent } from "../types.js";
2
2
  export type BindingSectionItem<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> = KeyLike | BindingInput<TTarget, TEvent>;
3
- export type BindingValue<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> = false | BindingSectionItem<TTarget, TEvent> | readonly BindingSectionItem<TTarget, TEvent>[];
3
+ export type BindingValue<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> = false | "none" | BindingSectionItem<TTarget, TEvent> | readonly BindingSectionItem<TTarget, TEvent>[];
4
4
  export type BindingSectionConfig<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> = Readonly<Record<string, BindingValue<TTarget, TEvent>>>;
5
5
  export type BindingSectionsConfig<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> = Readonly<Record<string, BindingSectionConfig<TTarget, TEvent>>>;
6
6
  export interface ResolvedBindingSections<TTarget extends object = object, TEvent extends KeymapEvent = KeymapEvent> {