@g9tm/lynxcontrols 2.5.9 → 2.5.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/cards/G9Anchor.md +1 -1
  2. package/catalog/cards/G9AppearancePage.md +2 -2
  3. package/catalog/cards/G9ContrastPanel.md +1 -0
  4. package/catalog/cards/G9DesignNode.md +1 -1
  5. package/catalog/cards/G9Keycap.md +1 -1
  6. package/catalog/cards/G9PersonalThemeSheet.md +3 -3
  7. package/catalog/cards/G9ShortcutList.md +1 -1
  8. package/catalog/cards/G9SwipeView.md +1 -1
  9. package/catalog/cards/G9ThemePreviewCard.md +1 -0
  10. package/catalog/cards/G9ThemeTokenEditor.md +17 -0
  11. package/catalog/cards/G9WallpaperSwatch.md +2 -1
  12. package/catalog/catalog.json +863 -81
  13. package/catalog/index.md +2 -1
  14. package/dist/.tsbuildinfo +1 -1
  15. package/dist/appearance/appearance.css +123 -0
  16. package/dist/appearance/appearance.css.map +1 -1
  17. package/dist/appearance/appearance.d.ts +46 -9
  18. package/dist/appearance/appearance.d.ts.map +1 -1
  19. package/dist/appearance/appearance.jsx +201 -31
  20. package/dist/appearance/index.d.ts +1 -0
  21. package/dist/appearance/index.d.ts.map +1 -1
  22. package/dist/appearance/index.jsx +1 -0
  23. package/dist/appearance/token-editor.d.ts +38 -0
  24. package/dist/appearance/token-editor.d.ts.map +1 -0
  25. package/dist/appearance/token-editor.jsx +170 -0
  26. package/dist/display/theme-preview.d.ts +2 -0
  27. package/dist/display/theme-preview.d.ts.map +1 -1
  28. package/dist/display/theme-preview.jsx +10 -4
  29. package/dist/provider/provider.d.ts.map +1 -1
  30. package/dist/provider/provider.jsx +3 -2
  31. package/dist/swipe/model.d.ts +7 -0
  32. package/dist/swipe/model.d.ts.map +1 -1
  33. package/dist/swipe/model.jsx +8 -1
  34. package/dist/swipe/swipe-view.d.ts +7 -0
  35. package/dist/swipe/swipe-view.d.ts.map +1 -1
  36. package/dist/swipe/swipe-view.jsx +34 -6
  37. package/package.json +2 -2
  38. package/skills/g9-lynx-app/SKILL.md +1 -0
  39. package/skills/g9-lynx-app/references/catalog-index.md +9 -5
  40. package/skills/g9-lynx-app/references/components/anchor.md +1 -1
  41. package/skills/g9-lynx-app/references/components/appearance.md +26 -6
  42. package/skills/g9-lynx-app/references/components/calendar-1.md +21 -37
  43. package/skills/g9-lynx-app/references/components/calendar-2.md +38 -1
  44. package/skills/g9-lynx-app/references/components/canvas.md +1 -1
  45. package/skills/g9-lynx-app/references/components/chat-1.md +58 -61
  46. package/skills/g9-lynx-app/references/components/chat-2.md +110 -34
  47. package/skills/g9-lynx-app/references/components/chat-3.md +50 -0
  48. package/skills/g9-lynx-app/references/components/commands.md +1 -1
  49. package/skills/g9-lynx-app/references/components/design.md +1 -1
  50. package/skills/g9-lynx-app/references/components/display-1.md +1 -1
  51. package/skills/g9-lynx-app/references/components/display-3.md +1 -0
  52. package/skills/g9-lynx-app/references/components/media-1.md +75 -77
  53. package/skills/g9-lynx-app/references/components/media-2.md +131 -3
  54. package/skills/g9-lynx-app/references/components/native-media.md +16 -0
  55. package/skills/g9-lynx-app/references/components/projects.md +91 -3
  56. package/skills/g9-lynx-app/references/components/swipe.md +1 -1
  57. package/skills/g9-lynx-app/references/hosting.md +83 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.5.9",
4
+ "version": "2.5.10",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -1171,12 +1171,12 @@
1171
1171
  "kind": "enum",
1172
1172
  "values": [
1173
1173
  "label",
1174
+ "chips",
1174
1175
  "image",
1175
1176
  "button",
1176
1177
  "entry",
1177
1178
  "toggle",
1178
1179
  "picker",
1179
- "chips",
1180
1180
  "tab",
1181
1181
  "tab-view",
1182
1182
  "list",
@@ -1725,6 +1725,17 @@
1725
1725
  "serializable": false,
1726
1726
  "role": "behaviour"
1727
1727
  },
