@g9tm/lynxcontrols 2.3.0 → 2.4.1

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 (360) 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 +47936 -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/orb/orb.d.ts.map +1 -1
  243. package/dist/orb/orb.jsx +9 -4
  244. package/dist/pickers/day-stepper.css +2 -1
  245. package/dist/pickers/day-stepper.css.map +1 -1
  246. package/dist/pickers/pickers.css +19 -9
  247. package/dist/pickers/pickers.css.map +1 -1
  248. package/dist/plus-button/plus-button.css +2 -1
  249. package/dist/plus-button/plus-button.css.map +1 -1
  250. package/dist/popover/popover.css +9 -4
  251. package/dist/popover/popover.css.map +1 -1
  252. package/dist/popup/popup.css +11 -5
  253. package/dist/popup/popup.css.map +1 -1
  254. package/dist/popup/service.d.ts.map +1 -1
  255. package/dist/popup/service.jsx +5 -1
  256. package/dist/provider/index.d.ts +1 -1
  257. package/dist/provider/index.d.ts.map +1 -1
  258. package/dist/provider/provider.css.map +1 -1
  259. package/dist/provider/provider.d.ts +25 -1
  260. package/dist/provider/provider.d.ts.map +1 -1
  261. package/dist/provider/provider.jsx +48 -12
  262. package/dist/range-slider/range-slider.css +9 -4
  263. package/dist/range-slider/range-slider.css.map +1 -1
  264. package/dist/selection/selection.css +10 -5
  265. package/dist/selection/selection.css.map +1 -1
  266. package/dist/sheet/frame.d.ts +15 -0
  267. package/dist/sheet/frame.d.ts.map +1 -1
  268. package/dist/sheet/frame.jsx +18 -6
  269. package/dist/sheet/header.d.ts.map +1 -1
  270. package/dist/sheet/header.jsx +5 -2
  271. package/dist/sheet/service.d.ts +5 -0
  272. package/dist/sheet/service.d.ts.map +1 -1
  273. package/dist/sheet/service.jsx +9 -6
  274. package/dist/sheet/sheet.css +1 -0
  275. package/dist/sheet/sheet.css.map +1 -1
  276. package/dist/shell/shell.css +19 -8
  277. package/dist/shell/shell.css.map +1 -1
  278. package/dist/survey/survey.css +15 -7
  279. package/dist/survey/survey.css.map +1 -1
  280. package/dist/swipe/swipe.css +1 -0
  281. package/dist/swipe/swipe.css.map +1 -1
  282. package/dist/tab-bar/index.d.ts +1 -1
  283. package/dist/tab-bar/index.d.ts.map +1 -1
  284. package/dist/tab-bar/index.jsx +1 -1
  285. package/dist/tab-bar/model.d.ts +16 -0
  286. package/dist/tab-bar/model.d.ts.map +1 -1
  287. package/dist/tab-bar/model.jsx +19 -1
  288. package/dist/tab-bar/tab-bar.css +25 -1
  289. package/dist/tab-bar/tab-bar.css.map +1 -1
  290. package/dist/tab-bar/tab-bar.d.ts +6 -0
  291. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  292. package/dist/tab-bar/tab-bar.jsx +61 -11
  293. package/dist/tabs/tabs.css +3 -1
  294. package/dist/tabs/tabs.css.map +1 -1
  295. package/dist/toast/toast.css +9 -4
  296. package/dist/toast/toast.css.map +1 -1
  297. package/dist/toggle/choice.css +15 -6
  298. package/dist/toggle/choice.css.map +1 -1
  299. package/dist/toggle/toggle.css +12 -6
  300. package/dist/toggle/toggle.css.map +1 -1
  301. package/package.json +16 -4
  302. package/skills/g9-lynx-app/SKILL.md +42 -0
  303. package/skills/g9-lynx-app/references/adaptive-layout.md +10 -0
  304. package/skills/g9-lynx-app/references/anchors-guide.md +9 -0
  305. package/skills/g9-lynx-app/references/catalog-index.md +80 -0
  306. package/skills/g9-lynx-app/references/common-mistakes.md +12 -0
  307. package/skills/g9-lynx-app/references/components/anchor.md +30 -0
  308. package/skills/g9-lynx-app/references/components/barcode-qr.md +19 -0
  309. package/skills/g9-lynx-app/references/components/barcode.md +37 -0
  310. package/skills/g9-lynx-app/references/components/base.md +35 -0
  311. package/skills/g9-lynx-app/references/components/button.md +125 -0
  312. package/skills/g9-lynx-app/references/components/calendar.md +128 -0
  313. package/skills/g9-lynx-app/references/components/cascade.md +19 -0
  314. package/skills/g9-lynx-app/references/components/charts.md +193 -0
  315. package/skills/g9-lynx-app/references/components/chat.md +98 -0
  316. package/skills/g9-lynx-app/references/components/commands.md +45 -0
  317. package/skills/g9-lynx-app/references/components/commerce.md +69 -0
  318. package/skills/g9-lynx-app/references/components/datagrid.md +19 -0
  319. package/skills/g9-lynx-app/references/components/deferred.md +19 -0
  320. package/skills/g9-lynx-app/references/components/design.md +27 -0
  321. package/skills/g9-lynx-app/references/components/display-1.md +193 -0
  322. package/skills/g9-lynx-app/references/components/display-2.md +196 -0
  323. package/skills/g9-lynx-app/references/components/display-3.md +122 -0
  324. package/skills/g9-lynx-app/references/components/edge-panel.md +19 -0
  325. package/skills/g9-lynx-app/references/components/effects.md +46 -0
  326. package/skills/g9-lynx-app/references/components/expander.md +19 -0
  327. package/skills/g9-lynx-app/references/components/fields.md +174 -0
  328. package/skills/g9-lynx-app/references/components/header.md +19 -0
  329. package/skills/g9-lynx-app/references/components/host.md +32 -0
  330. package/skills/g9-lynx-app/references/components/icon.md +64 -0
  331. package/skills/g9-lynx-app/references/components/intro-carousel.md +19 -0
  332. package/skills/g9-lynx-app/references/components/layout-1.md +188 -0
  333. package/skills/g9-lynx-app/references/components/layout-2.md +18 -0
  334. package/skills/g9-lynx-app/references/components/list.md +116 -0
  335. package/skills/g9-lynx-app/references/components/map.md +19 -0
  336. package/skills/g9-lynx-app/references/components/media.md +115 -0
  337. package/skills/g9-lynx-app/references/components/orb.md +37 -0
  338. package/skills/g9-lynx-app/references/components/pickers.md +185 -0
  339. package/skills/g9-lynx-app/references/components/pilot.md +40 -0
  340. package/skills/g9-lynx-app/references/components/plus-button.md +19 -0
  341. package/skills/g9-lynx-app/references/components/popover.md +94 -0
  342. package/skills/g9-lynx-app/references/components/popup.md +56 -0
  343. package/skills/g9-lynx-app/references/components/provider.md +43 -0
  344. package/skills/g9-lynx-app/references/components/range-slider.md +36 -0
  345. package/skills/g9-lynx-app/references/components/route.md +19 -0
  346. package/skills/g9-lynx-app/references/components/sheet.md +134 -0
  347. package/skills/g9-lynx-app/references/components/shell.md +98 -0
  348. package/skills/g9-lynx-app/references/components/survey.md +55 -0
  349. package/skills/g9-lynx-app/references/components/swipe.md +31 -0
  350. package/skills/g9-lynx-app/references/components/tab-bar.md +19 -0
  351. package/skills/g9-lynx-app/references/components/tabs.md +19 -0
  352. package/skills/g9-lynx-app/references/components/toggle.md +161 -0
  353. package/skills/g9-lynx-app/references/lists.md +13 -0
  354. package/skills/g9-lynx-app/references/localization-rtl.md +13 -0
  355. package/skills/g9-lynx-app/references/navigation-route.md +21 -0
  356. package/skills/g9-lynx-app/references/overlays.md +27 -0
  357. package/skills/g9-lynx-app/references/pilot.md +10 -0
  358. package/skills/g9-lynx-app/references/platform-rules.md +42 -0
  359. package/skills/g9-lynx-app/references/provider-and-host.md +37 -0
  360. package/skills/g9-lynx-app/references/theming.md +18 -0
