@g9tm/lynxcontrols 2.6.3 → 2.6.7

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.
@@ -8,10 +8,10 @@ Props:
8
8
  - `children?`: ReactNode
9
9
  - `size?`: number = 84
10
10
  - `side?`: 'left' | 'right' = "right"
11
+ - `onPlaced?`: (rect: G9OrbRect | null) => void
11
12
  - `onTap?`: () => void
12
13
  - `discSize?`: number = 60
13
14
  - `accessory?`: ReactNode
14
15
  - `hidden?`: boolean
15
- - `hold?`: object
16
16
 
17
17
  Example: `<G9FloatingOrb />`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.6.3",
4
+ "version": "2.6.7",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -4340,15 +4340,16 @@
4340
4340
  "labelRequired": false
4341
4341
  },
4342
4342
  "targets": {
4343
- "android": "unmeasured",
4344
- "ios": "unmeasured",
4343
+ "android": "pending",
4344
+ "ios": "pending",
4345
4345
  "windows": "unmeasured",
4346
4346
  "macos": "unmeasured",
4347
4347
  "web": "verified"
4348
4348
  },
4349
4349
  "evidence": {
4350
4350
  "ledger": [
4351
- "N-109"
4351
+ "N-109",
4352
+ "N-160"
4352
4353
  ]
4353
4354
  },
4354
4355
  "tokens": [],
@@ -14951,6 +14952,17 @@
14951
14952
  "role": "behaviour",
14952
14953
  "doc": "Gap to the screen edge at rest. Default 14."
14953
14954
  },
14955
+ {
14956
+ "name": "onPlaced",
14957
+ "type": {
14958
+ "kind": "event",
14959
+ "payload": "rect: G9OrbRect | null"
14960
+ },
14961
+ "required": false,
14962
+ "serializable": false,
14963
+ "role": "event",
14964
+ "doc": "Where the orb rests on screen — the part of its box inside the window, in dp — or null while hidden; called when that changes (a snap, a tuck, a resize). For a host whose native view under the orb takes touches itself (a map): without it a tap on the orb also tapped the map, and a slow drag long-pressed it (AgriPad, a Galaxy Tab A9)."
14965
+ },
14954
14966
  {
14955
14967
  "name": "onTap",
14956
14968
  "type": {
@@ -15025,10 +15037,10 @@
15025
15037
  "kind": "number"
15026
15038
  },
15027
15039
  "required": false,
15028
- "default": 12,
15040
+ "default": 20,
15029
15041
  "serializable": true,
15030
15042
  "role": "behaviour",
15031
- "doc": "How much of the disc a tucked orb leaves showing. Default 12."
15043
+ "doc": "How much of the DISC a tucked orb leaves showing, in dp (enough to see and tap). Default 20."
15032
15044
  },
15033
15045
  {
15034
15046
  "name": "untuckKey",
@@ -53486,7 +53498,7 @@
53486
53498
  "from": "@g9tm/lynxcontrols/orb",
53487
53499
  "kind": "function",
53488
53500
  "signature": "(place: G9OrbPlace, b: G9OrbBounds, visible: number): number",
53489
- "summary": "The box's left (dp) for a place at rest; a tucked orb leaves `visible` dp of its disc showing."
53501
+ "summary": "The box's left (dp) for a place at rest; a tucked orb leaves `visible` dp of its BOX showing (g9OrbTuckShowing)."
53490
53502
  },
53491
53503
  {
53492
53504
  "id": "controls.orb.G9OrbPlace",
@@ -53496,6 +53508,14 @@
53496
53508
  "signature": "G9OrbPlace",
53497
53509
  "summary": "Where an orb rests: its side, the top of its box (dp from the window top) and whether it is tucked into the edge."
53498
53510
  },
53511
+ {
53512
+ "id": "controls.orb.G9OrbRect",
53513
+ "export": "G9OrbRect",
53514
+ "from": "@g9tm/lynxcontrols/orb",
53515
+ "kind": "interface",
53516
+ "signature": "G9OrbRect",
53517
+ "summary": "A screen rectangle in dp (G9FloatingOrb `onPlaced`)."
53518
+ },
53499
53519
  {
53500
53520
  "id": "controls.orb.g9OrbRemember",
53501
53521
  "export": "g9OrbRemember",
@@ -53536,6 +53556,14 @@
53536
53556
  "signature": "0.35",
53537
53557
  "summary": "How far past its edge the box must be pushed to tuck, as a share of its size."
53538
53558
  },
53559
+ {
53560
+ "id": "controls.orb.g9OrbTuckShowing",
53561
+ "export": "g9OrbTuckShowing",
53562
+ "from": "@g9tm/lynxcontrols/orb",
53563
+ "kind": "function",
53564
+ "signature": "(size: number, disc: number, visible: number): number",
53565
+ "summary": "How much of the BOX a tucked orb keeps on screen so that `visible` dp of its DISC show: the disc sits centred in a larger box, and counting from the box left only its transparent margin — the orb vanished and nobody found it again (AgriPad TR-0100 / TR-0109: a sync orb and a tracking orb pushed past the edge of a Galaxy Tab A9)."
53566
+ },
53539
53567
  {
53540
53568
  "id": "controls.fields.G9OutlinedFieldFrameProps",
53541
53569
  "export": "G9OutlinedFieldFrameProps",
package/catalog/index.md CHANGED
@@ -1,4 +1,4 @@
1
- # Catalog index: `@g9tm/lynxcontrols` 2.6.3
1
+ # Catalog index: `@g9tm/lynxcontrols` 2.6.7
2
2
 
3
3
  One line per component; the card (`cards/<Export>.md`) has its props and an example.
4
4