1728
+ {
1729
+ "name": "extra",
1730
+ "type": {
1731
+ "kind": "slot",
1732
+ "accepts": "any"
1733
+ },
1734
+ "required": false,
1735
+ "serializable": false,
1736
+ "role": "slot",
1737
+ "doc": "The app's own sections after the page's (2.5.10: the reading-mode text size)."
1738
+ },
1728
1739
  {
1729
1740
  "name": "id",
1730
1741
  "type": {
@@ -1775,6 +1786,28 @@
1775
1786
  "role": "event",
1776
1787
  "doc": "An «edit» link on personal themes."
1777
1788
  },
1789
+ {
1790
+ "name": "onExportTheme",
1791
+ "type": {
1792
+ "kind": "event",
1793
+ "payload": "theme: G9ThemeDefinition"
1794
+ },
1795
+ "required": false,
1796
+ "serializable": false,
1797
+ "role": "event",
1798
+ "doc": "An «export this theme» link under the themes (2.5.10)."
1799
+ },
1800
+ {
1801
+ "name": "onImportTheme",
1802
+ "type": {
1803
+ "kind": "event",
1804
+ "payload": null
1805
+ },
1806
+ "required": false,
1807
+ "serializable": false,
1808
+ "role": "event",
1809
+ "doc": "An «import a theme» link under the themes (2.5.10; the app opens its file picker)."
1810
+ },
1778
1811
  {
1779
1812
  "name": "sections",
1780
1813
  "type": {
@@ -1783,19 +1816,21 @@
1783
1816
  "kind": "enum",
1784
1817
  "values": [
1785
1818
  "accent",
1819
+ "wallpaper",
1786
1820
  "effects",
1787
1821
  "mode",
1788
1822
  "density",
1789
1823
  "themes",
1790
- "wallpaper",
1791
- "fontScale"
1824
+ "fontScale",
1825
+ "preview",
1826
+ "follow"
1792
1827
  ]
1793
1828
  }
1794
1829
  },
1795
1830
  "required": false,
1796
1831
  "serializable": true,
1797
1832
  "role": "behaviour",
1798
- "doc": "The sections shown, in order (default all)."
1833
+ "doc": "The sections shown, in order (default all but `preview` and `follow`)."
1799
1834
  },
1800
1835
  {
1801
1836
  "name": "settings",
@@ -2003,6 +2038,15 @@
2003
2038
  "kind": "string"
2004
2039
  },
2005
2040
  "serializable": true
2041
+ },
2042
+ {
2043
+ "name": "appTokens",
2044
+ "required": false,
2045
+ "type": {
2046
+ "kind": "unknown",
2047
+ "text": "G9SchemeAppTokens"
2048
+ },
2049
+ "serializable": false
2006
2050
  }
2007
2051
  ]
2008
2052
  }
@@ -2017,41 +2061,23 @@
2017
2061
  "type": {
2018
2062
  "kind": "array",
2019
2063
  "items": {
2020
- "kind": "object",
2021
- "fields": [
2022
- {
2023
- "name": "id",
2024
- "required": true,
2025
- "type": {
2026
- "kind": "string"
2027
- },
2028
- "serializable": true
2029
- },
2064
+ "kind": "union",
2065
+ "of": [
2030
2066
  {
2031
- "name": "name",
2032
- "required": true,
2033
- "type": {
2034
- "kind": "object",
2035
- "name": "Readonly"
2036
- },
2037
- "serializable": false
2067
+ "kind": "unknown",
2068
+ "text": "G9Wallpaper"
2038
2069
  },
2039
2070
  {
2040
- "name": "paint",
2041
- "required": true,
2042
- "type": {
2043
- "kind": "event",
2044
- "payload": "palette: G9PaletteValues, scheme: G9ColorScheme",
2045
- "returns": "{ readonly color: string; readonly image?: string; }"
2046
- },
2047
- "serializable": false
2071
+ "kind": "unknown",
2072
+ "text": "G9CssWallpaper"
2048
2073
  }
2049
2074
  ]
2050
2075
  }
2051
2076
  },
2052
2077
  "required": false,
2053
2078
  "serializable": false,
2054
- "role": "behaviour"
2079
+ "role": "behaviour",
2080
+ "doc": "The wallpapers (CSS wallpapers too, 2.5.10)."
2055
2081
  },
2056
2082
  {
2057
2083
  "name": "words",
@@ -2196,6 +2222,46 @@
2196
2222
  "kind": "string"
2197
2223
  },
2198
2224
  "serializable": true
2225
+ },
2226
+ {
2227
+ "name": "followDevice",
2228
+ "required": false,
2229
+ "type": {
2230
+ "kind": "string"
2231
+ },
2232
+ "serializable": true
2233
+ },
2234
+ {
2235
+ "name": "followHint",
2236
+ "required": false,
2237
+ "type": {
2238
+ "kind": "string"
2239
+ },
2240
+ "serializable": true
2241
+ },
2242
+ {
2243
+ "name": "importTheme",
2244
+ "required": false,
2245
+ "type": {
2246
+ "kind": "string"
2247
+ },
2248
+ "serializable": true
2249
+ },
2250
+ {
2251
+ "name": "exportTheme",
2252
+ "required": false,
2253
+ "type": {
2254
+ "kind": "string"
2255
+ },
2256
+ "serializable": true
2257
+ },
2258
+ {
2259
+ "name": "current",
2260
+ "required": false,
2261
+ "type": {
2262
+ "kind": "string"
2263
+ },
2264
+ "serializable": true
2199
2265
  }
2200
2266
  ]
2201
2267
  },
@@ -6679,12 +6745,12 @@
6679
6745
  "kind": "enum",