@@ -0,0 +1,125 @@
1
+ # `@g9tm/lynxcontrols/button` (generated)
2
+
3
+ # G9Button
4
+
5
+ `import { G9Button } from '@g9tm/lynxcontrols/button';`
6
+
7
+ Text button (MAUI `G9Button`): variant fill (gradient for the solid variants), 12 px corners, no shadow, optional leading/trailing icons, loading state with a spinner.
8
+
9
+ Props:
10
+ - `text?`: string
11
+ - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
12
+ - `size?`: 'small' | 'medium' | 'large' | 'hero' = "medium"
13
+ - `leadingIcon?`: icon
14
+ - `onPress?`: () => void
15
+ - `disabled?`: boolean = false
16
+ - `fontAttributes?`: 'bold' | 'none' | 'italic' | 'boldItalic' = "bold"
17
+ - `loadingText?`: string
18
+
19
+ Example: `<G9Button text="Cancel" variant="outline" />`
20
+
21
+ # G9HeaderActionButton
22
+
23
+ `import { G9HeaderActionButton } from '@g9tm/lynxcontrols/button';`
24
+
25
+ Toolbar/header action (MAUI `G9HeaderActionButton`): bordered square with a glyph, image or short text.
26
+
27
+ Props:
28
+ - `icon?`: icon = "G9Glyph.Menu"
29
+ - `onPress?`: () => void
30
+ - `disabled?`: boolean = false
31
+ - `badgeText?`: string
32
+ - `buttonText?`: string
33
+ - `buttonSize?`: number = 0
34
+ - `iconImage?`: object | object | object
35
+ - `iconSize?`: number = 24
36
+
37
+ Example: `<G9HeaderActionButton />`
38
+
39
+ # G9IconButton
40
+
41
+ `import { G9IconButton } from '@g9tm/lynxcontrols/button';`
42
+
43
+ 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.
44
+
45
+ Props:
46
+ - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
47
+ - `icon?`: icon
48
+ - `onPress?`: () => void
49
+ - `disabled?`: boolean = false
50
+ - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
51
+ - `badgeText?`: string
52
+ - `badgeColor?`: color = "var(--g9-error)"
53
+ - `baseBackgroundColor?`: color
54
+
55
+ Example: `<G9IconButton />`
56
+
57
+ # G9NavCard
58
+
59
+ `import { G9NavCard } from '@g9tm/lynxcontrols/button';`
60
+
61
+ Navigation row card (MAUI `G9NavCard`): icon tile (pastel, or filled with `useFilledIconChip`) with optional corner badge, title (with an optional `titleAccessory` after it)/subtitle, value text, chevron or coming-soon b
62
+
63
+ Props:
64
+ - `title?`: string
65
+ - `icon?`: icon
66
+ - `subtitle?`: string
67
+ - `onPress?`: () => void
68
+ - `disabled?`: boolean = false
69
+ - `comingSoonText?`: string
70
+ - `iconBadgeText?`: string
71
+ - `valueText?`: string
72
+
73
+ Example: `<G9NavCard />`
74
+
75
+ # G9SafeButton
76
+
77
+ `import { G9SafeButton } from '@g9tm/lynxcontrols/button';`
78
+
79
+ Button with guarded execution (MAUI `G9SafeButton`): a tap calls `onPress`, then runs `onExecute` (and `onExecuteHandlers`) through the provider's safe executor: throttle (369 ms per key), one run at a time, optional del
80
+
81
+ Props:
82
+ - `text?`: string
83
+ - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
84
+ - `size?`: 'small' | 'medium' | 'large' | 'hero' = "medium"
85
+ - `leadingIcon?`: icon
86
+ - `onPress?`: () => void
87
+ - `disabled?`: boolean = false
88
+ - `fontAttributes?`: 'bold' | 'none' | 'italic' | 'boldItalic' = "bold"
89
+ - `onExecute?`: (context: G9SafeRunContext) => void
90
+
91
+ Example: `<G9SafeButton />`
92
+
93
+ # G9SafeIconButton
94
+
95
+ `import { G9SafeIconButton } from '@g9tm/lynxcontrols/button';`
96
+
97
+ Icon button with guarded execution (MAUI `G9SafeIconButton`); see `G9SafeButton`.
98
+
99
+ Props:
100
+ - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
101
+ - `icon?`: icon
102
+ - `onPress?`: () => void
103
+ - `disabled?`: boolean = false
104
+ - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
105
+ - `onExecute?`: (context: G9SafeRunContext) => void
106
+ - `onResult?`: (result: G9SafeRunResult<unknown>) => void
107
+ - `badgeText?`: string
108
+
109
+ Example: `<G9SafeIconButton />`
110
+
111
+ # G9VerticalIconTextButton
112
+
113
+ `import { G9VerticalIconTextButton } from '@g9tm/lynxcontrols/button';`
114
+
115
+ Image over a centred label in a bordered tile (MAUI `G9VerticalIconTextButton`).
116
+
117
+ Props:
118
+ - `text?`: string
119
+ - `onPress?`: () => void
120
+ - `disabled?`: boolean = false
121
+ - `imageSize?`: number = 32
122
+ - `image?`: object | object | object
123
+ - `accessibilityLabel?`: string
124
+
125
+ Example: `<G9VerticalIconTextButton />`
@@ -0,0 +1,128 @@
1
+ # `@g9tm/lynxcontrols-calendar` (generated)
2
+
3
+ # G9AgendaView
4
+
5
+ `import { G9AgendaView } from '@g9tm/lynxcontrols-calendar';`
6
+
7
+ Days with events, each a sticky header over its events (time, title), on the recycler.
8
+
9
+ Props:
10
+ - `events`: object[]
11
+ - `today`: object
12
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
13
+ - `allDayText?`: string
14
+ - `empty?`: ReactNode
15
+
16
+ Example: `<G9AgendaView events={events} today={today} />`
17
+
18
+ # G9DateInput
19
+
20
+ `import { G9DateInput } from '@g9tm/lynxcontrols-calendar';`
21
+
22
+ A date typed the way people say it — «فردا», «۱۵ مهر», «2026-03-21», «next friday» — read on blur (parseNaturalDate), with a month to tap under it.
23
+
24
+ Props:
25
+ - `label`: string
26
+ - `onChange`: (date: G9LocalDate | null) => void
27
+ - `today`: object
28
+ - `value`: object
29
+ - `invalidText?`: string
30
+ - `max?`: object
31
+ - `min?`: object
32
+
33
+ Example: `<G9DateInput label="Label" onChange={() => {}} today={today} value={value} />`
34
+
35
+ # G9MiniMonth
36
+
37
+ `import { G9MiniMonth } from '@g9tm/lynxcontrols-calendar';`
38
+
39
+ A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.
40
+
41
+ Props:
42
+ - `today`: object
43
+ - `value?`: object
44
+ - `onSelect?`: (date: G9LocalDate) => void
45
+ - `marked?`: (date: G9LocalDate) => void
46
+ - `initialMonth?`: object
47
+ - `max?`: object
48
+ - `min?`: object
49
+ - `range?`: object
50
+
51
+ Example: `<G9MiniMonth today={today} />`
52
+
53
+ # G9MonthDayPicker
54
+
55
+ `import { G9MonthDayPicker } from '@g9tm/lynxcontrols-calendar';`
56
+
57
+ Two rows of chips: the twelve months of the culture's calendar, then the chosen month's days.
58
+
59
+ Props:
60
+ - `onChange`: (value: G9MonthDay | null) => void
61
+ - `value`: object
62
+
63
+ Example: `<G9MonthDayPicker onChange={() => {}} value={value} />`
64
+
65
+ # G9MonthView
66
+
67
+ `import { G9MonthView } from '@g9tm/lynxcontrols-calendar';`
68
+
69
+ A full month with each day's first events as chips and «+n» for the rest.
70
+
71
+ Props:
72
+ - `events`: object[]
73
+ - `month`: object
74
+ - `today`: object
75
+ - `onSelectDay?`: (date: G9LocalDate) => void
76
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
77
+ - `perDay?`: number = 2
78
+
79
+ Example: `<G9MonthView events={events} month={month} today={today} />`
80
+
81
+ # G9RepeatPicker
82
+
83
+ `import { G9RepeatPicker } from '@g9tm/lynxcontrols-calendar';`
84
+
85
+ Never / daily / weekly (with weekday chips) / monthly / yearly.
86
+
87
+ Props:
88
+ - `labels`: object
89
+ - `onChange`: (rule: G9Recurrence | null) => void
90
+ - `value`: object
91
+
92
+ Example: `<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />`
93
+
94
+ # G9TimeGrid
95
+
96
+ `import { G9TimeGrid } from '@g9tm/lynxcontrols-calendar';`
97
+
98
+ Hours down the side, a column per day, timed events packed into lanes where they overlap, the now line.
99
+
100
+ Props:
101
+ - `events`: object[]
102
+ - `start`: object
103
+ - `today`: object
104
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
105
+ - `onSelectSlot?`: (date: G9LocalDate, minutes: number) => void
106
+ - `hourHeight?`: number
107
+ - `days?`: number
108
+ - `fromHour?`: number
109
+
110
+ Example: `<G9TimeGrid events={events} start={start} today={today} />`
111
+
112
+ # G9ZonePicker
113
+
114
+ `import { G9ZonePicker } from '@g9tm/lynxcontrols-calendar';`
115
+
116
+ A searchable time-zone picker: the rows are windowed, so ~420 zones open as fast as ten.
117
+
118
+ Props:
119
+ - `onChange`: (zone: string) => void
120
+ - `value`: string
121
+ - `zones`: string[]
122
+ - `label?`: string
123
+ - `leadingIcon?`: icon
124
+ - `placeholder?`: string
125
+ - `disabled?`: boolean = false
126
+ - `offsetOf?`: (zone: string) => void
127
+
128
+ Example: `<G9ZonePicker onChange={() => {}} value="value" zones={zones} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols/cascade` (generated)
2
+
3
+ # G9CascadePanel
4
+
5
+ `import { G9CascadePanel } from '@g9tm/lynxcontrols/cascade';`
6
+
7
+ In-place drill-down navigation (MAUI `G9CascadePanel`): `controller.push(view, { title })` slides a panel in over the current one from any edge, `pop()` slides it back; panels stack to any depth inside whatever container
8
+
9
+ Props:
10
+ - `onPanelPopped?`: (depth: number) => void
11
+ - `onPanelPushed?`: (depth: number) => void
12
+ - `rootTitle?`: string
13
+ - `cornerRadius?`: number = 16
14
+ - `rootContent?`: ReactNode
15
+ - `rootContentFactory?`: () => ReactNode
16
+ - `animateRoot?`: boolean = false
17
+ - `animationDurationMs?`: number = 280
18
+
19
+ Example: `<G9CascadePanel />`
@@ -0,0 +1,193 @@
1
+ # `@g9tm/lynxcontrols-charts` (generated)
2
+
3
+ # G9BarChart
4
+
5
+ `import { G9BarChart } from '@g9tm/lynxcontrols-charts';`
6
+
7
+ Bars (SAC hourly, G9Hub admin BarChart, ShopManager Bars).
8
+
9
+ Props:
10
+ - `values`: number[]
11
+ - `tooltip?`: (index: number) => void
12
+ - `yFormat?`: (v: number) => void
13
+ - `color?`: color
14
+ - `everyX?`: number
15
+ - `height?`: number = 180
16
+ - `highlightIndex?`: number
17
+ - `legend?`: object[]
18
+
19
+ Example: `<G9BarChart values={values} />`
20
+
21
+ # G9CandleChart
22
+
23
+ `import { G9CandleChart } from '@g9tm/lynxcontrols-charts';`
24
+
25
+ Candlesticks (Riskara Candles): success colour up, error colour down, the last close dashed.
26
+
27
+ Props:
28
+ - `candles`: object[]
29
+ - `tooltip?`: (index: number) => void
30
+ - `yFormat?`: (v: number) => void
31
+ - `everyX?`: number
32
+ - `height?`: number = 180
33
+ - `legend?`: object[]
34
+ - `width?`: number
35
+ - `xLabels?`: string[]
36
+
37
+ Example: `<G9CandleChart candles={candles} />`
38
+
39
+ # G9ChartBox
40
+
41
+ `import { G9ChartBox } from '@g9tm/lynxcontrols-charts';`
42
+
43
+ A chart in its frame (SAC kit ChartBox): y labels on the end side in the reading direction (right in RTL), x labels under, a legend, and a tooltip that follows the finger to the nearest slot.
44
+
45
+ Props:
46
+ - `build`: (width: number, height: number, palette: G9PaletteValues) => void
47
+ - `deps`: {}[]
48
+ - `tooltip?`: (index: number) => void
49
+ - `yFormat?`: (v: number) => void
50
+ - `everyX?`: number
51
+ - `height?`: number = 180
52
+ - `legend?`: object[]
53
+ - `width?`: number
54
+
55
+ Example: `<G9ChartBox build={build} deps={deps} />`
56
+
57
+ # G9Donut
58
+
59
+ `import { G9Donut } from '@g9tm/lynxcontrols-charts';`
60
+
61
+ A donut with its legend and shares (SAC DonutBox, Riskara Donut); at most about six slices read well.
62
+
63
+ Props:
64
+ - `slices`: object[]
65
+ - `children?`: ReactNode
66
+ - `size?`: number = 160
67
+ - `legend?`: boolean = true
68
+ - `thickness?`: number = 18
69
+ - `width?`: number
70
+ - `accessibilityLabel?`: string
71
+
72
+ Example: `<G9Donut slices={slices} />`
73
+
74
+ # G9FanChart
75
+
76
+ `import { G9FanChart } from '@g9tm/lynxcontrols-charts';`
77
+
78
+ A forecast fan (Riskara FanBox).
79
+
80
+ Props:
81
+ - `points`: object[]
82
+ - `tooltip?`: (index: number) => void
83
+ - `yFormat?`: (v: number) => void
84
+ - `color?`: color
85
+ - `everyX?`: number
86
+ - `height?`: number = 180
87
+ - `legend?`: object[]
88
+ - `width?`: number
89
+
90
+ Example: `<G9FanChart points={points} />`
91
+
92
+ # G9Gauge
93
+
94
+ `import { G9Gauge } from '@g9tm/lynxcontrols-charts';`
95
+
96
+ A gauge on a spectrum arc (Riskara Gauge, ShopChat Needle).
97
+
98
+ Props:
99
+ - `value`: number
100
+ - `children?`: ReactNode
101
+ - `size?`: number = 200
102
+ - `stops?`: string[]
103
+ - `thickness?`: number
104
+ - `width?`: number
105
+ - `accessibilityLabel?`: string
106
+
107
+ Example: `<G9Gauge value={1} />`
108
+
109
+ # G9Heatmap
110
+
111
+ `import { G9Heatmap } from '@g9tm/lynxcontrols-charts';`
112
+
113
+ An hour × weekday heatmap (SAC HeatmapBox), row labels on the start side.
114
+
115
+ Props:
116
+ - `grid`: number[][]
117
+ - `colLabels?`: string[]
118
+ - `color?`: color
119
+ - `everyCol?`: number = 3
120
+ - `height?`: number = 160
121
+ - `rowLabels?`: string[]
122
+ - `width?`: number
123
+ - `accessibilityLabel?`: string
124
+
125
+ Example: `<G9Heatmap grid={grid} />`
126
+
127
+ # G9LineChart
128
+
129
+ `import { G9LineChart } from '@g9tm/lynxcontrols-charts';`
130
+
131
+ Lines and areas over time (SAC sales, Riskara LineBox, G9Hub insights).
132
+
133
+ Props:
134
+ - `series`: object[]
135
+ - `tooltip?`: (index: number) => void
136
+ - `yFormat?`: (v: number) => void
137
+ - `everyX?`: number
138
+ - `height?`: number = 180
139
+ - `legend?`: boolean
140
+ - `max?`: number
141
+ - `min?`: number
142
+
143
+ Example: `<G9LineChart series={series} />`
144
+
145
+ # G9Radar
146
+
147
+ `import { G9Radar } from '@g9tm/lynxcontrols-charts';`
148
+
149
+ A radar of dimensions (Riskara risk DNA radar) with labels at the axis ends.
150
+
151
+ Props:
152
+ - `labels`: string[]
153
+ - `values`: number[]
154
+ - `size?`: number = 280
155
+ - `color?`: color
156
+ - `width?`: number
157
+ - `accessibilityLabel?`: string
158
+
159
+ Example: `<G9Radar labels={labels} values={values} />`
160
+
161
+ # G9Sparkline
162
+
163
+ `import { G9Sparkline } from '@g9tm/lynxcontrols-charts';`
164
+
165
+ A tiny trend (SAC/Riskara/ShopManager sparklines) — for KPI tiles (`G9Kpi trend={…}`).
166
+
167
+ Props:
168
+ - `values`: number[]
169
+ - `color?`: color
170
+ - `height?`: number = 30
171
+ - `kind?`: 'line' | 'bars'
172
+ - `width?`: number
173
+ - `accessibilityLabel?`: string
174
+
175
+ Example: `<G9Sparkline values={values} />`
176
+
177
+ # G9StackedBarChart
178
+
179
+ `import { G9StackedBarChart } from '@g9tm/lynxcontrols-charts';`
180
+
181
+ Stacked bars with a legend of the parts (SAC channel mix by day).
182
+
183
+ Props:
184
+ - `parts`: string[]
185
+ - `stacks`: number[][]
186
+ - `tooltip?`: (index: number) => void
187
+ - `yFormat?`: (v: number) => void
188
+ - `colors?`: string[]
189
+ - `everyX?`: number
190
+ - `height?`: number = 180
191
+ - `width?`: number
192
+
193
+ Example: `<G9StackedBarChart parts={parts} stacks={stacks} />`
@@ -0,0 +1,98 @@
1
+ # `@g9tm/lynxcontrols-chat` (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 text; 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
+ - `onAttach?`: () => void
16
+ - `onEmoji?`: () => void
17
+ - `attachLabel?`: string
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
+ - `names?`: 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, the last message or «typing…», its time, unread count.
44
+
45
+ Props:
46
+ - `at`: number
47
+ - `name`: string
48
+ - `preview`: string
49
+ - `onPress?`: () => void
50
+ - `typingText?`: string
51
+ - `avatar?`: string
52
+ - `muted?`: boolean
53
+ - `online?`: boolean
54
+
55
+ Example: `<G9ConversationRow at={1} name="name" preview="preview" />`
56
+
57
+ # G9EmojiPicker
58
+
59
+ `import { G9EmojiPicker } from '@g9tm/lynxcontrols-chat';`
60
+
61
+ Emoji by category: tabs over a grid of 44 dp targets.
62
+
63
+ Props:
64
+ - `onPick`: (emoji: string) => void
65
+ - `columns?`: number
66
+ - `labels?`: object
67
+ - `sets?`: object
68
+
69
+ Example: `<G9EmojiPicker onPick={() => {}} />`
70
+
71
+ # G9MessageBubble
72
+
73
+ `import { G9MessageBubble } from '@g9tm/lynxcontrols-chat';`
74
+
75
+ 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
76
+
77
+ Props:
78
+ - `message`: object
79
+ - `mine`: boolean
80
+ - `onLongPress?`: (message: G9Message) => void
81
+ - `onRetry?`: (message: G9Message) => void
82
+ - `attachment?`: ReactNode
83
+ - `position?`: 'single' | 'last' | 'first' | 'middle'
84
+ - `senderName?`: string
85
+ - `showTime?`: boolean
86
+
87
+ Example: `<G9MessageBubble message={message} mine />`
88
+
89
+ # G9TypingDots
90
+
91
+ `import { G9TypingDots } from '@g9tm/lynxcontrols-chat';`
92
+
93
+ Three dots that rise in turn (CSS animation: nothing runs in script).
94
+
95
+ Props:
96
+ - `label?`: string
97
+
98
+ Example: `<G9TypingDots />`
@@ -0,0 +1,45 @@
1
+ # `@g9tm/lynxcontrols/commands` (generated)
2
+
3
+ # G9CommandPalette
4
+
5
+ `import { G9CommandPalette } from '@g9tm/lynxcontrols/commands';`
6
+
7
+ The command palette (SAC Palette, G9Hub CommandPalette; usually on Mod+K): one search over every place and action.
8
+
9
+ Props:
10
+ - `commands`: object[]
11
+ - `onClose`: () => void
12
+ - `open`: boolean
13
+ - `placeholder?`: string
14
+ - `emptyText?`: string
15
+ - `platform?`: 'mac' | 'other'
16
+
17
+ Example: `<G9CommandPalette commands={commands} onClose={() => {}} open />`
18
+
19
+ # G9ShortcutList
20
+
21
+ `import { G9ShortcutList } from '@g9tm/lynxcontrols/commands';`
22
+
23
+ The keyboard shortcuts as a readable list (G9Hub ShortcutsSheet; open it on `?`).
24
+
25
+ Props:
26
+ - `groups`: object[]
27
+ - `platform?`: 'mac' | 'other'
28
+
29
+ Example: `<G9ShortcutList groups={groups} />`
30
+
31
+ # G9ShortcutsSheet
32
+
33
+ `import { G9ShortcutsSheet } from '@g9tm/lynxcontrols/commands';`
34
+
35
+ The keyboard shortcuts in an action sheet (G9Hub «?»): groups of a label and its keycaps.
36
+
37
+ Props:
38
+ - `groups`: object[]
39
+ - `onClose`: () => void
40
+ - `open`: boolean
41
+ - `title`: string
42
+ - `closeText?`: string
43
+ - `platform?`: 'mac' | 'other'
44
+
45
+ Example: `<G9ShortcutsSheet groups={groups} onClose={() => {}} open title="Label" />`
@@ -0,0 +1,69 @@
1
+ # `@g9tm/lynxcontrols-commerce` (generated)
2
+
3
+ # G9MiniCartBar
4
+
5
+ `import { G9MiniCartBar } from '@g9tm/lynxcontrols-commerce';`
6
+
7
+ The floating cart summary at the bottom (ShopManager MiniCart, SAC tray bar): slides in when the cart has items and out when it empties (transform only), above the safe area and any tab bar.
8
+
9
+ Props:
10
+ - `actionText`: string
11
+ - `count`: number
12
+ - `countText`: (count: string) => void
13
+ - `onPress`: () => void
14
+ - `total`: number
15
+ - `bottomOffset?`: number
16
+ - `currency?`: string & {} | string | string
17
+
18
+ Example: `<G9MiniCartBar actionText="actionText" count={1} countText={countText} onPress={() => {}} total={1} />`
19
+
20
+ # G9PriceTag
21
+
22
+ `import { G9PriceTag } from '@g9tm/lynxcontrols-commerce';`
23
+
24
+ A price in the culture's digits, the old price struck through and the percentage off when discounted.
25
+
26
+ Props:
27
+ - `price`: number
28
+ - `size?`: 'sm' | 'md' | 'lg'
29
+ - `compareAt?`: number
30
+ - `currency?`: string & {} | string | string
31
+ - `showPercent?`: boolean = true
32
+
33
+ Example: `<G9PriceTag price={1} />`
34
+
35
+ # G9ProductTile
36
+
37
+ `import { G9ProductTile } from '@g9tm/lynxcontrols-commerce';`
38
+
39
+ A product as a grid card or a list row: photo, title, price with discount, and the quantity control.
40
+
41
+ Props:
42
+ - `addText`: string
43
+ - `onQtyChange`: (qty: number) => void
44
+ - `price`: number
45
+ - `qty`: number
46
+ - `title`: string
47
+ - `subtitle?`: string
48
+ - `onPress?`: () => void
49
+ - `outOfStockText?`: string
50
+
51
+ Example: `<G9ProductTile addText="addText" onQtyChange={() => {}} price={1} qty={1} title="Label" />`
52
+
53
+ # G9QuantityControl
54
+
55
+ `import { G9QuantityControl } from '@g9tm/lynxcontrols-commerce';`
56
+
57
+ Add, then − n + (ShopManager AddControl, SAC tray, mardomi Stepper): one tap adds, the stepper takes over, reaching 0 folds it back into the button.
58
+
59
+ Props:
60
+ - `addText`: string
61
+ - `onChange`: (qty: number) => void
62
+ - `value`: number
63
+ - `size?`: 'sm' | 'md'
64
+ - `disabled?`: boolean
65
+ - `outOfStockText?`: string
66
+ - `block?`: boolean
67
+ - `stock?`: number
68
+
69
+ Example: `<G9QuantityControl addText="addText" onChange={() => {}} value={1} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-datagrid` (generated)
2
+
3
+ # G9DataGrid
4
+
5
+ `import { G9DataGrid } from '@g9tm/lynxcontrols-datagrid';`
6
+
7
+ A data grid (SAC kit DataGrid, Riskara admin Table): sortable headers (tap cycles), search and grouping from the state, sticky group headers, a totals row; numbers end-aligned in the culture's digits, the identity column
8
+
9
+ Props:
10
+ - `columns`: object[]
11
+ - `data`: NonNullable<T>[]
12
+ - `getId`: (row: T) => void
13
+ - `onEndReached?`: () => void
14
+ - `onRowPress?`: (row: T) => void
15
+ - `onStateChange?`: (state: G9GridState) => void
16
+ - `totalsLabel?`: string
17
+ - `empty?`: ReactNode
18
+
19
+ Example: `<G9DataGrid columns={columns} data={data} getId={getId} />`