@g9tm/lynxcontrols 2.8.4 → 2.9.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.
Files changed (81) hide show
  1. package/README.md +1 -0
  2. package/catalog/cards/G9Avatar.md +1 -1
  3. package/catalog/cards/G9Badge.md +1 -1
  4. package/catalog/cards/G9Button.md +1 -1
  5. package/catalog/cards/G9Chip.md +1 -1
  6. package/catalog/cards/G9ChipStrip.md +1 -1
  7. package/catalog/cards/G9ContextMenu.md +4 -2
  8. package/catalog/cards/G9DragChip.md +10 -0
  9. package/catalog/cards/G9DragSource.md +17 -0
  10. package/catalog/cards/G9DropTarget.md +15 -0
  11. package/catalog/cards/G9EmptyState.md +1 -1
  12. package/catalog/cards/G9IconButton.md +2 -2
  13. package/catalog/cards/G9InlineMessage.md +1 -1
  14. package/catalog/cards/G9KeyCapture.md +10 -0
  15. package/catalog/cards/G9Kpi.md +1 -1
  16. package/catalog/cards/G9ListRow.md +1 -1
  17. package/catalog/cards/G9LiveBadge.md +1 -1
  18. package/catalog/cards/G9LiveDot.md +1 -1
  19. package/catalog/cards/G9ProgressBar.md +1 -1
  20. package/catalog/cards/G9ProgressRing.md +1 -1
  21. package/catalog/cards/G9SafeButton.md +1 -1
  22. package/catalog/cards/G9SafeIconButton.md +2 -2
  23. package/catalog/cards/G9StatusPill.md +1 -1
  24. package/catalog/cards/G9StepTracker.md +1 -1
  25. package/catalog/cards/G9SwitchRow.md +1 -1
  26. package/catalog/cards/G9Tag.md +1 -1
  27. package/catalog/catalog.json +1069 -68
  28. package/catalog/index.md +6 -2
  29. package/dist/.tsbuildinfo +1 -1
  30. package/dist/commands/index.d.ts +1 -1
  31. package/dist/commands/index.d.ts.map +1 -1
  32. package/dist/commands/index.jsx +1 -1
  33. package/dist/commands/keys.d.ts +32 -1
  34. package/dist/commands/keys.d.ts.map +1 -1
  35. package/dist/commands/keys.jsx +92 -3
  36. package/dist/desktop/index.d.ts +3 -0
  37. package/dist/desktop/index.d.ts.map +1 -0
  38. package/dist/desktop/index.jsx +2 -0
  39. package/dist/desktop/keys.d.ts +26 -0
  40. package/dist/desktop/keys.d.ts.map +1 -0
  41. package/dist/desktop/keys.jsx +30 -0
  42. package/dist/desktop/window.d.ts +18 -0
  43. package/dist/desktop/window.d.ts.map +1 -0
  44. package/dist/desktop/window.jsx +28 -0
  45. package/dist/index.d.ts +2 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/pointer/drag-session.d.ts +72 -0
  48. package/dist/pointer/drag-session.d.ts.map +1 -0
  49. package/dist/pointer/drag-session.jsx +148 -0
  50. package/dist/pointer/drag.d.ts +78 -0
  51. package/dist/pointer/drag.d.ts.map +1 -0
  52. package/dist/pointer/drag.jsx +186 -0
  53. package/dist/pointer/index.d.ts +5 -0
  54. package/dist/pointer/index.d.ts.map +1 -0
  55. package/dist/pointer/index.jsx +4 -0
  56. package/dist/pointer/point.d.ts +36 -0
  57. package/dist/pointer/point.d.ts.map +1 -0
  58. package/dist/pointer/point.jsx +34 -0
  59. package/dist/pointer/pointer.css +62 -0
  60. package/dist/pointer/pointer.css.map +1 -0
  61. package/dist/pointer/secondary.d.ts +54 -0
  62. package/dist/pointer/secondary.d.ts.map +1 -0
  63. package/dist/pointer/secondary.jsx +86 -0
  64. package/dist/popover/popover.d.ts +26 -2
  65. package/dist/popover/popover.d.ts.map +1 -1
  66. package/dist/popover/popover.jsx +47 -20
  67. package/package.json +12 -2
  68. package/skills/g9-lynx-app/SKILL.md +8 -0
  69. package/skills/g9-lynx-app/references/catalog-index.md +11 -0
  70. package/skills/g9-lynx-app/references/components/button.md +6 -6
  71. package/skills/g9-lynx-app/references/components/code-editor.md +19 -0
  72. package/skills/g9-lynx-app/references/components/code-log.md +19 -0
  73. package/skills/g9-lynx-app/references/components/desktop.md +12 -0
  74. package/skills/g9-lynx-app/references/components/display-1.md +4 -4
  75. package/skills/g9-lynx-app/references/components/display-2.md +5 -5
  76. package/skills/g9-lynx-app/references/components/display-3.md +3 -3
  77. package/skills/g9-lynx-app/references/components/graph.md +19 -0
  78. package/skills/g9-lynx-app/references/components/list.md +2 -2
  79. package/skills/g9-lynx-app/references/components/pointer.md +46 -0
  80. package/skills/g9-lynx-app/references/components/popover.md +4 -2
  81. package/skills/g9-lynx-app/references/components/toggle.md +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.8.4",