6680
6746
  "values": [
6681
6747
  "label",
6748
+ "chips",
6682
6749
  "image",
6683
6750
  "button",
6684
6751
  "entry",
6685
6752
  "toggle",
6686
6753
  "picker",
6687
- "chips",
6688
6754
  "tab",
6689
6755
  "tab-view",
6690
6756
  "list",
@@ -7777,8 +7843,8 @@
7777
7843
  "type": {
7778
7844
  "kind": "enum",
7779
7845
  "values": [
7780
- "mac",
7781
- "other"
7846
+ "other",
7847
+ "mac"
7782
7848
  ]
7783
7849
  },
7784
7850
  "required": false,
@@ -8473,6 +8539,19 @@
8473
8539
  "summary": "A palette's contrast report: a sample, the ratio, AA / AAA and a fix for each failing pair.",
8474
8540
  "since": null,
8475
8541
  "props": [
8542
+ {
8543
+ "name": "appTokens",
8544
+ "type": {
8545
+ "kind": "object",
8546
+ "map": {
8547
+ "kind": "string"
8548
+ }
8549
+ },
8550
+ "required": false,
8551
+ "serializable": true,
8552
+ "role": "behaviour",
8553
+ "doc": "A token theme's app tokens (2.5.10): its bubbles are checked too (my text on my bubble — a gradient's first colour — and the other side's), and a fix names the token (`bubble-mine-text`)."
8554
+ },
8476
8555
  {
8477
8556
  "name": "id",
8478
8557
  "type": {
@@ -9594,12 +9673,12 @@
9594
9673
  "kind": "enum",
9595
9674
  "values": [
9596
9675
  "label",
9676
+ "chips",
9597
9677
  "image",
9598
9678
  "button",
9599
9679
  "entry",
9600
9680
  "toggle",
9601
9681
  "picker",
9602
- "chips",
9603
9682
  "tab",
9604
9683
  "tab-view",
9605
9684
  "list",
@@ -11424,12 +11503,12 @@
11424
11503
  "kind": "enum",
11425
11504
  "values": [
11426
11505
  "label",
11506
+ "chips",
11427
11507
  "image",
11428
11508
  "button",
11429
11509
  "entry",
11430
11510
  "toggle",
11431
11511
  "picker",
11432
- "chips",
11433
11512
  "tab",
11434
11513
  "tab-view",
11435
11514
  "list",
@@ -12505,12 +12584,12 @@
12505
12584
  "kind": "enum",
12506
12585
  "values": [
12507
12586
  "label",
12587
+ "chips",
12508
12588
  "image",
12509
12589
  "button",
12510
12590
  "entry",
12511
12591
  "toggle",
12512
12592
  "picker",
12513
- "chips",
12514
12593
  "tab",
12515
12594
  "tab-view",
12516
12595
  "list",
@@ -17749,8 +17828,8 @@
17749
17828
  "type": {
17750
17829
  "kind": "enum",
17751
17830
  "values": [
17752
- "mac",
17753
- "other"
17831
+ "other",
17832
+ "mac"
17754
17833
  ]
17755
17834
  },
17756
17835
  "required": false,
@@ -23003,12 +23082,12 @@
23003
23082
  "kind": "enum",
23004
23083
  "values": [
23005
23084
  "label",
23085
+ "chips",
23006
23086
  "image",
23007
23087
  "button",
23008
23088
  "entry",
23009
23089
  "toggle",
23010
23090
  "picker",
23011
- "chips",
23012
23091
  "tab",
23013
23092
  "tab-view",
23014
23093
  "list",
@@ -24977,14 +25056,23 @@
24977
25056
  "kind": "string"
24978
25057
  },
24979
25058
  "serializable": true
25059
+ },
25060
+ {
25061
+ "name": "appTokens",
25062
+ "required": false,
25063
+ "type": {
25064
+ "kind": "unknown",
25065
+ "text": "G9SchemeAppTokens"
25066
+ },
25067
+ "serializable": false
24980
25068
  }
24981
25069
  ]
24982
25070
  }
24983
25071
  },
24984
- "required": true,
25072
+ "required": false,
24985
25073
  "serializable": false,
24986
25074
  "role": "behaviour",
24987
- "doc": "The themes it can start from."
25075
+ "doc": "The themes it can start from (with `tokens`, its built-in token themes instead)."
24988
25076
  },
24989
25077
  {
24990
25078
  "name": "draft",
@@ -25107,6 +25195,15 @@
25107
25195
  "kind": "string"
25108
25196
  },
25109
25197
  "serializable": true
25198
+ },
25199
+ {
25200
+ "name": "appTokens",
25201
+ "required": false,
25202
+ "type": {
25203
+ "kind": "unknown",
25204
+ "text": "G9SchemeAppTokens"
25205
+ },
25206
+ "serializable": false
25110
25207
  }
25111
25208
  ]
25112
25209
  },
@@ -25216,7 +25313,7 @@
25216
25313
  "kind": "event",
25217
25314
  "payload": "theme: G9ThemeDefinition, draft: G9PersonalThemeDraft"
25218
25315
  },
25219
- "required": true,
25316
+ "required": false,
25220
25317
  "serializable": false,
25221
25318
  "role": "event",
25222
25319
  "doc": "The theme built (and its draft, to edit it again)."
@@ -25240,6 +25337,164 @@
25240
25337
  "serializable": false,
25241
25338
  "role": "behaviour"
25242
25339
  },
