@g9tm/lynxcontrols 2.6.8 → 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 (57) hide show
  1. package/catalog/catalog.json +209 -15
  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/outlined-field.d.ts +14 -2
  9. package/dist/fields/outlined-field.d.ts.map +1 -1
  10. package/dist/fields/outlined-field.jsx +12 -6
  11. package/dist/fields/pin-entry.d.ts.map +1 -1
  12. package/dist/fields/pin-entry.jsx +4 -0
  13. package/dist/fields/use-text-input.d.ts.map +1 -1
  14. package/dist/fields/use-text-input.jsx +4 -0
  15. package/dist/layout/containers.d.ts.map +1 -1
  16. package/dist/layout/containers.jsx +6 -1
  17. package/dist/layout/layout.css +0 -5
  18. package/dist/layout/layout.css.map +1 -1
  19. package/dist/layout/scrollers.d.ts.map +1 -1
  20. package/dist/layout/scrollers.jsx +6 -2
  21. package/dist/list/list.css +6 -2
  22. package/dist/list/list.css.map +1 -1
  23. package/dist/list/rows.d.ts.map +1 -1
  24. package/dist/list/rows.jsx +10 -4
  25. package/dist/list/virtual-list.d.ts.map +1 -1
  26. package/dist/list/virtual-list.jsx +6 -3
  27. package/dist/pickers/wheel-column.d.ts.map +1 -1
  28. package/dist/pickers/wheel-column.jsx +17 -3
  29. package/dist/popover/popover.d.ts +4 -1
  30. package/dist/popover/popover.d.ts.map +1 -1
  31. package/dist/popover/popover.jsx +12 -2
  32. package/dist/provider/index.d.ts +2 -1
  33. package/dist/provider/index.d.ts.map +1 -1
  34. package/dist/provider/index.jsx +1 -0
  35. package/dist/provider/provider.d.ts.map +1 -1
  36. package/dist/provider/provider.jsx +12 -0
  37. package/dist/provider/settings.d.ts +9 -0
  38. package/dist/provider/settings.d.ts.map +1 -1
  39. package/dist/provider/settings.jsx +3 -2
  40. package/dist/provider/text-focus.d.ts +20 -0
  41. package/dist/provider/text-focus.d.ts.map +1 -0
  42. package/dist/provider/text-focus.jsx +33 -0
  43. package/dist/provider/theme.css +2 -0
  44. package/dist/provider/theme.css.map +1 -1
  45. package/dist/route/path-navigator.d.ts.map +1 -1
  46. package/dist/route/path-navigator.jsx +9 -3
  47. package/dist/selection/selection-sheet.d.ts.map +1 -1
  48. package/dist/selection/selection-sheet.jsx +2 -1
  49. package/dist/sheet/frame.d.ts.map +1 -1
  50. package/dist/sheet/frame.jsx +59 -35
  51. package/dist/sheet/sheet.css +9 -1
  52. package/dist/sheet/sheet.css.map +1 -1
  53. package/dist/toggle/checkbox.d.ts.map +1 -1
  54. package/dist/toggle/checkbox.jsx +6 -2
  55. package/dist/toggle/switch.d.ts.map +1 -1
  56. package/dist/toggle/switch.jsx +6 -3
  57. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.6.8",
4
+ "version": "2.6.10",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -6955,6 +6955,20 @@
6955
6955
  "role": "behaviour",
6956
6956
  "doc": "A × in the trailing slot clears the selection while there is one (MAUI `ClearButton`). Default true."
6957
6957
  },
