@g9tm/lynxcontrols 2.5.6 → 2.5.8

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 (337) hide show
  1. package/catalog/cards/G9AppBar.md +1 -1
  2. package/catalog/cards/G9AppearancePage.md +17 -0
  3. package/catalog/cards/G9Badge.md +1 -1
  4. package/catalog/cards/G9Button.md +2 -2
  5. package/catalog/cards/G9Card.md +1 -1
  6. package/catalog/cards/G9CarryContexts.md +10 -0
  7. package/catalog/cards/G9CheckBox.md +1 -1
  8. package/catalog/cards/G9Chip.md +1 -1
  9. package/catalog/cards/G9ChipStrip.md +16 -0
  10. package/catalog/cards/G9CodeBlock.md +17 -0
  11. package/catalog/cards/G9CommandPalette.md +3 -1
  12. package/catalog/cards/G9ConnectionBanner.md +1 -1
  13. package/catalog/cards/G9ContrastPanel.md +15 -0
  14. package/catalog/cards/G9DashboardCustomizeSheet.md +17 -0
  15. package/catalog/cards/G9DashboardGrid.md +17 -0
  16. package/catalog/cards/G9DragList.md +4 -2
  17. package/catalog/cards/G9Editor.md +1 -1
  18. package/catalog/cards/G9ErrorBoundary.md +3 -2
  19. package/catalog/cards/G9FormField.md +2 -2
  20. package/catalog/cards/G9ListRow.md +1 -1
  21. package/catalog/cards/G9Menu.md +1 -1
  22. package/catalog/cards/G9MenuList.md +2 -0
  23. package/catalog/cards/G9NotificationCenter.md +17 -0
  24. package/catalog/cards/G9NotificationCenterPanel.md +17 -0
  25. package/catalog/cards/G9PathNavigator.md +13 -0
  26. package/catalog/cards/G9PersonalThemeSheet.md +17 -0
  27. package/catalog/cards/G9Popover.md +1 -1
  28. package/catalog/cards/G9Provider.md +1 -1
  29. package/catalog/cards/G9RangeSlider.md +2 -2
  30. package/catalog/cards/G9ReaderSheet.md +17 -0
  31. package/catalog/cards/G9ReaderView.md +17 -0
  32. package/catalog/cards/G9SafeButton.md +2 -2
  33. package/catalog/cards/G9SearchEntry.md +1 -1
  34. package/catalog/cards/G9SecretValue.md +17 -0
  35. package/catalog/cards/G9ShortcutList.md +4 -0
  36. package/catalog/cards/G9ShortcutsSheet.md +3 -1
  37. package/catalog/cards/G9StatusPill.md +1 -1
  38. package/catalog/cards/G9Stepper.md +1 -1
  39. package/catalog/cards/G9SwitchRow.md +1 -1
  40. package/catalog/cards/G9Tag.md +1 -1
  41. package/catalog/cards/G9TextEntry.md +1 -1
  42. package/catalog/cards/G9UpdateBar.md +2 -1
  43. package/catalog/cards/G9VirtualList.md +1 -1
  44. package/catalog/cards/G9WallpaperSwatch.md +16 -0
  45. package/catalog/cards/G9WidgetSkeleton.md +9 -0
  46. package/catalog/cards/G9WidgetSlot.md +13 -0
  47. package/catalog/cards/PopupFrame.md +2 -2
  48. package/catalog/catalog.json +9460 -2155
  49. package/catalog/index.md +20 -3
  50. package/dist/.tsbuildinfo +1 -1
  51. package/dist/appearance/appearance.css +264 -0
  52. package/dist/appearance/appearance.css.map +1 -0
  53. package/dist/appearance/appearance.d.ts +148 -0
  54. package/dist/appearance/appearance.d.ts.map +1 -0
  55. package/dist/appearance/appearance.jsx +604 -0
  56. package/dist/appearance/index.d.ts +2 -0
  57. package/dist/appearance/index.d.ts.map +1 -0
  58. package/dist/appearance/index.jsx +1 -0
  59. package/dist/base/control.d.ts +15 -0
  60. package/dist/base/control.d.ts.map +1 -1
  61. package/dist/base/control.jsx +13 -1
  62. package/dist/base/index.d.ts +1 -1
  63. package/dist/base/index.d.ts.map +1 -1
  64. package/dist/base/index.jsx +1 -1
  65. package/dist/base/selection-item.d.ts +5 -0
  66. package/dist/base/selection-item.d.ts.map +1 -1
  67. package/dist/button/button.css +4 -0
  68. package/dist/button/button.css.map +1 -1
  69. package/dist/cascade/cascade.css +2 -0
  70. package/dist/cascade/cascade.css.map +1 -1
  71. package/dist/commands/commands.css +46 -0
  72. package/dist/commands/commands.css.map +1 -1
  73. package/dist/commands/index.d.ts +2 -2
  74. package/dist/commands/index.d.ts.map +1 -1
  75. package/dist/commands/index.jsx +2 -2
  76. package/dist/commands/keys.d.ts +15 -1
  77. package/dist/commands/keys.d.ts.map +1 -1
  78. package/dist/commands/keys.jsx +20 -1
  79. package/dist/commands/palette.d.ts +73 -7
  80. package/dist/commands/palette.d.ts.map +1 -1
  81. package/dist/commands/palette.jsx +174 -20
  82. package/dist/dashboard/dashboard.css +101 -0
  83. package/dist/dashboard/dashboard.css.map +1 -0
  84. package/dist/dashboard/dashboard.d.ts +73 -0
  85. package/dist/dashboard/dashboard.d.ts.map +1 -0
  86. package/dist/dashboard/dashboard.jsx +297 -0
  87. package/dist/dashboard/index.d.ts +3 -0
  88. package/dist/dashboard/index.d.ts.map +1 -0
  89. package/dist/dashboard/index.jsx +2 -0
  90. package/dist/dashboard/model.d.ts +53 -0
  91. package/dist/dashboard/model.d.ts.map +1 -0
  92. package/dist/dashboard/model.jsx +76 -0
  93. package/dist/display/code.css +109 -0
  94. package/dist/display/code.css.map +1 -0
  95. package/dist/display/code.d.ts +43 -0
  96. package/dist/display/code.d.ts.map +1 -0
  97. package/dist/display/code.jsx +101 -0
  98. package/dist/display/extras.d.ts +7 -2
  99. package/dist/display/extras.d.ts.map +1 -1
  100. package/dist/display/extras.jsx +13 -4
  101. package/dist/display/figures.d.ts.map +1 -1
  102. package/dist/display/figures.jsx +10 -2
  103. package/dist/display/index.d.ts +1 -0
  104. package/dist/display/index.d.ts.map +1 -1
  105. package/dist/display/index.jsx +1 -0
  106. package/dist/display/motion-figures.css +2 -0
  107. package/dist/display/motion-figures.css.map +1 -1
  108. package/dist/display/motion-figures.d.ts.map +1 -1
  109. package/dist/display/motion-figures.jsx +14 -7
  110. package/dist/display/status.d.ts +1 -1
  111. package/dist/display/status.d.ts.map +1 -1
  112. package/dist/display/status.jsx +15 -3
  113. package/dist/display/theme-preview.css +4 -0
  114. package/dist/display/theme-preview.css.map +1 -1
  115. package/dist/effects/effects.d.ts.map +1 -1
  116. package/dist/effects/effects.jsx +8 -1
  117. package/dist/fields/extra-entries.css +1 -0
  118. package/dist/fields/extra-entries.css.map +1 -1
  119. package/dist/fields/extra-entries.d.ts +4 -1
  120. package/dist/fields/extra-entries.d.ts.map +1 -1
  121. package/dist/fields/extra-entries.jsx +54 -19
  122. package/dist/fields/fields.css +21 -0
  123. package/dist/fields/fields.css.map +1 -1
  124. package/dist/fields/outlined-field.d.ts +9 -0
  125. package/dist/fields/outlined-field.d.ts.map +1 -1
  126. package/dist/fields/outlined-field.jsx +6 -1
  127. package/dist/fields/pin-entry.d.ts.map +1 -1
  128. package/dist/fields/pin-entry.jsx +36 -3
  129. package/dist/fields/text-entry.d.ts +4 -0
  130. package/dist/fields/text-entry.d.ts.map +1 -1
  131. package/dist/fields/text-entry.jsx +32 -25
  132. package/dist/fields/use-text-input.d.ts +3 -2
  133. package/dist/fields/use-text-input.d.ts.map +1 -1
  134. package/dist/fields/use-text-input.jsx +3 -0
  135. package/dist/header/app-bar.d.ts +6 -0
  136. package/dist/header/app-bar.d.ts.map +1 -1
  137. package/dist/header/app-bar.jsx +22 -8
  138. package/dist/header/header.css +14 -0
  139. package/dist/header/header.css.map +1 -1
  140. package/dist/host/bottom-overlays.d.ts +5 -0
  141. package/dist/host/bottom-overlays.d.ts.map +1 -1
  142. package/dist/host/bottom-overlays.jsx +17 -1
  143. package/dist/host/carry-contexts.d.ts +28 -0
  144. package/dist/host/carry-contexts.d.ts.map +1 -0
  145. package/dist/host/carry-contexts.jsx +76 -0
  146. package/dist/host/host.d.ts.map +1 -1
  147. package/dist/host/host.jsx +5 -1
  148. package/dist/host/index.d.ts +2 -0
  149. package/dist/host/index.d.ts.map +1 -1
  150. package/dist/host/index.jsx +2 -0
  151. package/dist/icon/icon.d.ts.map +1 -1
  152. package/dist/icon/icon.jsx +13 -9
  153. package/dist/index.d.ts +4 -0
  154. package/dist/index.d.ts.map +1 -1
  155. package/dist/layout/containers.d.ts.map +1 -1
  156. package/dist/layout/containers.jsx +2 -1
  157. package/dist/layout/layout.css +7 -0
  158. package/dist/layout/layout.css.map +1 -1
  159. package/dist/list/gestures.d.ts +39 -6
  160. package/dist/list/gestures.d.ts.map +1 -1
  161. package/dist/list/gestures.jsx +284 -89
  162. package/dist/list/index.d.ts +3 -2
  163. package/dist/list/index.d.ts.map +1 -1
  164. package/dist/list/index.jsx +2 -1
  165. package/dist/list/keyboard.d.ts +50 -0
  166. package/dist/list/keyboard.d.ts.map +1 -0
  167. package/dist/list/keyboard.jsx +117 -0
  168. package/dist/list/list.css +50 -5
  169. package/dist/list/list.css.map +1 -1
  170. package/dist/list/rows.d.ts +13 -1
  171. package/dist/list/rows.d.ts.map +1 -1
  172. package/dist/list/rows.jsx +42 -23
  173. package/dist/list/virtual-list.d.ts +27 -1
  174. package/dist/list/virtual-list.d.ts.map +1 -1
  175. package/dist/list/virtual-list.jsx +49 -4
  176. package/dist/notifications/index.d.ts +3 -0
  177. package/dist/notifications/index.d.ts.map +1 -0
  178. package/dist/notifications/index.jsx +2 -0
  179. package/dist/notifications/model.d.ts +47 -0
  180. package/dist/notifications/model.d.ts.map +1 -0
  181. package/dist/notifications/model.jsx +51 -0
  182. package/dist/notifications/notification-center.d.ts +98 -0
  183. package/dist/notifications/notification-center.d.ts.map +1 -0
  184. package/dist/notifications/notification-center.jsx +424 -0
  185. package/dist/notifications/notifications.css +266 -0
  186. package/dist/notifications/notifications.css.map +1 -0
  187. package/dist/orb/orb.css +2 -0
  188. package/dist/orb/orb.css.map +1 -1
  189. package/dist/pickers/pickers.css +15 -0
  190. package/dist/pickers/pickers.css.map +1 -1
  191. package/dist/plus-button/plus-button.css +2 -0
  192. package/dist/plus-button/plus-button.css.map +1 -1
  193. package/dist/plus-button/plus-button.d.ts.map +1 -1
  194. package/dist/plus-button/plus-button.jsx +2 -1
  195. package/dist/popover/popover.css +23 -1
  196. package/dist/popover/popover.css.map +1 -1
  197. package/dist/popover/popover.d.ts +14 -0
  198. package/dist/popover/popover.d.ts.map +1 -1
  199. package/dist/popover/popover.jsx +73 -12
  200. package/dist/popover/position.d.ts +6 -2
  201. package/dist/popover/position.d.ts.map +1 -1
  202. package/dist/popover/position.jsx +15 -4
  203. package/dist/popup/popup.css +3 -0
  204. package/dist/popup/popup.css.map +1 -1
  205. package/dist/provider/direction-scope.d.ts +8 -0
  206. package/dist/provider/direction-scope.d.ts.map +1 -1
  207. package/dist/provider/direction-scope.jsx +13 -2
  208. package/dist/provider/index.d.ts +1 -1
  209. package/dist/provider/index.d.ts.map +1 -1
  210. package/dist/provider/provider.css +7 -0
  211. package/dist/provider/provider.css.map +1 -1
  212. package/dist/provider/provider.d.ts +6 -1
  213. package/dist/provider/provider.d.ts.map +1 -1
  214. package/dist/provider/provider.jsx +22 -2
  215. package/dist/provider/settings.d.ts +14 -0
  216. package/dist/provider/settings.d.ts.map +1 -1
  217. package/dist/provider/settings.jsx +4 -1
  218. package/dist/range-slider/index.d.ts +1 -1
  219. package/dist/range-slider/index.d.ts.map +1 -1
  220. package/dist/range-slider/range-slider.css +69 -0
  221. package/dist/range-slider/range-slider.css.map +1 -1
  222. package/dist/range-slider/range-slider.d.ts +22 -0
  223. package/dist/range-slider/range-slider.d.ts.map +1 -1
  224. package/dist/range-slider/range-slider.jsx +34 -5
  225. package/dist/reader/index.d.ts +2 -0
  226. package/dist/reader/index.d.ts.map +1 -0
  227. package/dist/reader/index.jsx +1 -0
  228. package/dist/reader/reader.css +74 -0
  229. package/dist/reader/reader.css.map +1 -0
  230. package/dist/reader/reader.d.ts +76 -0
  231. package/dist/reader/reader.d.ts.map +1 -0
  232. package/dist/reader/reader.jsx +149 -0
  233. package/dist/route/index.d.ts +2 -0
  234. package/dist/route/index.d.ts.map +1 -1
  235. package/dist/route/index.jsx +2 -0
  236. package/dist/route/path-navigator.css +42 -0
  237. package/dist/route/path-navigator.css.map +1 -0
  238. package/dist/route/path-navigator.d.ts +25 -0
  239. package/dist/route/path-navigator.d.ts.map +1 -0
  240. package/dist/route/path-navigator.jsx +98 -0
  241. package/dist/route/path-router.d.ts +162 -0
  242. package/dist/route/path-router.d.ts.map +1 -0
  243. package/dist/route/path-router.jsx +327 -0
  244. package/dist/selection/selection-sheet.d.ts.map +1 -1
  245. package/dist/selection/selection-sheet.jsx +23 -10
  246. package/dist/selection/selection.css +18 -1
  247. package/dist/selection/selection.css.map +1 -1
  248. package/dist/sheet/frame.d.ts.map +1 -1
  249. package/dist/sheet/frame.jsx +9 -8
  250. package/dist/sheet/options.d.ts +6 -1
  251. package/dist/sheet/options.d.ts.map +1 -1
  252. package/dist/sheet/options.jsx +2 -1
  253. package/dist/sheet/panel-frame.d.ts.map +1 -1
  254. package/dist/sheet/panel-frame.jsx +5 -4
  255. package/dist/sheet/sizing.d.ts +3 -3
  256. package/dist/sheet/sizing.d.ts.map +1 -1
  257. package/dist/sheet/sizing.jsx +1 -0
  258. package/dist/shell/shell.css +18 -1
  259. package/dist/shell/shell.css.map +1 -1
  260. package/dist/shell/shell.d.ts +10 -1
  261. package/dist/shell/shell.d.ts.map +1 -1
  262. package/dist/shell/shell.jsx +13 -9
  263. package/dist/survey/survey.css +15 -0
  264. package/dist/survey/survey.css.map +1 -1
  265. package/dist/survey/survey.d.ts +6 -0
  266. package/dist/survey/survey.d.ts.map +1 -1
  267. package/dist/survey/survey.jsx +24 -6
  268. package/dist/swipe/swipe.css +2 -0
  269. package/dist/swipe/swipe.css.map +1 -1
  270. package/dist/tab-bar/flat.d.ts.map +1 -1
  271. package/dist/tab-bar/flat.jsx +53 -38
  272. package/dist/tab-bar/tab-bar.css +2 -0
  273. package/dist/tab-bar/tab-bar.css.map +1 -1
  274. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  275. package/dist/tab-bar/tab-bar.jsx +28 -6
  276. package/dist/tabs/tab-view.jsx +10 -3
  277. package/dist/tabs/tabs.css +5 -0
  278. package/dist/tabs/tabs.css.map +1 -1
  279. package/dist/toast/index.d.ts +1 -1
  280. package/dist/toast/index.d.ts.map +1 -1
  281. package/dist/toast/service.d.ts.map +1 -1
  282. package/dist/toast/service.jsx +18 -5
  283. package/dist/toast/store.d.ts +22 -0
  284. package/dist/toast/store.d.ts.map +1 -1
  285. package/dist/toast/store.jsx +35 -3
  286. package/dist/toast/toast.css +22 -0
  287. package/dist/toast/toast.css.map +1 -1
  288. package/dist/toggle/checkbox.d.ts +5 -0
  289. package/dist/toggle/checkbox.d.ts.map +1 -1
  290. package/dist/toggle/checkbox.jsx +7 -2
  291. package/dist/toggle/choice.css +35 -0
  292. package/dist/toggle/choice.css.map +1 -1
  293. package/dist/toggle/choice.d.ts +45 -0
  294. package/dist/toggle/choice.d.ts.map +1 -1
  295. package/dist/toggle/choice.jsx +97 -23
  296. package/dist/toggle/index.d.ts +1 -1
  297. package/dist/toggle/index.d.ts.map +1 -1
  298. package/dist/toggle/index.jsx +1 -1
  299. package/package.json +22 -2
  300. package/skills/g9-lynx-app/references/catalog-index.md +24 -8
  301. package/skills/g9-lynx-app/references/components/appearance.md +70 -0
  302. package/skills/g9-lynx-app/references/components/barcode.md +1 -1
  303. package/skills/g9-lynx-app/references/components/button.md +4 -4
  304. package/skills/g9-lynx-app/references/components/calendar-1.md +205 -0
  305. package/skills/g9-lynx-app/references/components/calendar-2.md +36 -0
  306. package/skills/g9-lynx-app/references/components/canvas.md +33 -0
  307. package/skills/g9-lynx-app/references/components/chat-1.md +199 -0
  308. package/skills/g9-lynx-app/references/components/chat-2.md +119 -0
  309. package/skills/g9-lynx-app/references/components/commands.md +10 -2
  310. package/skills/g9-lynx-app/references/components/commerce.md +1 -1
  311. package/skills/g9-lynx-app/references/components/dashboard.md +61 -0
  312. package/skills/g9-lynx-app/references/components/display-1.md +22 -21
  313. package/skills/g9-lynx-app/references/components/display-2.md +36 -39
  314. package/skills/g9-lynx-app/references/components/display-3.md +41 -2
  315. package/skills/g9-lynx-app/references/components/fields.md +5 -5
  316. package/skills/g9-lynx-app/references/components/header.md +1 -1
  317. package/skills/g9-lynx-app/references/components/host.md +11 -0
  318. package/skills/g9-lynx-app/references/components/layout-1.md +1 -1
  319. package/skills/g9-lynx-app/references/components/list.md +7 -5
  320. package/skills/g9-lynx-app/references/components/map.md +19 -1
  321. package/skills/g9-lynx-app/references/components/media-1.md +203 -0
  322. package/skills/g9-lynx-app/references/components/media-2.md +66 -0
  323. package/skills/g9-lynx-app/references/components/notifications.md +37 -0
  324. package/skills/g9-lynx-app/references/components/popover.md +4 -2
  325. package/skills/g9-lynx-app/references/components/popup.md +2 -2
  326. package/skills/g9-lynx-app/references/components/projects.md +73 -0
  327. package/skills/g9-lynx-app/references/components/provider.md +1 -1
  328. package/skills/g9-lynx-app/references/components/range-slider.md +2 -2
  329. package/skills/g9-lynx-app/references/components/reader.md +37 -0
  330. package/skills/g9-lynx-app/references/components/richtext.md +54 -0
  331. package/skills/g9-lynx-app/references/components/route.md +14 -0
  332. package/skills/g9-lynx-app/references/components/shell.md +3 -2
  333. package/skills/g9-lynx-app/references/components/toggle.md +20 -3
  334. package/skills/g9-lynx-app/references/provider-and-host.md +4 -3
  335. package/skills/g9-lynx-app/references/components/calendar.md +0 -128
  336. package/skills/g9-lynx-app/references/components/chat.md +0 -98
  337. package/skills/g9-lynx-app/references/components/media.md +0 -115
