@g9tm/lynxcontrols 2.10.0 → 2.10.1

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 (43) hide show
  1. package/catalog/catalog.json +51 -7
  2. package/catalog/index.md +1 -1
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/anchor/hooks.d.ts.map +1 -1
  5. package/dist/anchor/hooks.jsx +1 -1
  6. package/dist/base/control.d.ts +9 -0
  7. package/dist/base/control.d.ts.map +1 -1
  8. package/dist/base/control.jsx +14 -1
  9. package/dist/base/index.d.ts +1 -1
  10. package/dist/base/index.d.ts.map +1 -1
  11. package/dist/base/index.jsx +1 -1
  12. package/dist/base/press.d.ts +16 -1
  13. package/dist/base/press.d.ts.map +1 -1
  14. package/dist/base/press.jsx +29 -3
  15. package/dist/base/text-of.d.ts +10 -0
  16. package/dist/base/text-of.d.ts.map +1 -0
  17. package/dist/base/text-of.jsx +26 -0
  18. package/dist/button/icon-button.d.ts.map +1 -1
  19. package/dist/button/icon-button.jsx +6 -2
  20. package/dist/display/figures.d.ts +1 -1
  21. package/dist/display/figures.d.ts.map +1 -1
  22. package/dist/display/figures.jsx +2 -2
  23. package/dist/display/motion-figures.d.ts +5 -2
  24. package/dist/display/motion-figures.d.ts.map +1 -1
  25. package/dist/display/motion-figures.jsx +4 -4
  26. package/dist/layout/containers.d.ts +6 -1
  27. package/dist/layout/containers.d.ts.map +1 -1
  28. package/dist/layout/containers.jsx +7 -2
  29. package/dist/list/virtual-list.d.ts +11 -1
  30. package/dist/list/virtual-list.d.ts.map +1 -1
  31. package/dist/list/virtual-list.jsx +36 -7
  32. package/dist/popover/popover.d.ts +3 -1
  33. package/dist/popover/popover.d.ts.map +1 -1
  34. package/dist/popover/popover.jsx +4 -2
  35. package/dist/sheet/sizing.d.ts +3 -3
  36. package/dist/shell/shell.css +6 -1
  37. package/dist/shell/shell.css.map +1 -1
  38. package/dist/shell/shell.d.ts.map +1 -1
  39. package/dist/shell/shell.jsx +13 -7
  40. package/dist/tab-bar/tab-bar.d.ts +2 -0
  41. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  42. package/dist/tab-bar/tab-bar.jsx +7 -3
  43. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.10.0",
4
+ "version": "2.10.1",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -2688,6 +2688,14 @@
2688
2688
  },
2689
2689
  "serializable": true
2690
2690
  },
2691
+ {
2692
+ "name": "overflowAutomationId",
2693
+ "required": false,
2694
+ "type": {
2695
+ "kind": "string"
2696
+ },
2697
+ "serializable": true
2698
+ },
2691
2699
  {
2692
2700
  "name": "onItemSelected",
2693
2701
  "required": false,
@@ -4216,7 +4224,7 @@
4216
4224
  "required": false,
4217
4225
  "serializable": false,
4218
4226
  "role": "event",
4219
- "doc": "Makes the card a target with the delayed press feedback of a card (SAC Target `pressable`)."
4227
+ "doc": "Makes the card a target with the delayed press feedback of a card (SAC Target `pressable`). Its accessibility name is `accessibilityLabel`, else the first text it can read among its children: a G9 control's `title` / `text` / `label` (a G9ListRow's title) or a string child. Static JSX text is compiled away by ReactLynx: give `accessibilityLabel` then. A press inside the card (a menu button) is that control's alone."
4220
4228
  },
