@g9tm/lynxcontrols 2.3.0 → 2.4.0

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 (357) hide show
  1. package/README.md +1 -0
  2. package/bin/g9lynx.mjs +103 -0
  3. package/bin/g9lynx.test.mjs +80 -0
  4. package/catalog/cards/DateTimeSheetBody.md +17 -0
  5. package/catalog/cards/G9ActionRow.md +11 -0
  6. package/catalog/cards/G9ActionSheet.md +14 -0
  7. package/catalog/cards/G9Activity.md +11 -0
  8. package/catalog/cards/G9ActivityIndicator.md +14 -0
  9. package/catalog/cards/G9AllocationInput.md +17 -0
  10. package/catalog/cards/G9Anchor.md +17 -0
  11. package/catalog/cards/G9AnimatedCheck.md +13 -0
  12. package/catalog/cards/G9AppBar.md +17 -0
  13. package/catalog/cards/G9AppShell.md +17 -0
  14. package/catalog/cards/G9Art.md +13 -0
  15. package/catalog/cards/G9Avatar.md +16 -0
  16. package/catalog/cards/G9Badge.md +15 -0
  17. package/catalog/cards/G9Bento.md +13 -0
  18. package/catalog/cards/G9Button.md +17 -0
  19. package/catalog/cards/G9CameFromMark.md +9 -0
  20. package/catalog/cards/G9Card.md +17 -0
  21. package/catalog/cards/G9CascadePanel.md +17 -0
  22. package/catalog/cards/G9CheckBox.md +17 -0
  23. package/catalog/cards/G9Chip.md +17 -0
  24. package/catalog/cards/G9ChipGroup.md +17 -0
  25. package/catalog/cards/G9ChoiceList.md +17 -0
  26. package/catalog/cards/G9Columns.md +13 -0
  27. package/catalog/cards/G9ComboBox.md +17 -0
  28. package/catalog/cards/G9CommandPalette.md +15 -0
  29. package/catalog/cards/G9Confetti.md +15 -0
  30. package/catalog/cards/G9ConnectionBanner.md +15 -0
  31. package/catalog/cards/G9ContextMenu.md +15 -0
  32. package/catalog/cards/G9CornerBadge.md +15 -0
  33. package/catalog/cards/G9CultureDateTimeLabel.md +16 -0
  34. package/catalog/cards/G9DateTimePicker.md +17 -0
  35. package/catalog/cards/G9DayStepper.md +17 -0
  36. package/catalog/cards/G9DeferredContent.md +17 -0
  37. package/catalog/cards/G9Delta.md +17 -0
  38. package/catalog/cards/G9DesignNode.md +13 -0
  39. package/catalog/cards/G9DesignScope.md +11 -0
  40. package/catalog/cards/G9DragList.md +15 -0
  41. package/catalog/cards/G9EdgePanel.md +17 -0
  42. package/catalog/cards/G9Editor.md +17 -0
  43. package/catalog/cards/G9EmptyState.md +17 -0
  44. package/catalog/cards/G9ErrorBoundary.md +13 -0
  45. package/catalog/cards/G9Expander.md +17 -0
  46. package/catalog/cards/G9FloatingOrb.md +17 -0
  47. package/catalog/cards/G9FormField.md +15 -0
  48. package/catalog/cards/G9HScroll.md +16 -0
  49. package/catalog/cards/G9HeaderActionButton.md +17 -0
  50. package/catalog/cards/G9HoldButton.md +17 -0
  51. package/catalog/cards/G9Host.md +17 -0
  52. package/catalog/cards/G9Icon.md +16 -0
  53. package/catalog/cards/G9IconButton.md +17 -0
  54. package/catalog/cards/G9IconRail.md +15 -0
  55. package/catalog/cards/G9IconSlot.md +17 -0
  56. package/catalog/cards/G9Image.md +17 -0
  57. package/catalog/cards/G9InlineMessage.md +16 -0
  58. package/catalog/cards/G9KeepAlive.md +11 -0
  59. package/catalog/cards/G9Keycap.md +13 -0
  60. package/catalog/cards/G9Kpi.md +17 -0
  61. package/catalog/cards/G9KpiGrid.md +12 -0
  62. package/catalog/cards/G9ListRow.md +17 -0
  63. package/catalog/cards/G9LiveBadge.md +11 -0
  64. package/catalog/cards/G9LiveDot.md +12 -0
  65. package/catalog/cards/G9LoadState.md +13 -0
  66. package/catalog/cards/G9LoadableSheetContent.md +17 -0
  67. package/catalog/cards/G9LockOverlay.md +15 -0
  68. package/catalog/cards/G9Menu.md +17 -0
  69. package/catalog/cards/G9MenuList.md +12 -0
  70. package/catalog/cards/G9NavCard.md +17 -0
  71. package/catalog/cards/G9NumPad.md +13 -0
  72. package/catalog/cards/G9NumberEntry.md +17 -0
  73. package/catalog/cards/G9OutlinedField.md +17 -0
  74. package/catalog/cards/G9OverlayRoot.md +12 -0
  75. package/catalog/cards/G9Page.md +17 -0
  76. package/catalog/cards/G9PageLoadingOverlay.md +12 -0
  77. package/catalog/cards/G9Pager.md +16 -0
  78. package/catalog/cards/G9Photo.md +17 -0
  79. package/catalog/cards/G9Picker.md +17 -0
  80. package/catalog/cards/G9PinEntry.md +17 -0
  81. package/catalog/cards/G9Place.md +17 -0
  82. package/catalog/cards/G9PlaceScroll.md +13 -0
  83. package/catalog/cards/G9PlusButton.md +17 -0
  84. package/catalog/cards/G9Popover.md +17 -0
  85. package/catalog/cards/G9PopupDragHandle.md +10 -0
  86. package/catalog/cards/G9PopupView.md +15 -0
  87. package/catalog/cards/G9Pressable.md +17 -0
  88. package/catalog/cards/G9ProcessingSheetContent.md +13 -0
  89. package/catalog/cards/G9ProgressBar.md +17 -0
  90. package/catalog/cards/G9ProgressRing.md +17 -0
  91. package/catalog/cards/G9Provider.md +17 -0
  92. package/catalog/cards/G9PullToRefresh.md +13 -0
  93. package/catalog/cards/G9RadioGroup.md +17 -0
  94. package/catalog/cards/G9RangeSlider.md +17 -0
  95. package/catalog/cards/G9RatingInput.md +17 -0
  96. package/catalog/cards/G9RevealText.md +15 -0
  97. package/catalog/cards/G9SafeButton.md +17 -0
  98. package/catalog/cards/G9SafeIconButton.md +17 -0
  99. package/catalog/cards/G9SaveBar.md +16 -0
  100. package/catalog/cards/G9ScaleInput.md +17 -0
  101. package/catalog/cards/G9ScrollSpyBar.md +12 -0
  102. package/catalog/cards/G9ScrollerScope.md +10 -0
  103. package/catalog/cards/G9SearchEntry.md +17 -0
  104. package/catalog/cards/G9Section.md +16 -0
  105. package/catalog/cards/G9SectionHeader.md +14 -0
  106. package/catalog/cards/G9Segmented.md +17 -0
  107. package/catalog/cards/G9Separator.md +17 -0
  108. package/catalog/cards/G9SettingsGroup.md +13 -0
  109. package/catalog/cards/G9Sheet.md +13 -0
  110. package/catalog/cards/G9SheetBackdropScope.md +10 -0
  111. package/catalog/cards/G9SheetFooter.md +10 -0
  112. package/catalog/cards/G9SheetFooterBar.md +11 -0
  113. package/catalog/cards/G9SheetFrame.md +17 -0
  114. package/catalog/cards/G9SheetHeader.md +11 -0
  115. package/catalog/cards/G9SheetScrollIndicator.md +10 -0
  116. package/catalog/cards/G9SheetScrollRegion.md +11 -0
  117. package/catalog/cards/G9SheetSkeleton.md +13 -0
  118. package/catalog/cards/G9ShimmerBand.md +10 -0
  119. package/catalog/cards/G9ShortcutList.md +11 -0
  120. package/catalog/cards/G9ShortcutsSheet.md +15 -0
  121. package/catalog/cards/G9SideNav.md +16 -0
  122. package/catalog/cards/G9Skeleton.md +13 -0
  123. package/catalog/cards/G9SkeletonPage.md +13 -0
  124. package/catalog/cards/G9SkeletonRows.md +13 -0
  125. package/catalog/cards/G9SplitPane.md +17 -0
  126. package/catalog/cards/G9StatusPill.md +17 -0
  127. package/catalog/cards/G9StepSlider.md +16 -0
  128. package/catalog/cards/G9StepTracker.md +13 -0
  129. package/catalog/cards/G9Stepper.md +17 -0
  130. package/catalog/cards/G9SuccessHeader.md +14 -0
  131. package/catalog/cards/G9Swatch.md +13 -0
  132. package/catalog/cards/G9SwipeGroup.md +11 -0
  133. package/catalog/cards/G9SwipeView.md +17 -0
  134. package/catalog/cards/G9Switch.md +17 -0
  135. package/catalog/cards/G9SwitchGroup.md +15 -0
  136. package/catalog/cards/G9SwitchRow.md +17 -0
  137. package/catalog/cards/G9TabBar.md +17 -0
  138. package/catalog/cards/G9TabView.md +17 -0
  139. package/catalog/cards/G9Tag.md +14 -0
  140. package/catalog/cards/G9TagEntry.md +16 -0
  141. package/catalog/cards/G9TextEntry.md +17 -0
  142. package/catalog/cards/G9ThemePreviewCard.md +15 -0
  143. package/catalog/cards/G9TimeEntry.md +17 -0
  144. package/catalog/cards/G9TimeSpanPicker.md +17 -0
  145. package/catalog/cards/G9TitleWithLine.md +13 -0
  146. package/catalog/cards/G9TopBar.md +13 -0
  147. package/catalog/cards/G9UnsavedBar.md +16 -0
  148. package/catalog/cards/G9UpdateBar.md +15 -0
  149. package/catalog/cards/G9VerticalIconTextButton.md +15 -0
  150. package/catalog/cards/G9VirtualList.md +17 -0
  151. package/catalog/cards/G9Wave.md +15 -0
  152. package/catalog/cards/G9WheelColumn.md +17 -0
  153. package/catalog/cards/PickerField.md +14 -0
  154. package/catalog/cards/PickerSheetHeader.md +12 -0
  155. package/catalog/cards/PopupFrame.md +15 -0
  156. package/catalog/cards/PopupInputForm.md +11 -0
  157. package/catalog/cards/SelectionValueIcon.md +12 -0
  158. package/catalog/cards/TimeSpanSheetBody.md +16 -0
  159. package/catalog/catalog.json +47916 -0
  160. package/catalog/index.md +159 -0
  161. package/dist/.tsbuildinfo +1 -1
  162. package/dist/anchor/index.d.ts +1 -1
  163. package/dist/anchor/index.d.ts.map +1 -1
  164. package/dist/anchor/registry.d.ts +5 -0
  165. package/dist/anchor/registry.d.ts.map +1 -1
  166. package/dist/base/base.css +1 -0
  167. package/dist/base/base.css.map +1 -1
  168. package/dist/button/button-variants.css +4 -0
  169. package/dist/button/button-variants.css.map +1 -1
  170. package/dist/button/button.css +12 -5
  171. package/dist/button/button.css.map +1 -1
  172. package/dist/button/variant-css.d.ts.map +1 -1
  173. package/dist/button/variant-css.jsx +2 -1
  174. package/dist/cascade/cascade.css +2 -1
  175. package/dist/cascade/cascade.css.map +1 -1
  176. package/dist/commands/commands.css +12 -6
  177. package/dist/commands/commands.css.map +1 -1
  178. package/dist/design/design.d.ts +39 -0
  179. package/dist/design/design.d.ts.map +1 -0
  180. package/dist/design/design.jsx +54 -0
  181. package/dist/design/index.d.ts +3 -0
  182. package/dist/design/index.d.ts.map +1 -0
  183. package/dist/design/index.jsx +2 -0
  184. package/dist/design/probe.d.ts +62 -0
  185. package/dist/design/probe.d.ts.map +1 -0
  186. package/dist/design/probe.jsx +141 -0
  187. package/dist/display/data-uri.d.ts +9 -0
  188. package/dist/display/data-uri.d.ts.map +1 -0
  189. package/dist/display/data-uri.jsx +56 -0
  190. package/dist/display/display.css +10 -3
  191. package/dist/display/display.css.map +1 -1
  192. package/dist/display/extras.css +8 -2
  193. package/dist/display/extras.css.map +1 -1
  194. package/dist/display/figures.css +28 -7
  195. package/dist/display/figures.css.map +1 -1
  196. package/dist/display/figures.d.ts +10 -0
  197. package/dist/display/figures.d.ts.map +1 -1
  198. package/dist/display/figures.jsx +28 -5
  199. package/dist/display/image.d.ts +9 -2
  200. package/dist/display/image.d.ts.map +1 -1
  201. package/dist/display/image.jsx +20 -6
  202. package/dist/display/keycap.css +1 -0
  203. package/dist/display/keycap.css.map +1 -1
  204. package/dist/display/motion-figures.css +4 -1
  205. package/dist/display/motion-figures.css.map +1 -1
  206. package/dist/display/separator.d.ts.map +1 -1
  207. package/dist/display/separator.jsx +1 -1
  208. package/dist/display/status.css +5 -0
  209. package/dist/display/status.css.map +1 -1
  210. package/dist/display/theme-preview.css +6 -3
  211. package/dist/display/theme-preview.css.map +1 -1
  212. package/dist/edge-panel/edge-panel.css +6 -3
  213. package/dist/edge-panel/edge-panel.css.map +1 -1
  214. package/dist/effects/effects.css +4 -2
  215. package/dist/effects/effects.css.map +1 -1
  216. package/dist/expander/expander.css +2 -1
  217. package/dist/expander/expander.css.map +1 -1
  218. package/dist/fields/extra-entries.css +14 -6
  219. package/dist/fields/extra-entries.css.map +1 -1
  220. package/dist/fields/fields.css +21 -10
  221. package/dist/fields/fields.css.map +1 -1
  222. package/dist/fields/text-entry.d.ts.map +1 -1
  223. package/dist/fields/text-entry.jsx +3 -0
  224. package/dist/guide/guide.css +17 -5
  225. package/dist/guide/guide.css.map +1 -1
  226. package/dist/header/header.css +6 -2
  227. package/dist/header/header.css.map +1 -1
  228. package/dist/icon/icon.d.ts +9 -2
  229. package/dist/icon/icon.d.ts.map +1 -1
  230. package/dist/icon/icon.jsx +26 -4
  231. package/dist/index.d.ts +1 -0
  232. package/dist/index.d.ts.map +1 -1
  233. package/dist/layout/layout.css +15 -5
  234. package/dist/layout/layout.css.map +1 -1
  235. package/dist/layout/scrollers.d.ts +6 -0
  236. package/dist/layout/scrollers.d.ts.map +1 -1
  237. package/dist/layout/scrollers.jsx +5 -1
  238. package/dist/list/list.css +18 -8
  239. package/dist/list/list.css.map +1 -1
  240. package/dist/orb/orb.css +2 -1
  241. package/dist/orb/orb.css.map +1 -1
  242. package/dist/pickers/day-stepper.css +2 -1
  243. package/dist/pickers/day-stepper.css.map +1 -1
  244. package/dist/pickers/pickers.css +19 -9
  245. package/dist/pickers/pickers.css.map +1 -1
  246. package/dist/plus-button/plus-button.css +2 -1
  247. package/dist/plus-button/plus-button.css.map +1 -1
  248. package/dist/popover/popover.css +9 -4
  249. package/dist/popover/popover.css.map +1 -1
  250. package/dist/popup/popup.css +11 -5
  251. package/dist/popup/popup.css.map +1 -1
  252. package/dist/popup/service.d.ts.map +1 -1
  253. package/dist/popup/service.jsx +5 -1
  254. package/dist/provider/index.d.ts +1 -1
  255. package/dist/provider/index.d.ts.map +1 -1
  256. package/dist/provider/provider.css.map +1 -1
  257. package/dist/provider/provider.d.ts +25 -1
  258. package/dist/provider/provider.d.ts.map +1 -1
  259. package/dist/provider/provider.jsx +48 -12
  260. package/dist/range-slider/range-slider.css +9 -4
  261. package/dist/range-slider/range-slider.css.map +1 -1
  262. package/dist/selection/selection.css +10 -5
  263. package/dist/selection/selection.css.map +1 -1
  264. package/dist/sheet/frame.d.ts +6 -0
  265. package/dist/sheet/frame.d.ts.map +1 -1
  266. package/dist/sheet/frame.jsx +5 -1
  267. package/dist/sheet/header.d.ts.map +1 -1
  268. package/dist/sheet/header.jsx +5 -2
  269. package/dist/sheet/service.d.ts +5 -0
  270. package/dist/sheet/service.d.ts.map +1 -1
  271. package/dist/sheet/service.jsx +9 -6
  272. package/dist/sheet/sheet.css +1 -0
  273. package/dist/sheet/sheet.css.map +1 -1
  274. package/dist/shell/shell.css +19 -8
  275. package/dist/shell/shell.css.map +1 -1
  276. package/dist/survey/survey.css +15 -7
  277. package/dist/survey/survey.css.map +1 -1
  278. package/dist/swipe/swipe.css +1 -0
  279. package/dist/swipe/swipe.css.map +1 -1
  280. package/dist/tab-bar/index.d.ts +1 -1
  281. package/dist/tab-bar/index.d.ts.map +1 -1
  282. package/dist/tab-bar/index.jsx +1 -1
  283. package/dist/tab-bar/model.d.ts +14 -0
  284. package/dist/tab-bar/model.d.ts.map +1 -1
  285. package/dist/tab-bar/model.jsx +19 -1
  286. package/dist/tab-bar/tab-bar.css +4 -1
  287. package/dist/tab-bar/tab-bar.css.map +1 -1
  288. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  289. package/dist/tab-bar/tab-bar.jsx +12 -8
  290. package/dist/tabs/tabs.css +3 -1
  291. package/dist/tabs/tabs.css.map +1 -1
  292. package/dist/toast/toast.css +9 -4
  293. package/dist/toast/toast.css.map +1 -1
  294. package/dist/toggle/choice.css +15 -6
  295. package/dist/toggle/choice.css.map +1 -1
  296. package/dist/toggle/toggle.css +12 -6
  297. package/dist/toggle/toggle.css.map +1 -1
  298. package/package.json +16 -4
  299. package/skills/g9-lynx-app/SKILL.md +42 -0
  300. package/skills/g9-lynx-app/references/adaptive-layout.md +10 -0
  301. package/skills/g9-lynx-app/references/anchors-guide.md +9 -0
  302. package/skills/g9-lynx-app/references/catalog-index.md +80 -0
  303. package/skills/g9-lynx-app/references/common-mistakes.md +12 -0
  304. package/skills/g9-lynx-app/references/components/anchor.md +30 -0
  305. package/skills/g9-lynx-app/references/components/barcode-qr.md +19 -0
  306. package/skills/g9-lynx-app/references/components/barcode.md +37 -0
  307. package/skills/g9-lynx-app/references/components/base.md +35 -0
  308. package/skills/g9-lynx-app/references/components/button.md +125 -0
  309. package/skills/g9-lynx-app/references/components/calendar.md +128 -0
  310. package/skills/g9-lynx-app/references/components/cascade.md +19 -0
  311. package/skills/g9-lynx-app/references/components/charts.md +193 -0
  312. package/skills/g9-lynx-app/references/components/chat.md +98 -0
  313. package/skills/g9-lynx-app/references/components/commands.md +45 -0
  314. package/skills/g9-lynx-app/references/components/commerce.md +69 -0
  315. package/skills/g9-lynx-app/references/components/datagrid.md +19 -0
  316. package/skills/g9-lynx-app/references/components/deferred.md +19 -0
  317. package/skills/g9-lynx-app/references/components/design.md +27 -0
  318. package/skills/g9-lynx-app/references/components/display-1.md +193 -0
  319. package/skills/g9-lynx-app/references/components/display-2.md +196 -0
  320. package/skills/g9-lynx-app/references/components/display-3.md +122 -0
  321. package/skills/g9-lynx-app/references/components/edge-panel.md +19 -0
  322. package/skills/g9-lynx-app/references/components/effects.md +46 -0
  323. package/skills/g9-lynx-app/references/components/expander.md +19 -0
  324. package/skills/g9-lynx-app/references/components/fields.md +174 -0
  325. package/skills/g9-lynx-app/references/components/header.md +19 -0
  326. package/skills/g9-lynx-app/references/components/host.md +32 -0
  327. package/skills/g9-lynx-app/references/components/icon.md +64 -0
  328. package/skills/g9-lynx-app/references/components/intro-carousel.md +19 -0
  329. package/skills/g9-lynx-app/references/components/layout-1.md +188 -0
  330. package/skills/g9-lynx-app/references/components/layout-2.md +18 -0
  331. package/skills/g9-lynx-app/references/components/list.md +116 -0
  332. package/skills/g9-lynx-app/references/components/map.md +19 -0
  333. package/skills/g9-lynx-app/references/components/media.md +115 -0
  334. package/skills/g9-lynx-app/references/components/orb.md +37 -0
  335. package/skills/g9-lynx-app/references/components/pickers.md +185 -0
  336. package/skills/g9-lynx-app/references/components/pilot.md +40 -0
  337. package/skills/g9-lynx-app/references/components/plus-button.md +19 -0
  338. package/skills/g9-lynx-app/references/components/popover.md +94 -0
  339. package/skills/g9-lynx-app/references/components/popup.md +56 -0
  340. package/skills/g9-lynx-app/references/components/provider.md +43 -0
  341. package/skills/g9-lynx-app/references/components/range-slider.md +36 -0
  342. package/skills/g9-lynx-app/references/components/route.md +19 -0
  343. package/skills/g9-lynx-app/references/components/sheet.md +134 -0
  344. package/skills/g9-lynx-app/references/components/shell.md +98 -0
  345. package/skills/g9-lynx-app/references/components/survey.md +55 -0
  346. package/skills/g9-lynx-app/references/components/swipe.md +31 -0
  347. package/skills/g9-lynx-app/references/components/tab-bar.md +19 -0
  348. package/skills/g9-lynx-app/references/components/tabs.md +19 -0
  349. package/skills/g9-lynx-app/references/components/toggle.md +161 -0
  350. package/skills/g9-lynx-app/references/lists.md +13 -0
  351. package/skills/g9-lynx-app/references/localization-rtl.md +13 -0
  352. package/skills/g9-lynx-app/references/navigation-route.md +21 -0
  353. package/skills/g9-lynx-app/references/overlays.md +27 -0
  354. package/skills/g9-lynx-app/references/pilot.md +10 -0
  355. package/skills/g9-lynx-app/references/platform-rules.md +42 -0
  356. package/skills/g9-lynx-app/references/provider-and-host.md +37 -0
  357. package/skills/g9-lynx-app/references/theming.md +18 -0
