@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
@@ -0,0 +1,205 @@
1
+ # `@g9tm/lynxcontrols-calendar` (part 1 of 2) (generated)
2
+
3
+ # G9AgendaView
4
+
5
+ `import { G9AgendaView } from '@g9tm/lynxcontrols-calendar';`
6
+
7
+ Days with something on them, each a sticky header (its date, «today», the other calendar's date) over its holidays and its events (time, a colour, the title, where, the person's answer), on the recycler; «later days» und
8
+
9
+ Props:
10
+ - `events`: object[]
11
+ - `today`: object
12
+ - `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
13
+ - `onLoadMore?`: () => void
14
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
15
+ - `allDayText?`: string
16
+ - `loading?`: boolean
17
+ - `empty?`: ReactNode
18
+
19
+ Example: `<G9AgendaView events={events} today={today} />`
20
+
21
+ # G9BirthdayField
22
+
23
+ `import { G9BirthdayField } from '@g9tm/lynxcontrols-calendar';`
24
+
25
+ A birthday on the viewer's calendar: the month, the day, an optional year; stored in Gregorian.
26
+
27
+ Props:
28
+ - `labels`: object
29
+ - `onChange`: (value: G9Birthday | null) => void
30
+ - `value`: object
31
+ - `disabled?`: boolean
32
+ - `thisYear?`: number
33
+
34
+ Example: `<G9BirthdayField labels={labels} onChange={() => {}} value={value} />`
35
+
36
+ # G9DateInput
37
+
38
+ `import { G9DateInput } from '@g9tm/lynxcontrols-calendar';`
39
+
40
+ A date typed the way people say it — «فردا», «۱۵ مهر», «2026-03-21», «next friday» — read on blur (parseNaturalDate), with a month to tap under it.
41
+
42
+ Props:
43
+ - `label`: string
44
+ - `onChange`: (date: G9LocalDate | null) => void
45
+ - `today`: object
46
+ - `value`: object
47
+ - `disabled?`: boolean
48
+ - `hint?`: string
49
+ - `invalidText?`: string
50
+ - `error?`: string
51
+
52
+ Example: `<G9DateInput label="Label" onChange={() => {}} today={today} value={value} />`
53
+
54
+ # G9EventCard
55
+
56
+ `import { G9EventCard } from '@g9tm/lynxcontrols-calendar';`
57
+
58
+ An event linked in a message: title, when, repeat, place, guests, and yes / maybe / no for an invitee.
59
+
60
+ Props:
61
+ - `event`: object
62
+ - `labels`: object
63
+ - `onOpen?`: () => void
64
+ - `onRespond?`: (answer: "accepted" | "tentative" | "declined") => void
65
+ - `busy?`: boolean
66
+ - `guests?`: number
67
+ - `hidden?`: boolean
68
+ - `repeat?`: string
69
+
70
+ Example: `<G9EventCard event={event} labels={labels} />`
71
+
72
+ # G9FindTime
73
+
74
+ `import { G9FindTime } from '@g9tm/lynxcontrols-calendar';`
75
+
76
+ «Find a time»: the common free slots by day, everyone-free in green, the least busy with how many are busy.
77
+
78
+ Props:
79
+ - `labels`: object
80
+ - `onPick`: (slot: G9FreeSlot) => void
81
+ - `slots`: object[]
82
+ - `disabled?`: boolean
83
+ - `onSearch?`: () => void
84
+ - `loading?`: boolean
85
+ - `error?`: string
86
+
87
+ Example: `<G9FindTime labels={labels} onPick={() => {}} slots={slots} />`
88
+
89
+ # G9MiniMonth
90
+
91
+ `import { G9MiniMonth } from '@g9tm/lynxcontrols-calendar';`
92
+
93
+ A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.
94
+
95
+ Props:
96
+ - `today`: object
97
+ - `value?`: object
98
+ - `onSelect?`: (date: G9LocalDate) => void
99
+ - `dayOff?`: (date: G9LocalDate) => void
100
+ - `marked?`: (date: G9LocalDate) => void
101
+ - `onMonthChange?`: (month: G9LocalDate) => void
102
+ - `initialMonth?`: object
103
+ - `max?`: object
104
+
105
+ Example: `<G9MiniMonth today={today} />`
106
+
107
+ # G9MonthDayPicker
108
+
109
+ `import { G9MonthDayPicker } from '@g9tm/lynxcontrols-calendar';`
110
+
111
+ Two rows of chips: the twelve months of the culture's calendar, then the chosen month's days.
112
+
113
+ Props:
114
+ - `onChange`: (value: G9MonthDay | null) => void
115
+ - `value`: object
116
+
117
+ Example: `<G9MonthDayPicker onChange={() => {}} value={value} />`
118
+
119
+ # G9MonthView
120
+
121
+ `import { G9MonthView } from '@g9tm/lynxcontrols-calendar';`
122
+
123
+ The month with lanes of events, holidays, days off and a mouse drag (wide), or dots and a selected day (compact).
124
+
125
+ Props:
126
+ - `events`: object[]
127
+ - `month`: object
128
+ - `today`: object
129
+ - `selected?`: object
130
+ - `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
131
+ - `dayOff?`: (date: G9LocalDate) => void
132
+ - `moreText?`: (n: number) => void = "+n"
133
+ - `onCreate?`: (draft: G9MonthDraft) => void
134
+
135
+ Example: `<G9MonthView events={events} month={month} today={today} />`
136
+
137
+ # G9RepeatPicker
138
+
139
+ `import { G9RepeatPicker } from '@g9tm/lynxcontrols-calendar';`
140
+
141
+ Never / daily / weekly / … : the presets from the start date and a full custom editor, or the plain frequency row.
142
+
143
+ Props:
144
+ - `labels`: object
145
+ - `onChange`: (rule: G9Recurrence | null) => void
146
+ - `value`: object
147
+ - `editorLabels?`: object
148
+ - `presets?`: 'none' | 'daily' | 'weekly' | 'workdays' | 'monthlyDate' | 'monthlyWeekday' | 'yearly' | 'custom'[]
149
+ - `start?`: object
150
+ - `words?`: object
151
+
152
+ Example: `<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />`
153
+
154
+ # G9TimeGrid
155
+
156
+ `import { G9TimeGrid } from '@g9tm/lynxcontrols-calendar';`
157
+
158
+ The hours with overlap lanes, the all-day row and the gestures.
159
+
160
+ Props:
161
+ - `events`: object[]
162
+ - `start`: object
163
+ - `today`: object
164
+ - `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
165
+ - `dayOff?`: (date: G9LocalDate) => void
166
+ - `moreText?`: (n: number) => void = "+n"
167
+ - `onCreate?`: (draft: G9TimeDraft) => void
168
+ - `onMove?`: (event: G9CalendarEvent, draft: G9TimeDraft) => void
169
+
170
+ Example: `<G9TimeGrid events={events} start={start} today={today} />`
171
+
172
+ # G9TimeListPicker
173
+
174
+ `import { G9TimeListPicker } from '@g9tm/lynxcontrols-calendar';`
175
+
176
+ A time picked from a list of steps: a popover on a wide window, a sheet on a phone; it opens at the value.
177
+
178
+ Props:
179
+ - `label`: string
180
+ - `onChange`: (minutes: number) => void
181
+ - `value`: number
182
+ - `title?`: string
183
+ - `placeholder?`: string
184
+ - `disabled?`: boolean
185
+ - `hint?`: string
186
+ - `error?`: string
187
+
188
+ Example: `<G9TimeListPicker label="Label" onChange={() => {}} value={1} />`
189
+
190
+ # G9TodayWidget
191
+
192
+ `import { G9TodayWidget } from '@g9tm/lynxcontrols-calendar';`
193
+
194
+ Today's events on a home screen: the date, all-day first, then timed with the next one marked; «and n more».
195
+
196
+ Props:
197
+ - `events`: object[]
198
+ - `labels`: object
199
+ - `now`: number
200
+ - `today`: object
201
+ - `onOpen?`: () => void
202
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
203
+ - `max?`: number = 4
204
+
205
+ Example: `<G9TodayWidget events={events} labels={labels} now={1} today={today} />`
@@ -0,0 +1,36 @@
1
+ # `@g9tm/lynxcontrols-calendar` (part 2 of 2) (generated)
2
+
3
+ # G9WorkingHoursEditor
4
+
5
+ `import { G9WorkingHoursEditor } from '@g9tm/lynxcontrols-calendar';`
6
+
7
+ The week's working hours: a switch per weekday (in the culture's week), its ranges, copy to every day, the zone.
8
+
9
+ Props:
10
+ - `labels`: object
11
+ - `onChange`: (week: Readonly<Partial<Record<number, readonly G9WorkRange[]>>>) => void
12
+ - `value`: object
13
+ - `onTimeZoneChange?`: (zone: string) => void
14
+ - `defaultRange?`: object = 9
15
+ - `timeZone?`: string
16
+ - `zones?`: string[]
17
+
18
+ Example: `<G9WorkingHoursEditor labels={labels} onChange={() => {}} value={value} />`
19
+
20
+ # G9ZonePicker
21
+
22
+ `import { G9ZonePicker } from '@g9tm/lynxcontrols-calendar';`
23
+
24
+ A searchable time-zone picker: the rows are windowed, so ~420 zones open as fast as ten.
25
+
26
+ Props:
27
+ - `onChange`: (zone: string) => void
28
+ - `value`: string
29
+ - `zones`: string[]
30
+ - `label?`: string
31
+ - `leadingIcon?`: icon
32
+ - `placeholder?`: string
33
+ - `disabled?`: boolean = false
34
+ - `offsetOf?`: (zone: string) => void
35
+
36
+ Example: `<G9ZonePicker onChange={() => {}} value="value" zones={zones} />`
@@ -0,0 +1,33 @@
1
+ # `@g9tm/lynxcontrols-canvas` (generated)
2
+
3
+ # G9Canvas
4
+
5
+ `import { G9Canvas } from '@g9tm/lynxcontrols-canvas';`
6
+
7
+ A whiteboard on the host's `<g9-canvas>` (or the desktop's page).
8
+
9
+ Props:
10
+ - `controller`: object
11
+ - `editable`: boolean
12
+ - `port`: object
13
+ - `stroke`: object
14
+ - `tool`: 'text' | 'image' | 'line' | 'selection' | 'arrow' | 'diamond' | 'rectangle' | 'ellipse' | 'frame' | 'hand' | 'freedraw' | 'eraser' | 'laser'
15
+ - `accent?`: string
16
+ - `background?`: color
17
+ - `dark?`: boolean
18
+
19
+ Example: `<G9Canvas controller={controller} editable port={port} stroke={stroke} tool="text" />`
20
+
21
+ # G9CanvasStylePanel
22
+
23
+ `import { G9CanvasStylePanel } from '@g9tm/lynxcontrols-canvas';`
24
+
25
+ The style of the tool in hand or the selection: colours, fill, stroke, sloppiness, edges, text, arrows, layers.
26
+
27
+ Props:
28
+ - `controller`: object
29
+ - `selected`: object[]
30
+ - `tool`: string
31
+ - `words?`: object
32
+
33
+ Example: `<G9CanvasStylePanel controller={controller} selected={selected} style={style} tool="tool" />`
@@ -0,0 +1,199 @@
1
+ # `@g9tm/lynxcontrols-chat` (part 1 of 2) (generated)
2
+
3
+ # G9ChatComposer
4
+
5
+ `import { G9ChatComposer } from '@g9tm/lynxcontrols-chat';`
6
+
7
+ The message box: a growing text area (up to 5 lines), attach and emoji at the start, send at the end — send only when there is something to send; Enter on a hardware keyboard sends, Shift+Enter breaks the line.
8
+
9
+ Props:
10
+ - `onSend`: (text: string) => void
11
+ - `placeholder`: string
12
+ - `value?`: string
13
+ - `onChange?`: (text: string) => void
14
+ - `disabled?`: boolean
15
+ - `mentionSearch?`: (query: string) => void
16
+ - `onArrowUpEmpty?`: () => void
17
+ - `onAttach?`: () => void
18
+
19
+ Example: `<G9ChatComposer onSend={() => {}} placeholder="placeholder" />`
20
+
21
+ # G9ChatThread
22
+
23
+ `import { G9ChatThread } from '@g9tm/lynxcontrols-chat';`
24
+
25
+ A conversation on the recycler: starts at the newest message, day dividers sticky, rows rendered as they come into view (deferred list items), older pages asked for near the top.
26
+
27
+ Props:
28
+ - `me`: string
29
+ - `messages`: object[]
30
+ - `dayLabel?`: (dayStartMs: number) => void
31
+ - `onLoadOlder?`: () => void
32
+ - `onLongPress?`: (message: G9Message) => void
33
+ - `onRetry?`: (message: G9Message) => void
34
+ - `renderAttachment?`: (message) => ReactNode
35
+ - `bubble?`: object
36
+
37
+ Example: `<G9ChatThread me="me" messages={messages} />`
38
+
39
+ # G9ConversationRow
40
+
41
+ `import { G9ConversationRow } from '@g9tm/lynxcontrols-chat';`
42
+
43
+ A conversation in the inbox: avatar (with presence), name (icon, verified, muted), the ticks of my last message, the time, then the last message, my draft or «typing…» with the counts (unread, mentions) or a pin.
44
+
45
+ Props:
46
+ - `at`: number
47
+ - `name`: string
48
+ - `preview`: string
49
+ - `icon?`: icon
50
+ - `onPress?`: () => void
51
+ - `onLongPress?`: () => void
52
+ - `unreadLabel?`: (count: number) => void
53
+ - `draftLabel?`: string
54
+
55
+ Example: `<G9ConversationRow at={1} name="name" preview="preview" />`
56
+
57
+ # G9EmojiLibrary
58
+
59
+ `import { G9EmojiLibrary } from '@g9tm/lynxcontrols-chat';`
60
+
61
+ The app's custom emoji (or stickers): upload one (the app picks and scales the file), name it with a shortcode and a group, rename, regroup or remove; a search when there are many.
62
+
63
+ Props:
64
+ - `items`: object[]
65
+ - `labels`: object
66
+ - `columns?`: number
67
+ - `errorText?`: (error: unknown) => void
68
+ - `onAdd?`: (file: G9PickedEmojiFile, code: string, group: string) => void
69
+ - `onPickFile?`: () => void
70
+ - `onRemove?`: (item: G9CustomEmoji) => void
71
+ - `onUpdate?`: (item: G9CustomEmoji, code: string, group: string) => void
72
+
73
+ Example: `<G9EmojiLibrary items={items} labels={labels} />`
74
+
75
+ # G9EmojiPicker
76
+
77
+ `import { G9EmojiPicker } from '@g9tm/lynxcontrols-chat';`
78
+
79
+ Emoji by category: tabs over a grid of 44 dp targets, or the full catalogue with search, tones and recents.
80
+
81
+ Props:
82
+ - `onPick`: (emoji: string) => void
83
+ - `columns?`: number
84
+ - `onSkinToneChange?`: (tone: G9SkinTone) => void
85
+ - `emptyText?`: string
86
+ - `catalog?`: object[]
87
+ - `categoryNames?`: object
88
+ - `height?`: number = 320
89
+ - `labels?`: object
90
+
91
+ Example: `<G9EmojiPicker onPick={() => {}} />`
92
+
93
+ # G9FileCard
94
+
95
+ `import { G9FileCard } from '@g9tm/lynxcontrols-chat';`
96
+
97
+ A file in a message: its kind's badge (the extension), name, size, a progress ring with cancel while it moves.
98
+
99
+ Props:
100
+ - `name`: string
101
+ - `size?`: number
102
+ - `icon?`: icon
103
+ - `onCancel?`: () => void
104
+ - `onOpen?`: () => void
105
+ - `cancelLabel?`: string
106
+ - `mine?`: boolean
107
+ - `progress?`: number
108
+
109
+ Example: `<G9FileCard name="name" />`
110
+
111
+ # G9GifPicker
112
+
113
+ `import { G9GifPicker } from '@g9tm/lynxcontrols-chat';`
114
+
115
+ GIFs: the `G9StickerPicker` in two columns that keep each GIF's ratio, a search usually given.
116
+
117
+ Props:
118
+ - `onPick`: (item: G9StickerItem, packId: string | null) => void
119
+ - `packs`: object[]
120
+ - `columns?`: number
121
+ - `onItemLongPress?`: (item: G9StickerItem, packId: string | null) => void
122
+ - `search?`: (query: string, signal: AbortSignal) => void
123
+ - `emptyText?`: string
124
+ - `errorText?`: string
125
+ - `loadingText?`: string
126
+
127
+ Example: `<G9GifPicker onPick={() => {}} packs={packs} />`
128
+
129
+ # G9LinkPreview
130
+
131
+ `import { G9LinkPreview } from '@g9tm/lynxcontrols-chat';`
132
+
133
+ A link's preview (site, title, description, picture) under a message or above the composer.
134
+
135
+ Props:
136
+ - `url`: string
137
+ - `title?`: string
138
+ - `onDismiss?`: () => void
139
+ - `onOpen?`: (url: string) => void
140
+ - `description?`: string
141
+ - `dismissLabel?`: string
142
+ - `compact?`: boolean
143
+ - `image?`: string
144
+
145
+ Example: `<G9LinkPreview url="url" />`
146
+
147
+ # G9MessageBubble
148
+
149
+ `import { G9MessageBubble } from '@g9tm/lynxcontrols-chat';`
150
+
151
+ One message: mine on the end side in the primary container colour, theirs on the start side on the surface; the corner toward the sender is tightened inside a run (first/middle/last), the time and the status ticks under
152
+
153
+ Props:
154
+ - `message`: object
155
+ - `mine`: boolean
156
+ - `customEmoji?`: (shortcode: string) => void
157
+ - `forwardedLabel?`: (from: string) => void
158
+ - `onAddReaction?`: (message: G9Message) => void
159
+ - `onEdited?`: (message: G9Message) => void
160
+ - `onLongPress?`: (message: G9Message) => void
161
+ - `onMention?`: (id: string) => void
162
+
163
+ Example: `<G9MessageBubble message={message} mine />`
164
+
165
+ # G9MessageMenu
166
+
167
+ `import { G9MessageMenu } from '@g9tm/lynxcontrols-chat';`
168
+
169
+ A message's long-press menu: a row of quick reactions (and «+» for the full picker) above the actions.
170
+
171
+ Props:
172
+ - `items`: object[]
173
+ - `onClose`: () => void
174
+ - `onSelect`: (key: string) => void
175
+ - `open`: boolean
176
+ - `title?`: string
177
+ - `onReact?`: (emoji: string) => void
178
+ - `cancelText?`: string
179
+ - `moreLabel?`: string
180
+
181
+ Example: `<G9MessageMenu items={items} onClose={() => {}} onSelect={() => {}} open />`
182
+
183
+ # G9MessageMeta
184
+
185
+ `import { G9MessageMeta } from '@g9tm/lynxcontrols-chat';`
186
+
187
+ A message's meta line: marks (pinned, silent, reminder, waiting), «edited», the time and my ticks.
188
+
189
+ Props:
190
+ - `time`: string | number
191
+ - `onEdited?`: () => void
192
+ - `onRetry?`: () => void
193
+ - `editedLabel?`: string
194
+ - `markIcons?`: icon
195
+ - `edited?`: boolean
196
+ - `marks?`: 'pinned' | 'silent' | 'reminder' | 'waiting'[]
197
+ - `mine?`: boolean
198
+
199
+ Example: `<G9MessageMeta time={time} />`
@@ -0,0 +1,119 @@
1
+ # `@g9tm/lynxcontrols-chat` (part 2 of 2) (generated)
2
+
3
+ # G9MessageText
4
+
5
+ `import { G9MessageText } from '@g9tm/lynxcontrols-chat';`
6
+
7
+ A message's text: links open through the app (`onOpenLink`; nothing here fetches them), mentions highlighted (the reader's own on a tint), light formatting, inline code and code blocks (left to right), the app's `:emoji:
8
+
9
+ Props:
10
+ - `text`: string
11
+ - `customEmoji?`: (shortcode: string) => void
12
+ - `onMention?`: (id: string) => void
13
+ - `onOpenLink?`: (href: string) => void
14
+ - `bigEmoji?`: boolean = true
15
+ - `trailing?`: ReactNode
16
+ - `color?`: color
17
+ - `direction?`: 'ltr' | 'rtl' | 'auto'
18
+
19
+ Example: `<G9MessageText text="Label" />`
20
+
21
+ # G9PersonPicker
22
+
23
+ `import { G9PersonPicker } from '@g9tm/lynxcontrols-chat';`
24
+
25
+ People found as the person types; one pick, or several as chips with avatars; «show more» for the next page.
26
+
27
+ Props:
28
+ - `labels`: object
29
+ - `search`: (query: string, offset: number, signal: { readonly aborted: boolean; }) => void
30
+ - `selected?`: object[]
31
+ - `errorText?`: (error: unknown) => void
32
+ - `onPick?`: (person: G9Person) => void
33
+ - `onSelectedChange?`: (people: G9Person[]) => void
34
+ - `exclude?`: string[]
35
+ - `multiple?`: boolean = false
36
+
37
+ Example: `<G9PersonPicker labels={labels} search={search} />`
38
+
39
+ # G9PinnedBar
40
+
41
+ `import { G9PinnedBar } from '@g9tm/lynxcontrols-chat';`
42
+
43
+ The pinned messages under a conversation's header, one at a time with a bar per message (up to four).
44
+
45
+ Props:
46
+ - `items`: object[]
47
+ - `label`: string
48
+ - `onJump`: (item: G9PinnedItem) => void
49
+ - `countLabel?`: (index: number, total: number) => void
50
+ - `onUnpin?`: (item: G9PinnedItem) => void
51
+ - `unpinLabel?`: string
52
+
53
+ Example: `<G9PinnedBar items={items} label="Label" onJump={() => {}} />`
54
+
55
+ # G9ReactionBar
56
+
57
+ `import { G9ReactionBar } from '@g9tm/lynxcontrols-chat';`
58
+
59
+ Reactions under a message: emoji and count, mine on the accent; a tap toggles, a long press shows who.
60
+
61
+ Props:
62
+ - `reactions`: object[]
63
+ - `customEmoji?`: (shortcode: string) => void
64
+ - `onAdd?`: () => void
65
+ - `onDetails?`: (emoji: string) => void
66
+ - `onToggle?`: (emoji: string) => void
67
+ - `addLabel?`: string
68
+ - `mine?`: boolean
69
+ - `selectedWord?`: string
70
+
71
+ Example: `<G9ReactionBar reactions={reactions} />`
72
+
73
+ # G9SlashSuggestions
74
+
75
+ `import { G9SlashSuggestions } from '@g9tm/lynxcontrols-chat';`
76
+
77
+ The commands matching the composer's `/name`, above it.
78
+
79
+ Props:
80
+ - `commands`: object[]
81
+ - `onPick`: (command: G9SlashCommand) => void
82
+ - `text`: string
83
+ - `title?`: string
84
+ - `onDismiss?`: () => void
85
+ - `builtInLabel?`: string
86
+ - `keyboard?`: boolean = true
87
+
88
+ Example: `<G9SlashSuggestions commands={commands} onPick={() => {}} text="Label" />`
89
+
90
+ # G9StickerPicker
91
+
92
+ `import { G9StickerPicker } from '@g9tm/lynxcontrols-chat';`
93
+
94
+ Stickers by pack (tabs) or GIFs, in a virtual grid, with an optional search; each cell spoken by its label.
95
+
96
+ Props:
97
+ - `onPick`: (item: G9StickerItem, packId: string | null) => void
98
+ - `packs`: object[]
99
+ - `columns?`: number
100
+ - `variant?`: 'sticker' | 'gif'
101
+ - `onItemLongPress?`: (item: G9StickerItem, packId: string | null) => void
102
+ - `search?`: (query: string, signal: AbortSignal) => void
103
+ - `emptyText?`: string
104
+ - `errorText?`: string
105
+
106
+ Example: `<G9StickerPicker onPick={() => {}} packs={packs} />`
107
+
108
+ # G9TypingDots
109
+
110
+ `import { G9TypingDots } from '@g9tm/lynxcontrols-chat';`
111
+
112
+ Three dots that rise in turn (CSS animation: nothing runs in script).
113
+
114
+ Props:
115
+ - `label?`: string
116
+ - `variant?`: 'bubble' | 'inline'
117
+ - `color?`: color
118
+
119
+ Example: `<G9TypingDots />`
@@ -11,8 +11,10 @@ Props:
11
11
  - `onClose`: () => void
