@g9tm/lynxcontrols 2.6.9 → 2.6.10

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 (49) hide show
  1. package/catalog/catalog.json +36 -3
  2. package/catalog/index.md +1 -1
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/fields/extra-entries.d.ts.map +1 -1
  5. package/dist/fields/extra-entries.jsx +10 -1
  6. package/dist/fields/fields.css +1 -1
  7. package/dist/fields/fields.css.map +1 -1
  8. package/dist/fields/pin-entry.d.ts.map +1 -1
  9. package/dist/fields/pin-entry.jsx +4 -0
  10. package/dist/fields/use-text-input.d.ts.map +1 -1
  11. package/dist/fields/use-text-input.jsx +4 -0
  12. package/dist/layout/containers.d.ts.map +1 -1
  13. package/dist/layout/containers.jsx +6 -1
  14. package/dist/layout/layout.css +0 -5
  15. package/dist/layout/layout.css.map +1 -1
  16. package/dist/layout/scrollers.d.ts.map +1 -1
  17. package/dist/layout/scrollers.jsx +6 -2
  18. package/dist/list/list.css +6 -2
  19. package/dist/list/list.css.map +1 -1
  20. package/dist/list/rows.d.ts.map +1 -1
  21. package/dist/list/rows.jsx +6 -2
  22. package/dist/list/virtual-list.d.ts.map +1 -1
  23. package/dist/list/virtual-list.jsx +6 -3
  24. package/dist/pickers/wheel-column.d.ts.map +1 -1
  25. package/dist/pickers/wheel-column.jsx +17 -3
  26. package/dist/popover/popover.d.ts +4 -1
  27. package/dist/popover/popover.d.ts.map +1 -1
  28. package/dist/popover/popover.jsx +12 -2
  29. package/dist/provider/index.d.ts +1 -0
  30. package/dist/provider/index.d.ts.map +1 -1
  31. package/dist/provider/index.jsx +1 -0
  32. package/dist/provider/provider.d.ts.map +1 -1
  33. package/dist/provider/provider.jsx +12 -0
  34. package/dist/provider/text-focus.d.ts +20 -0
  35. package/dist/provider/text-focus.d.ts.map +1 -0
  36. package/dist/provider/text-focus.jsx +33 -0
  37. package/dist/provider/theme.css +2 -0
  38. package/dist/provider/theme.css.map +1 -1
  39. package/dist/route/path-navigator.d.ts.map +1 -1
  40. package/dist/route/path-navigator.jsx +9 -3
  41. package/dist/selection/selection-sheet.d.ts.map +1 -1
  42. package/dist/selection/selection-sheet.jsx +2 -1
  43. package/dist/sheet/frame.d.ts.map +1 -1
  44. package/dist/sheet/frame.jsx +59 -35
  45. package/dist/sheet/sheet.css +9 -1
  46. package/dist/sheet/sheet.css.map +1 -1
  47. package/dist/toggle/checkbox.d.ts.map +1 -1
  48. package/dist/toggle/checkbox.jsx +6 -2
  49. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.6.9",
4
+ "version": "2.6.10",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -19446,7 +19446,7 @@
19446
19446
  "required": false,
19447
19447
  "serializable": true,
19448
19448
  "role": "behaviour",
19449
- "doc": "The `id` of the control it points at (any control registered as an anchor)."
19449
+ "doc": "The `id` of the control it points at: a control registered as an anchor, else an element with that `id` (`g9ComposerAnchors(id).attach`, an app's own view; G9Hub 127e, 2.6.10)."
19450
19450
  },
19451
19451
  {
19452
19452
  "name": "anchorNode",
@@ -28091,7 +28091,7 @@
28091
28091
  "required": false,
28092
28092
  "serializable": true,
28093
28093
  "role": "behaviour",
28094
- "doc": "The `id` of the control it points at (any control registered as an anchor)."
28094
+ "doc": "The `id` of the control it points at: a control registered as an anchor, else an element with that `id` (`g9ComposerAnchors(id).attach`, an app's own view; G9Hub 127e, 2.6.10)."
28095
28095
  },
28096
28096
  {
28097
28097
  "name": "anchorNode",
@@ -30159,6 +30159,15 @@
30159
30159
  "payload": "mode: G9SoftInputMode"
30160
30160
  },
30161
30161
  "serializable": false
30162
+ },
30163
+ {
30164
+ "name": "textFocus",
30165
+ "required": false,
30166
+ "type": {
30167
+ "kind": "event",
30168
+ "payload": "focused: boolean"
30169
+ },
30170
+ "serializable": false
30162
30171
  }
30163
30172
  ]
30164
30173
  },
@@ -56029,6 +56038,14 @@
56029
56038
  "signature": "G9TextEntryProps",
56030
56039
  "summary": "Props of `G9TextEntry` (MAUI `G9TextEntry`)."
56031
56040
  },
56041
+ {
56042
+ "id": "controls.provider.g9TextFocus",
56043
+ "export": "g9TextFocus",
56044
+ "from": "@g9tm/lynxcontrols/provider",
56045
+ "kind": "constant",
56046
+ "signature": "Readonly<{ isTyping: () => boolean; subscribe(listener: (typing: boolean) => void): () => void; }>",
56047
+ "summary": "Whether a G9 text input has the focus, for code outside components (an app's key handler): `if (g9TextFocus.isTyping()) return;`. `subscribe` hears every change (true when the first input takes the focus, false when the last one lets it go) and returns its unsubscribe."
56048
+ },
56032
56049
  {
56033
56050
  "id": "controls.fields.G9TextInputHandle",
56034
56051
  "export": "G9TextInputHandle",
@@ -58421,6 +58438,22 @@
58421
58438
  "signature": "(): G9Strings",
58422
58439
  "summary": "The strings of the active culture (MAUI `G9Strings`). Re-renders when culture or string settings change."
58423
58440
  },
58441
+ {
58442
+ "id": "controls.provider.useG9TextFocused",
58443
+ "export": "useG9TextFocused",
58444
+ "from": "@g9tm/lynxcontrols/provider",
58445
+ "kind": "hook",
58446
+ "signature": "(): boolean",
58447
+ "summary": "Whether a G9 text input has the focus, as a component's state (re-renders when it changes)."
58448
+ },
58449
+ {
58450
+ "id": "controls.provider.useG9TextFocusReport",
58451
+ "export": "useG9TextFocusReport",
58452
+ "from": "@g9tm/lynxcontrols/provider",
58453
+ "kind": "hook",
58454
+ "signature": "(): { readonly focus: () => void; readonly blur: () => void; }",
58455
+ "summary": "For a library input: `focus()` / `blur()` report this element's focus; an element unmounted while focused lets it go."
58456
+ },
58424
58457
  {
58425
58458
  "id": "controls.provider.useG9Theme",
58426
58459
  "export": "useG9Theme",
package/catalog/index.md CHANGED
@@ -1,4 +1,4 @@
1
- # Catalog index: `@g9tm/lynxcontrols` 2.6.9
1
+ # Catalog index: `@g9tm/lynxcontrols` 2.6.10
2
2
 
3
3
  One line per component; the card (`cards/<Export>.md`) has its props and an example.
4
4