25340
+ {
25341
+ "name": "tokens",
25342
+ "type": {
25343
+ "kind": "object",
25344
+ "fields": [
25345
+ {
25346
+ "name": "builtins",
25347
+ "required": true,
25348
+ "type": {
25349
+ "kind": "array",
25350
+ "items": {
25351
+ "kind": "unknown",
25352
+ "text": "G9TokenTheme"
25353
+ }
25354
+ },
25355
+ "serializable": false
25356
+ },
25357
+ {
25358
+ "name": "draft",
25359
+ "required": false,
25360
+ "type": {
25361
+ "kind": "object",
25362
+ "fields": [
25363
+ {
25364
+ "name": "id",
25365
+ "required": true,
25366
+ "type": {
25367
+ "kind": "string"
25368
+ },
25369
+ "serializable": true
25370
+ },
25371
+ {
25372
+ "name": "name",
25373
+ "required": true,
25374
+ "type": {
25375
+ "kind": "string"
25376
+ },
25377
+ "serializable": true
25378
+ },
25379
+ {
25380
+ "name": "base",
25381
+ "required": true,
25382
+ "type": {
25383
+ "kind": "string"
25384
+ },
25385
+ "serializable": true
25386
+ },
25387
+ {
25388
+ "name": "accent",
25389
+ "required": true,
25390
+ "type": {
25391
+ "kind": "string"
25392
+ },
25393
+ "serializable": true
25394
+ },
25395
+ {
25396
+ "name": "surfaces",
25397
+ "required": true,
25398
+ "type": {
25399
+ "kind": "enum",
25400
+ "values": [
25401
+ "neutral",
25402
+ "cool",
25403
+ "warm",
25404
+ "tinted"
25405
+ ]
25406
+ },
25407
+ "serializable": true
25408
+ },
25409
+ {
25410
+ "name": "wallpaper",
25411
+ "required": true,
25412
+ "type": {
25413
+ "kind": "string"
25414
+ },
25415
+ "serializable": true
25416
+ }
25417
+ ]
25418
+ },
25419
+ "serializable": true
25420
+ },
25421
+ {
25422
+ "name": "wallpapers",
25423
+ "required": false,
25424
+ "type": {
25425
+ "kind": "array",
25426
+ "items": {
25427
+ "kind": "unknown",
25428
+ "text": "G9CssWallpaper"
25429
+ }
25430
+ },
25431
+ "serializable": false
25432
+ },
25433
+ {
25434
+ "name": "options",
25435
+ "required": false,
25436
+ "type": {
25437
+ "kind": "object",
25438
+ "fields": [
25439
+ {
25440
+ "name": "defaults",
25441
+ "required": false,
25442
+ "type": {
25443
+ "kind": "object",
25444
+ "name": "Readonly"
25445
+ },
25446
+ "serializable": false
25447
+ },
25448
+ {
25449
+ "name": "base",
25450
+ "required": false,
25451
+ "type": {
25452
+ "kind": "object",
25453
+ "name": "Readonly"
25454
+ },
25455
+ "serializable": false
25456
+ },
25457
+ {
25458
+ "name": "source",
25459
+ "required": false,
25460
+ "type": {
25461
+ "kind": "enum",
25462
+ "values": [
25463
+ "builtin",
25464
+ "org",
25465
+ "personal"
25466
+ ]
25467
+ },
25468
+ "serializable": true
25469
+ },
25470
+ {
25471
+ "name": "recipe",
25472
+ "required": false,
25473
+ "type": {
25474
+ "kind": "string"
25475
+ },
25476
+ "serializable": true
25477
+ }
25478
+ ]
25479
+ },
25480
+ "serializable": false
25481
+ },
25482
+ {
25483
+ "name": "onSave",
25484
+ "required": true,
25485
+ "type": {
25486
+ "kind": "event",
25487
+ "payload": "theme: G9TokenTheme, draft: G9TokenPersonalDraft"
25488
+ },
25489
+ "serializable": false
25490
+ }
25491
+ ]
25492
+ },
25493
+ "required": false,
25494
+ "serializable": false,
25495
+ "role": "behaviour",
25496
+ "doc": "G9Hub's personal themes (2.5.10): token builtins as the bases, the draft as G9Hub stores it (`base` an id, no scheme), CSS wallpapers; Save hands back the token theme and that draft. The scheme follows the base."
25497
+ },
25243
25498
  {
25244
25499
  "name": "wallpapers",
25245
25500
  "type": {
@@ -25525,7 +25780,7 @@
25525
25780
  "Warning"
25526
25781
  ],
25527
25782
  "example": {
25528
- "line": "<G9PersonalThemeSheet bases={bases} onClose={() => {}} onSave={() => {}} open />",
25783
+ "line": "<G9PersonalThemeSheet onClose={() => {}} open />",
25529
25784
  "from": "generated"
25530
25785
  }
25531
25786
  },
@@ -25807,12 +26062,12 @@
25807
26062
  "kind": "enum",
25808
26063
  "values": [
25809
26064
  "label",
26065
+ "chips",
25810
26066
  "image",
25811
26067
  "button",
25812
26068
  "entry",
25813
26069
  "toggle",
25814
26070
  "picker",
25815
- "chips",
25816
26071
  "tab",
25817
26072
  "tab-view",
25818
26073
  "list",
@@ -26025,8 +26280,8 @@
26025
26280
  "kind": "enum",
26026
26281
  "values": [
26027
26282
  "auto",
26028
- "never",
26029
- "always"
26283
+ "always",
26284
+ "never"
26030
26285
  ]
26031
26286
  },
26032
26287
  "required": false,
@@ -31184,6 +31439,15 @@
31184
31439
  },
31185
31440
  "serializable": false
31186
31441
  },