@@ -0,0 +1,15 @@
1
+ # G9ContextMenu
2
+
3
+ `import { G9ContextMenu } from '@g9tm/lynxcontrols/popover';`
4
+
5
+ A long-press menu on its child (G9Hub ContextMenu, a message, a row): a light haptic, then the menu by the child.
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `onSelect`: (key: string) => void
10
+ - `title?`: string
11
+ - `children?`: ReactNode
12
+ - `disabled?`: boolean
13
+ - `onOpen?`: () => void
14
+
15
+ Example: `<G9ContextMenu items={items} onSelect={() => {}} />`
@@ -0,0 +1,15 @@
1
+ # G9CornerBadge
2
+
3
+ `import { G9CornerBadge } from '@g9tm/lynxcontrols/base';`
4
+
5
+ The one corner badge of the library (MAUI `G9CornerBadge`, guide rule 14): centred on the host's top-trailing corner (top-left in RTL), no negative margins (the host reserves half the badge), the number dead-centred, nev
6
+
7
+ Props:
8
+ - `text?`: string
9
+ - `ringColor?`: color = "var(--g9-surface)"
10
+ - `textColor?`: color = "var(--g9-on-error)"
11
+ - `color?`: color = "var(--g9-error)"
12
+ - `dot?`: boolean
13
+ - `mirrorTextInRtl?`: boolean = true
14
+
15
+ Example: `<G9CornerBadge />`
@@ -0,0 +1,16 @@
1
+ # G9CultureDateTimeLabel
2
+
3
+ `import { G9CultureDateTimeLabel } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A culture-aware date/time text (MAUI `G9CultureDateTimeLabel`); re-renders on culture changes.
6
+
7
+ Props:
8
+ - `value?`: object
9
+ - `disabled?`: boolean = false
10
+ - `displayMode?`: 'dateTime' | 'date' | 'time' | 'relative' | 'relativeDay' = "dateTime"
11
+ - `relativeDayNow?`: () => void
12
+ - `emptyText?`: string = ""
13
+ - `utcOffsetMinutes?`: number = 0
14
+ - `accessibilityLabel?`: string
15
+
16
+ Example: `<G9CultureDateTimeLabel />`
@@ -0,0 +1,17 @@
1
+ # G9DateTimePicker
2
+
3
+ `import { G9DateTimePicker } from '@g9tm/lynxcontrols/pickers';`
4
+
5
+ Date, time or date-time in an outlined box (MAUI `G9DateTimePicker`): a tap opens the drum sheet (Cancel, title, Done, live preview, Today/Now, day/month/year and hour/minute wheels).
6
+
7
+ Props:
8
+ - `label?`: string
9
+ - `value?`: object
10
+ - `leadingIcon?`: icon
11
+ - `placeholder?`: string
12
+ - `onValueChange?`: (value: G9LocalDateTime | null) => void
13
+ - `disabled?`: boolean = false
14
+ - `displayFormat?`: 'custom' | 'shortDate' | 'longDate' | 'timeOnly' | 'shortDateTime' | 'longDateTime' = "shortDate"
15
+ - `mode?`: 'dateTime' | 'date' | 'time' = "date"
16
+
17
+ Example: `<G9DateTimePicker />`
@@ -0,0 +1,17 @@
1
+ # G9DayStepper
2
+
3
+ `import { G9DayStepper } from '@g9tm/lynxcontrols/pickers';`
4
+
5
+ One day with back/forward and quick jumps (SAC EventsPage DatePick, reservation days): the calendar of the culture on screen, an ISO-able `G9LocalDate` underneath; the arrows point the reading direction's way.
6
+
7
+ Props:
8
+ - `today`: object
9
+ - `value?`: object
10
+ - `onChange?`: (day: G9LocalDate) => void
11
+ - `disabled?`: boolean = false
12
+ - `defaultValue?`: object
13
+ - `max?`: object
14
+ - `min?`: object
15
+ - `pattern?`: string = "dddd d MMMM"
16
+
17
+ Example: `<G9DayStepper today={today} />`
@@ -0,0 +1,17 @@
1
+ # G9DeferredContent
2
+
3
+ `import { G9DeferredContent } from '@g9tm/lynxcontrols/deferred';`
4
+
5
+ Shows a placeholder first and the real content after the host's open animation (MAUI `DeferredContentView`), so an expensive body never blocks the animation and the user sees motion, not a blank host.
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+ - `placeholder?`: ReactNode
10
+ - `onContentCreated?`: () => void
11
+ - `onContentLoaded?`: () => void
12
+ - `onRevealSettled?`: () => void
13
+ - `render?`: () => ReactNode
14
+ - `renderError?`: (error, retry) => ReactNode
15
+ - `autoLoad?`: boolean = true
16
+
17
+ Example: `<G9DeferredContent />`
@@ -0,0 +1,17 @@
1
+ # G9Delta
2
+
3
+ `import { G9Delta } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A change against the comparison period (SAC Delta, Riskara Delta/ChangePill): sign always shown and kept in its own left-to-right run, so right-to-left text never moves it; colour from what is good news.
6
+
7
+ Props:
8
+ - `value`: number
9
+ - `goodWhen?`: 'up' | 'down' = "up"
10
+ - `kind?`: 'number' | 'percent' = "percent"
11
+ - `appearance?`: 'pill' | 'plain'
12
+ - `arrow?`: boolean = true
13
+ - `decimals?`: number = 1
14
+ - `fromFraction?`: boolean
15
+ - `suffix?`: string
16
+
17
+ Example: `<G9Delta value={1} />`
@@ -0,0 +1,13 @@
1
+ # G9DesignNode
2
+
3
+ `import { G9DesignNode } from '@g9tm/lynxcontrols/design';`
4
+
5
+ A layout-neutral box that is an anchor (the probe measures it, hit-tests it, follows it).
6
+
7
+ Props:
8
+ - `label?`: string
9
+ - `children?`: ReactNode
10
+ - `kind?`: 'label' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'chips' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view' = "view"
11
+ - `name?`: string
12
+
13
+ Example: `<G9DesignNode />`
@@ -0,0 +1,11 @@
1
+ # G9DesignScope
2
+
3
+ `import { G9DesignScope } from '@g9tm/lynxcontrols/design';`
4
+
5
+ Hands every `G9DesignNode` inside an id of its own (`<prefix>.<n>`, in mount order, kept for the node's life), so a design tool gets an anchor — and so a rect, a hit test and a selection box — for each node of a tree it
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+ - `prefix?`: string = "design"
10
+
11
+ Example: `<G9DesignScope />`
@@ -0,0 +1,15 @@
1
+ # G9DragList
2
+
3
+ `import { G9DragList } from '@g9tm/lynxcontrols/list';`
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.
6
+
7
+ Props:
8
+ - `getKey`: (item: T) => void
9
+ - `items`: NonNullable<T>[]
10
+ - `onReorder`: (items: T[]) => void
11
+ - `renderItem`: (item, dragging) => ReactNode
12
+ - `disabled?`: boolean
13
+ - `rowHeight?`: number = 56
14
+
15
+ Example: `<G9DragList getKey={getKey} items={items} onReorder={() => {}} renderItem={renderItem} />`
@@ -0,0 +1,17 @@
1
+ # G9EdgePanel
2
+
3
+ `import { G9EdgePanel } from '@g9tm/lynxcontrols/edge-panel';`
4
+
5
+ A panel that slides in from a screen edge (MAUI `G9EdgePanel`), mounted in the host's `edgePanel` layer whatever its place in the tree.
6
+
7
+ Props:
8
+ - `side?`: 'left' | 'right' = "left"
9
+ - `onClosed?`: () => void
10
+ - `onClosing?`: () => void
11
+ - `onOpenChange?`: (open: boolean) => void
12
+ - `onOpened?`: () => void
13
+ - `collapsedTabIcon?`: icon
14
+ - `maxPanelHeight?`: number
15
+ - `panelBackgroundColor?`: color
16
+
17
+ Example: `<G9EdgePanel />`
@@ -0,0 +1,17 @@
1
+ # G9Editor
2
+
3
+ `import { G9Editor } from '@g9tm/lynxcontrols/fields';`
4
+
5
+ Multi-line outlined text area (MAUI `G9Editor`): the text-entry behaviour on a `<textarea>`, a microphone pinned to the bottom-end corner whenever dictation is available, height from `minimumEditorHeight`/`maxEditorHeigh
6
+
7
+ Props:
8
+ - `label?`: string
9
+ - `value?`: string
10
+ - `leadingIcon?`: icon
11
+ - `placeholder?`: string
12
+ - `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
13
+ - `disabled?`: boolean = false
14
+ - `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
15
+ - `keyboardType?`: 'number' | 'default' | 'email' | 'phone' | 'password' | 'url' = "default"
16
+
17
+ Example: `<G9Editor />`
@@ -0,0 +1,17 @@
1
+ # G9EmptyState
2
+
3
+ `import { G9EmptyState } from '@g9tm/lynxcontrols/display';`
4
+
5
+ Nothing here yet: what this is, and the one step that fills it (every app's Empty).
6
+
7
+ Props:
8
+ - `title`: string
9
+ - `children?`: ReactNode
10
+ - `icon?`: icon = "search"
11
+ - `message?`: string
12
+ - `compact?`: boolean
13
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
14
+ - `art?`: ReactNode
15
+ - `action?`: object
16
+
17
+ Example: `<G9EmptyState title="Label" />`
@@ -0,0 +1,13 @@
1
+ # G9ErrorBoundary
2
+
3
+ `import { G9ErrorBoundary } from '@g9tm/lynxcontrols/display';`
4
+
5
+ Keeps a failing part from taking the page down (SAC ErrorBoundary): a fallback with a retry, the error reported once.
6
+
7
+ Props:
8
+ - `fallback`: (error, retry) => ReactNode
9
+ - `children?`: ReactNode
10
+ - `onError?`: (error: unknown) => void
11
+ - `source?`: string
12
+
13
+ Example: `<G9ErrorBoundary fallback={fallback} />`
@@ -0,0 +1,17 @@
1
+ # G9Expander
2
+
3
+ `import { G9Expander } from '@g9tm/lynxcontrols/expander';`
4
+
5
+ Collapsible section (MAUI `G9Expander`): only the header toggles; the chevron turns 180° and the content height animates over 220 ms (CSS transition on the measured height; instant when it cannot be measured).
6
+
7
+ Props:
8
+ - `title?`: string
9
+ - `children?`: ReactNode
10
+ - `icon?`: icon
11
+ - `disabled?`: boolean = false
12
+ - `onExpandedChange?`: (expanded: boolean) => void
13
+ - `chevronColor?`: color = "var(--g9-text-secondary)"
14
+ - `contentPadding?`: number[] = 0
15
+ - `headerHeight?`: number = 48
16
+
17
+ Example: `<G9Expander />`
@@ -0,0 +1,17 @@
1
+ # G9FloatingOrb
2
+
3
+ `import { G9FloatingOrb } from '@g9tm/lynxcontrols/orb';`
4
+
5
+ A control that floats over a page and the operator can move: drag it anywhere — it snaps to the nearer side along the edge, remembered for the app session; push it past the edge — it tucks, a sliver of the disc left show
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+ - `size?`: number = 84
10
+ - `side?`: 'left' | 'right' = "right"
11
+ - `onTap?`: () => void
12
+ - `discSize?`: number = 60
13
+ - `accessory?`: ReactNode
14
+ - `hidden?`: boolean
15
+ - `hold?`: object
16
+
17
+ Example: `<G9FloatingOrb />`
@@ -0,0 +1,15 @@
1
+ # G9FormField
2
+
3
+ `import { G9FormField } from '@g9tm/lynxcontrols/fields';`
4
+
5
+ A label above any control, a hint or an error below (SAC Field, G9Hub Field): for controls without a floating label.
6
+
7
+ Props:
8
+ - `label`: string
9
+ - `children?`: ReactNode
10
+ - `hint?`: string
11
+ - `aside?`: ReactNode
12
+ - `error?`: string
13
+ - `required?`: boolean
14
+
15
+ Example: `<G9FormField label="Label" />`
@@ -0,0 +1,16 @@
1
+ # G9HScroll
2
+
3
+ `import { G9HScroll } from '@g9tm/lynxcontrols/layout';`
4
+
5
+ A row of chips, tabs or cards that may not fit (SAC HScroll): it scrolls sideways and the far end fades while there is more, so a label is never squeezed to break mid-word.
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+ - `alignItems?`: 'center' | 'flex-start' | 'flex-end' | 'stretch' = "center"
10
+ - `fadeColor?`: color | boolean
11
+ - `gap?`: number = 8
12
+ - `height?`: number | string = 40
13
+ - `padding?`: number = 16
14
+ - `wrapWhenWide?`: boolean
15
+
16
+ Example: `<G9HScroll />`
@@ -0,0 +1,17 @@
1
+ # G9HeaderActionButton
2
+
3
+ `import { G9HeaderActionButton } from '@g9tm/lynxcontrols/button';`
4
+
5
+ Toolbar/header action (MAUI `G9HeaderActionButton`): bordered square with a glyph, image or short text.
6
+
7
+ Props:
8
+ - `icon?`: icon = "G9Glyph.Menu"
9
+ - `onPress?`: () => void
10
+ - `disabled?`: boolean = false
11
+ - `badgeText?`: string
12
+ - `buttonText?`: string
13
+ - `buttonSize?`: number = 0
14
+ - `iconImage?`: object | object | object
15
+ - `iconSize?`: number = 24
16
+
17
+ Example: `<G9HeaderActionButton />`
@@ -0,0 +1,17 @@
1
+ # G9HoldButton
2
+
3
+ `import { G9HoldButton } from '@g9tm/lynxcontrols/orb';`
4
+
5
+ A calm, neutral button that acts only when HELD (MAUI TrackingOrbDetailsView's hold-to-stop): under a finger a light fill of `fillColor` grows from the leading edge over `durationMs`, a tick each second, and `onComplete`
6
+
7
+ Props:
8
+ - `onComplete`: () => void
9
+ - `text`: string
10
+ - `disabled?`: boolean
11
+ - `onTap?`: () => void
12
+ - `onTick?`: (seconds: number) => void
13
+ - `fillColor?`: color = "var(--g9-error)"
14
+ - `delayMs?`: number = 300
15
+ - `durationMs?`: number = 5000
16
+
17
+ Example: `<G9HoldButton onComplete={() => {}} text="Label" />`
@@ -0,0 +1,17 @@
1
+ # G9Host
2
+
3
+ `import { G9Host } from '@g9tm/lynxcontrols/host';`
4
+
5
+ The page frame (MAUI `G9PageBase` + `G9PageTemplate`): the content and the overlay layers in a fixed z-order (`content` → `edgePanel` → `sheets` → `popups` → `feedback` → `floating`, then the loading cover), the page's b
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+ - `computeBottomSafeAreaWithTabBar?`: (bottomInset: number) => void
10
+ - `onAppearing?`: (context: { readonly signal: G9AbortSignal; }) => void
11
+ - `onBack?`: () => void
12
+ - `onDisappearing?`: () => void
13
+ - `routeClose?`: () => void
14
+ - `backdropColor?`: color
15
+ - `active?`: boolean = true
16
+
17
+ Example: `<G9Host />`
@@ -0,0 +1,16 @@
1
+ # G9Icon
2
+
3
+ `import { G9Icon } from '@g9tm/lynxcontrols/icon';`
4
+
5
+ Draws one icon (MAUI `G9IconView` + `G9GlyphDrawable`): a built-in glyph as `<svg content>` (the golden SVG, coloured and weighted, from a bounded shared cache), a font glyph as `<text>` in its family, an SVG icon as `<s
6
+
7
+ Props:
8
+ - `icon`: icon
9
+ - `size?`: number = 20
10
+ - `imageCornerRadius?`: number = 4
11
+ - `color?`: color
12
+ - `mirrorInRtl?`: boolean = false
13
+ - `weight?`: number = 1
14
+ - `accessibilityLabel?`: string
15
+
16
+ Example: `<G9Icon icon="search" />`
@@ -0,0 +1,17 @@
1
+ # G9IconButton
2
+
3
+ `import { G9IconButton } from '@g9tm/lynxcontrols/button';`
4
+
5
+ Square icon button (MAUI `G9IconButton`): one icon, variant/ghost fill, optional circle, corner badge that is never dimmed (opacity applies to the frame only), loading spinner, minimum touch target.
6
+
7
+ Props:
8
+ - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
9
+ - `icon?`: icon
10
+ - `onPress?`: () => void
11
+ - `disabled?`: boolean = false
12
+ - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
13
+ - `badgeText?`: string
14
+ - `badgeColor?`: color = "var(--g9-error)"
15
+ - `baseBackgroundColor?`: color
16
+
17
+ Example: `<G9IconButton />`
@@ -0,0 +1,15 @@
1
+ # G9IconRail
2
+
3
+ `import { G9IconRail } from '@g9tm/lynxcontrols/shell';`
4
+
5
+ The tablet rail (SAC IconRail, Riskara tablet frame): icons with short labels in a narrow column.
6
+
7
+ Props:
8
+ - `destinations`: object[]
9
+ - `onChange`: (key: K) => void
10
+ - `value`: string
11
+ - `footer?`: ReactNode
12
+ - `header?`: ReactNode
13
+ - `width?`: number = 72
14
+
15
+ Example: `<G9IconRail destinations={destinations} onChange={() => {}} value="value" />`
@@ -0,0 +1,17 @@
1
+ # G9IconSlot
2
+
3
+ `import { G9IconSlot } from '@g9tm/lynxcontrols/icon';`
4
+
5
+ Renders one icon slot (MAUI `G9IconFactory.Create`): an emoji as text (no fixed height, an emoji renders taller than its em square), an icon as `G9Icon`, an image through the provider's image renderer in a rounded clip,
6
+
7
+ Props:
8
+ - `size?`: number = 20
9
+ - `icon?`: icon
10
+ - `imageCornerRadius?`: number = 4
11
+ - `color?`: color
12
+ - `emoji?`: string
13
+ - `image?`: object | object | object
14
+ - `imagePath?`: string
15
+ - `weight?`: number = 1
16
+
17
+ Example: `<G9IconSlot />`
@@ -0,0 +1,17 @@
1
+ # G9Image
2
+
3
+ `import { G9Image } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A photo with a calm placeholder, a fade-in and a designed fallback.
6
+
7
+ Props:
8
+ - `onError?`: () => void
9
+ - `onLoad?`: () => void
10
+ - `fallbackIcon?`: icon
11
+ - `radius?`: number
12
+ - `alt?`: string
13
+ - `aspectRatio?`: number
14
+ - `fadeIn?`: boolean = true
15
+ - `fit?`: 'contain' | 'stretch' | 'cover'
16
+
17
+ Example: `<G9Image />`
@@ -0,0 +1,16 @@
1
+ # G9InlineMessage
2
+
3
+ `import { G9InlineMessage } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A message in the flow of a page (ShopManager Message, Riskara Disclaimer, form errors): calm, never a modal.
6
+
7
+ Props:
8
+ - `text`: string
9
+ - `title?`: string
10
+ - `children?`: ReactNode
11
+ - `icon?`: icon
12
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "info"
13
+ - `onDismiss?`: () => void
14
+ - `action?`: object
15
+
16
+ Example: `<G9InlineMessage text="Label" />`
@@ -0,0 +1,11 @@
1
+ # G9KeepAlive
2
+
3
+ `import { G9KeepAlive } from '@g9tm/lynxcontrols/provider';`
4
+
5
+ A region kept mounted while hidden (the pages of a shell, the screens of a stack): state, scroll position and loaded data survive, switching back costs a style change.
6
+
7
+ Props:
8
+ - `active`: boolean
9
+ - `children?`: ReactNode
10
+
11
+ Example: `<G9KeepAlive active />`
@@ -0,0 +1,13 @@
1
+ # G9Keycap
2
+
3
+ `import { G9Keycap } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A keyboard shortcut as a key cap (SAC `Keycap`, G9Hub `Kbd`): set beside a label, never glued into its text, so «پذیرش A» does not read as a word.
6
+
7
+ Props:
8
+ - `combo`: string
9
+ - `size?`: 'sm' | 'md'
10
+ - `color?`: color
11
+ - `platform?`: 'mac' | 'other'
12
+
13
+ Example: `<G9Keycap combo="combo" />`
@@ -0,0 +1,17 @@
1
+ # G9Kpi
2
+
3
+ `import { G9Kpi } from '@g9tm/lynxcontrols/display';`
4
+
5
+ The KPI tile (SAC Kpi, ShopManager Tile, G9Hub StatTile, Riskara Kpi): label and icon, the value large, the change, a trend.
6
+
7
+ Props:
8
+ - `label`: string
9
+ - `value`: string
10
+ - `icon?`: icon
11
+ - `onPress?`: () => void
12
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
13
+ - `loading?`: boolean
14
+ - `trend?`: ReactNode
15
+ - `delta?`: object
16
+
17
+ Example: `<G9Kpi label="Label" value="value" />`
@@ -0,0 +1,12 @@
1
+ # G9KpiGrid
2
+
3
+ `import { G9KpiGrid } from '@g9tm/lynxcontrols/display';`
4
+
5
+ KPI tiles in rows of `columns`; each tile takes an equal share (re-renders only when the layout class changes).
6
+
7
+ Props:
8
+ - `columns?`: object = "{ phone: 2, tablet: 3, desktop: 4 }"
9
+ - `children?`: ReactNode
10
+ - `gap?`: number = 12
11
+
12
+ Example: `<G9KpiGrid />`
@@ -0,0 +1,17 @@
1
+ # G9ListRow
2
+
3
+ `import { G9ListRow } from '@g9tm/lynxcontrols/list';`
4
+
5
+ One line of a list (SAC kit ListRow, ShopManager Row, G9Hub SettingsRow): icon or avatar at the start, title and a line or two, a value or control at the end, a chevron for drill-down.
6
+
7
+ Props:
8
+ - `title`: string
9
+ - `value?`: string
10
+ - `icon?`: icon
11
+ - `subtitle?`: string
12
+ - `onPress?`: () => void
13
+ - `disabled?`: boolean = false
14
+ - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
15
+ - `hint?`: string
16
+
17
+ Example: `<G9ListRow title="Label" />`
@@ -0,0 +1,11 @@
1
+ # G9LiveBadge
2
+
3
+ `import { G9LiveBadge } from '@g9tm/lynxcontrols/display';`
4
+
5
+ «● زنده» — a pulsing dot and a word (live prices, live orders).
6
+
7
+ Props:
8
+ - `text`: string
9
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
10
+
11
+ Example: `<G9LiveBadge text="Label" />`
@@ -0,0 +1,12 @@
1
+ # G9LiveDot
2
+
3
+ `import { G9LiveDot } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A live dot with an expanding ring (Riskara Pulse, «online», a running sync).
6
+
7
+ Props:
8
+ - `size?`: number = 8
9
+ - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "success"
10
+ - `pulse?`: boolean = true
11
+
12
+ Example: `<G9LiveDot />`
@@ -0,0 +1,13 @@
1
+ # G9LoadState
2
+
3
+ `import { G9LoadState } from '@g9tm/lynxcontrols/display';`
4
+
5
+ A page body while its data loads, or its error with a retry (SAC Loading).
6
+
7
+ Props:
8
+ - `onRetry?`: () => void
9
+ - `message?`: string
10
+ - `retryText?`: string
11
+ - `error?`: string
12
+
13
+ Example: `<G9LoadState />`
@@ -0,0 +1,17 @@
1
+ # G9LoadableSheetContent
2
+
3
+ `import { G9LoadableSheetContent } from '@g9tm/lynxcontrols/sheet';`
4
+
5
+ Open-then-fill sheet body (MAUI `LoadableSheetContentView`): shows a loading state that fills the sheet's seeded height, loads once after the open motion (or at once with `loadWhileStaged`), cancels on close, and never a
6
+
7
+ Props:
8
+ - `children`: (data) => ReactNode
9
+ - `load`: (signal: G9AbortSignal) => void
10
+ - `skeleton?`: 'none' | 'formFields' | 'listRows' = "none"
11
+ - `onLoadFailed?`: (error: unknown) => void
12
+ - `onLoadingChange?`: (loading: boolean) => void
13
+ - `loadingHeight?`: number = 180
14
+ - `renderEmpty?`: () => ReactNode
15
+ - `renderError?`: (error) => ReactNode
16
+
17
+ Example: `<G9LoadableSheetContent children={children} load={load} />`
@@ -0,0 +1,15 @@
1
+ # G9LockOverlay
2
+
3
+ `import { G9LockOverlay } from '@g9tm/lynxcontrols/display';`
4
+
5
+ Premium content behind a lock (Riskara subscriptions): the content stays laid out (so the page keeps its size) but dimmed and untouchable, with a lock, a line and the unlock action over it.
6
+
7
+ Props:
8
+ - `locked`: boolean
9
+ - `title`: string
10
+ - `children?`: ReactNode
11
+ - `onAction?`: () => void
12
+ - `actionText?`: string
13
+ - `message?`: string
14
+
15
+ Example: `<G9LockOverlay locked title="Label" />`
@@ -0,0 +1,17 @@
1
+ # G9Menu
2
+
3
+ `import { G9Menu } from '@g9tm/lynxcontrols/popover';`
4
+
5
+ A menu (G9Hub Menu): a popover by the anchor on wide windows, an action sheet from the bottom on phones.
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `onClose`: () => void
10
+ - `onSelect`: (key: string) => void
11
+ - `open`: boolean
12
+ - `title?`: string
13
+ - `placement?`: 'end' | 'start' | 'top' | 'bottom' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' = "bottom-start"
14
+ - `cancelText?`: string
15
+ - `matchWidth?`: boolean
16
+
17
+ Example: `<G9Menu items={items} onClose={() => {}} onSelect={() => {}} open />`