6958
+ {
6959
+ "name": "counterOrder",
6960
+ "type": {
6961
+ "kind": "enum",
6962
+ "values": [
6963
+ "leftToRight",
6964
+ "reading"
6965
+ ]
6966
+ },
6967
+ "required": false,
6968
+ "serializable": true,
6969
+ "role": "behaviour",
6970
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
6971
+ },
6958
6972
  {
6959
6973
  "name": "defaultValue",
6960
6974
  "type": {
@@ -7386,7 +7400,7 @@
7386
7400
  "default": false,
7387
7401
  "serializable": true,
7388
7402
  "role": "behaviour",
7389
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
7403
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
7390
7404
  },
7391
7405
  {
7392
7406
  "name": "showFocusHalo",
@@ -9887,6 +9901,20 @@
9887
9901
  "role": "appearance",
9888
9902
  "doc": "Class of the root element."
9889
9903
  },
9904
+ {
9905
+ "name": "counterOrder",
9906
+ "type": {
9907
+ "kind": "enum",
9908
+ "values": [
9909
+ "leftToRight",
9910
+ "reading"
9911
+ ]
9912
+ },
9913
+ "required": false,
9914
+ "serializable": true,
9915
+ "role": "behaviour",
9916
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
9917
+ },
9890
9918
  {
9891
9919
  "name": "defaultValue",
9892
9920
  "type": {
@@ -10457,7 +10485,7 @@
10457
10485
  "default": false,
10458
10486
  "serializable": true,
10459
10487
  "role": "behaviour",
10460
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
10488
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
10461
10489
  },
10462
10490
  {
10463
10491
  "name": "showFocusHalo",
@@ -12808,6 +12836,20 @@
12808
12836
  "role": "appearance",
12809
12837
  "doc": "Class of the root element."
12810
12838
  },
12839
+ {
12840
+ "name": "counterOrder",
12841
+ "type": {
12842
+ "kind": "enum",
12843
+ "values": [
12844
+ "leftToRight",
12845
+ "reading"
12846
+ ]
12847
+ },
12848
+ "required": false,
12849
+ "serializable": true,
12850
+ "role": "behaviour",
12851
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
12852
+ },
12811
12853
  {
12812
12854
  "name": "customFont",
12813
12855
  "type": {
@@ -13385,7 +13427,7 @@
13385
13427
  "default": false,
13386
13428
  "serializable": true,
13387
13429
  "role": "behaviour",
13388
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
13430
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
13389
13431
  },
13390
13432
  {
13391
13433
  "name": "showFocusHalo",
@@ -13591,7 +13633,7 @@
13591
13633
  "labelRequired": false
13592
13634
  },
13593
13635
  "targets": {
13594
- "android": "unmeasured",
13636
+ "android": "pending",
13595
13637
  "ios": "unmeasured",
13596
13638
  "windows": "unmeasured",
13597
13639
  "macos": "unmeasured",
@@ -13601,7 +13643,8 @@
13601
13643
  "ledger": [
13602
13644
  "N-104",
13603
13645
  "N-135",
13604
- "N-159"
13646
+ "N-159",
13647
+ "N-162"
13605
13648
  ]
13606
13649
  },
13607
13650
  "tokens": [
@@ -19403,7 +19446,7 @@
19403
19446
  "required": false,
19404
19447
  "serializable": true,
19405
19448
  "role": "behaviour",
19406
- "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)."
19407
19450
  },
19408
19451
  {
19409
19452
  "name": "anchorNode",
@@ -22154,6 +22197,20 @@
22154
22197
  "role": "appearance",
22155
22198
  "doc": "Class of the root element."
22156
22199
  },
22200
+ {
22201
+ "name": "counterOrder",
22202
+ "type": {
22203
+ "kind": "enum",
22204
+ "values": [
22205
+ "leftToRight",
22206
+ "reading"
22207
+ ]
22208
+ },
22209
+ "required": false,
22210
+ "serializable": true,
22211
+ "role": "behaviour",
22212
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
22213
+ },
22157
22214
  {
22158
22215
  "name": "decimals",
22159
22216
  "type": {
@@ -22613,7 +22670,7 @@
22613
22670
  "default": false,
22614
22671
  "serializable": true,
22615
22672
  "role": "behaviour",
22616
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
22673
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
22617
22674
  },
22618
22675
  {
22619
22676
  "name": "showFocusHalo",
@@ -23315,6 +23372,20 @@
23315
23372
  "role": "appearance",
23316
23373
  "doc": "Class of the root element."
23317
23374
  },
23375
+ {
23376
+ "name": "counterOrder",
23377
+ "type": {
23378
+ "kind": "enum",
23379
+ "values": [
23380
+ "leftToRight",
23381
+ "reading"
23382
+ ]
23383
+ },
23384
+ "required": false,
23385
+ "serializable": true,
23386
+ "role": "behaviour",
23387
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
23388
+ },
23318
23389
  {
23319
23390
  "name": "disabled",
23320
23391
  "type": {
@@ -23745,7 +23816,7 @@
23745
23816
  "default": false,
23746
23817
  "serializable": true,
23747
23818
  "role": "behaviour",
23748
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
23819
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
23749
23820
  },
23750
23821
  {
23751
23822
  "name": "showFocusHalo",
@@ -26294,6 +26365,20 @@
26294
26365
  "role": "appearance",
26295
26366
  "doc": "Class of the root element."
26296
26367
  },
26368
+ {
26369
+ "name": "counterOrder",
26370
+ "type": {
26371
+ "kind": "enum",
26372
+ "values": [
26373
+ "leftToRight",
26374
+ "reading"
26375
+ ]
26376
+ },
26377
+ "required": false,
26378
+ "serializable": true,
26379
+ "role": "behaviour",
26380
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
26381
+ },
26297
26382
  {
26298
26383
  "name": "defaultValue",
26299
26384
  "type": {
@@ -26753,7 +26838,7 @@
26753
26838
  "default": false,
26754
26839
  "serializable": true,
26755
26840
  "role": "behaviour",
26756
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
26841
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
26757
26842
  },
26758
26843
  {
26759
26844
  "name": "showFocusHalo",
@@ -28006,7 +28091,7 @@
28006
28091
  "required": false,
28007
28092
  "serializable": true,
28008
28093
  "role": "behaviour",
28009
- "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)."
28010
28095
  },
28011
28096
  {
28012
28097
  "name": "anchorNode",
@@ -30074,6 +30159,15 @@
30074
30159
  "payload": "mode: G9SoftInputMode"
30075
30160
  },
30076
30161
  "serializable": false
30162
+ },
30163
+ {
30164
+ "name": "textFocus",
30165
+ "required": false,
30166
+ "type": {
30167
+ "kind": "event",
30168
+ "payload": "focused: boolean"
30169
+ },
30170
+ "serializable": false
30077
30171
  }
30078
30172
  ]
30079
30173
  },
@@ -30513,6 +30607,18 @@
30513
30607
  "kind": "boolean"
30514
30608
  },
30515
30609
  "serializable": true
30610
+ },
30611
+ {
30612
+ "name": "counterOrder",
30613
+ "required": false,
30614
+ "type": {
30615
+ "kind": "enum",
30616
+ "values": [
30617
+ "leftToRight",
30618
+ "reading"
30619
+ ]
30620
+ },
30621
+ "serializable": true
30516
30622
  }
30517
30623
  ]