@@ -11,7 +11,7 @@ Props:
11
11
  - `disabled?`: boolean = false
12
12
  - `onBack?`: () => void
13
13
  - `backLabel?`: string
14
+ - `actionsGap?`: number = 2
14
15
  - `align?`: 'start' | 'center'
15
- - `backIcon?`: icon
16
16
 
17
17
  Example: `<G9AppBar />`
@@ -0,0 +1,17 @@
1
+ # G9AppearancePage
2
+
3
+ `import { G9AppearancePage } from '@g9tm/lynxcontrols/appearance';`
4
+
5
+ Settings → Appearance: mode, themes, accent, wallpaper, text size, density, effects.
6
+
7
+ Props:
8
+ - `onChange`: (settings: G9AppearanceSettings) => void
9
+ - `settings`: object
10
+ - `systemScheme`: 'light' | 'dark'
11
+ - `themes`: object[]
12
+ - `onCreateTheme?`: () => void
13
+ - `onEditTheme?`: (theme: G9ThemeDefinition) => void
14
+ - `accents?`: object[]
15
+ - `language?`: string
16
+
17
+ Example: `<G9AppearancePage onChange={() => {}} settings={settings} systemScheme="light" themes={themes} />`
@@ -6,7 +6,7 @@ A count or a dot (G9Hub Counter/Badge, tab and bell counts).
6
6
 
