@g9tm/lynxcontrols 2.5.10 → 2.5.11

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols",
4
- "version": "2.5.10",
4
+ "version": "2.5.11",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
7
  {
@@ -1686,6 +1686,16 @@
1686
1686
  "summary": "Settings → Appearance: mode, themes, accent, wallpaper, text size, density, effects.",
1687
1687
  "since": null,
1688
1688
  "props": [
1689
+ {
1690
+ "name": "accentInput",
1691
+ "type": {
1692
+ "kind": "boolean"
1693
+ },
1694
+ "required": false,
1695
+ "serializable": true,
1696
+ "role": "behaviour",
1697
+ "doc": "A field for any accent as `#rrggbb` beside the swatches."
1698
+ },
1689
1699
  {
1690
1700
  "name": "accents",
1691
1701
  "type": {
@@ -1725,6 +1735,123 @@
1725
1735
  "serializable": false,
1726
1736
  "role": "behaviour"
1727
1737
  },
1738
+ {
1739
+ "name": "densities",
1740
+ "type": {
1741
+ "kind": "array",
1742
+ "items": {
1743
+ "kind": "enum",
1744
+ "values": [
1745
+ "compact",
1746
+ "regular",
1747
+ "comfortable"
1748
+ ]
1749
+ }
1750
+ },
1751
+ "required": false,
1752
+ "serializable": true,
1753
+ "role": "behaviour",
1754
+ "doc": "The densities offered, in order (default compact, regular, comfortable)."
1755
+ },
1756
+ {
1757
+ "name": "descriptions",
1758
+ "type": {
1759
+ "kind": "object",
1760
+ "fields": [
1761
+ {
1762
+ "name": "accent",
1763
+ "required": false,
1764
+ "type": {
1765
+ "kind": "unknown"
1766
+ },
1767
+ "serializable": false
1768
+ },
1769
+ {
1770
+ "name": "wallpaper",
1771
+ "required": false,
1772
+ "type": {
1773
+ "kind": "unknown"
1774
+ },
1775
+ "serializable": false
1776
+ },
1777
+ {
1778
+ "name": "effects",
1779
+ "required": false,
1780
+ "type": {
1781
+ "kind": "unknown"
1782
+ },
1783
+ "serializable": false
1784
+ },
1785
+ {
1786
+ "name": "mode",
1787
+ "required": false,
1788
+ "type": {
1789
+ "kind": "unknown"
1790
+ },
1791
+ "serializable": false
1792
+ },
1793
+ {
1794
+ "name": "density",
1795
+ "required": false,
1796
+ "type": {
1797
+ "kind": "unknown"
1798
+ },
1799
+ "serializable": false
1800
+ },
1801
+ {
1802
+ "name": "themes",
1803
+ "required": false,
1804
+ "type": {
1805
+ "kind": "unknown"
1806
+ },
1807
+ "serializable": false
1808
+ },
1809
+ {
1810
+ "name": "fontScale",
1811
+ "required": false,
1812
+ "type": {
1813
+ "kind": "unknown"
1814
+ },
1815
+ "serializable": false
1816
+ },
1817
+ {
1818
+ "name": "preview",
1819
+ "required": false,
1820
+ "type": {
1821
+ "kind": "unknown"
1822
+ },
1823
+ "serializable": false
1824
+ },
1825
+ {
1826
+ "name": "follow",
1827
+ "required": false,
1828
+ "type": {
1829
+ "kind": "unknown"
1830
+ },
1831
+ "serializable": false
1832
+ }
1833
+ ]
1834
+ },
1835
+ "required": false,
1836
+ "serializable": false,
1837
+ "role": "behaviour",
1838
+ "doc": "A line under a section's title."
1839
+ },
1840
+ {
1841
+ "name": "effectsReason",
1842
+ "type": {
1843
+ "kind": "enum",
1844
+ "values": [
1845
+ "setting",
1846
+ "lowEnd",
1847
+ "reducedMotion"
1848
+ ]
1849
+ },
1850
+ "required": false,
1851
+ "serializable": true,
1852
+ "role": "behaviour",
1853
+ "doc": "Why effects are off though the setting allows them (`g9EffectsState(...).reason`): a line under the switch."
1854
+ },
1728
1855
  {
1729
1856
  "name": "extra",
1730
1857
  "type": {
@@ -1736,6 +1863,16 @@
1736
1863
  "role": "slot",
1737
1864
  "doc": "The app's own sections after the page's (2.5.10: the reading-mode text size)."
1738
1865
  },
1866
+ {
1867
+ "name": "groupByScheme",
1868
+ "type": {
1869
+ "kind": "boolean"
1870
+ },
1871
+ "required": false,
1872
+ "serializable": true,
1873
+ "role": "behaviour",
1874
+ "doc": "While following the device: the themes in a light and a dark group (default one grid with tags)."
1875
+ },
1739
1876
  {
1740
1877
  "name": "id",
1741
1878
  "type": {
@@ -1775,6 +1912,17 @@
1775
1912
  "role": "event",
1776
1913
  "doc": "A «new theme» card (opens the app's G9PersonalThemeSheet)."
1777
1914
  },
1915
+ {
1916
+ "name": "onDeleteTheme",
1917
+ "type": {
1918
+ "kind": "event",
1919
+ "payload": "theme: G9ThemeDefinition"
1920
+ },
1921
+ "required": false,
1922
+ "serializable": false,
1923
+ "role": "event",
1924
+ "doc": "A personal theme's «delete» link (the app asks first)."
1925
+ },
1778
1926
  {
1779
1927
  "name": "onEditTheme",
1780
1928
  "type": {
@@ -1786,6 +1934,17 @@
1786
1934
  "role": "event",
1787
1935
  "doc": "An «edit» link on personal themes."
1788
1936
  },
1937
+ {
1938
+ "name": "onExportEach",
1939
+ "type": {
1940
+ "kind": "event",
1941
+ "payload": "theme: G9ThemeDefinition"
1942
+ },
1943
+ "required": false,
1944
+ "serializable": false,
1945
+ "role": "event",
1946
+ "doc": "Each personal theme's «export» link (beside `onExportTheme`'s, which exports the current one)."
1947
+ },
1789
1948
  {
1790
1949
  "name": "onExportTheme",
1791
1950
  "type": {
@@ -1937,6 +2096,18 @@
1937
2096
  "role": "behaviour",
1938
2097
  "doc": "The device's scheme now (which slot a pick fills while following it)."
1939
2098
  },
2099
+ {
2100
+ "name": "themeHint",
2101
+ "type": {
2102
+ "kind": "event",
2103
+ "payload": "theme: G9ThemeDefinition",
2104
+ "returns": "string | undefined"
2105
+ },
2106
+ "required": false,
2107
+ "serializable": false,
2108
+ "role": "event",
2109
+ "doc": "A theme card's hint (an organisation theme's «set by your admin»)."
2110
+ },
1940
2111
  {
1941
2112
  "name": "themes",
1942
2113
  "type": {
@@ -2083,187 +2254,7 @@
2083
2254
  "name": "words",
2084
2255
  "type": {
2085
2256
  "kind": "object",
2086
- "fields": [
2087
- {
2088
- "name": "follow",
2089
- "required": false,
2090
- "type": {
2091
- "kind": "string"
2092
- },
2093
- "serializable": true
2094
- },
2095
- {
2096
- "name": "system",
2097
- "required": false,
2098
- "type": {
2099
- "kind": "string"
2100
- },
2101
- "serializable": true
2102
- },
2103
- {
2104
- "name": "light",
2105
- "required": false,
2106
- "type": {
2107
- "kind": "string"
2108
- },
2109
- "serializable": true
2110
- },
2111
- {
2112
- "name": "dark",
2113
- "required": false,
2114
- "type": {
2115
- "kind": "string"
2116
- },
2117
- "serializable": true
2118
- },
2119
- {
2120
- "name": "themes",
2121
- "required": false,
2122
- "type": {
2123
- "kind": "string"
2124
- },
2125
- "serializable": true
2126
- },
2127
- {
2128
- "name": "accent",
2129
- "required": false,
2130
- "type": {
2131
- "kind": "string"
2132
- },
2133
- "serializable": true
2134
- },
2135
- {
2136
- "name": "themeAccent",
2137
- "required": false,
2138
- "type": {
2139
- "kind": "string"
2140
- },
2141
- "serializable": true
2142
- },
2143
- {
2144
- "name": "wallpaper",
2145
- "required": false,
2146
- "type": {
2147
- "kind": "string"
2148
- },
2149
- "serializable": true
2150
- },
2151
- {
2152
- "name": "themeWallpaper",
2153
- "required": false,
2154
- "type": {
2155
- "kind": "string"
2156
- },
2157
- "serializable": true
2158
- },
2159
- {
2160
- "name": "fontScale",
2161
- "required": false,
2162
- "type": {
2163
- "kind": "string"
2164
- },
2165
- "serializable": true
2166
- },
2167
- {
2168
- "name": "scales",
2169
- "required": false,
2170
- "type": {
2171
- "kind": "object",
2172
- "name": "Readonly"
2173
- },
2174
- "serializable": false
2175
- },
2176
- {
2177
- "name": "density",
2178
- "required": false,
2179
- "type": {
2180
- "kind": "string"
2181
- },
2182
- "serializable": true
2183
- },
2184
- {
2185
- "name": "densities",
2186
- "required": false,
2187
- "type": {
2188
- "kind": "object",
2189
- "name": "Readonly"
2190
- },
2191
- "serializable": false
2192
- },
2193
- {
2194
- "name": "effects",
2195
- "required": false,
2196
- "type": {
2197
- "kind": "string"
2198
- },
2199
- "serializable": true
2200
- },
2201
- {
2202
- "name": "effectModes",
2203
- "required": false,
2204
- "type": {
2205
- "kind": "object",
2206
- "name": "Readonly"
2207
- },
2208
- "serializable": false
2209
- },
2210
- {
2211
- "name": "newTheme",
2212
- "required": false,
2213
- "type": {
2214
- "kind": "string"
2215
- },
2216
- "serializable": true
2217
- },
2218
- {
2219
- "name": "edit",
2220
- "required": false,
2221
- "type": {
2222
- "kind": "string"
2223
- },
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
2265
- }
2266
- ]
2257
+ "name": "G9AppearanceWords"
2267
2258
  },
2268
2259
  "required": false,
2269
2260
  "serializable": false,
@@ -2287,6 +2278,7 @@
2287
2278
  },
2288
2279
  "tokens": [
2289
2280
  "Divider",
2281
+ "Error",
2290
2282
  "ErrorContainer",
2291
2283
  "OnPrimary",
2292
2284
  "OutlineVariant",
@@ -8751,6 +8743,7 @@
8751
8743
  },
8752
8744
  "tokens": [
8753
8745
  "Divider",
8746
+ "Error",
8754
8747
  "ErrorContainer",
8755
8748
  "OnPrimary",
8756
8749
  "OutlineVariant",
@@ -25487,6 +25480,15 @@
25487
25480
  "payload": "theme: G9TokenTheme, draft: G9TokenPersonalDraft"
25488
25481
  },
25489
25482
  "serializable": false
25483
+ },
25484
+ {
25485
+ "name": "onExport",
25486
+ "required": false,
25487
+ "type": {
25488
+ "kind": "event",
25489
+ "payload": "theme: G9TokenTheme, draft: G9TokenPersonalDraft"
25490
+ },
25491
+ "serializable": false
25490
25492
  }
25491
25493
  ]
25492
25494
  },
@@ -25766,6 +25768,7 @@
25766
25768
  },
25767
25769
  "tokens": [
25768
25770
  "Divider",
25771
+ "Error",
25769
25772
  "ErrorContainer",
25770
25773
  "OnPrimary",
25771
25774
  "OutlineVariant",
@@ -31166,7 +31169,7 @@
31166
31169
  "serializable": false
31167
31170
  },
31168
31171
  {
31169
- "name": "display",
31172
+ "name": "section",
31170
31173
  "required": true,
31171
31174
  "type": {
31172
31175
  "kind": "unknown"
@@ -31174,7 +31177,7 @@
31174
31177
  "serializable": false
31175
31178
  },
31176
31179
  {
31177
- "name": "section",
31180
+ "name": "display",
31178
31181
  "required": true,
31179
31182
  "type": {
31180
31183
  "kind": "unknown"
@@ -44842,6 +44845,26 @@
44842
44845
  "summary": "The organisation theme editor: name, scheme, a row per token, a live preview and its contrast.",
44843
44846
  "since": null,
44844
44847
  "props": [
44848
+ {
44849
+ "name": "disabled",
44850
+ "type": {
44851
+ "kind": "boolean"
44852
+ },
44853
+ "required": false,
44854
+ "serializable": true,
44855
+ "role": "state",
44856
+ "doc": "Shown, not changed (while saving, or without the right to edit)."
44857
+ },
44858
+ {
44859
+ "name": "fill",
44860
+ "type": {
44861
+ "kind": "boolean"
44862
+ },
44863
+ "required": false,
44864
+ "serializable": true,
44865
+ "role": "behaviour",
44866
+ "doc": "The list takes the height the editor is given (its parent's) instead of `listHeight`."
44867
+ },
44845
44868
  {
44846
44869
  "name": "id",
44847
44870
  "type": {
@@ -44888,6 +44911,21 @@
44888
44911
  "serializable": true,
44889
44912
  "role": "behaviour"
44890
44913
  },
44914
+ {
44915
+ "name": "layout",
44916
+ "type": {
44917
+ "kind": "enum",
44918
+ "values": [
44919
+ "auto",
44920
+ "side",
44921
+ "stack"
44922
+ ]
44923
+ },
44924
+ "required": false,
44925
+ "serializable": true,
44926
+ "role": "behaviour",
44927
+ "doc": "`'auto'` (default): the preview and the contrast beside the list on a wide window, under it on a phone."
44928
+ },
44891
44929
  {
44892
44930
  "name": "listHeight",
44893
44931
  "type": {
@@ -44899,6 +44937,16 @@
44899
44937
  "role": "appearance",
44900
44938
  "doc": "The token list's height (dp). Default 480."
44901
44939
  },
44940
+ {
44941
+ "name": "nameError",
44942
+ "type": {
44943
+ "kind": "string"
44944
+ },
44945
+ "required": false,
44946
+ "serializable": true,
44947
+ "role": "behaviour",
44948
+ "doc": "The name's problem (empty, taken)."
44949
+ },
44902
44950
  {
44903
44951
  "name": "onChange",
44904
44952
  "type": {
@@ -44960,6 +45008,88 @@
44960
45008
  "role": "behaviour",
44961
45009
  "doc": "How the preview reads the theme (base shape and motion, the recipe)."
44962
45010
  },
45011
+ {
45012
+ "name": "original",
45013
+ "type": {
45014
+ "kind": "object",
45015
+ "fields": [
45016
+ {
45017
+ "name": "id",
45018
+ "required": true,
45019
+ "type": {
45020
+ "kind": "string"
45021
+ },
45022
+ "serializable": true
45023
+ },
45024
+ {
45025
+ "name": "name",
45026
+ "required": true,
45027
+ "type": {
45028
+ "kind": "union",
45029
+ "of": [
45030
+ {
45031
+ "kind": "string"
45032
+ },
45033
+ {
45034
+ "kind": "object",
45035
+ "name": "Readonly"
45036
+ }
45037
+ ]
45038
+ },
45039
+ "serializable": false
45040
+ },
45041
+ {
45042
+ "name": "scheme",
45043
+ "required": true,
45044
+ "type": {
45045
+ "kind": "enum",
45046
+ "values": [
45047
+ "light",
45048
+ "dark"
45049
+ ]
45050
+ },
45051
+ "serializable": true
45052
+ },
45053
+ {
45054
+ "name": "tokens",
45055
+ "required": true,
45056
+ "type": {
45057
+ "kind": "object",
45058
+ "name": "Readonly"
45059
+ },
45060
+ "serializable": false
45061
+ },
45062
+ {
45063
+ "name": "builtIn",
45064
+ "required": false,
45065
+ "type": {
45066
+ "kind": "boolean"
45067
+ },
45068
+ "serializable": true
45069
+ },
45070
+ {
45071
+ "name": "personal",
45072
+ "required": false,
45073
+ "type": {
45074
+ "kind": "boolean"
45075
+ },
45076
+ "serializable": true
45077
+ },
45078
+ {
45079
+ "name": "updatedUtc",
45080
+ "required": false,
45081
+ "type": {
45082
+ "kind": "string"
45083
+ },
45084
+ "serializable": true
45085
+ }
45086
+ ]
45087
+ },
45088
+ "required": false,
45089
+ "serializable": false,
45090
+ "role": "behaviour",
45091
+ "doc": "The theme as saved: rows that differ are marked, and the count says how many."
45092
+ },
44963
45093
  {
44964
45094
  "name": "value",
44965
45095
  "type": {
@@ -45201,6 +45331,24 @@
45201
45331
  ]
45202
45332
  },
45203
45333
  "serializable": false
45334
+ },
45335
+ {
45336
+ "name": "changes",
45337
+ "required": false,
45338
+ "type": {
45339
+ "kind": "event",
45340
+ "payload": "count: number",
45341
+ "returns": "string"
45342
+ },
45343
+ "serializable": false
45344
+ },
45345
+ {
45346
+ "name": "unsaved",
45347
+ "required": false,
45348
+ "type": {
45349
+ "kind": "string"
45350
+ },
45351
+ "serializable": true
45204
45352
  }
45205
45353
  ]
45206
45354
  },
@@ -45226,6 +45374,7 @@
45226
45374
  },
45227
45375
  "tokens": [
45228
45376
  "Divider",
45377
+ "Error",
45229
45378
  "ErrorContainer",
45230
45379
  "OutlineVariant",
45231
45380
  "Primary",
@@ -48228,6 +48377,7 @@
48228
48377
  },
48229
48378
  "tokens": [
48230
48379
  "Divider",
48380
+ "Error",
48231
48381
  "ErrorContainer",
48232
48382
  "OnPrimary",
48233
48383
  "OutlineVariant",
@@ -55006,6 +55156,14 @@
55006
55156
  "signature": "14",
55007
55157
  "summary": "Outer card radius (MAUI `G9SwipeView.CornerRadius` default, `RadiusMd`)."
55008
55158
  },
55159
+ {
55160
+ "id": "controls.swipe.g9SwipeFullRatio",
55161
+ "export": "g9SwipeFullRatio",
55162
+ "from": "@g9tm/lynxcontrols/swipe",
55163
+ "kind": "constant",
55164
+ "signature": "0.6",
55165
+ "summary": "How far past the row's width a drag runs the outer action (2.5.10 full swipe)."
55166
+ },
55009
55167
  {
55010
55168
  "id": "controls.swipe.G9SwipeGroupStore",
55011
55169
  "export": "G9SwipeGroupStore",
@@ -56870,6 +57028,14 @@
56870
57028
  "signature": "(x: number, leftWidth: number, rightWidth: number): number",
56871
57029
  "summary": "Main-thread twin of `swipeDragTarget`."
56872
57030
  },
57031
+ {
57032
+ "id": "controls.swipe.swipeFull",
57033
+ "export": "swipeFull",
57034
+ "from": "@g9tm/lynxcontrols/swipe",
57035
+ "kind": "function",
57036
+ "signature": "(translate: number, width: number, leftWidth: number, rightWidth: number): 0 | 1 | -1",
57037
+ "summary": "A full swipe (2.5.10): the drag went past `g9SwipeFullRatio` of the row's width on a side that has actions — `1` to the right, `-1` to the left, `0` not."
57038
+ },
56873
57039
  {
56874
57040
  "id": "controls.swipe.swipePaneWidth",
56875
57041
  "export": "swipePaneWidth",
package/catalog/index.md CHANGED
@@ -1,4 +1,4 @@
1
- # Catalog index: `@g9tm/lynxcontrols` 2.5.10
1
+ # Catalog index: `@g9tm/lynxcontrols` 2.5.11
2
2
 
3
3
  One line per component; the card (`cards/<Export>.md`) has its props and an example.
4
4