12
12
  - `open`: boolean
13
13
  - `placeholder?`: string
14
+ - `onQueryChange?`: (query: string) => void
15
+ - `onRun?`: (command: G9Command) => void
14
16
  - `emptyText?`: string
15
- - `platform?`: 'mac' | 'other'
17
+ - `loadingText?`: string
16
18
 
17
19
  Example: `<G9CommandPalette commands={commands} onClose={() => {}} open />`
18
20
 
@@ -24,6 +26,10 @@ The keyboard shortcuts as a readable list (G9Hub ShortcutsSheet; open it on `?`)
24
26
 
25
27
  Props:
26
28
  - `groups`: object[]
29
+ - `columns?`: 1 | 2 | 'auto'
30
+ - `hint?`: string
31
+ - `orText?`: string
32
+ - `thenText?`: string
27
33
  - `platform?`: 'mac' | 'other'
28
34
 
29
35
  Example: `<G9ShortcutList groups={groups} />`
@@ -39,7 +45,9 @@ Props:
39
45
  - `onClose`: () => void
40
46
  - `open`: boolean
41
47
  - `title`: string
48
+ - `columns?`: 1 | 2 | 'auto'
42
49
  - `closeText?`: string
43
- - `platform?`: 'mac' | 'other'
50
+ - `hint?`: string
51
+ - `orText?`: string
44
52
 