7
7
  Props:
8
8
  - `value?`: string | number
9
- - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "solid"
9
+ - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft' = "solid"
10
10
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "error"
11
11
  - `dot?`: boolean
12
12
  - `hideZero?`: boolean = true
@@ -7,11 +7,11 @@ Text button (MAUI `G9Button`): variant fill (gradient for the solid variants), 1
7
7
  Props:
8
8
  - `text?`: string
9
9
  - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
10
- - `size?`: 'small' | 'medium' | 'large' | 'hero' = "medium"
10
+ - `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
11
11
  - `leadingIcon?`: icon
12
12
  - `onPress?`: () => void
13
13
  - `disabled?`: boolean = false
14
- - `fontAttributes?`: 'bold' | 'none' | 'italic' | 'boldItalic' = "bold"
14
+ - `fontAttributes?`: 'none' | 'bold' | 'italic' | 'boldItalic' = "bold"
15
15
  - `loadingText?`: string
16
16
 
17
17
  Example: `<G9Button text="Cancel" variant="outline" />`
@@ -8,7 +8,7 @@ Props:
8
8
  - `children?`: ReactNode
9
9
  - `onPress?`: () => void
10
10
  - `disabled?`: boolean = false
11
- - `appearance?`: 'outlined' | 'filled' | 'elevated' | 'glass'
11
+ - `appearance?`: 'glass' | 'outlined' | 'filled' | 'elevated'
12
12
  - `edge?`: string
13
13
  - `enterDelay?`: number
14
14
  - `glow?`: string
@@ -0,0 +1,10 @@
1
+ # G9CarryContexts
2
+
3
+ `import { G9CarryContexts } from '@g9tm/lynxcontrols/host';`
4
+
5
+ Carries React context into the nearest G9Host's layers: sheets, popups, toasts and menus then read `contexts` with their live values, though they render outside the page (SAC's tray sheet read «GuestContext missing» with
6
+
7
+ Props:
8
+ - `contexts`: object[]
9
+
10
+ Example: `<G9CarryContexts contexts={contexts} />`
@@ -11,7 +11,7 @@ Props:
11
11
  - `disabled?`: boolean = false
12
12
  - `onCheckedChange?`: (checked: boolean) => void
13
13
  - `onIndeterminateChange?`: (indeterminate: boolean) => void
14
+ - `labelGap?`: number = 2
14
15
  - `defaultChecked?`: boolean
15
- - `defaultIndeterminate?`: boolean
16
16
 
17
17
  Example: `<G9CheckBox text="I agree" checked={agree} onCheckedChange={setAgree} />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `onPress?`: () => void