30518
30624
  },
@@ -35626,6 +35732,20 @@
35626
35732
  "role": "behaviour",
35627
35733
  "doc": "Keyboard confirm key. Default `'done'`."
35628
35734
  },
35735
+ {
35736
+ "name": "counterOrder",
35737
+ "type": {
35738
+ "kind": "enum",
35739
+ "values": [
35740
+ "leftToRight",
35741
+ "reading"
35742
+ ]
35743
+ },
35744
+ "required": false,
35745
+ "serializable": true,
35746
+ "role": "behaviour",
35747
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
35748
+ },
35629
35749
  {
35630
35750
  "name": "customFont",
35631
35751
  "type": {
@@ -36248,7 +36368,7 @@
36248
36368
  "default": false,
36249
36369
  "serializable": true,
36250
36370
  "role": "behaviour",
36251
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
36371
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
36252
36372
  },
36253
36373
  {
36254
36374
  "name": "showFocusHalo",
@@ -43835,6 +43955,20 @@
43835
43955
  "role": "behaviour",
43836
43956
  "doc": "Keyboard confirm key. Default `'done'`."
43837
43957
  },
43958
+ {
43959
+ "name": "counterOrder",
43960
+ "type": {
43961
+ "kind": "enum",
43962
+ "values": [
43963
+ "leftToRight",
43964
+ "reading"
43965
+ ]
43966
+ },
43967
+ "required": false,
43968
+ "serializable": true,
43969
+ "role": "behaviour",
43970
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
43971
+ },
43838
43972
  {
43839
43973
  "name": "customFont",
43840
43974
  "type": {
@@ -44423,7 +44557,7 @@
44423
44557
  "default": false,
44424
44558
  "serializable": true,
44425
44559
  "role": "behaviour",
44426
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
44560
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
44427
44561
  },
44428
44562
  {
44429
44563
  "name": "showFocusHalo",
@@ -45521,6 +45655,20 @@
45521
45655
  "role": "appearance",
45522
45656
  "doc": "Class of the root element."
45523
45657
  },
45658
+ {
45659
+ "name": "counterOrder",
45660
+ "type": {
45661
+ "kind": "enum",
45662
+ "values": [
45663
+ "leftToRight",
45664
+ "reading"
45665
+ ]
45666
+ },
45667
+ "required": false,
45668
+ "serializable": true,
45669
+ "role": "behaviour",
45670
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
45671
+ },
45524
45672
  {
45525
45673
  "name": "defaultValue",
45526
45674
  "type": {
@@ -45896,7 +46044,7 @@
45896
46044
  "default": false,
45897
46045
  "serializable": true,
45898
46046
  "role": "behaviour",
45899
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
46047
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
45900
46048
  },
45901
46049
  {
45902
46050
  "name": "showFocusHalo",
@@ -46329,6 +46477,20 @@
46329
46477
  "role": "appearance",
46330
46478
  "doc": "Class of the root element."
46331
46479
  },
46480
+ {
46481
+ "name": "counterOrder",
46482
+ "type": {
46483
+ "kind": "enum",
46484
+ "values": [
46485
+ "leftToRight",
46486
+ "reading"
46487
+ ]
46488
+ },
46489
+ "required": false,
46490
+ "serializable": true,
46491
+ "role": "behaviour",
46492
+ "doc": "This field's counter order in a right-to-left culture; default the app's `settings.fields.counterOrder` (`'reading'`: «۴۰۰۰ / ۰»; `'leftToRight'`: «۰ / ۴۰۰۰»)."
46493
+ },
46332
46494
  {
46333
46495
  "name": "defaultValue",
46334
46496
  "type": {
@@ -46744,7 +46906,7 @@
46744
46906
  "default": false,
46745
46907
  "serializable": true,
46746
46908
  "role": "behaviour",
46747
- "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
46909
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`), in the culture's digits. Default false."
46748
46910
  },
46749
46911
  {
46750
46912
  "name": "showFocusHalo",
@@ -51916,6 +52078,14 @@
51916
52078
  "signature": "G9CountdownOptions",
51917
52079
  "summary": "Options of `createG9Countdown`."
51918
52080
  },
52081
+ {
52082
+ "id": "controls.provider.G9CounterOrder",
52083
+ "export": "G9CounterOrder",
52084
+ "from": "@g9tm/lynxcontrols/provider",
52085
+ "kind": "type",
52086
+ "signature": "G9CounterOrder",
52087
+ "summary": "The order of a right-to-left field's character counter (see `G9FieldSettings.counterOrder`)."
52088
+ },
51919
52089
  {
51920
52090
  "id": "controls.provider.G9CultureContextValue",
51921
52091
  "export": "G9CultureContextValue",
@@ -55868,6 +56038,14 @@
55868
56038
  "signature": "G9TextEntryProps",
55869
56039
  "summary": "Props of `G9TextEntry` (MAUI `G9TextEntry`)."
55870
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
+ },
55871
56049
  {
55872
56050
  "id": "controls.fields.G9TextInputHandle",
55873
56051
  "export": "G9TextInputHandle",
@@ -58260,6 +58438,22 @@
58260
58438
  "signature": "(): G9Strings",
58261
58439
  "summary": "The strings of the active culture (MAUI `G9Strings`). Re-renders when culture or string settings change."
58262
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
+ },
58263
58457
  {
58264
58458
  "id": "controls.provider.useG9Theme",
58265
58459
  "export": "useG9Theme",
package/catalog/index.md CHANGED
@@ -1,4 +1,4 @@
1
- # Catalog index: `@g9tm/lynxcontrols` 2.6.8
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