45
53
  Example: `<G9ShortcutsSheet groups={groups} onClose={() => {}} open title="Label" />`
@@ -61,7 +61,7 @@ Props:
61
61
  - `addText`: string
62
62
  - `onChange`: (qty: number) => void
63
63
  - `value`: number
64
- - `size?`: 'sm' | 'md'
64
+ - `size?`: 'sm' | 'md' | 'lg' = "md"
65
65
  - `disabled?`: boolean
66
66
  - `format?`: (qty: number) => void
67
67
  - `onAdd?`: (origin: { readonly x: number; readonly y: number; }) => void
@@ -0,0 +1,61 @@
1
+ # `@g9tm/lynxcontrols/dashboard` (generated)
2
+
3
+ # G9DashboardCustomizeSheet
4
+
5
+ `import { G9DashboardCustomizeSheet } from '@g9tm/lynxcontrols/dashboard';`
6
+
7
+ Customize a dashboard: drag (or step) to reorder, show or hide each widget, pick half or full width, reset.
8
+
9
+ Props:
10
+ - `onChange`: (layout: { order: string[]; hidden: string[]; sizes: Record<string, G9WidgetSize>; }) => void
11
+ - `onClose`: () => void
12
+ - `open`: boolean
13
+ - `widgets`: object[]
14
+ - `layout?`: object
15
+ - `options?`: object
16
+ - `sizes?`: boolean = true
17
+ - `words?`: object
18
+
19
+ Example: `<G9DashboardCustomizeSheet onChange={() => {}} onClose={() => {}} open widgets={widgets} />`
20
+
21
+ # G9DashboardGrid
22
+
23
+ `import { G9DashboardGrid } from '@g9tm/lynxcontrols/dashboard';`
24
+
25
+ The dashboard: the person's widgets in their order and widths, full-width cards alone, half-width ones in two columns.
26
+
27
+ Props:
28
+ - `widgets`: object[]
29
+ - `columns?`: 1 | 2 | 'auto'
30
+ - `onWidgetError?`: (id: string, error: unknown) => void
31
+ - `empty?`: ReactNode
32
+ - `fallback?`: ReactNode
33
+ - `renderCard?`: (placed, content) => ReactNode
34
+ - `skeleton?`: ReactNode
35
+ - `gap?`: number = 12
36
+
37
+ Example: `<G9DashboardGrid widgets={widgets} />`
38
+
39
+ # G9WidgetSkeleton
40
+
41
+ `import { G9WidgetSkeleton } from '@g9tm/lynxcontrols/dashboard';`
42
+
43
+ The card shown while a widget's code loads.
44
+
45
+ Props:
46
+
47
+ Example: `<G9WidgetSkeleton />`
48
+
49
+ # G9WidgetSlot
50
+
51
+ `import { G9WidgetSlot } from '@g9tm/lynxcontrols/dashboard';`
52
+
53
+ One widget: drawn at once, or after its code arrives (a skeleton meanwhile); a failure leaves the slot.
54
+
55
+ Props:
56
+ - `widget`: object
57
+ - `onError?`: (id: string, error: unknown) => void
58
+ - `fallback?`: ReactNode
59
+ - `skeleton?`: ReactNode
60
+
61
+ Example: `<G9WidgetSlot widget={widget} />`