@sigx/lynx-runtime 0.4.7 → 0.4.8

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.
Files changed (2) hide show
  1. package/dist/jsx.d.ts +10 -0
  2. package/package.json +2 -2
package/dist/jsx.d.ts CHANGED
@@ -67,6 +67,16 @@ export interface LynxCommonAttributes {
67
67
  'accessibility-role'?: string;
68
68
  /** Whether element is accessibility element */
69
69
  'accessibility-element'?: boolean;
70
+ /**
71
+ * Taps on this element (and, by inheritance, any descendant that doesn't
72
+ * set its own value) do NOT steal focus from the currently focused
73
+ * input. On iOS, Lynx's event handler dispatches `endEditing:` on every
74
+ * touch-down whose target doesn't ignore focus — so without this, a tap
75
+ * on e.g. a formatting-toolbar button blurs the editor and folds the
76
+ * keyboard. Android never auto-dismisses on outside taps (no-op there).
77
+ * Put it on input-accessory chrome: toolbars, send bars, popups.
78
+ */
79
+ 'ignore-focus'?: boolean;
70
80
  /**
71
81
  * Cause Lynx's touch handler to claim the touch from external UIKit /
72
82
  * Android gestures (e.g. an ancestor `<scroll-view>`'s native pan) while
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigx/lynx-runtime",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Lynx renderer for SignalX (background thread)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@sigx/runtime-core": "^0.4.8",
43
43
  "@sigx/reactivity": "^0.4.8",
44
- "@sigx/lynx-runtime-internal": "^0.4.7"
44
+ "@sigx/lynx-runtime-internal": "^0.4.8"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@lynx-js/types": "*"