4221
4229
  {
4222
4230
  "name": "padding",
@@ -8345,7 +8353,7 @@
8345
8353
  "from": "@g9tm/lynxcontrols/popover",
8346
8354
  "kind": "component",
8347
8355
  "family": "popover",
8348
- "summary": "A context menu on its child (G9Hub ContextMenu, a message, a row): a long press on touch (a light haptic, the menu by the child), the right mouse button on a desktop (the menu at the pointer, 2.9.0) and the context-menu key or Shift+F10 (the menu by the child).",
8356
+ "summary": "A context menu on its child (G9Hub ContextMenu, a message, a row): a long press on touch (a light haptic, the menu by the child), the right mouse button on a desktop (the menu at the pointer, 2.9.0) and the context-menu key or Shift+F10 (the menu by the child). The menu mounts on the first open, so a grid of cells holds no menus until one is asked for; for one menu over many cells, give each cell `useG9SecondaryAction` and open a single `G9Menu` at its anchor.",
8349
8357
  "since": null,
8350
8358
  "props": [
8351
8359
  {
@@ -14540,7 +14548,7 @@
14540
14548
  "required": false,
14541
14549
  "serializable": false,
14542
14550
  "role": "behaviour",
14543
- "doc": "The one step that fills it."
14551
+ "doc": "The one step that fills it; its element id is `${id}_Action` (selector-safe, like the root's)."
14544
14552
  },
14545
14553
  {
14546
14554
  "name": "art",
@@ -15453,6 +15461,16 @@
15453
15461
  "serializable": false,
15454
15462
  "role": "event"
15455
15463
  },
15464
+ {
15465
+ "name": "overflowAutomationId",
15466
+ "type": {
15467
+ "kind": "string"
15468
+ },
15469
+ "required": false,
15470
+ "serializable": true,
15471
+ "role": "behaviour",
15472
+ "doc": "The automation id (and element id) of the More trigger (2.10.0; G9AppShell gives `<id>_Tab_More`)."
15473
+ },
15456
15474
  {
15457
15475
  "name": "overflowText",
15458
15476
  "type": {
@@ -27592,7 +27610,7 @@
27592
27610
  "default": "search",
27593
27611
  "serializable": true,
27594
27612
  "role": "appearance",
27595
- "doc": "The designed placeholder's icon (a category icon, never an empty grey square). Default `'search'`."
27613
+ "doc": "The designed placeholder's icon (a category icon, never an empty grey square). Default `'search'`. `null`: the tint alone, no icon (the lightest form: a grid of tiles on the web, G9Studio 2.8.4)."
27596
27614
  },
27597
27615
  {
27598
27616
  "name": "placeholderIconSize",
@@ -44636,6 +44654,16 @@
44636
44654
  "serializable": false,
44637
44655
  "role": "event"
44638
44656
  },
44657
+ {
44658
+ "name": "overflowAutomationId",
44659
+ "type": {
44660
+ "kind": "string"
44661
+ },
44662
+ "required": false,
44663
+ "serializable": true,
44664
+ "role": "behaviour",
44665
+ "doc": "The automation id (and element id) of the More trigger (2.10.0; G9AppShell gives `<id>_Tab_More`)."
44666
+ },
44639
44667
  {
44640
44668
  "name": "overflowText",
44641
44669
  "type": {
@@ -50589,7 +50617,7 @@
50589
50617
  "required": false,
50590
50618
  "serializable": true,
50591
50619
  "role": "behaviour",
50592
- "doc": "Hands the recycler a growing prefix of `items` instead of all of them: the first {@link g9ListFirstBatch} rows (or enough to reach `initialIndex`), then {@link g9ListNextBatch} more each time the scroll nears the end of what is there. Every row still costs a little on the background thread even deferred (~1 ms each on a Galaxy A21s: 10 000 rows were 10 s of script before the first touch), so a long list should never describe all its rows at once. Default: on for more than {@link g9ListProgressiveFrom} items in a vertical list that does not start at the end. `onEndReached` fires once every item is shown."
50620
+ "doc": "Hands the recycler a growing prefix of `items` instead of all of them: the first {@link g9ListFirstBatch} rows (or enough to reach `initialIndex`), then {@link g9ListNextBatch} more each time the scroll nears the end of what is there. Every row still costs a little on the background thread even deferred (~1 ms each on a Galaxy A21s: 10 000 rows were 10 s of script before the first touch), so a long list should never describe all its rows at once. Default: on for more than {@link g9ListProgressiveFrom} items in a vertical list that does not start at the end. On the web host (its list keeps every described cell in the page) the default is on above one screen: two rows at first, then one row per frame up to two screens ({@link g9WebListScreenItems}), and a screen more, row by row, when the scroll nears the end. Give `estimatedSize` near the real row height: the screen is counted with it. `onEndReached` fires once every item is shown."
50593
50621
  },
50594
50622
  {
50595
50623
  "name": "renderItem",
@@ -55409,6 +55437,14 @@
55409
55437
  "signature": "(): \"other\" | \"mac\"",
55410
55438
  "summary": "The platform for Mod (⌘ on macOS, Ctrl elsewhere), from `SystemInfo.platform`."
55411
55439
  },
55440
+ {
55441
+ "id": "controls.base.g9KeyPressProps",
55442
+ "export": "g9KeyPressProps",
55443
+ "from": "@g9tm/lynxcontrols/base",
55444
+ "kind": "function",
55445
+ "signature": "(): Readonly<Record<string, unknown>>",
55446
+ "summary": "A pressable element the keyboard reaches on the web host (G9Studio's shell acceptance, 2.8.4): `tabindex=\"0\"` (in reading order) and the `g9-key` mark, for which `@g9tm/lynxcontrols-web`'s host turns Enter and Space into the element's tap and draws a focus ring. Nothing on Android, iOS or Lynxtron (no keyboard focus there). Spread on the element that has the `bindtap`."
55447
+ },
55412
55448
  {
55413
55449
  "id": "controls.range-slider.G9KeySliderProps",
55414
55450
  "export": "G9KeySliderProps",
@@ -55873,6 +55909,14 @@
55873
55909
  "signature": "G9NumPadProps",
55874
55910
  "summary": "Props of `G9NumPad`."
55875
55911
  },
55912
+ {
55913
+ "id": "controls.base.g9OnWebHost",
55914
+ "export": "g9OnWebHost",
55915
+ "from": "@g9tm/lynxcontrols/base",
55916
+ "kind": "function",
55917
+ "signature": "(): boolean",
55918
+ "summary": "Whether the page runs in Lynx for Web (`SystemInfo.platform === 'web'`)."
55919
+ },
55876
55920
  {
55877
55921
  "id": "controls.popover.G9OpenPopover",
55878
55922
  "export": "G9OpenPopover",
@@ -60886,7 +60930,7 @@
60886
60930
  "export": "useG9Press",
60887
60931
  "from": "@g9tm/lynxcontrols/base",
60888
60932
  "kind": "hook",
60889
- "signature": "(onPress: (() => void) | undefined, options: G9PressOptions): () => void",
60933
+ "signature": "(onPress: (() => void) | undefined, options: G9PressOptions): (event?: G9TapEventLike | undefined) => void",
60890
60934
  "summary": "The press of a G9 control (MAUI `G9Press.Invoke`): one handler on the control root (`bindtap`), so a tap on any child (icon, label, badge) fires it exactly once. Blocked presses do nothing; a second press within `guardMs` is dropped; a handler that throws is reported to the provider diagnostics (MAUI `G9Press.ReportFailure`) and never escapes into the event loop. Returns a stable-per-render tap handler."
60891
60935
  },
60892
60936
  {
package/catalog/index.md CHANGED
@@ -1,4 +1,4 @@
1
- # Catalog index: `@g9tm/lynxcontrols` 2.10.0
1
+ # Catalog index: `@g9tm/lynxcontrols` 2.10.1
2
2
 
3
3
  One line per component; the card (`cards/<Export>.md`) has its props and an example.
4
4