31442
+ {
31443
+ "name": "setAppTokens",
31444
+ "required": false,
31445
+ "type": {
31446
+ "kind": "event",
31447
+ "payload": "tokens: G9SchemeAppTokens | undefined"
31448
+ },
31449
+ "serializable": false
31450
+ },
31187
31451
  {
31188
31452
  "name": "setHour",
31189
31453
  "required": true,
@@ -35085,12 +35349,12 @@
35085
35349
  "kind": "enum",
35086
35350
  "values": [
35087
35351
  "label",
35352
+ "chips",
35088
35353
  "image",
35089
35354
  "button",
35090
35355
  "entry",
35091
35356
  "toggle",
35092
35357
  "picker",
35093
- "chips",
35094
35358
  "tab",
35095
35359
  "tab-view",
35096
35360
  "list",
@@ -38558,8 +38822,8 @@
38558
38822
  "type": {
38559
38823
  "kind": "enum",
38560
38824
  "values": [
38561
- "mac",
38562
- "other"
38825
+ "other",
38826
+ "mac"
38563
38827
  ]
38564
38828
  },
38565
38829
  "required": false,
@@ -38727,8 +38991,8 @@
38727
38991
  "type": {
38728
38992
  "kind": "enum",
38729
38993
  "values": [
38730
- "mac",
38731
- "other"
38994
+ "other",
38995
+ "mac"
38732
38996
  ]
38733
38997
  },
38734
38998
  "required": false,
@@ -40868,6 +41132,28 @@
40868
41132
  "role": "appearance",
40869
41133
  "doc": "Outer card radius; the panes are clipped to it. Default 14."
40870
41134
  },
41135
+ {
41136
+ "name": "enabled",
41137
+ "type": {
41138
+ "kind": "boolean"
41139
+ },
41140
+ "required": false,
41141
+ "default": true,
41142
+ "serializable": true,
41143
+ "role": "behaviour",
41144
+ "doc": "The row can be swiped (2.5.10). Default true; false keeps it closed (a mouse host, a row being edited)."
41145
+ },
41146
+ {
41147
+ "name": "fullSwipe",
41148
+ "type": {
41149
+ "kind": "boolean"
41150
+ },
41151
+ "required": false,
41152
+ "default": false,
41153
+ "serializable": true,
41154
+ "role": "behaviour",
41155
+ "doc": "A full swipe runs the outer action (2.5.10, G9Hub): past 60 % of the row's width the edge action of that side runs at once (a haptic when the drag crosses the line), as a tap on it would. Default false."
41156
+ },
40871
41157
  {
40872
41158
  "name": "itemKey",
40873
41159
  "type": {
@@ -43262,12 +43548,12 @@
43262
43548
  "kind": "enum",
43263
43549
  "values": [
43264
43550
  "label",
43551
+ "chips",
43265
43552
  "image",
43266
43553
  "button",
43267
43554
  "entry",
43268
43555
  "toggle",
43269
43556
  "picker",
43270
- "chips",
43271
43557
  "tab",
43272
43558
  "tab-view",
43273
43559
  "list",
@@ -44478,6 +44764,15 @@
44478
44764
  "name": "G9PaletteValues"
44479
44765
  },
44480
44766
  "serializable": false
44767
+ },
44768
+ {
44769
+ "name": "appTokens",
44770
+ "required": false,
44771
+ "type": {
44772
+ "kind": "object",
44773
+ "name": "Readonly"
44774
+ },
44775
+ "serializable": false
44481
44776
  }
44482
44777
  ]
44483
44778
  },
@@ -44485,6 +44780,17 @@
44485
44780
  "serializable": false,
44486
44781
  "role": "behaviour",
44487
44782
  "doc": "The theme to show (`resolveTheme(...)`, a theme store's snapshot, a draft in an editor)."
44783
+ },
44784
+ {
44785
+ "name": "trailing",
44786
+ "type": {
44787
+ "kind": "slot",
44788
+ "accepts": "any"
44789
+ },
44790
+ "required": false,
44791
+ "serializable": false,
44792
+ "role": "slot",
44793
+ "doc": "Beside the name in the foot (2.5.10: a themes page's «default» tag or its menu button)."
44488
44794
  }
44489
44795
  ],
44490
44796
  "anchor": {
@@ -44527,6 +44833,416 @@
44527
44833
  "from": "generated"
44528
44834
  }
44529
44835
  },