13
13
  - `disabled?`: boolean = false
14
14
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "primary"
15
- - `onRemove?`: () => void
15
+ - `nodeRef?`: (node: NodesRef | null) => void
16
16
 
17
17
  Example: `<G9Chip text="Label" />`
@@ -0,0 +1,16 @@
1
+ # G9ChipStrip
2
+
3
+ `import { G9ChipStrip } from '@g9tm/lynxcontrols/toggle';`
4
+
5
+ One scrolling line of chips with one chosen (G9Hub's folder tabs: all, unread, mentions, my folders with their unread counts; 2.5.8): the chosen chip scrolls into view whenever it changes, in reading order.
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `onChange`: (key: K) => void
10
+ - `value`: string
11
+ - `size?`: 'sm' | 'md' | 'lg'
12
+ - `appearance?`: 'solid' | 'outline' | 'dashed' | 'soft'
13
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
14
+ - `haptic?`: boolean | string | string | string | string | string | string | string | string | string
15
+
16
+ Example: `<G9ChipStrip items={items} onChange={() => {}} value="value" />`
@@ -0,0 +1,17 @@
1
+ # G9CodeBlock
2
+
3
+ `import { G9CodeBlock } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A code sample: monospace, left to right, scrolled sideways (or wrapped), with line numbers and a copy button.
6
+
7
+ Props:
8
+ - `text`: string
9
+ - `onCopy?`: (text: string) => void
10
+ - `caption?`: string
11
+ - `copiedLabel?`: string
12
+ - `copyLabel?`: string
13
+ - `maxHeight?`: number
14
+ - `lineNumbers?`: boolean
15
+ - `wrap?`: boolean
16
+
17
+ Example: `<G9CodeBlock text="Label" />`
@@ -9,7 +9,9 @@ Props:
9
9
  - `onClose`: () => void
10
10
  - `open`: boolean
11
11
  - `placeholder?`: string
12
+ - `onQueryChange?`: (query: string) => void
13
+ - `onRun?`: (command: G9Command) => void
12
14
  - `emptyText?`: string
13
- - `platform?`: 'mac' | 'other'
15
+ - `loadingText?`: string
14
16
 
15
17
  Example: `<G9CommandPalette commands={commands} onClose={() => {}} open />`
@@ -7,7 +7,7 @@ A slim line when the network is gone, coming back, or slow (G9Hub ConnectionBann
7
7
  Props:
8
8
  - `offlineText`: string
9
9
  - `reconnectingText`: string
10
- - `status`: 'online' | 'offline' | 'reconnecting' | 'connecting' | 'poor'
10
+ - `status`: 'online' | 'connecting' | 'offline' | 'reconnecting' | 'poor'
11
11
  - `onRetry?`: () => void
12
12
  - `backOnlineText?`: string
13
13
  - `connectingText?`: string = "reconnectingText"
@@ -0,0 +1,15 @@
1
+ # G9ContrastPanel
2
+
3
+ `import { G9ContrastPanel } from '@g9tm/lynxcontrols/appearance';`
4
+
5
+ A palette's contrast report: a sample, the ratio, AA / AAA and a fix for each failing pair.
6
+
7
+ Props:
8
+ - `palette`: object
9
+ - `onFix?`: (foreground: string, value: string) => void
10
+ - `onlyFailures?`: boolean
11
+ - `pairs?`: object[]
12
+ - `rules?`: object[]
13
+ - `words?`: object
14
+
15
+ Example: `<G9ContrastPanel palette={palette} />`
@@ -0,0 +1,17 @@
1
+ # G9DashboardCustomizeSheet
2
+
3
+ `import { G9DashboardCustomizeSheet } from '@g9tm/lynxcontrols/dashboard';`
4
+
5
+ Customize a dashboard: drag (or step) to reorder, show or hide each widget, pick half or full width, reset.
6
+
7
+ Props:
8
+ - `onChange`: (layout: { order: string[]; hidden: string[]; sizes: Record<string, G9WidgetSize>; }) => void
9
+ - `onClose`: () => void
10
+ - `open`: boolean
11
+ - `widgets`: object[]
12
+ - `layout?`: object
13
+ - `options?`: object
14
+ - `sizes?`: boolean = true
15
+ - `words?`: object
16
+
17
+ Example: `<G9DashboardCustomizeSheet onChange={() => {}} onClose={() => {}} open widgets={widgets} />`
@@ -0,0 +1,17 @@
1
+ # G9DashboardGrid
2
+
3
+ `import { G9DashboardGrid } from '@g9tm/lynxcontrols/dashboard';`
4
+
5
+ The dashboard: the person's widgets in their order and widths, full-width cards alone, half-width ones in two columns.
6
+
7
+ Props:
8
+ - `widgets`: object[]
9
+ - `columns?`: 1 | 2 | 'auto'
10
+ - `onWidgetError?`: (id: string, error: unknown) => void
11
+ - `empty?`: ReactNode
12
+ - `fallback?`: ReactNode
13
+ - `renderCard?`: (placed, content) => ReactNode
14
+ - `skeleton?`: ReactNode
15
+ - `gap?`: number = 12
16
+
17
+ Example: `<G9DashboardGrid widgets={widgets} />`
@@ -2,14 +2,16 @@
2
2
 
3
3
  `import { G9DragList } from '@g9tm/lynxcontrols/list';`
4
4
 
5
- Reorder by dragging (G9Hub board columns, ShopManager menu order): long-press lifts a row, it follows the finger, the rows it passes slide aside, release drops it.
5
+ Reorder by dragging (G9Hub's home customising, ShopManager menu order): a long press — or a touch on the row's handle (`handle`) — lifts a row, it follows the finger on the main thread, the rows it passes slide aside, re
6
6
 
7
7
  Props:
8
8
  - `getKey`: (item: T) => void
9
9
  - `items`: NonNullable<T>[]
10
10
  - `onReorder`: (items: T[]) => void
11
- - `renderItem`: (item, dragging) => ReactNode
11
+ - `renderItem`: (item, dragging, controls) => ReactNode
12
12
  - `disabled?`: boolean
13
+ - `onStart?`: (item: T, index: number) => void
14
+ - `handleLabel?`: string
13
15
  - `rowHeight?`: number = 56
14
16
 
15
17
  Example: `<G9DragList getKey={getKey} items={items} onReorder={() => {}} renderItem={renderItem} />`
@@ -11,7 +11,7 @@ Props:
11
11
  - `placeholder?`: string
12
12
  - `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
13
13
  - `disabled?`: boolean = false
14
- - `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
14
+ - `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
15
15
  - `keyboardType?`: 'number' | 'default' | 'email' | 'phone' | 'password' | 'url' = "default"
16
16
 
17
17
  Example: `<G9Editor />`
@@ -5,9 +5,10 @@
5
5
  Keeps a failing part from taking the page down (SAC ErrorBoundary): a fallback with a retry, the error reported once.
6
6
 
7
7
  Props:
8
- - `fallback`: (error, retry) => ReactNode
9
8
  - `children?`: ReactNode
10
9
  - `onError?`: (error: unknown) => void
10
+ - `fallback?`: ReactNode
11
+ - `resetKey?`: {}
11
12
  - `source?`: string
12
13
 
13
- Example: `<G9ErrorBoundary fallback={fallback} />`
14
+ Example: `<G9ErrorBoundary />`
@@ -5,11 +5,11 @@
5
5
  A label above any control, a hint or an error below (SAC Field, G9Hub Field): for controls without a floating label.
6
6
 
7
7
  Props:
8
- - `label`: string
8
+ - `label?`: string
9
9
  - `children?`: ReactNode
10
10
  - `hint?`: string
11
11
  - `aside?`: ReactNode
12
12
  - `error?`: string
13
13
  - `required?`: boolean
14
14
 
15
- Example: `<G9FormField label="Label" />`
15
+ Example: `<G9FormField />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `onPress?`: () => void
13
13
  - `disabled?`: boolean = false
14
14
  - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
15
- - `hint?`: string
15
+ - `pressFeedback?`: 'none' | 'tint' = "none"
16
16
 
17
17
  Example: `<G9ListRow title="Label" />`
@@ -10,7 +10,7 @@ Props:
10
10
  - `onSelect`: (key: string) => void
11
11
  - `open`: boolean
12
12
  - `title?`: string
13
- - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' = "bottom-start"
13
+ - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end' = "bottom-start"
14
14
  - `cancelText?`: string
15
15
  - `matchWidth?`: boolean
16
16
 
@@ -7,6 +7,8 @@ The entries of a menu (G9Hub MenuList): icon, label, shortcut, check; destructiv
7
7
  Props:
8
8
  - `items`: object[]
9
9
  - `onSelect`: (key: string) => void
10
+ - `backLabel?`: string
10
11
  - `density?`: 'sheet' | 'popover'
12
+ - `keyboard?`: boolean = false
11
13
 
12
14
  Example: `<G9MenuList items={items} onSelect={() => {}} />`
@@ -0,0 +1,17 @@
1
+ # G9NotificationCenter
2
+
3
+ `import { G9NotificationCenter } from '@g9tm/lynxcontrols/notifications';`
4
+
5
+ The notification center's content (inside a popover, a sheet or a page).
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `variant?`: 'sheet' | 'panel'
10
+ - `groupTitle?`: (group: G9NotificationGroup) => void
11
+ - `onFilterChange?`: (key: string) => void
12
+ - `onMarkAllRead?`: () => void
13
+ - `onMarkRead?`: (ids: readonly string[]) => void
14
+ - `onMenuItem?`: (key: string) => void
15
+ - `onOpen?`: (entry: G9NotificationEntry) => void
16
+
17
+ Example: `<G9NotificationCenter items={items} />`
@@ -0,0 +1,17 @@
1
+ # G9NotificationCenterPanel
2
+
3
+ `import { G9NotificationCenterPanel } from '@g9tm/lynxcontrols/notifications';`
4
+
5
+ The center beside its bell (a popover) on wide windows, as a sheet on phones; opening an entry closes it.
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `onClose`: () => void
10
+ - `open`: boolean
11
+ - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end' = "end-end"
12
+ - `groupTitle?`: (group: G9NotificationGroup) => void
13
+ - `onFilterChange?`: (key: string) => void
14
+ - `onMarkAllRead?`: () => void
15
+ - `onMarkRead?`: (ids: readonly string[]) => void
16
+
17
+ Example: `<G9NotificationCenterPanel items={items} onClose={() => {}} open />`
@@ -0,0 +1,13 @@
1
+ # G9PathNavigator
2
+
3
+ `import { G9PathNavigator } from '@g9tm/lynxcontrols/route';`
4
+
5
+ Draws the router: the top page (and the one parked under it), or a list and its detail side by side.
6
+
7
+ Props:
8
+ - `router`: object
9
+ - `renderPage?`: (entry, page, pane) => ReactNode
10
+ - `leaveMs?`: number = 0
11
+ - `wide?`: boolean
12
+
13
+ Example: `<G9PathNavigator router={router} />`
@@ -0,0 +1,17 @@
1
+ # G9PersonalThemeSheet
2
+
3
+ `import { G9PersonalThemeSheet } from '@g9tm/lynxcontrols/appearance';`
4
+
5
+ The personal theme editor: base, accent, surfaces, mode, wallpaper, a live preview and its contrast.
6
+
7
+ Props:
8
+ - `bases`: object[]
9
+ - `onClose`: () => void
10
+ - `onSave`: (theme: G9ThemeDefinition, draft: G9PersonalThemeDraft) => void
11
+ - `open`: boolean
12
+ - `onDelete?`: (id: string) => void
13
+ - `onExport?`: (theme: G9ThemeDefinition) => void
14
+ - `accents?`: object[]
15
+ - `draft?`: object
16
+
17
+ Example: `<G9PersonalThemeSheet bases={bases} onClose={() => {}} onSave={() => {}} open />`
@@ -8,7 +8,7 @@ Props:
8
8
  - `onClose`: () => void
9
9
  - `open`: boolean
10
10
  - `children?`: ReactNode
11
- - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' = "bottom-start"
11
+ - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end' = "bottom-start"
12
12
  - `matchWidth?`: boolean
13
13
  - `anchorId?`: string
14
14
  - `anchorNode?`: object
@@ -7,11 +7,11 @@ The root every G9 component lives in (plan/specs/01 §5, MAUI `G9Theme`/`G9Cultu
7
7
  Props:
8
8
  - `services`: object
9
9
  - `children?`: ReactNode
10
+ - `themeExtras?`: (theme: G9ResolvedTheme) => void
10
11
  - `shape?`: object
11
12
  - `breakpoints?`: object
12
13
  - `culture?`: string | object | object = "en"
13
14
  - `diagnostics?`: object
14
15
  - `persistTheme?`: boolean = true
15
- - `preview?`: object
16
16
 
17
17
  Example: `<G9Provider services={services} />`
@@ -5,13 +5,13 @@
5
5
  One- or two-thumb slider (MAUI `G9RangeSlider`) on lynx-ui `SliderRoot`: lynx-ui owns the gesture (main-thread drag, thumbs that meet but never cross); G9 maps minimum/maximum/step onto its normalized value, snaps with t
6
6
 
7
7
  Props:
8
+ - `label?`: string
8
9
  - `value?`: number
9
10
  - `onValueChange?`: (value: number) => void
10
11
  - `disabled?`: boolean
11
12
  - `mode?`: 'single' | 'range' = "range"
13
+ - `formatValue?`: (value: number) => void
12
14
  - `onRangeChange?`: (start: number, end: number) => void
13
15
  - `onValueChanged?`: (value: number) => void
14
- - `defaultValue?`: number
15
- - `bands?`: object[]
16
16
 
17
17
  Example: `<G9RangeSlider />`
@@ -0,0 +1,17 @@
1
+ # G9ReaderSheet
2
+
3
+ `import { G9ReaderSheet } from '@g9tm/lynxcontrols/reader';`
4
+
5
+ A long text read in a sheet: title, author and reading time, A− / A+ and close, then the `G9ReaderView`.
6
+
7
+ Props:
8
+ - `onClose`: () => void
9
+ - `open`: boolean
10
+ - `text`: string
11
+ - `title?`: string
12
+ - `size?`: string
13
+ - `minutesLabel?`: (minutes: number) => void
14
+ - `onSizeChange?`: (size: string) => void
15
+ - `closeLabel?`: string
16
+
17
+ Example: `<G9ReaderSheet onClose={() => {}} open text="Label" />`
@@ -0,0 +1,17 @@
1
+ # G9ReaderView
2
+
3
+ `import { G9ReaderView } from '@g9tm/lynxcontrols/reader';`
4
+
5
+ The text alone at the reader's size, measure and direction (inside any page or sheet).
6
+
7
+ Props:
8
+ - `text`: string
9
+ - `size?`: string
10
+ - `maxWidth?`: number = 680
11
+ - `renderText?`: (text, style) => ReactNode
12
+ - `direction?`: 'ltr' | 'rtl' | 'auto'
13
+ - `lineHeightFactors?`: object
14
+ - `sizes?`: object[]
15
+ - `accessibilityLabel?`: string
16
+
17
+ Example: `<G9ReaderView text="Label" />`
@@ -7,11 +7,11 @@ Button with guarded execution (MAUI `G9SafeButton`): a tap calls `onPress`, then
7
7
  Props:
8
8
  - `text?`: string
9
9
  - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
10
- - `size?`: 'small' | 'medium' | 'large' | 'hero' = "medium"
10
+ - `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
11
11
  - `leadingIcon?`: icon
12
12
  - `onPress?`: () => void
13
13
  - `disabled?`: boolean = false
14
- - `fontAttributes?`: 'bold' | 'none' | 'italic' | 'boldItalic' = "bold"
14
+ - `fontAttributes?`: 'none' | 'bold' | 'italic' | 'boldItalic' = "bold"
15
15
  - `onExecute?`: (context: G9SafeRunContext) => void
16
16
 
17
17
  Example: `<G9SafeButton />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
13
13
  - `disabled?`: boolean = false
14
14
  - `confirmType?`: 'search' | 'done' | 'send' | 'go' | 'next' = "done"
15
- - `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
15
+ - `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
16
16
 
17
17
  Example: `<G9SearchEntry />`
@@ -0,0 +1,17 @@
1
+ # G9SecretValue
2
+
3
+ `import { G9SecretValue } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A secret (an API token, a webhook address) in a box with its copy button; dots until revealed when asked.
6
+
7
+ Props:
8
+ - `value`: string
9
+ - `label?`: string
10
+ - `onCopy?`: (value: string) => void
11
+ - `copiedLabel?`: string
12
+ - `copyLabel?`: string
13
+ - `hideLabel?`: string
14
+ - `revealLabel?`: string
15
+ - `wrap?`: (value) => ReactNode
16
+
17
+ Example: `<G9SecretValue value="value" />`
@@ -6,6 +6,10 @@ The keyboard shortcuts as a readable list (G9Hub ShortcutsSheet; open it on `?`)
6
6
 
7
7
  Props:
8
8
  - `groups`: object[]
9
+ - `columns?`: 1 | 2 | 'auto'
10
+ - `hint?`: string
11
+ - `orText?`: string
12
+ - `thenText?`: string
9
13
  - `platform?`: 'mac' | 'other'
10
14
 
11
15
  Example: `<G9ShortcutList groups={groups} />`
@@ -9,7 +9,9 @@ Props:
9
9
  - `onClose`: () => void
10
10
  - `open`: boolean
11
11
  - `title`: string
12
+ - `columns?`: 1 | 2 | 'auto'
12
13
  - `closeText?`: string
13
- - `platform?`: 'mac' | 'other'
14
+ - `hint?`: string
15
+ - `orText?`: string
14
16
 
15
17
  Example: `<G9ShortcutsSheet groups={groups} onClose={() => {}} open title="Label" />`
@@ -8,7 +8,7 @@ Props:
8
8
  - `text`: string
9
9
  - `size?`: 'sm' | 'md' | 'lg'
10
10
  - `icon?`: icon
11
- - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "soft"
11
+ - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft' = "soft"
12
12
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
13
13
  - `fillAlpha?`: number = 0.15
14
14
  - `bordered?`: boolean
@@ -10,8 +10,8 @@ Props:
10
10
  - `onChange?`: (value: number) => void
11
11
  - `disabled?`: boolean = false
12
12
  - `format?`: (value: number) => void
13
+ - `addLabel?`: string
13
14
  - `decreaseLabel?`: string
14
15
  - `increaseLabel?`: string
15
- - `removeLabel?`: string = "decreaseLabel"
16
16
 
17
17
  Example: `<G9Stepper />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `subtitle?`: string
13
13
  - `disabled?`: boolean = false
14
14
  - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
15
- - `hint?`: string
15
+ - `pressFeedback?`: 'none' | 'tint' = "none"
16
16
 
17
17
  Example: `<G9SwitchRow checked onCheckedChange={() => {}} title="Label" />`
@@ -7,7 +7,7 @@ A small label on a card or row (menu item tags, statuses that are not states): t
7
7
  Props:
8
8
  - `text`: string
9
9
  - `icon?`: icon
10
- - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid'
10
+ - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft'
11
11
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
12
12
  - `emoji?`: string
13
13
 
@@ -12,6 +12,6 @@ Props:
12
12
  - `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
13
13
  - `disabled?`: boolean = false
14
14
  - `confirmType?`: 'search' | 'done' | 'send' | 'go' | 'next' = "done"
15
- - `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
15
+ - `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
16
16
 
17
17
  Example: `<G9TextEntry />`
@@ -2,7 +2,7 @@
2
2
 
3
3
  `import { G9UpdateBar } from '@g9tm/lynxcontrols/shell';`
4
4
 
5
- «A new version is ready — restart» (SAC UpdatePrompt, live updates): a slim bar that slides down when shown.
5
+ «A new version is ready — restart» (SAC UpdatePrompt, live updates): a slim bar with the action and an optional dismissal.
6
6
 
7
7
  Props:
8
8
  - `actionText`: string
@@ -11,5 +11,6 @@ Props:
11
11
  - `text`: string
12
12
  - `onDismiss?`: () => void
13
13
  - `dismissText?`: string
14
+ - `placement?`: 'overlay' | 'inline'
14
15
 
15
16
  Example: `<G9UpdateBar actionText="actionText" onAction={() => {}} shown text="Label" />`
@@ -7,7 +7,7 @@ A virtualised list on Lynx's native `<list>` (G9Hub VirtualList, SAC DataGrid ro
7
7
  Props:
8
8
  - `getKey`: (item: T, index: number) => void
9
9
  - `items`: NonNullable<T>[]
10
- - `renderItem`: (item, index) => ReactNode
10
+ - `renderItem`: (item, index, state) => ReactNode
11
11
  - `columns?`: number = 1
12
12
  - `isFullSpan?`: (item: T, index: number) => void
13
13
  - `isSticky?`: (item: T, index: number) => void
@@ -0,0 +1,16 @@
1
+ # G9WallpaperSwatch
2
+
3
+ `import { G9WallpaperSwatch } from '@g9tm/lynxcontrols/appearance';`
4
+
5
+ A wallpaper as a small swatch in the palette's colours, with its name and a ring when chosen.
6
+
7
+ Props:
8
+ - `palette`: object
9
+ - `scheme`: 'light' | 'dark'
10
+ - `wallpaper`: object
11
+ - `label?`: string
12
+ - `selected?`: boolean
13
+ - `onPress?`: () => void
14
+ - `height?`: number = 56
15
+
16
+ Example: `<G9WallpaperSwatch palette={palette} scheme="light" wallpaper={wallpaper} />`
@@ -0,0 +1,9 @@
1
+ # G9WidgetSkeleton
2
+
3
+ `import { G9WidgetSkeleton } from '@g9tm/lynxcontrols/dashboard';`
4
+
5
+ The card shown while a widget's code loads.
6
+
7
+ Props:
8
+
9
+ Example: `<G9WidgetSkeleton />`
@@ -0,0 +1,13 @@
1
+ # G9WidgetSlot
2
+
3
+ `import { G9WidgetSlot } from '@g9tm/lynxcontrols/dashboard';`
4
+
5
+ One widget: drawn at once, or after its code arrives (a skeleton meanwhile); a failure leaves the slot.
6
+
7
+ Props:
8
+ - `widget`: object
9
+ - `onError?`: (id: string, error: unknown) => void
10
+ - `fallback?`: ReactNode
11
+ - `skeleton?`: ReactNode
12
+
13
+ Example: `<G9WidgetSlot widget={widget} />`