4
+ "version": "2.9.0",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -3088,11 +3088,11 @@
3088
3088
  "type": {
3089
3089
  "kind": "enum",
3090
3090
  "values": [
3091
- "primary",
3092
3091
  "info",
3092
+ "error",
3093
+ "primary",
3093
3094
  "success",
3094
3095
  "warning",
3095
- "error",
3096
3096
  "accent",
3097
3097
  "neutral"
3098
3098
  ]
@@ -3244,11 +3244,11 @@
3244
3244
  "type": {
3245
3245
  "kind": "enum",
3246
3246
  "values": [
3247
- "primary",
3248
3247
  "info",
3248
+ "error",
3249
+ "primary",
3249
3250
  "success",
3250
3251
  "warning",
3251
- "error",
3252
3252
  "accent",
3253
3253
  "neutral"
3254
3254
  ]
@@ -3963,14 +3963,14 @@
3963
3963
  "type": {
3964
3964
  "kind": "enum",
3965
3965
  "values": [
3966
+ "info",
3967
+ "error",
3966
3968
  "text",
3967
3969
  "primary",
3968
3970
  "default",
3969
3971
  "secondary",
3970
- "info",
3971
3972
  "success",
3972
3973
  "warning",
3973
- "error",
3974
3974
  "surface",
3975
3975
  "outline",
3976
3976
  "accent",
@@ -5294,11 +5294,11 @@
5294
5294
  "type": {
5295
5295
  "kind": "enum",
5296
5296
  "values": [
5297
- "primary",
5298
5297
  "info",
5298
+ "error",
5299
+ "primary",
5299
5300
  "success",
5300
5301
  "warning",
5301
- "error",
5302
5302
  "accent",
5303
5303
  "neutral"
5304
5304
  ]
@@ -6033,11 +6033,11 @@
6033
6033
  "type": {
6034
6034
  "kind": "enum",
6035
6035
  "values": [
6036
- "primary",
6037
6036
  "info",
6037
+ "error",
6038
+ "primary",
6038
6039
  "success",
6039
6040
  "warning",
6040
- "error",
6041
6041
  "accent",
6042
6042
  "neutral"
6043
6043
  ]
@@ -6265,11 +6265,11 @@
6265
6265
  "type": {
6266
6266
  "kind": "enum",
6267
6267
  "values": [
6268
- "primary",
6269
6268
  "info",
6269
+ "error",
6270
+ "primary",
6270
6271
  "success",
6271
6272
  "warning",
6272
- "error",
6273
6273
  "accent",
6274
6274
  "neutral"
6275
6275
  ]
@@ -8345,7 +8345,7 @@
8345
8345
  "from": "@g9tm/lynxcontrols/popover",
8346
8346
  "kind": "component",
8347
8347
  "family": "popover",
8348
- "summary": "A long-press menu on its child (G9Hub ContextMenu, a message, a row): a light haptic, then the menu by the child.",
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).",
8349
8349
  "since": null,
8350
8350
  "props": [
8351
8351
  {
@@ -8499,15 +8499,42 @@
8499
8499
  "serializable": false,
8500
8500
  "role": "state"
8501
8501
  },
8502
+ {
8503
+ "name": "keyboard",
8504
+ "type": {
8505
+ "kind": "enum",
8506
+ "values": [
8507
+ "focus",
8508
+ "off",
8509
+ "global"
8510
+ ]
8511
+ },
8512
+ "required": false,
8513
+ "serializable": true,
8514
+ "role": "behaviour",
8515
+ "doc": "The context-menu key and Shift+F10: `'focus'` (default) when the child has the keyboard focus, `'global'` while mounted (the app's selected item), `'off'`."
8516
+ },
8517
+ {
8518
+ "name": "longPress",
8519
+ "type": {
8520
+ "kind": "boolean"
8521
+ },
8522
+ "required": false,
8523
+ "default": true,
8524
+ "serializable": true,
8525
+ "role": "behaviour",
8526
+ "doc": "A long press opens it on touch. Default true."
8527
+ },
8502
8528
  {
8503
8529
  "name": "onOpen",
8504
8530
  "type": {
8505
8531
  "kind": "event",
8506
- "payload": null
8532
+ "payload": "source: G9SecondarySource"
8507
8533
  },
8508
8534
  "required": false,
8509
8535
  "serializable": false,
8510
- "role": "event"
8536
+ "role": "event",
8537
+ "doc": "Told how it opened (2.9.0): `'touch'` (a long press), `'mouse'` (the right button) or `'keyboard'`."
8511
8538
  },
8512
8539
  {
8513
8540
  "name": "onSelect",
@@ -8519,6 +8546,17 @@
8519
8546
  "serializable": false,
8520
8547
  "role": "event"
8521
8548
  },
8549
+ {
8550
+ "name": "secondaryClick",
8551
+ "type": {
8552
+ "kind": "boolean"
8553
+ },
8554
+ "required": false,
8555
+ "default": true,
8556
+ "serializable": true,
8557
+ "role": "behaviour",
8558
+ "doc": "The right mouse button opens it at the pointer (desktop, the web). Default true."
8559
+ },
8522
8560
  {
8523
8561
  "name": "title",
8524
8562
  "type": {
@@ -8537,15 +8575,16 @@
8537
8575
  "labelRequired": false
8538
8576
  },
8539
8577
  "targets": {
8540
- "android": "unmeasured",
8541
- "ios": "unmeasured",
8542
- "windows": "unmeasured",
8543
- "macos": "unmeasured",
8578
+ "android": "pending",
8579
+ "ios": "pending",
8580
+ "windows": "pending",
8581
+ "macos": "pending",
8544
8582
  "web": "verified"
8545
8583
  },
8546
8584
  "evidence": {
8547
8585
  "ledger": [
8548
- "N-115"
8586
+ "N-115",
8587
+ "N-178"
8549
8588
  ]
8550
8589
  },
8551
8590
  "tokens": [
@@ -11807,6 +11846,80 @@
11807
11846
  "from": "generated"
11808
11847
  }
11809
11848
  },
11849
+ {
11850
+ "id": "controls.pointer.G9DragChip",
11851
+ "export": "G9DragChip",
11852
+ "from": "@g9tm/lynxcontrols/pointer",
11853
+ "kind": "component",
11854
+ "family": "pointer",
11855
+ "summary": "The default preview: the payload's label in a chip.",
11856
+ "since": null,
11857
+ "props": [
11858
+ {
11859
+ "name": "payload",
11860
+ "type": {
11861
+ "kind": "object",
11862
+ "fields": [
11863
+ {
11864
+ "name": "kind",
11865
+ "required": true,
11866
+ "type": {
11867
+ "kind": "string"
11868
+ },
11869
+ "serializable": true
11870
+ },
11871
+ {
11872
+ "name": "data",
11873
+ "required": true,
11874
+ "type": {
11875
+ "kind": "unknown",
11876
+ "text": "{}"
11877
+ },
11878
+ "serializable": false
11879
+ },
11880
+ {
11881
+ "name": "label",
11882
+ "required": false,
11883
+ "type": {
11884
+ "kind": "string"
11885
+ },
11886
+ "serializable": true
11887
+ }
11888
+ ]
11889
+ },
11890
+ "required": true,
11891
+ "serializable": false,
11892
+ "role": "behaviour"
11893
+ }
11894
+ ],
11895
+ "anchor": null,
11896
+ "accessibility": {
11897
+ "labelFrom": [],
11898
+ "labelRequired": false
11899
+ },
11900
+ "targets": {
11901
+ "android": "pending",
11902
+ "ios": "pending",
11903
+ "windows": "pending",
11904
+ "macos": "pending",
11905
+ "web": "pending"
11906
+ },
11907
+ "evidence": {
11908
+ "ledger": [
11909
+ "N-178"
11910
+ ]
11911
+ },
11912
+ "tokens": [
11913
+ "InverseOnSurface",
11914
+ "InverseSurface",
11915
+ "Primary",
11916
+ "PrimaryContainer"
11917
+ ],
11918
+ "example": {
11919
+ "line": "<G9DragChip payload={payload} />",
11920
+ "from": "generated"
11921
+ }
11922
+ },
11810
11923
  {
11811
11924
  "id": "controls.list.G9DragList",
11812
11925
  "export": "G9DragList",
@@ -11970,6 +12083,311 @@
11970
12083
  "from": "generated"
11971
12084
  }
11972
12085
  },
12086
+ {
12087
+ "id": "controls.pointer.G9DragSource",
12088
+ "export": "G9DragSource",
12089
+ "from": "@g9tm/lynxcontrols/pointer",
12090
+ "kind": "component",
12091
+ "family": "pointer",
12092
+ "summary": "A drag source around its children (a list row, a card): drawn faded while it is dragged.",
12093
+ "since": null,
12094
+ "props": [
12095
+ {
12096
+ "name": "children",
12097
+ "type": {
12098
+ "kind": "slot",
12099
+ "accepts": "any"
12100
+ },
12101
+ "required": false,
12102
+ "serializable": false,
12103
+ "role": "slot"
12104
+ },
12105
+ {
12106
+ "name": "className",
12107
+ "type": {
12108
+ "kind": "string"
12109
+ },
12110
+ "required": false,
12111
+ "serializable": true,
12112
+ "role": "appearance"
12113
+ },
12114
+ {
12115
+ "name": "enabled",
12116
+ "type": {
12117
+ "kind": "boolean"
12118
+ },
12119
+ "required": false,
12120
+ "default": true,
12121
+ "serializable": true,
12122
+ "role": "behaviour",
12123
+ "doc": "Default true."
12124
+ },
12125
+ {
12126
+ "name": "id",
12127
+ "type": {
12128
+ "kind": "string"
12129
+ },
12130
+ "required": false,
12131
+ "serializable": true,
12132
+ "role": "identity"
12133
+ },
12134
+ {
12135
+ "name": "longPress",
12136
+ "type": {
12137
+ "kind": "boolean"
12138
+ },
12139
+ "required": false,
12140
+ "default": true,
12141
+ "serializable": true,
12142
+ "role": "behaviour",
12143
+ "doc": "A long press starts a drag on touch. Default true."
12144
+ },
12145
+ {
12146
+ "name": "onDragEnd",
12147
+ "type": {
12148
+ "kind": "event",
12149
+ "payload": "drop: G9DropEvent<T> | null"
12150
+ },
12151
+ "required": false,
12152
+ "serializable": false,
12153
+ "role": "event",
12154
+ "doc": "The drag ended: the drop, or null (no target, or cancelled)."
12155
+ },
12156
+ {
12157
+ "name": "onDragStart",
12158
+ "type": {
12159
+ "kind": "event",
12160
+ "payload": "payload: G9DragPayload<T>"
12161
+ },
12162
+ "required": false,
12163
+ "serializable": false,
12164
+ "role": "event"
12165
+ },
12166
+ {
12167
+ "name": "payload",
12168
+ "type": {
12169
+ "kind": "union",
12170
+ "of": [
12171
+ {
12172
+ "kind": "object",
12173
+ "fields": [
12174
+ {
12175
+ "name": "kind",
12176
+ "required": true,
12177
+ "type": {
12178
+ "kind": "string"
12179
+ },
12180
+ "serializable": true
12181
+ },
12182
+ {
12183
+ "name": "data",
12184
+ "required": true,
12185
+ "type": {
12186
+ "kind": "unknown",
12187
+ "text": "NonNullable<T>"
12188
+ },
12189
+ "serializable": false
12190
+ },
12191
+ {
12192
+ "name": "label",
12193
+ "required": false,
12194
+ "type": {
12195
+ "kind": "string"
12196
+ },
12197
+ "serializable": true
12198
+ }
12199
+ ]
12200
+ },
12201
+ {
12202
+ "kind": "event",
12203
+ "payload": null,
12204
+ "returns": "G9DragPayload<T>"
12205
+ }
12206
+ ]
12207
+ },
12208
+ "required": true,
12209
+ "serializable": false,
12210
+ "role": "behaviour",
12211
+ "doc": "What is dragged (a function is asked when the drag starts)."
12212
+ },
12213
+ {
12214
+ "name": "renderPreview",
12215
+ "type": {
12216
+ "kind": "render",
12217
+ "receives": [
12218
+ {
12219
+ "name": "payload",
12220
+ "type": "G9DragPayload<T>"
12221
+ }
12222
+ ],
12223
+ "returns": "ReactNode"
12224
+ },
12225
+ "required": false,
12226
+ "serializable": false,
12227
+ "role": "slot",
12228
+ "doc": "The preview under the pointer; default a chip with the payload's `label`."
12229
+ },
12230
+ {
12231
+ "name": "threshold",
12232
+ "type": {
12233
+ "kind": "number"
12234
+ },
12235
+ "required": false,
12236
+ "default": 4,
12237
+ "serializable": true,
12238
+ "role": "behaviour",
12239
+ "doc": "How far (dp) the mouse moves before a drag starts. Default 4."
12240
+ }
12241
+ ],
12242
+ "anchor": null,
12243
+ "accessibility": {
12244
+ "labelFrom": [],
12245
+ "labelRequired": false
12246
+ },
12247
+ "targets": {
12248
+ "android": "pending",
12249
+ "ios": "pending",
12250
+ "windows": "pending",
12251
+ "macos": "pending",
12252
+ "web": "pending"
12253
+ },
12254
+ "evidence": {
12255
+ "ledger": [
12256
+ "N-178"
12257
+ ]
12258
+ },
12259
+ "tokens": [
12260
+ "InverseOnSurface",
12261
+ "InverseSurface",
12262
+ "Primary",
12263
+ "PrimaryContainer"
12264
+ ],
12265
+ "example": {
12266
+ "line": "<G9DragSource payload={payload} />",
12267
+ "from": "generated"
12268
+ }
12269
+ },
12270
+ {
12271
+ "id": "controls.pointer.G9DropTarget",
12272
+ "export": "G9DropTarget",
12273
+ "from": "@g9tm/lynxcontrols/pointer",
12274
+ "kind": "component",
12275
+ "family": "pointer",
12276
+ "summary": "A drop target around its children: outlined while a drag it accepts runs, filled while the drag is over it.",
12277
+ "since": null,
12278
+ "props": [
12279
+ {
12280
+ "name": "accepts",
12281
+ "type": {
12282
+ "kind": "event",
12283
+ "payload": "payload: G9DragPayload<T>",
12284
+ "returns": "boolean"
12285
+ },
12286
+ "required": false,
12287
+ "serializable": false,
12288
+ "role": "event",
12289
+ "doc": "Whether it takes a payload (default: every payload)."
12290
+ },
12291
+ {
12292
+ "name": "children",
12293
+ "type": {
12294
+ "kind": "slot",
12295
+ "accepts": "any"
12296
+ },
12297
+ "required": false,
12298
+ "serializable": false,
12299
+ "role": "slot",
12300
+ "doc": "Children, or a function of the state (to draw the light its own way)."
12301
+ },
12302
+ {
12303
+ "name": "className",
12304
+ "type": {
12305
+ "kind": "string"
12306
+ },
12307
+ "required": false,
12308
+ "serializable": true,
12309
+ "role": "appearance"
12310
+ },
12311
+ {
12312
+ "name": "enabled",
12313
+ "type": {
12314
+ "kind": "boolean"
12315
+ },
12316
+ "required": false,
12317
+ "default": true,
12318
+ "serializable": true,
12319
+ "role": "behaviour",
12320
+ "doc": "Default true."
12321
+ },
12322
+ {
12323
+ "name": "id",
12324
+ "type": {
12325
+ "kind": "string"
12326
+ },
12327
+ "required": false,
12328
+ "serializable": true,
12329
+ "role": "identity",
12330
+ "doc": "Unique on the page; default a generated one."
12331
+ },
12332
+ {
12333
+ "name": "onDrop",
12334
+ "type": {
12335
+ "kind": "event",
12336
+ "payload": "event: G9DropEvent<T>"
12337
+ },
12338
+ "required": true,
12339
+ "serializable": false,
12340
+ "role": "event"
12341
+ },
12342
+ {
12343
+ "name": "onEnter",
12344
+ "type": {
12345
+ "kind": "event",
12346
+ "payload": "payload: G9DragPayload<T>"
12347
+ },
12348
+ "required": false,
12349
+ "serializable": false,
12350
+ "role": "event"
12351
+ },
12352
+ {
12353
+ "name": "onLeave",
12354
+ "type": {
12355
+ "kind": "event",
12356
+ "payload": "payload: G9DragPayload<T>"
12357
+ },
12358
+ "required": false,
12359
+ "serializable": false,
12360
+ "role": "event"
12361
+ }
12362
+ ],
12363
+ "anchor": null,
12364
+ "accessibility": {
12365
+ "labelFrom": [],
12366
+ "labelRequired": false
12367
+ },
12368
+ "targets": {
12369
+ "android": "pending",
12370
+ "ios": "pending",
12371
+ "windows": "pending",
12372
+ "macos": "pending",
12373
+ "web": "pending"
12374
+ },
12375
+ "evidence": {
12376
+ "ledger": [
12377
+ "N-178"
12378
+ ]
12379
+ },
12380
+ "tokens": [
12381
+ "InverseOnSurface",
12382
+ "InverseSurface",
12383
+ "Primary",
12384
+ "PrimaryContainer"
12385
+ ],
12386
+ "example": {
12387
+ "line": "<G9DropTarget onDrop={() => {}} />",
12388
+ "from": "generated"
12389
+ }
12390
+ },
11973
12391
  {
11974
12392
  "id": "controls.edge-panel.G9EdgePanel",
11975
12393
  "export": "G9EdgePanel",
@@ -13870,11 +14288,11 @@
13870
14288
  "type": {
13871
14289
  "kind": "enum",
13872
14290
  "values": [
13873
- "primary",
13874
14291
  "info",
14292
+ "error",
14293
+ "primary",
13875
14294
  "success",
13876
14295
  "warning",
13877
- "error",
13878
14296
  "accent",
13879
14297
  "neutral"
13880
14298
  ]
@@ -16528,14 +16946,14 @@
16528
16946
  "type": {
16529
16947
  "kind": "enum",
16530
16948
  "values": [
16949
+ "info",
16950
+ "error",
16531
16951
  "text",
16532
16952
  "primary",
16533
16953
  "default",
16534
16954
  "secondary",
16535
- "info",
16536
16955
  "success",
16537
16956
  "warning",
16538
- "error",
16539
16957
  "surface",
16540
16958
  "outline",
16541
16959
  "accent",
@@ -16948,14 +17366,14 @@
16948
17366
  "type": {
16949
17367
  "kind": "enum",
16950
17368
  "values": [
17369
+ "info",
17370
+ "error",
16951
17371
  "text",
16952
17372
  "primary",
16953
17373
  "default",
16954
17374
  "secondary",
16955
- "info",
16956
17375
  "success",
16957
17376
  "warning",
16958
- "error",
16959
17377
  "surface",
16960
17378
  "outline",
16961
17379
  "accent",
@@ -17798,11 +18216,11 @@
17798
18216
  "type": {
17799
18217
  "kind": "enum",
17800
18218
  "values": [
17801
- "primary",
17802
18219
  "info",
18220
+ "error",
18221
+ "primary",
17803
18222
  "success",
17804
18223
  "warning",
17805
- "error",
17806
18224
  "accent",
17807
18225
  "neutral"
17808
18226
  ]
@@ -18062,6 +18480,59 @@
18062
18480
  "from": "generated"
18063
18481
  }
18064
18482
  },
18483
+ {
18484
+ "id": "controls.desktop.G9KeyCapture",
18485
+ "export": "G9KeyCapture",
18486
+ "from": "@g9tm/lynxcontrols/desktop",
18487
+ "kind": "component",
18488
+ "family": "desktop",
18489
+ "summary": "Hears the keys pressed anywhere inside (desktop: Lynxtron) and hands them to the page's key handlers.",
18490
+ "since": null,
18491
+ "props": [
18492
+ {
18493
+ "name": "children",
18494
+ "type": {
18495
+ "kind": "slot",
18496
+ "accepts": "any"
18497
+ },
18498
+ "required": false,
18499
+ "serializable": false,
18500
+ "role": "slot"
18501
+ },
18502
+ {
18503
+ "name": "className",
18504
+ "type": {
18505
+ "kind": "string"
18506
+ },
18507
+ "required": false,
18508
+ "serializable": true,
18509
+ "role": "appearance"
18510
+ }
18511
+ ],
18512
+ "anchor": null,
18513
+ "accessibility": {
18514
+ "labelFrom": [],
18515
+ "labelRequired": false
18516
+ },
18517
+ "targets": {
18518
+ "android": "pending",
18519
+ "ios": "pending",
18520
+ "windows": "pending",
18521
+ "macos": "pending",
18522
+ "web": "pending"
18523
+ },
18524
+ "evidence": {
18525
+ "ledger": [
18526
+ "N-176",
18527
+ "N-180"
18528
+ ]
18529
+ },
18530
+ "tokens": [],
18531
+ "example": {
18532
+ "line": "<G9KeyCapture />",
18533
+ "from": "generated"
18534
+ }
18535
+ },
18065
18536
  {
18066
18537
  "id": "controls.display.G9Kpi",
18067
18538
  "export": "G9Kpi",
@@ -18252,11 +18723,11 @@
18252
18723
  "type": {
18253
18724
  "kind": "enum",
18254
18725
  "values": [
18255
- "primary",
18256
18726
  "info",
18727
+ "error",
18728
+ "primary",
18257
18729
  "success",
18258
18730
  "warning",
18259
- "error",
18260
18731
  "accent",
18261
18732
  "neutral"
18262
18733
  ]
@@ -18628,11 +19099,11 @@
18628
19099
  "type": {
18629
19100
  "kind": "enum",
18630
19101
  "values": [
18631
- "primary",
18632
19102
  "info",
19103
+ "error",
19104
+ "primary",
18633
19105
  "success",
18634
19106
  "warning",
18635
- "error",
18636
19107
  "accent",
18637
19108
  "neutral"
18638
19109
  ]
@@ -18921,11 +19392,11 @@
18921
19392
  "type": {
18922
19393
  "kind": "enum",
18923
19394
  "values": [
18924
- "primary",
18925
19395
  "info",
19396
+ "error",
19397
+ "primary",
18926
19398
  "success",
18927
19399
  "warning",
18928
- "error",
18929
19400
  "accent",
18930
19401
  "neutral"
18931
19402
  ]
@@ -19040,11 +19511,11 @@
19040
19511
  "type": {
19041
19512
  "kind": "enum",
19042
19513
  "values": [
19043
- "primary",
19044
19514
  "info",
19515
+ "error",
19516
+ "primary",
19045
19517
  "success",
19046
19518
  "warning",
19047
- "error",
19048
19519
  "accent",
19049
19520
  "neutral"
19050
19521
  ]
@@ -19631,6 +20102,34 @@
19631
20102
  "role": "behaviour",
19632
20103
  "doc": "Or an element ref's node."
19633
20104
  },
20105
+ {
20106
+ "name": "anchorPoint",
20107
+ "type": {
20108
+ "kind": "object",
20109
+ "fields": [
20110
+ {
20111
+ "name": "x",
20112
+ "required": true,
20113
+ "type": {
20114
+ "kind": "number"
20115
+ },
20116
+ "serializable": true
20117
+ },
20118
+ {
20119
+ "name": "y",
20120
+ "required": true,
20121
+ "type": {
20122
+ "kind": "number"
20123
+ },
20124
+ "serializable": true
20125
+ }
20126
+ ]
20127
+ },
20128
+ "required": false,
20129
+ "serializable": true,
20130
+ "role": "behaviour",
20131
+ "doc": "Opens at this point of the LynxView (2.9.0): where a right click happened (`useG9SecondaryAction`). Wins over `anchorId` / `anchorNode` / `anchorRect`, and a menu at a point is always the popover form (a pointer means a desktop or a mouse) unless `mode` is `'sheet'`."
20132
+ },
19634
20133
  {
19635
20134
  "name": "anchorRect",
19636
20135
  "type": {
@@ -19977,15 +20476,17 @@
19977
20476
  "labelRequired": false
19978
20477
  },
19979
20478
  "targets": {
19980
- "android": "unmeasured",
19981
- "ios": "unmeasured",
19982
- "windows": "unmeasured",
19983
- "macos": "unmeasured",
20479
+ "android": "pending",
20480
+ "ios": "pending",
20481
+ "windows": "pending",
20482
+ "macos": "pending",
19984
20483
  "web": "verified"
19985
20484
  },
19986
20485
  "evidence": {
19987
20486
  "ledger": [
19988
- "N-115"
20487
+ "N-115",
20488
+ "N-175",
20489
+ "N-178"
19989
20490
  ]
19990
20491
  },
19991
20492
  "tokens": [
@@ -26154,11 +26655,11 @@
26154
26655
  "type": {
26155
26656
  "kind": "enum",
26156
26657
  "values": [
26157
- "primary",
26158
26658
  "info",
26659
+ "error",
26660
+ "primary",
26159
26661
  "success",
26160
26662
  "warning",
26161
- "error",
26162
26663
  "accent",
26163
26664
  "neutral",
26164
26665
  "brand"
@@ -29446,10 +29947,10 @@
29446
29947
  "type": {
29447
29948
  "kind": "enum",
29448
29949
  "values": [
29950
+ "error",
29449
29951
  "primary",
29450
29952
  "success",
29451
- "warning",
29452
- "error"
29953
+ "warning"
29453
29954
  ]
29454
29955
  },
29455
29956
  "required": false,
@@ -29653,11 +30154,11 @@
29653
30154
  "type": {
29654
30155
  "kind": "enum",
29655
30156
  "values": [
29656
- "primary",
29657
30157
  "info",
30158
+ "error",
30159
+ "primary",
29658
30160
  "success",
29659
30161
  "warning",
29660
- "error",
29661
30162
  "accent",
29662
30163
  "neutral"
29663
30164
  ]
@@ -30545,6 +31046,136 @@
30545
31046
  ]
30546
31047
  },
30547
31048
  "serializable": false
31049
+ },
31050
+ {
31051
+ "name": "window",
31052
+ "required": false,
31053
+ "type": {
31054
+ "kind": "object",
31055
+ "fields": [
31056
+ {
31057
+ "name": "available",
31058
+ "required": true,
31059
+ "type": {
31060
+ "kind": "boolean"
31061
+ },
31062
+ "serializable": true
31063
+ },
31064
+ {
31065
+ "name": "show",
31066
+ "required": true,
31067
+ "type": {
31068
+ "kind": "event",
31069
+ "payload": null
31070
+ },
31071
+ "serializable": false
31072
+ },
31073
+ {
31074
+ "name": "hide",
31075
+ "required": true,
31076
+ "type": {
31077
+ "kind": "event",
31078
+ "payload": null
31079
+ },
31080
+ "serializable": false
31081
+ },
31082
+ {
31083
+ "name": "focus",
31084
+ "required": true,
31085
+ "type": {
31086
+ "kind": "event",
31087
+ "payload": null
31088
+ },
31089
+ "serializable": false
31090
+ },
31091
+ {
31092
+ "name": "minimize",
31093
+ "required": true,
31094
+ "type": {
31095
+ "kind": "event",
31096
+ "payload": null
31097
+ },
31098
+ "serializable": false
31099
+ },
31100
+ {
31101
+ "name": "maximize",
31102
+ "required": true,
31103
+ "type": {
31104
+ "kind": "event",
31105
+ "payload": null
31106
+ },
31107
+ "serializable": false
31108
+ },
31109
+ {
31110
+ "name": "restore",
31111
+ "required": true,
31112
+ "type": {
31113
+ "kind": "event",
31114
+ "payload": null
31115
+ },
31116
+ "serializable": false
31117
+ },
31118
+ {
31119
+ "name": "setTitle",
31120
+ "required": true,
31121
+ "type": {
31122
+ "kind": "event",
31123
+ "payload": "title: string"
31124
+ },
31125
+ "serializable": false
31126
+ },
31127
+ {
31128
+ "name": "getState",
31129
+ "required": true,
31130
+ "type": {
31131
+ "kind": "event",
31132
+ "payload": null,
31133
+ "returns": "Promise<G9WindowState>"
31134
+ },
31135
+ "serializable": false
31136
+ },
31137
+ {
31138
+ "name": "close",
31139
+ "required": true,
31140
+ "type": {
31141
+ "kind": "event",
31142
+ "payload": "options: { readonly force?: boolean; } | undefined"
31143
+ },
31144
+ "serializable": false
31145
+ },
31146
+ {
31147
+ "name": "invoke",
31148
+ "required": true,
31149
+ "type": {
31150
+ "kind": "event",
31151
+ "payload": "name: string, data: unknown",
31152
+ "returns": "Promise<unknown>"
31153
+ },
31154
+ "serializable": false
31155
+ },
31156
+ {
31157
+ "name": "subscribe",
31158
+ "required": true,
31159
+ "type": {
31160
+ "kind": "event",
31161
+ "payload": "listener: (event: G9WindowEvent) => void",
31162
+ "returns": "() => void"
31163
+ },
31164
+ "serializable": false
31165
+ },
31166
+ {
31167
+ "name": "onCloseRequest",
31168
+ "required": true,
31169
+ "type": {
31170
+ "kind": "event",
31171
+ "payload": "handler: G9CloseRequestHandler",
31172
+ "returns": "() => void"
31173
+ },
31174
+ "serializable": false
31175
+ }
31176
+ ]
31177
+ },
31178
+ "serializable": false
30548
31179
  }
30549
31180
  ]
30550
31181
  },
@@ -33811,13 +34442,13 @@
33811
34442
  "type": {
33812
34443
  "kind": "enum",
33813
34444
  "values": [
34445
+ "info",
34446
+ "error",
33814
34447
  "primary",
33815
34448
  "default",
33816
34449
  "secondary",
33817
- "info",
33818
34450
  "success",
33819
34451
  "warning",
33820
- "error",
33821
34452
  "surface",
33822
34453
  "outline"
33823
34454
  ]
@@ -34456,14 +35087,14 @@
34456
35087
  "type": {
34457
35088
  "kind": "enum",
34458
35089
  "values": [
35090
+ "info",
35091
+ "error",
34459
35092
  "text",
34460
35093
  "primary",
34461
35094
  "default",
34462
35095
  "secondary",
34463
- "info",
34464
35096
  "success",
34465
35097
  "warning",
34466
- "error",
34467
35098
  "surface",
34468
35099
  "outline",
34469
35100
  "accent",
@@ -34551,14 +35182,14 @@
34551
35182
  "type": {
34552
35183
  "kind": "enum",
34553
35184
  "values": [
35185
+ "info",
35186
+ "error",
34554
35187
  "text",
34555
35188
  "primary",
34556
35189
  "default",
34557
35190
  "secondary",
34558
- "info",
34559
35191
  "success",
34560
35192
  "warning",
34561
- "error",
34562
35193
  "surface",
34563
35194
  "outline",
34564
35195
  "accent",
@@ -35137,14 +35768,14 @@
35137
35768
  "type": {
35138
35769
  "kind": "enum",
35139
35770
  "values": [
35771
+ "info",
35772
+ "error",
35140
35773
  "text",
35141
35774
  "primary",
35142
35775
  "default",
35143
35776
  "secondary",
35144
- "info",
35145
35777
  "success",
35146
35778
  "warning",
35147
- "error",
35148
35779
  "surface",
35149
35780
  "outline",
35150
35781
  "accent",
@@ -40467,11 +41098,11 @@
40467
41098
  "type": {
40468
41099
  "kind": "enum",
40469
41100
  "values": [
40470
- "primary",
40471
41101
  "info",
41102
+ "error",
41103
+ "primary",
40472
41104
  "success",
40473
41105
  "warning",
40474
- "error",
40475
41106
  "accent",
40476
41107
  "neutral"
40477
41108
  ]
@@ -41140,11 +41771,11 @@
41140
41771
  "type": {
41141
41772
  "kind": "enum",
41142
41773
  "values": [
41143
- "primary",
41144
41774
  "info",
41775
+ "error",
41776
+ "primary",
41145
41777
  "success",
41146
41778
  "warning",
41147
- "error",
41148
41779
  "accent",
41149
41780
  "neutral"
41150
41781
  ]
@@ -42409,11 +43040,11 @@
42409
43040
  "type": {
42410
43041
  "kind": "enum",
42411
43042
  "values": [
42412
- "primary",
42413
43043
  "info",
43044
+ "error",
43045
+ "primary",
42414
43046
  "success",
42415
43047
  "warning",
42416
- "error",
42417
43048
  "accent",
42418
43049
  "neutral"
42419
43050
  ]
@@ -43730,11 +44361,11 @@
43730
44361
  "type": {
43731
44362
  "kind": "enum",
43732
44363
  "values": [
43733
- "primary",
43734
44364
  "info",
44365
+ "error",
44366
+ "primary",
43735
44367
  "success",
43736
44368
  "warning",
43737
- "error",
43738
44369
  "accent",
43739
44370
  "neutral"
43740
44371
  ]
@@ -49040,14 +49671,16 @@
49040
49671
  "targets": {
49041
49672
  "android": "pending",
49042
49673
  "ios": "pending",
49043
- "windows": "unmeasured",
49044
- "macos": "unmeasured",
49674
+ "windows": "pending",
49675
+ "macos": "pending",
49045
49676
  "web": "verified"
49046
49677
  },
49047
49678
  "evidence": {
49048
49679
  "ledger": [
49049
49680
  "N-101",
49050
- "N-170"
49681
+ "N-170",
49682
+ "N-177",
49683
+ "N-178"
49051
49684
  ]
49052
49685
  },
49053
49686
  "tokens": [
@@ -50986,6 +51619,14 @@
50986
51619
  "signature": "(size: G9ControlSize): G9ButtonSizePreset",
50987
51620
  "summary": "MAUI G9Button size presets: small 36 / medium 44 / large 48 / hero 52."
50988
51621
  },
51622
+ {
51623
+ "id": "controls.pointer.cancelG9Drag",
51624
+ "export": "cancelG9Drag",
51625
+ "from": "@g9tm/lynxcontrols/pointer",
51626
+ "kind": "function",
51627
+ "signature": "(): void",
51628
+ "summary": "Ends the page's drag without a drop (Escape, the source went away)."
51629
+ },
50989
51630
  {
50990
51631
  "id": "controls.cascade.cascadeOffset",
50991
51632
  "export": "cascadeOffset",
@@ -51247,7 +51888,7 @@
51247
51888
  "export": "createPopupVisualProfile",
51248
51889
  "from": "@g9tm/lynxcontrols/popup",
51249
51890
  "kind": "function",
51250
- "signature": "(descriptor: G9PopupDescriptor, settings: G9PopupSettings, glyphs: { readonly info: G9IconInput; readonly success: G9IconInput; readonly warning: G9IconInput; readonly error: G9IconInput; }, semantic: (type: \"success\" | \"warning\" | \"error\" | \"information\") => string): G9PopupVisualProfile",
51891
+ "signature": "(descriptor: G9PopupDescriptor, settings: G9PopupSettings, glyphs: { readonly info: G9IconInput; readonly success: G9IconInput; readonly warning: G9IconInput; readonly error: G9IconInput; }, semantic: (type: \"error\" | \"success\" | \"warning\" | \"information\") => string): G9PopupVisualProfile",
51251
51892
  "summary": "Resolves a popup's look (MAUI `G9PopupVisualProfile.Create`): each type takes its own semantic accent (never Primary) for icon, title and the filled button, the button text takes the matching `On*` token, the scrim is the `Scrim` token at `overlayOpacity`. Settings override colours, icon, size, radius, padding and motion."
51252
51893
  },
51253
51894
  {
@@ -51290,6 +51931,14 @@
51290
51931
  "signature": "(): G9SwipeGroupStore",
51291
51932
  "summary": "A swipe group: at most one row of the group is open; opening another closes the previous one (MAUI `G9SwipeGroup`). `<G9SwipeGroup>` creates one; create your own to share it across lists."
51292
51933
  },
51934
+ {
51935
+ "id": "controls.pointer.currentG9Drag",
51936
+ "export": "currentG9Drag",
51937
+ "from": "@g9tm/lynxcontrols/pointer",
51938
+ "kind": "function",
51939
+ "signature": "(): G9DragState | null",
51940
+ "summary": "The drag now, or null."
51941
+ },
51293
51942
  {
51294
51943
  "id": "controls.sheet.currentPlatform",
51295
51944
  "export": "currentPlatform",
@@ -51338,6 +51987,14 @@
51338
51987
  "signature": "(): G9SheetOptions",
51339
51988
  "summary": "MAUI `DefaultOptions()`: medium, `[medium, large]`, modal, cancelable, handle, draggable."
51340
51989
  },
51990
+ {
51991
+ "id": "controls.desktop.deliverLynxKey",
51992
+ "export": "deliverLynxKey",
51993
+ "from": "@g9tm/lynxcontrols/desktop",
51994
+ "kind": "function",
51995
+ "signature": "(e: (G9LynxKeyEventLike & { readonly target?: TargetLike | null; }) | null | undefined): boolean",
51996
+ "summary": "Delivers one Lynx `keydown` to the page's key handlers; answers whether one took it."
51997
+ },
51341
51998
  {
51342
51999
  "id": "controls.base.deltaTone",
51343
52000
  "export": "deltaTone",
@@ -51418,6 +52075,14 @@
51418
52075
  "signature": "(selectedIndex: number, count: number): number",
51419
52076
  "summary": "The index actually shown: the selection clamped into the items (MAUI `EffectiveIndex`); -1 with no items."
51420
52077
  },
52078
+ {
52079
+ "id": "controls.pointer.endG9Drag",
52080
+ "export": "endG9Drag",
52081
+ "from": "@g9tm/lynxcontrols/pointer",
52082
+ "kind": "function",
52083
+ "signature": "(x: number, y: number): G9DropEvent<unknown> | null",
52084
+ "summary": "Drops at the point: the target under it hears `onDrop`. Answers the drop, or null when it fell on no target."
52085
+ },
51421
52086
  {
51422
52087
  "id": "controls.selection.estimateSelectionHeight",
51423
52088
  "export": "estimateSelectionHeight",
@@ -52730,6 +53395,14 @@
52730
53395
  "signature": "G9DragListProps<T>",
52731
53396
  "summary": "Props of `G9DragList`."
52732
53397
  },
53398
+ {
53399
+ "id": "controls.pointer.G9DragPayload",
53400
+ "export": "G9DragPayload",
53401
+ "from": "@g9tm/lynxcontrols/pointer",
53402
+ "kind": "interface",
53403
+ "signature": "G9DragPayload<T>",
53404
+ "summary": "What is dragged: a kind the targets filter on, the app's data, and the preview's words."
53405
+ },
52733
53406
  {
52734
53407
  "id": "controls.list.G9DragRowControls",
52735
53408
  "export": "G9DragRowControls",
@@ -52738,6 +53411,86 @@
52738
53411
  "signature": "G9DragRowControls",
52739
53412
  "summary": "What a row of a `G9DragList` is handed besides its item (2.5.8)."
52740
53413
  },
53414
+ {
53415
+ "id": "controls.pointer.G9DragSourceComponentProps",
53416
+ "export": "G9DragSourceComponentProps",
53417
+ "from": "@g9tm/lynxcontrols/pointer",
53418
+ "kind": "interface",
53419
+ "signature": "G9DragSourceComponentProps<T>",
53420
+ "summary": "Props of `G9DragSource`."
53421
+ },
53422
+ {
53423
+ "id": "controls.pointer.G9DragSourceOptions",
53424
+ "export": "G9DragSourceOptions",
53425
+ "from": "@g9tm/lynxcontrols/pointer",
53426
+ "kind": "interface",
53427
+ "signature": "G9DragSourceOptions<T>",
53428
+ "summary": "Options of `useG9DragSource`."
53429
+ },
53430
+ {
53431
+ "id": "controls.pointer.G9DragSourceProps",
53432
+ "export": "G9DragSourceProps",
53433
+ "from": "@g9tm/lynxcontrols/pointer",
53434
+ "kind": "interface",
53435
+ "signature": "G9DragSourceProps",
53436
+ "summary": "The props `useG9DragSource` puts on the source element."
53437
+ },
53438
+ {
53439
+ "id": "controls.pointer.G9DragState",
53440
+ "export": "G9DragState",
53441
+ "from": "@g9tm/lynxcontrols/pointer",
53442
+ "kind": "interface",
53443
+ "signature": "G9DragState",
53444
+ "summary": "The drag of the page, as listeners see it."
53445
+ },
53446
+ {
53447
+ "id": "controls.pointer.G9DropEvent",
53448
+ "export": "G9DropEvent",
53449
+ "from": "@g9tm/lynxcontrols/pointer",
53450
+ "kind": "interface",
53451
+ "signature": "G9DropEvent<T>",
53452
+ "summary": "What a drop hands the target."
53453
+ },
53454
+ {
53455
+ "id": "controls.pointer.G9DropOver",
53456
+ "export": "G9DropOver",
53457
+ "from": "@g9tm/lynxcontrols/pointer",
53458
+ "kind": "interface",
53459
+ "signature": "G9DropOver",
53460
+ "summary": "Where a drag is over: a target, and inside a composite target (a canvas) the part it named."
53461
+ },
53462
+ {
53463
+ "id": "controls.pointer.G9DropTargetOptions",
53464
+ "export": "G9DropTargetOptions",
53465
+ "from": "@g9tm/lynxcontrols/pointer",
53466
+ "kind": "interface",
53467
+ "signature": "G9DropTargetOptions<T>",
53468
+ "summary": "Options of `useG9DropTarget`."
53469
+ },
53470
+ {
53471
+ "id": "controls.pointer.G9DropTargetProps",
53472
+ "export": "G9DropTargetProps",
53473
+ "from": "@g9tm/lynxcontrols/pointer",
53474
+ "kind": "interface",
53475
+ "signature": "G9DropTargetProps<T>",
53476
+ "summary": "Props of `G9DropTarget`."
53477
+ },
53478
+ {
53479
+ "id": "controls.pointer.G9DropTargetSpec",
53480
+ "export": "G9DropTargetSpec",
53481
+ "from": "@g9tm/lynxcontrols/pointer",
53482
+ "kind": "interface",
53483
+ "signature": "G9DropTargetSpec",
53484
+ "summary": "A drop target as registered."
53485
+ },
53486
+ {
53487
+ "id": "controls.pointer.G9DropTargetState",
53488
+ "export": "G9DropTargetState",
53489
+ "from": "@g9tm/lynxcontrols/pointer",
53490
+ "kind": "type",
53491
+ "signature": "G9DropTargetState",
53492
+ "summary": "How a drop target is drawn now."
53493
+ },
52741
53494
  {
52742
53495
  "id": "controls.dashboard.g9DropWidget",
52743
53496
  "export": "g9DropWidget",
@@ -53178,6 +53931,14 @@
53178
53931
  "signature": "G9HeaderActionButtonProps",
53179
53932
  "summary": "Props of `G9HeaderActionButton` (MAUI `G9HeaderActionButton`)."
53180
53933
  },
53934
+ {
53935
+ "id": "controls.commands.g9HeldModifiers",
53936
+ "export": "g9HeldModifiers",
53937
+ "from": "@g9tm/lynxcontrols/commands",
53938
+ "kind": "function",
53939
+ "signature": "(): G9HeldModifiers",
53940
+ "summary": "The modifier keys held now (2.9.0): what the host last said (`g9modifiers`, or a key capture's keydown / keyup) and the flags of the last key. Lynx pointer events carry no modifier flags; Shift+click and Ctrl+click read this."
53941
+ },
53181
53942
  {
53182
53943
  "id": "controls.orb.G9HoldButtonProps",
53183
53944
  "export": "G9HoldButtonProps",
@@ -53522,6 +54283,14 @@
53522
54283
  "signature": "G9KeycapProps",
53523
54284
  "summary": "Props of `G9Keycap`."
53524
54285
  },
54286
+ {
54287
+ "id": "controls.desktop.G9KeyCaptureProps",
54288
+ "export": "G9KeyCaptureProps",
54289
+ "from": "@g9tm/lynxcontrols/desktop",
54290
+ "kind": "interface",
54291
+ "signature": "G9KeyCaptureProps",
54292
+ "summary": "Props of `G9KeyCapture`."
54293
+ },
53525
54294
  {
53526
54295
  "id": "controls.commands.G9KeyDeliver",
53527
54296
  "export": "G9KeyDeliver",
@@ -53530,6 +54299,14 @@
53530
54299
  "signature": "G9KeyDeliver",
53531
54300
  "summary": "What a key source hands the library: the raw key (a `G9KeyEvent`-shaped object or a key name) and whether it came from inside a text field. Answers whether a handler took it (the host then stops the native default)."
53532
54301
  },
54302
+ {
54303
+ "id": "controls.commands.g9KeyPlatform",
54304
+ "export": "g9KeyPlatform",
54305
+ "from": "@g9tm/lynxcontrols/commands",
54306
+ "kind": "function",
54307
+ "signature": "(): \"other\" | \"mac\"",
54308
+ "summary": "The platform for Mod (⌘ on macOS, Ctrl elsewhere), from `SystemInfo.platform`."
54309
+ },
53533
54310
  {
53534
54311
  "id": "controls.display.G9KpiGridProps",
53535
54312
  "export": "G9KpiGridProps",
@@ -53786,6 +54563,14 @@
53786
54563
  "signature": "G9LynxInputElementType",
53787
54564
  "summary": "`<input type>` values the Lynx `<input>` element accepts."
53788
54565
  },
54566
+ {
54567
+ "id": "controls.pointer.G9LynxKeyEventLike",
54568
+ "export": "G9LynxKeyEventLike",
54569
+ "from": "@g9tm/lynxcontrols/pointer",
54570
+ "kind": "interface",
54571
+ "signature": "G9LynxKeyEventLike",
54572
+ "summary": "A Lynx `keydown` event as the desktop engine sends it."
54573
+ },
53789
54574
  {
53790
54575
  "id": "controls.display.g9MarkCameFrom",
53791
54576
  "export": "g9MarkCameFrom",
@@ -53850,6 +54635,14 @@
53850
54635
  "signature": "G9MenuProps",
53851
54636
  "summary": "Props of `G9Menu`."
53852
54637
  },
54638
+ {
54639
+ "id": "controls.pointer.g9MouseButton",
54640
+ "export": "g9MouseButton",
54641
+ "from": "@g9tm/lynxcontrols/pointer",
54642
+ "kind": "function",
54643
+ "signature": "(e: G9PointerEventLike | null | undefined): number",
54644
+ "summary": "The mouse button of a press: 0 primary, 1 middle, 2 secondary (the right button). A touch is 0."
54645
+ },
53853
54646
  {
53854
54647
  "id": "controls.dashboard.g9MoveWidget",
53855
54648
  "export": "g9MoveWidget",
@@ -54466,6 +55259,30 @@
54466
55259
  "signature": "G9PlusButtonTiming",
54467
55260
  "summary": "Sizes and timings of the expand / collapse choreography (MAUI `G9PlusButton` properties and their defaults)."
54468
55261
  },
55262
+ {
55263
+ "id": "controls.pointer.G9Point",
55264
+ "export": "G9Point",
55265
+ "from": "@g9tm/lynxcontrols/pointer",
55266
+ "kind": "interface",
55267
+ "signature": "G9Point",
55268
+ "summary": "A point in the LynxView's space (dp)."
55269
+ },
55270
+ {
55271
+ "id": "controls.pointer.G9PointerEventLike",
55272
+ "export": "G9PointerEventLike",
55273
+ "from": "@g9tm/lynxcontrols/pointer",
55274
+ "kind": "interface",
55275
+ "signature": "G9PointerEventLike",
55276
+ "summary": "The fields of a Lynx pointer event this module reads."
55277
+ },
55278
+ {
55279
+ "id": "controls.pointer.g9PointerPoint",
55280
+ "export": "g9PointerPoint",
55281
+ "from": "@g9tm/lynxcontrols/pointer",
55282
+ "kind": "function",
55283
+ "signature": "(e: G9PointerEventLike | null | undefined): G9Point | null",
55284
+ "summary": "The event's point in the LynxView's space; `null` when the event carries none."
55285
+ },
54469
55286
  {
54470
55287
  "id": "controls.popover.G9PopoverPosition",
54471
55288
  "export": "G9PopoverPosition",
@@ -55258,6 +56075,38 @@
55258
56075
  "signature": "G9SearchEntryProps",
55259
56076
  "summary": "Props of `G9SearchEntry` (MAUI `G9SearchEntry`)."
55260
56077
  },
56078
+ {
56079
+ "id": "controls.pointer.G9SecondaryAction",
56080
+ "export": "G9SecondaryAction",
56081
+ "from": "@g9tm/lynxcontrols/pointer",
56082
+ "kind": "interface",
56083
+ "signature": "G9SecondaryAction",
56084
+ "summary": "What a secondary action hands its handler."
56085
+ },
56086
+ {
56087
+ "id": "controls.pointer.G9SecondaryActionOptions",
56088
+ "export": "G9SecondaryActionOptions",
56089
+ "from": "@g9tm/lynxcontrols/pointer",
56090
+ "kind": "interface",
56091
+ "signature": "G9SecondaryActionOptions",
56092
+ "summary": "Options of `useG9SecondaryAction`."
56093
+ },
56094
+ {
56095
+ "id": "controls.pointer.G9SecondaryActionProps",
56096
+ "export": "G9SecondaryActionProps",
56097
+ "from": "@g9tm/lynxcontrols/pointer",
56098
+ "kind": "interface",
56099
+ "signature": "G9SecondaryActionProps",
56100
+ "summary": "The props `useG9SecondaryAction` puts on the element."
56101
+ },
56102
+ {
56103
+ "id": "controls.pointer.G9SecondarySource",
56104
+ "export": "G9SecondarySource",
56105
+ "from": "@g9tm/lynxcontrols/pointer",
56106
+ "kind": "type",
56107
+ "signature": "G9SecondarySource",
56108
+ "summary": "How a secondary action was asked for."
56109
+ },
55261
56110
  {
55262
56111
  "id": "controls.display.G9SecretValueProps",
55263
56112
  "export": "G9SecretValueProps",
@@ -55914,6 +56763,14 @@
55914
56763
  "signature": "G9ShortcutListProps",
55915
56764
  "summary": "Props of `G9ShortcutList`."
55916
56765
  },
56766
+ {
56767
+ "id": "controls.commands.G9ShortcutsOptions",
56768
+ "export": "G9ShortcutsOptions",
56769
+ "from": "@g9tm/lynxcontrols/commands",
56770
+ "kind": "interface",
56771
+ "signature": "G9ShortcutsOptions",
56772
+ "summary": "Options of `useG9Shortcuts`."
56773
+ },
55917
56774
  {
55918
56775
  "id": "controls.commands.G9ShortcutsSheetProps",
55919
56776
  "export": "G9ShortcutsSheetProps",
@@ -57002,6 +57859,14 @@
57002
57859
  "signature": "(slot: G9IconSlotInput): boolean",
57003
57860
  "summary": "`true` when any of the four inputs is set (MAUI `G9IconFactory.HasIcon`)."
57004
57861
  },
57862
+ {
57863
+ "id": "controls.pointer.hitDropTarget",
57864
+ "export": "hitDropTarget",
57865
+ "from": "@g9tm/lynxcontrols/pointer",
57866
+ "kind": "function",
57867
+ "signature": "(measured: readonly { readonly spec: G9DropTargetSpec; readonly rect: G9AnchorRect; }[], x: number, y: number, payload: G9DragPayload<unknown>): G9DropOver | null",
57868
+ "summary": "The target (and part) under the point among `measured`, newest first; null when none."
57869
+ },
57005
57870
  {
57006
57871
  "id": "controls.design.hitTestAnchors",
57007
57872
  "export": "hitTestAnchors",
@@ -57106,6 +57971,14 @@
57106
57971
  "signature": "(header: G9EdgeMenuHeader | null | undefined): boolean",
57107
57972
  "summary": "`true` when the header shows nothing (MAUI `IsEmpty`)."
57108
57973
  },
57974
+ {
57975
+ "id": "controls.desktop.isFieldKeyEvent",
57976
+ "export": "isFieldKeyEvent",
57977
+ "from": "@g9tm/lynxcontrols/desktop",
57978
+ "kind": "function",
57979
+ "signature": "(e: { readonly target?: TargetLike | null; } | null | undefined): boolean",
57980
+ "summary": "True when the key came from inside a text field: the target carries the library's keyboard-target mark (`g9KeyboardTargetProps`, on every G9 field's input), the mark the host's keyboard dismiss already reads."
57981
+ },
57109
57982
  {
57110
57983
  "id": "controls.route.isG9Router",
57111
57984
  "export": "isG9Router",
@@ -57138,6 +58011,22 @@
57138
58011
  "signature": "(value: string): boolean",
57139
58012
  "summary": "MAUI `IsEmailFormatValid`: one `@` not first, a dot after it with text on both sides."
57140
58013
  },
58014
+ {
58015
+ "id": "controls.pointer.isSecondaryPress",
58016
+ "export": "isSecondaryPress",
58017
+ "from": "@g9tm/lynxcontrols/pointer",
58018
+ "kind": "function",
58019
+ "signature": "(e: G9PointerEventLike | null | undefined): boolean",
58020
+ "summary": "True for a secondary press (the right mouse button; Ctrl+click on a Mac arrives as one from the host)."
58021
+ },
58022
+ {
58023
+ "id": "controls.pointer.keyEventOf",
58024
+ "export": "keyEventOf",
58025
+ "from": "@g9tm/lynxcontrols/pointer",
58026
+ "kind": "function",
58027
+ "signature": "(e: G9LynxKeyEventLike | null | undefined): G9KeyEvent | null",
58028
+ "summary": "A Lynx `keydown` event as a `G9KeyEvent` (null without a key)."
58029
+ },
57141
58030
  {
57142
58031
  "id": "controls.host.layerRank",
57143
58032
  "export": "layerRank",
@@ -57226,6 +58115,14 @@
57226
58115
  "signature": "(calendar: G9CalendarSystem, culture: G9Culture): G9WheelItem<number>[]",
57227
58116
  "summary": "Month rows with the calendar's month names."
57228
58117
  },
58118
+ {
58119
+ "id": "controls.pointer.moveG9Drag",
58120
+ "export": "moveG9Drag",
58121
+ "from": "@g9tm/lynxcontrols/pointer",
58122
+ "kind": "function",
58123
+ "signature": "(x: number, y: number): void",
58124
+ "summary": "Moves the page's drag; the targets hear a change of the one under it. Nothing without a drag."
58125
+ },
57229
58126
  {
57230
58127
  "id": "controls.list.moveItem",
57231
58128
  "export": "moveItem",
@@ -57258,6 +58155,14 @@
57258
58155
  "signature": "(min: G9LocalDate | null | undefined, max: G9LocalDate | null | undefined, calendar: G9CalendarSystem): { min: G9LocalDateTime | null; max: G9LocalDateTime | null; }",
57259
58156
  "summary": "Min/max for a calendar: Persian bounds are pulled into the range the Persian calendar supports (from 0622-03-22), and an inverted pair is swapped."
57260
58157
  },
58158
+ {
58159
+ "id": "controls.commands.noteG9ModifierKey",
58160
+ "export": "noteG9ModifierKey",
58161
+ "from": "@g9tm/lynxcontrols/commands",
58162
+ "kind": "function",
58163
+ "signature": "(key: string, down: boolean): boolean",
58164
+ "summary": "A modifier key itself went down or up (`'Shift'`, `'Control'`, `'Alt'`, `'Meta'`); false for any other key."
58165
+ },
57261
58166
  {
57262
58167
  "id": "controls.tab-bar.overflowColumnLayout",
57263
58168
  "export": "overflowColumnLayout",
@@ -57490,6 +58395,14 @@
57490
58395
  "signature": "(state: G9TabBarState, config: G9TabBarConfig): G9TabBarState",
57491
58396
  "summary": "A selection written in code brings the FAB state with it (MAUI `ReconcileFabStateWithSelection`): the FAB tab selected floats the FAB (closed); another tab returns it to the bar when `resetCenterOnMenuSelection`. With no FAB (index -1, out of range, folded into the overflow) nothing floats (MAUI `ResetFabStateIfNoFab`)."
57492
58397
  },
58398
+ {
58399
+ "id": "controls.pointer.registerG9DropTarget",
58400
+ "export": "registerG9DropTarget",
58401
+ "from": "@g9tm/lynxcontrols/pointer",
58402
+ "kind": "function",
58403
+ "signature": "(spec: G9DropTargetSpec): () => void",
58404
+ "summary": "Registers a drop target for as long as it lives; returns the unregister. A newer target wins where two overlap."
58405
+ },
57493
58406
  {
57494
58407
  "id": "controls.commands.registerG9KeySource",
57495
58408
  "export": "registerG9KeySource",
@@ -57818,6 +58731,14 @@
57818
58731
  "signature": "(title: string): string",
57819
58732
  "summary": "Upper-cases a separator title without `Intl` (Lynx has none): the runtime's default `toUpperCase`."
57820
58733
  },
58734
+ {
58735
+ "id": "controls.commands.setG9HeldModifiers",
58736
+ "export": "setG9HeldModifiers",
58737
+ "from": "@g9tm/lynxcontrols/commands",
58738
+ "kind": "function",
58739
+ "signature": "(next: Partial<G9HeldModifiers> | null): void",
58740
+ "summary": "Sets the held modifiers (a host bridge, `G9KeyCapture`, tests); a partial update keeps the others, null clears all."
58741
+ },
57821
58742
  {
57822
58743
  "id": "controls.anchor.settleFrame",
57823
58744
  "export": "settleFrame",
@@ -57986,6 +58907,14 @@
57986
58907
  "signature": "(text: string): { readonly tags: string[]; readonly rest: string; }",
57987
58908
  "summary": "Splits typed text into tags at Enter, «،» and «,» (pure). Returns the tags and what is still being typed."
57988
58909
  },
58910
+ {
58911
+ "id": "controls.pointer.startG9Drag",
58912
+ "export": "startG9Drag",
58913
+ "from": "@g9tm/lynxcontrols/pointer",
58914
+ "kind": "function",
58915
+ "signature": "(payload: G9DragPayload<unknown>, x: number, y: number): Promise<void>",
58916
+ "summary": "Starts the page's drag at the point: every accepting target is measured once (a failed measure leaves that one out). A drag already running is cancelled first. Resolves when the targets are measured."
58917
+ },
57989
58918
  {
57990
58919
  "id": "controls.base.startTimer",
57991
58920
  "export": "startTimer",
@@ -58010,6 +58939,14 @@
58010
58939
  "signature": "(count: number, fabCenterX: number, width: number): { readonly left: number; readonly cells: readonly { readonly x: number; readonly delayMs: number; }[]; }",
58011
58940
  "summary": "Layout of the sub-menu row: left edge of the row and per-cell x and reveal delay, edge-guarded inside `width`."
58012
58941
  },
58942
+ {
58943
+ "id": "controls.pointer.subscribeG9Drag",
58944
+ "export": "subscribeG9Drag",
58945
+ "from": "@g9tm/lynxcontrols/pointer",
58946
+ "kind": "function",
58947
+ "signature": "(listener: (state: G9DragState | null) => void): () => void",
58948
+ "summary": "Hears the page's drag: its start, every change of the target under it, and its end (`null`)."
58949
+ },
58013
58950
  {
58014
58951
  "id": "controls.swipe.swipeActionColors",
58015
58952
  "export": "swipeActionColors",
@@ -58426,6 +59363,14 @@
58426
59363
  "signature": "(name: keyof G9Capabilities): boolean",
58427
59364
  "summary": "Whether the app supplied the capability."
58428
59365
  },
59366
+ {
59367
+ "id": "controls.desktop.useG9CloseRequest",
59368
+ "export": "useG9CloseRequest",
59369
+ "from": "@g9tm/lynxcontrols/desktop",
59370
+ "kind": "hook",
59371
+ "signature": "(handler: G9CloseRequestHandler, options?: { readonly enabled?: boolean; }): void",
59372
+ "summary": "Takes part in the window's close requests while mounted (close to the tray, an unsaved-work question): answer `'cancel'` to keep the window. Nothing is registered on a host without a window."
59373
+ },
58429
59374
  {
58430
59375
  "id": "controls.base.useG9Control",
58431
59376
  "export": "useG9Control",
@@ -58506,6 +59451,30 @@
58506
59451
  "signature": "(): G9Direction",
58507
59452
  "summary": "The culture's layout direction; every G9 component root sets it explicitly (plan/specs/02 §2)."
58508
59453
  },
59454
+ {
59455
+ "id": "controls.pointer.useG9DragSource",
59456
+ "export": "useG9DragSource",
59457
+ "from": "@g9tm/lynxcontrols/pointer",
59458
+ "kind": "hook",
59459
+ "signature": "<T>(options: G9DragSourceOptions<T>): { readonly props: G9DragSourceProps; readonly dragging: boolean; }",
59460
+ "summary": "Makes an element a drag source: spread `props` on it; `dragging` is true while its drag runs."
59461
+ },
59462
+ {
59463
+ "id": "controls.pointer.useG9DragState",
59464
+ "export": "useG9DragState",
59465
+ "from": "@g9tm/lynxcontrols/pointer",
59466
+ "kind": "hook",
59467
+ "signature": "(): G9DragState | null",
59468
+ "summary": "The page's drag as React state: re-renders on its start, a change of the target under it, and its end."
59469
+ },
59470
+ {
59471
+ "id": "controls.pointer.useG9DropTarget",
59472
+ "export": "useG9DropTarget",
59473
+ "from": "@g9tm/lynxcontrols/pointer",
59474
+ "kind": "hook",
59475
+ "signature": "<T>(options: G9DropTargetOptions<T>): { readonly ref: (node: NodesRef | null) => void; readonly state: G9DropTargetState; }",
59476
+ "summary": "Makes an element a drop target: put `ref` on it; `state` lights it while a drag that it accepts runs."
59477
+ },
58509
59478
  {
58510
59479
  "id": "controls.edge-panel.useG9EdgePanels",
58511
59480
  "export": "useG9EdgePanels",
@@ -58778,6 +59747,14 @@
58778
59747
  "signature": "(options: G9ScrollerOptions): G9ScrollerHandle",
58779
59748
  "summary": "Registers a scroll container, so a scroll position can be named by the control in view (never pixels) and a control inside it can be brought into view — also a list row that is not mounted yet, by its item key. Anchors below `G9ScrollerScope` (or a list's rows named by `itemAnchor`) count as inside it."
58780
59749
  },
59750
+ {
59751
+ "id": "controls.pointer.useG9SecondaryAction",
59752
+ "export": "useG9SecondaryAction",
59753
+ "from": "@g9tm/lynxcontrols/pointer",
59754
+ "kind": "hook",
59755
+ "signature": "(onAction: (action: G9SecondaryAction) => void, options?: G9SecondaryActionOptions): G9SecondaryActionProps",
59756
+ "summary": "Gives an element its secondary action: spread the returned props on it (`<view {...props}>`). `onAction` hears the source and where to open (`G9Menu`'s `anchorRect`). The right button opens on press, as on every desktop; the primary button and a tap are left to the element."
59757
+ },
58781
59758
  {
58782
59759
  "id": "controls.provider.useG9Service",
58783
59760
  "export": "useG9Service",
@@ -58834,6 +59811,14 @@
58834
59811
  "signature": "(combo: string | readonly string[], action: (e: G9KeyEvent) => void, options?: { readonly enabled?: boolean; readonly platform?: \"other\" | \"mac\"; readonly inFields?: boolean; }): void",
58835
59812
  "summary": "Runs `action` on `combo` (`'Mod+K'`, `'Esc'`, `'?'`, or several). `platform: 'mac'` maps Mod to ⌘."
58836
59813
  },
59814
+ {
59815
+ "id": "controls.commands.useG9Shortcuts",
59816
+ "export": "useG9Shortcuts",
59817
+ "from": "@g9tm/lynxcontrols/commands",
59818
+ "kind": "hook",
59819
+ "signature": "(map: Readonly<Record<string, (e: G9KeyEvent) => void>>, options?: G9ShortcutsOptions): void",
59820
+ "summary": "A desktop app's shortcuts in one map (2.9.0, G9ProxyManager): `{ 'Mod+K': openPalette, 'Mod+1': goHome, 'Delete': removeSelected, 'Esc': clear, 'Mod+Alt+F': find }`. The first combo that matches runs and the key stops there. A key typed in a text field reaches only the combos listed in `inFields`."
59821
+ },
58837
59822
  {
58838
59823
  "id": "controls.provider.useG9Strings",
58839
59824
  "export": "useG9Strings",
@@ -58898,6 +59883,22 @@
58898
59883
  "signature": "(): G9WindowInfo",
58899
59884
  "summary": "The window size (MAUI `G9ScreenHelper`); re-renders on `onWindowResize`."
58900
59885
  },
59886
+ {
59887
+ "id": "controls.desktop.useG9WindowControl",
59888
+ "export": "useG9WindowControl",
59889
+ "from": "@g9tm/lynxcontrols/desktop",
59890
+ "kind": "hook",
59891
+ "signature": "(): G9WindowControl",
59892
+ "summary": "The app's window: the provider's `window` service, or an unavailable control (`available: false`)."
59893
+ },
59894
+ {
59895
+ "id": "controls.desktop.useG9WindowEvent",
59896
+ "export": "useG9WindowEvent",
59897
+ "from": "@g9tm/lynxcontrols/desktop",
59898
+ "kind": "hook",
59899
+ "signature": "(listener: (event: G9WindowEvent) => void, options?: { readonly enabled?: boolean; }): void",
59900
+ "summary": "Hears the window's events (`'focus'`, `'minimize'`, the main process's messages such as the tray's «show») while mounted. Nothing is subscribed on a host without a window (`available: false`)."
59901
+ },
58901
59902
  {
58902
59903
  "id": "controls.provider.useG9Word",
58903
59904
  "export": "useG9Word",