44836
+ {
44837
+ "id": "controls.appearance.G9ThemeTokenEditor",
44838
+ "export": "G9ThemeTokenEditor",
44839
+ "from": "@g9tm/lynxcontrols/appearance",
44840
+ "kind": "component",
44841
+ "family": "appearance",
44842
+ "summary": "The organisation theme editor: name, scheme, a row per token, a live preview and its contrast.",
44843
+ "since": null,
44844
+ "props": [
44845
+ {
44846
+ "name": "id",
44847
+ "type": {
44848
+ "kind": "string"
44849
+ },
44850
+ "required": false,
44851
+ "serializable": true,
44852
+ "role": "identity"
44853
+ },
44854
+ {
44855
+ "name": "inherited",
44856
+ "type": {
44857
+ "kind": "object",
44858
+ "fields": [
44859
+ {
44860
+ "name": "light",
44861
+ "required": false,
44862
+ "type": {
44863
+ "kind": "unknown"
44864
+ },
44865
+ "serializable": false
44866
+ },
44867
+ {
44868
+ "name": "dark",
44869
+ "required": false,
44870
+ "type": {
44871
+ "kind": "unknown"
44872
+ },
44873
+ "serializable": false
44874
+ }
44875
+ ]
44876
+ },
44877
+ "required": false,
44878
+ "serializable": false,
44879
+ "role": "behaviour",
44880
+ "doc": "What each scheme inherits (G9Hub SCHEME_DEFAULTS): the fields' placeholders and the preview's fallbacks."
44881
+ },
44882
+ {
44883
+ "name": "language",
44884
+ "type": {
44885
+ "kind": "string"
44886
+ },
44887
+ "required": false,
44888
+ "serializable": true,
44889
+ "role": "behaviour"
44890
+ },
44891
+ {
44892
+ "name": "listHeight",
44893
+ "type": {
44894
+ "kind": "number"
44895
+ },
44896
+ "required": false,
44897
+ "default": 480,
44898
+ "serializable": true,
44899
+ "role": "appearance",
44900
+ "doc": "The token list's height (dp). Default 480."
44901
+ },
44902
+ {
44903
+ "name": "onChange",
44904
+ "type": {
44905
+ "kind": "event",
44906
+ "payload": "theme: G9TokenTheme"
44907
+ },
44908
+ "required": true,
44909
+ "serializable": false,
44910
+ "role": "event"
44911
+ },
44912
+ {
44913
+ "name": "options",
44914
+ "type": {
44915
+ "kind": "object",
44916
+ "fields": [
44917
+ {
44918
+ "name": "defaults",
44919
+ "required": false,
44920
+ "type": {
44921
+ "kind": "object",
44922
+ "name": "Readonly"
44923
+ },
44924
+ "serializable": false
44925
+ },
44926
+ {
44927
+ "name": "base",
44928
+ "required": false,
44929
+ "type": {
44930
+ "kind": "object",
44931
+ "name": "Readonly"
44932
+ },
44933
+ "serializable": false
44934
+ },
44935
+ {
44936
+ "name": "source",
44937
+ "required": false,
44938
+ "type": {
44939
+ "kind": "enum",
44940
+ "values": [
44941
+ "builtin",
44942
+ "org",
44943
+ "personal"
44944
+ ]
44945
+ },
44946
+ "serializable": true
44947
+ },
44948
+ {
44949
+ "name": "recipe",
44950
+ "required": false,
44951
+ "type": {
44952
+ "kind": "string"
44953
+ },
44954
+ "serializable": true
44955
+ }
44956
+ ]
44957
+ },
44958
+ "required": false,
44959
+ "serializable": false,
44960
+ "role": "behaviour",
44961
+ "doc": "How the preview reads the theme (base shape and motion, the recipe)."
44962
+ },
44963
+ {
44964
+ "name": "value",
44965
+ "type": {
44966
+ "kind": "object",
44967
+ "fields": [
44968
+ {
44969
+ "name": "id",
44970
+ "required": true,
44971
+ "type": {
44972
+ "kind": "string"
44973
+ },
44974
+ "serializable": true
44975
+ },
44976
+ {
44977
+ "name": "name",
44978
+ "required": true,
44979
+ "type": {
44980
+ "kind": "union",
44981
+ "of": [
44982
+ {
44983
+ "kind": "string"
44984
+ },
44985
+ {
44986
+ "kind": "object",
44987
+ "name": "Readonly"
44988
+ }
44989
+ ]
44990
+ },
44991
+ "serializable": false
44992
+ },
44993
+ {
44994
+ "name": "scheme",
44995
+ "required": true,
44996
+ "type": {
44997
+ "kind": "enum",
44998
+ "values": [
44999
+ "light",
45000
+ "dark"
45001
+ ]
45002
+ },
45003
+ "serializable": true
45004
+ },
45005
+ {
45006
+ "name": "tokens",
45007
+ "required": true,
45008
+ "type": {
45009
+ "kind": "object",
45010
+ "name": "Readonly"
45011
+ },
45012
+ "serializable": false
45013
+ },
45014
+ {
45015
+ "name": "builtIn",
45016
+ "required": false,
45017
+ "type": {
45018
+ "kind": "boolean"
45019
+ },
45020
+ "serializable": true
45021
+ },
45022
+ {
45023
+ "name": "personal",
45024
+ "required": false,
45025
+ "type": {
45026
+ "kind": "boolean"
45027
+ },
45028
+ "serializable": true
45029
+ },
45030
+ {
45031
+ "name": "updatedUtc",
45032
+ "required": false,
45033
+ "type": {
45034
+ "kind": "string"
45035
+ },
45036
+ "serializable": true
45037
+ }
45038
+ ]
45039
+ },
45040
+ "required": true,
45041
+ "serializable": false,
45042
+ "role": "state",
45043
+ "doc": "The theme being edited (its tokens list only what it changes)."
45044
+ },
45045
+ {
45046
+ "name": "virtual",
45047
+ "type": {
45048
+ "kind": "boolean"
45049
+ },
45050
+ "required": false,
45051
+ "serializable": true,
45052
+ "role": "behaviour",
45053
+ "doc": "A virtual list (default true); false draws every row in a scroll view (a short «changed only» list)."
45054
+ },
45055
+ {
45056
+ "name": "words",
45057
+ "type": {
45058
+ "kind": "object",
45059
+ "fields": [
45060
+ {
45061
+ "name": "name",
45062
+ "required": false,
45063
+ "type": {
45064
+ "kind": "string"
45065
+ },
45066
+ "serializable": true
45067
+ },
45068
+ {
45069
+ "name": "scheme",
45070
+ "required": false,
45071
+ "type": {
45072
+ "kind": "string"
45073
+ },
45074
+ "serializable": true
45075
+ },
45076
+ {
45077
+ "name": "light",
45078
+ "required": false,
45079
+ "type": {
45080
+ "kind": "string"
45081
+ },
45082
+ "serializable": true
45083
+ },
45084
+ {
45085
+ "name": "dark",
45086
+ "required": false,
45087
+ "type": {
45088
+ "kind": "string"
45089
+ },
45090
+ "serializable": true
45091
+ },
45092
+ {
45093
+ "name": "changedOnly",
45094
+ "required": false,
45095
+ "type": {
45096
+ "kind": "string"
45097
+ },
45098
+ "serializable": true
45099
+ },
45100
+ {
45101
+ "name": "reset",
45102
+ "required": false,
45103
+ "type": {
45104
+ "kind": "string"
45105
+ },
45106
+ "serializable": true
45107
+ },
45108
+ {
45109
+ "name": "invalid",
45110
+ "required": false,
45111
+ "type": {
45112
+ "kind": "string"
45113
+ },
45114
+ "serializable": true
45115
+ },
45116
+ {
45117
+ "name": "preview",
45118
+ "required": false,
45119
+ "type": {
45120
+ "kind": "string"
45121
+ },
45122
+ "serializable": true
45123
+ },
45124
+ {
45125
+ "name": "groups",
45126
+ "required": false,
45127
+ "type": {
45128
+ "kind": "object",
45129
+ "name": "Readonly"
45130
+ },
45131
+ "serializable": false
45132
+ },
45133
+ {
45134
+ "name": "contrast",
45135
+ "required": false,
45136
+ "type": {
45137
+ "kind": "object",
45138
+ "fields": [
45139
+ {
45140
+ "name": "title",
45141
+ "required": false,
45142
+ "type": {
45143
+ "kind": "string"
45144
+ },
45145
+ "serializable": true
45146
+ },
45147
+ {
45148
+ "name": "allPass",
45149
+ "required": false,
45150
+ "type": {
45151
+ "kind": "string"
45152
+ },
45153
+ "serializable": true
45154
+ },
45155
+ {
45156
+ "name": "failing",
45157
+ "required": false,
45158
+ "type": {
45159
+ "kind": "event",
45160
+ "payload": "count: number",
45161
+ "returns": "string"
45162
+ },
45163
+ "serializable": false
45164
+ },
45165
+ {
45166
+ "name": "ratio",
45167
+ "required": false,
45168
+ "type": {
45169
+ "kind": "event",
45170
+ "payload": "ratio: string",
45171
+ "returns": "string"
45172
+ },
45173
+ "serializable": false
45174
+ },
45175
+ {
45176
+ "name": "fix",
45177
+ "required": false,
45178
+ "type": {
45179
+ "kind": "string"
45180
+ },
45181
+ "serializable": true
45182
+ },
45183
+ {
45184
+ "name": "unknown",
45185
+ "required": false,
45186
+ "type": {
45187
+ "kind": "string"
45188
+ },
45189
+ "serializable": true
45190
+ },
45191
+ {
45192
+ "name": "pair",
45193
+ "required": false,
45194
+ "type": {
45195
+ "kind": "event",
45196
+ "payload": "foreground: string, background: string",
45197
+ "returns": "string"
45198
+ },
45199
+ "serializable": false
45200
+ }
45201
+ ]
45202
+ },
45203
+ "serializable": false
45204
+ }
45205
+ ]
45206
+ },
45207
+ "required": false,
45208
+ "serializable": false,
45209
+ "role": "behaviour"
45210
+ }
45211
+ ],
45212
+ "anchor": null,
45213
+ "accessibility": {
45214
+ "labelFrom": [],
45215
+ "labelRequired": false
45216
+ },
45217
+ "targets": {
45218
+ "android": "unmeasured",
45219
+ "ios": "unmeasured",
45220
+ "windows": "unmeasured",
45221
+ "macos": "unmeasured",
45222
+ "web": "unmeasured"
45223
+ },
45224
+ "evidence": {
45225
+ "ledger": []
45226
+ },
45227
+ "tokens": [
45228
+ "Divider",
45229
+ "ErrorContainer",
45230
+ "OutlineVariant",
45231
+ "Primary",
45232
+ "Success",
45233
+ "SuccessContainer",
45234
+ "SurfaceContainer",
45235
+ "SurfaceContainerHigh",
45236
+ "TextPrimary",
45237
+ "TextSecondary",
45238
+ "TextTertiary",
45239
+ "Warning"
45240
+ ],
45241
+ "example": {
45242
+ "line": "<G9ThemeTokenEditor onChange={() => {}} value={value} />",
45243
+ "from": "generated"
45244
+ }
45245
+ },
44530
45246
  {
44531
45247
  "id": "controls.fields.G9TimeEntry",
44532
45248
  "export": "G9TimeEntry",
@@ -45209,12 +45925,12 @@
45209
45925
  "kind": "enum",
45210
45926
  "values": [
45211
45927
  "label",
45928
+ "chips",
45212
45929
  "image",
45213
45930
  "button",
45214
45931
  "entry",
45215
45932
  "toggle",
45216
45933
  "picker",
45217
- "chips",
45218
45934
  "tab",
45219
45935
  "tab-view",
45220
45936
  "list",
@@ -47404,43 +48120,93 @@
47404
48120
  "role": "state"
47405
48121
  },
47406
48122
  {
47407
- "name": "wallpaper",
48123
+ "name": "tokens",
47408
48124
  "type": {
47409
48125
  "kind": "object",
47410
- "fields": [
47411
- {
47412
- "name": "id",
47413
- "required": true,
47414
- "type": {
47415
- "kind": "string"
47416
- },
47417
- "serializable": true
47418
- },
48126
+ "map": {
48127
+ "kind": "string"
48128
+ }
48129
+ },
48130
+ "required": false,
48131
+ "serializable": true,
48132
+ "role": "behaviour",
48133
+ "doc": "The tokens a CSS wallpaper's `var(--g9-…)` read (a token theme's app tokens; default from the palette)."
48134
+ },
48135
+ {
48136
+ "name": "wallpaper",
48137
+ "type": {
48138
+ "kind": "union",
48139
+ "of": [
47419
48140
  {
47420
- "name": "name",
47421
- "required": true,
47422
- "type": {
47423
- "kind": "object",
47424
- "name": "Readonly"
47425
- },
47426
- "serializable": false
48141
+ "kind": "object",
48142
+ "fields": [
48143
+ {
48144
+ "name": "id",
48145
+ "required": true,
48146
+ "type": {
48147
+ "kind": "string"
48148
+ },
48149
+ "serializable": true
48150
+ },
48151
+ {
48152
+ "name": "name",
48153
+ "required": true,
48154
+ "type": {
48155
+ "kind": "object",
48156
+ "name": "Readonly"
48157
+ },
48158
+ "serializable": false
48159
+ },
48160
+ {
48161
+ "name": "paint",
48162
+ "required": true,
48163
+ "type": {
48164
+ "kind": "event",
48165
+ "payload": "palette: G9PaletteValues, scheme: G9ColorScheme",
48166
+ "returns": "{ readonly color: string; readonly image?: string; }"
48167
+ },
48168
+ "serializable": false
48169
+ }
48170
+ ]
47427
48171
  },
47428
48172
  {
47429
- "name": "paint",
47430
- "required": true,
47431
- "type": {
47432
- "kind": "event",
47433
- "payload": "palette: G9PaletteValues, scheme: G9ColorScheme",
47434
- "returns": "{ readonly color: string; readonly image?: string; }"
47435
- },
47436
- "serializable": false
48173
+ "kind": "object",
48174
+ "fields": [
48175
+ {
48176
+ "name": "id",
48177
+ "required": true,
48178
+ "type": {
48179
+ "kind": "string"
48180
+ },
48181
+ "serializable": true
48182
+ },
48183
+ {
48184
+ "name": "name",
48185
+ "required": false,
48186
+ "type": {
48187
+ "kind": "object",
48188
+ "name": "Readonly"
48189
+ },
48190
+ "serializable": false
48191
+ },
48192
+ {
48193
+ "name": "css",
48194
+ "required": true,
48195
+ "type": {
48196
+ "kind": "event",
48197
+ "payload": "scheme: G9ColorScheme",
48198
+ "returns": "string"
48199
+ },
48200
+ "serializable": false
48201
+ }
48202
+ ]
47437
48203
  }
47438
48204
  ]
47439
48205
  },
47440
48206
  "required": true,
47441
48207
  "serializable": false,
47442
48208
  "role": "behaviour",
47443
- "doc": "The wallpaper, or null for the theme's own (its background)."
48209
+ "doc": "The wallpaper, or null for the theme's own (its background); a CSS wallpaper (2.5.10) is drawn with `tokens`."
47444
48210
  }
47445
48211
  ],
47446
48212
  "anchor": null,
@@ -54552,6 +55318,22 @@
54552
55318
  "signature": "G9ThemePreviewCardProps",
54553
55319
  "summary": "Props of `G9ThemePreviewCard`."
54554
55320
  },
55321
+ {
55322
+ "id": "controls.appearance.G9ThemeTokenEditorProps",
55323
+ "export": "G9ThemeTokenEditorProps",
55324
+ "from": "@g9tm/lynxcontrols/appearance",
55325
+ "kind": "interface",
55326
+ "signature": "G9ThemeTokenEditorProps",
55327
+ "summary": "Props of `G9ThemeTokenEditor`."
55328
+ },
55329
+ {
55330
+ "id": "controls.appearance.G9ThemeTokenEditorWords",
55331
+ "export": "G9ThemeTokenEditorWords",
55332
+ "from": "@g9tm/lynxcontrols/appearance",
55333
+ "kind": "interface",
55334
+ "signature": "G9ThemeTokenEditorWords",
55335
+ "summary": "The words of `G9ThemeTokenEditor`."
55336
+ },
54555
55337
  {
54556
55338
  "id": "controls.fields.G9TimeEntryProps",
54557
55339
  "export": "G9TimeEntryProps",
@@ -56845,7 +57627,7 @@
56845
57627
  "export": "useG9Shortcut",
56846
57628
  "from": "@g9tm/lynxcontrols/commands",
56847
57629
  "kind": "hook",
56848
- "signature": "(combo: string | readonly string[], action: (e: G9KeyEvent) => void, options?: { readonly enabled?: boolean; readonly platform?: \"mac\" | \"other\"; readonly inFields?: boolean; }): void",
57630
+ "signature": "(combo: string | readonly string[], action: (e: G9KeyEvent) => void, options?: { readonly enabled?: boolean; readonly platform?: \"other\" | \"mac\"; readonly inFields?: boolean; }): void",
56849
57631
  "summary": "Runs `action` on `combo` (`'Mod+K'`, `'Esc'`, `'?'`, or several). `platform: 'mac'` maps Mod to ⌘."
56850
57632
  },
56851
57633
  {