@g9tm/lynxcontrols 2.8.4 → 2.10.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 (121) hide show
  1. package/README.md +1 -0
  2. package/catalog/cards/G9Avatar.md +1 -1
  3. package/catalog/cards/G9Badge.md +1 -1
  4. package/catalog/cards/G9Button.md +1 -1
  5. package/catalog/cards/G9Chip.md +1 -1
  6. package/catalog/cards/G9ChipStrip.md +1 -1
  7. package/catalog/cards/G9ContextMenu.md +4 -2
  8. package/catalog/cards/G9DockLayout.md +17 -0
  9. package/catalog/cards/G9DragChip.md +10 -0
  10. package/catalog/cards/G9DragSource.md +17 -0
  11. package/catalog/cards/G9DropTarget.md +15 -0
  12. package/catalog/cards/G9EmptyState.md +1 -1
  13. package/catalog/cards/G9IconButton.md +2 -2
  14. package/catalog/cards/G9InlineMessage.md +1 -1
  15. package/catalog/cards/G9KeyCapture.md +10 -0
  16. package/catalog/cards/G9KeyDiamond.md +15 -0
  17. package/catalog/cards/G9KeySlider.md +17 -0
  18. package/catalog/cards/G9Kpi.md +1 -1
  19. package/catalog/cards/G9ListRow.md +1 -1
  20. package/catalog/cards/G9LiveBadge.md +1 -1
  21. package/catalog/cards/G9LiveDot.md +1 -1
  22. package/catalog/cards/G9ProgressBar.md +1 -1
  23. package/catalog/cards/G9ProgressRing.md +1 -1
  24. package/catalog/cards/G9SafeButton.md +1 -1
  25. package/catalog/cards/G9SafeIconButton.md +2 -2
  26. package/catalog/cards/G9StatusPill.md +1 -1
  27. package/catalog/cards/G9StepTracker.md +1 -1
  28. package/catalog/cards/G9SwitchRow.md +1 -1
  29. package/catalog/cards/G9Tag.md +1 -1
  30. package/catalog/catalog.json +2391 -192
  31. package/catalog/index.md +9 -2
  32. package/dist/.tsbuildinfo +1 -1
  33. package/dist/commands/index.d.ts +1 -1
  34. package/dist/commands/index.d.ts.map +1 -1
  35. package/dist/commands/index.jsx +1 -1
  36. package/dist/commands/keys.d.ts +32 -1
  37. package/dist/commands/keys.d.ts.map +1 -1
  38. package/dist/commands/keys.jsx +92 -3
  39. package/dist/desktop/index.d.ts +3 -0
  40. package/dist/desktop/index.d.ts.map +1 -0
  41. package/dist/desktop/index.jsx +2 -0
  42. package/dist/desktop/keys.d.ts +26 -0
  43. package/dist/desktop/keys.d.ts.map +1 -0
  44. package/dist/desktop/keys.jsx +30 -0
  45. package/dist/desktop/window.d.ts +18 -0
  46. package/dist/desktop/window.d.ts.map +1 -0
  47. package/dist/desktop/window.jsx +28 -0
  48. package/dist/index.d.ts +2 -0
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/layout/dock.css +90 -0
  51. package/dist/layout/dock.css.map +1 -0
  52. package/dist/layout/dock.d.ts +86 -0
  53. package/dist/layout/dock.d.ts.map +1 -0
  54. package/dist/layout/dock.jsx +272 -0
  55. package/dist/layout/index.d.ts +1 -0
  56. package/dist/layout/index.d.ts.map +1 -1
  57. package/dist/layout/index.jsx +1 -0
  58. package/dist/pointer/drag-session.d.ts +72 -0
  59. package/dist/pointer/drag-session.d.ts.map +1 -0
  60. package/dist/pointer/drag-session.jsx +148 -0
  61. package/dist/pointer/drag.d.ts +78 -0
  62. package/dist/pointer/drag.d.ts.map +1 -0
  63. package/dist/pointer/drag.jsx +186 -0
  64. package/dist/pointer/index.d.ts +6 -0
  65. package/dist/pointer/index.d.ts.map +1 -0
  66. package/dist/pointer/index.jsx +5 -0
  67. package/dist/pointer/pad.d.ts +57 -0
  68. package/dist/pointer/pad.d.ts.map +1 -0
  69. package/dist/pointer/pad.jsx +111 -0
  70. package/dist/pointer/point.d.ts +36 -0
  71. package/dist/pointer/point.d.ts.map +1 -0
  72. package/dist/pointer/point.jsx +34 -0
  73. package/dist/pointer/pointer.css +62 -0
  74. package/dist/pointer/pointer.css.map +1 -0
  75. package/dist/pointer/secondary.d.ts +54 -0
  76. package/dist/pointer/secondary.d.ts.map +1 -0
  77. package/dist/pointer/secondary.jsx +86 -0
  78. package/dist/popover/popover.d.ts +26 -2
  79. package/dist/popover/popover.d.ts.map +1 -1
  80. package/dist/popover/popover.jsx +47 -20
  81. package/dist/range-slider/index.d.ts +1 -0
  82. package/dist/range-slider/index.d.ts.map +1 -1
  83. package/dist/range-slider/index.jsx +1 -0
  84. package/dist/range-slider/key-slider.d.ts +50 -0
  85. package/dist/range-slider/key-slider.d.ts.map +1 -0
  86. package/dist/range-slider/key-slider.jsx +51 -0
  87. package/dist/range-slider/range-slider.css +48 -0
  88. package/dist/range-slider/range-slider.css.map +1 -1
  89. package/dist/range-slider/range-slider.d.ts +16 -0
  90. package/dist/range-slider/range-slider.d.ts.map +1 -1
  91. package/dist/range-slider/range-slider.jsx +26 -10
  92. package/package.json +12 -2
  93. package/skills/g9-lynx-app/SKILL.md +8 -0
  94. package/skills/g9-lynx-app/references/catalog-index.md +22 -2
  95. package/skills/g9-lynx-app/references/components/button.md +6 -6
  96. package/skills/g9-lynx-app/references/components/code-editor.md +19 -0
  97. package/skills/g9-lynx-app/references/components/code-log.md +19 -0
  98. package/skills/g9-lynx-app/references/components/datagrid.md +3 -3
  99. package/skills/g9-lynx-app/references/components/desktop.md +12 -0
  100. package/skills/g9-lynx-app/references/components/display-1.md +4 -4
  101. package/skills/g9-lynx-app/references/components/display-2.md +5 -5
  102. package/skills/g9-lynx-app/references/components/display-3.md +3 -3
  103. package/skills/g9-lynx-app/references/components/graph.md +19 -0
  104. package/skills/g9-lynx-app/references/components/layout-1.md +18 -18
  105. package/skills/g9-lynx-app/references/components/layout-2.md +18 -0
  106. package/skills/g9-lynx-app/references/components/list.md +2 -2
  107. package/skills/g9-lynx-app/references/components/media-1.md +7 -7
  108. package/skills/g9-lynx-app/references/components/pointer.md +46 -0
  109. package/skills/g9-lynx-app/references/components/popover.md +4 -2
  110. package/skills/g9-lynx-app/references/components/projects.md +1 -1
  111. package/skills/g9-lynx-app/references/components/range-slider.md +34 -0
  112. package/skills/g9-lynx-app/references/components/studio-color-picker.md +19 -0
  113. package/skills/g9-lynx-app/references/components/studio-ease-editor.md +19 -0
  114. package/skills/g9-lynx-app/references/components/studio-filmstrip.md +19 -0
  115. package/skills/g9-lynx-app/references/components/studio-font-picker.md +19 -0
  116. package/skills/g9-lynx-app/references/components/studio-gradient-editor.md +19 -0
  117. package/skills/g9-lynx-app/references/components/studio-history-list.md +34 -0
  118. package/skills/g9-lynx-app/references/components/studio-media-slot.md +19 -0
  119. package/skills/g9-lynx-app/references/components/studio-option-form.md +19 -0
  120. package/skills/g9-lynx-app/references/components/studio-waveform.md +19 -0
  121. package/skills/g9-lynx-app/references/components/toggle.md +2 -2
@@ -24,6 +24,11 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
24
24
 
25
25
  - `@g9tm/lynxcontrols-chat`: G9AckBar, G9ChatComposer, G9ChatThread, G9ConversationRow, G9EditHistorySheet, G9EmojiLibrary, G9EmojiPicker, G9FileCard, G9GifPicker, G9KudosDialog, G9LinkPreview, G9MessageBubble, G9MessageMenu, G9MessageMeta, G9MessageText, G9PersonPicker, G9PinnedBar, G9PollCard, G9PollComposer, G9ReactionBar, G9SchedulePicker, G9SlashSuggestions, G9StickerPicker, G9SystemPill, G9ThreadSearch, G9TypingDots → `components/chat-1.md`, `components/chat-2.md`, `components/chat-3.md`
26
26
 
27
+ ## @g9tm/lynxcontrols-code
28
+
29
+ - `@g9tm/lynxcontrols-code/editor`: G9CodeEditor → `components/code-editor.md`
30
+ - `@g9tm/lynxcontrols-code/log`: G9LogView → `components/code-log.md`
31
+
27
32
  ## @g9tm/lynxcontrols-commerce
28
33
 
29
34
  - `@g9tm/lynxcontrols-commerce`: G9MiniCartBar, G9PriceTag, G9ProductTile, G9QuantityControl → `components/commerce.md`
@@ -39,6 +44,7 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
39
44
  - `@g9tm/lynxcontrols/dashboard`: G9DashboardCustomizeSheet, G9DashboardGrid, G9WidgetSkeleton, G9WidgetSlot → `components/dashboard.md`
40
45
  - `@g9tm/lynxcontrols/deferred`: G9DeferredContent → `components/deferred.md`
41
46
  - `@g9tm/lynxcontrols/design`: G9DesignNode, G9DesignScope → `components/design.md`
47
+ - `@g9tm/lynxcontrols/desktop`: G9KeyCapture → `components/desktop.md`
42
48
  - `@g9tm/lynxcontrols/display`: G9ActivityIndicator, G9Avatar, G9Badge, G9CameFromMark, G9CodeBlock, G9CultureDateTimeLabel, G9Delta, G9EmptyState, G9ErrorBoundary, G9Image, G9InlineMessage, G9Keycap, G9Kpi, G9KpiGrid, G9LiveBadge, G9LiveDot, G9LoadState, G9LockOverlay, G9Photo, G9ProgressBar, G9ProgressRing, G9RevealText, G9SecretValue, G9Separator, G9SheetSkeleton, G9ShimmerBand, G9Skeleton, G9SkeletonPage, G9SkeletonRows, G9StatusPill, G9StepTracker, G9Tag, G9ThemePreviewCard, G9TitleWithLine, G9Wave → `components/display-1.md`, `components/display-2.md`, `components/display-3.md`
43
49
  - `@g9tm/lynxcontrols/edge-panel`: G9EdgePanel → `components/edge-panel.md`
44
50
  - `@g9tm/lynxcontrols/effects`: G9AnimatedCheck, G9Confetti, G9SuccessHeader → `components/effects.md`
@@ -47,16 +53,17 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
47
53
  - `@g9tm/lynxcontrols/header`: G9AppBar → `components/header.md`
48
54
  - `@g9tm/lynxcontrols/host`: G9CarryContexts, G9Host, G9PageLoadingOverlay → `components/host.md`
49
55
  - `@g9tm/lynxcontrols/icon`: G9Art, G9Icon, G9IconSlot, G9Swatch → `components/icon.md`
50
- - `@g9tm/lynxcontrols/layout`: G9ActionRow, G9Bento, G9Card, G9Columns, G9HScroll, G9Page, G9PlaceScroll, G9SaveBar, G9ScrollSpyBar, G9Section, G9SectionHeader, G9SplitPane, G9UnsavedBar → `components/layout-1.md`, `components/layout-2.md`
56
+ - `@g9tm/lynxcontrols/layout`: G9ActionRow, G9Bento, G9Card, G9Columns, G9DockLayout, G9HScroll, G9Page, G9PlaceScroll, G9SaveBar, G9ScrollSpyBar, G9Section, G9SectionHeader, G9SplitPane, G9UnsavedBar → `components/layout-1.md`, `components/layout-2.md`
51
57
  - `@g9tm/lynxcontrols/list`: G9DragList, G9ListRow, G9Pager, G9PullToRefresh, G9SettingsGroup, G9SwitchRow, G9VirtualList → `components/list.md`
52
58
  - `@g9tm/lynxcontrols/notifications`: G9NotificationCenter, G9NotificationCenterPanel → `components/notifications.md`
53
59
  - `@g9tm/lynxcontrols/orb`: G9FloatingOrb, G9HoldButton → `components/orb.md`
54
60
  - `@g9tm/lynxcontrols/pickers`: DateTimeSheetBody, G9ComboBox, G9DateTimePicker, G9DayStepper, G9Picker, G9TimeSpanPicker, G9WheelColumn, PickerField, PickerSheetHeader, SelectionValueIcon, TimeSpanSheetBody → `components/pickers.md`
55
61
  - `@g9tm/lynxcontrols/plus-button`: G9PlusButton → `components/plus-button.md`
62
+ - `@g9tm/lynxcontrols/pointer`: G9DragChip, G9DragSource, G9DropTarget → `components/pointer.md`
56
63
  - `@g9tm/lynxcontrols/popover`: G9ActionSheet, G9ContextMenu, G9Menu, G9MenuList, G9OverlayRoot, G9Popover, G9Tooltip → `components/popover.md`
57
64
  - `@g9tm/lynxcontrols/popup`: G9PopupDragHandle, G9PopupView, PopupFrame, PopupInputForm → `components/popup.md`
58
65
  - `@g9tm/lynxcontrols/provider`: G9Activity, G9DirectionScope, G9KeepAlive, G9Provider → `components/provider.md`
59
- - `@g9tm/lynxcontrols/range-slider`: G9RangeSlider, G9StepSlider → `components/range-slider.md`
66
+ - `@g9tm/lynxcontrols/range-slider`: G9KeyDiamond, G9KeySlider, G9RangeSlider, G9StepSlider → `components/range-slider.md`
60
67
  - `@g9tm/lynxcontrols/reader`: G9ReaderSheet, G9ReaderView → `components/reader.md`
61
68
  - `@g9tm/lynxcontrols/route`: G9PathNavigator, G9Place → `components/route.md`
62
69
  - `@g9tm/lynxcontrols/sheet`: G9LoadableSheetContent, G9ProcessingSheetContent, G9Sheet, G9SheetBackdropScope, G9SheetFooter, G9SheetFooterBar, G9SheetFrame, G9SheetHeader, G9SheetScrollIndicator, G9SheetScrollRegion → `components/sheet.md`
@@ -71,6 +78,10 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
71
78
 
72
79
  - `@g9tm/lynxcontrols-datagrid`: G9DataGrid → `components/datagrid.md`
73
80
 
81
+ ## @g9tm/lynxcontrols-graph
82
+
83
+ - `@g9tm/lynxcontrols-graph`: G9GraphCanvas → `components/graph.md`
84
+
74
85
  ## @g9tm/lynxcontrols-intro-carousel
75
86
 
76
87
  - `@g9tm/lynxcontrols-intro-carousel`: G9IntroCarousel → `components/intro-carousel.md`
@@ -106,6 +117,15 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
106
117
 
107
118
  ## @g9tm/lynxcontrols-studio
108
119
 
120
+ - `@g9tm/lynxcontrols-studio/color-picker`: G9ColorPicker → `components/studio-color-picker.md`
121
+ - `@g9tm/lynxcontrols-studio/ease-editor`: G9EaseEditor → `components/studio-ease-editor.md`
122
+ - `@g9tm/lynxcontrols-studio/filmstrip`: G9Filmstrip → `components/studio-filmstrip.md`
123
+ - `@g9tm/lynxcontrols-studio/font-picker`: G9FontPicker → `components/studio-font-picker.md`
124
+ - `@g9tm/lynxcontrols-studio/gradient-editor`: G9GradientEditor → `components/studio-gradient-editor.md`
125
+ - `@g9tm/lynxcontrols-studio/history-list`: G9HistoryList, G9JobQueue → `components/studio-history-list.md`
126
+ - `@g9tm/lynxcontrols-studio/media-slot`: G9MediaSlot → `components/studio-media-slot.md`
109
127
  - `@g9tm/lynxcontrols-studio/nle-timeline`: G9NleTimeline → `components/studio-nle-timeline.md`
128
+ - `@g9tm/lynxcontrols-studio/option-form`: G9OptionForm → `components/studio-option-form.md`
110
129
  - `@g9tm/lynxcontrols-studio/surface`: G9Surface → `components/studio-surface.md`
111
130
  - `@g9tm/lynxcontrols-studio/transform-box`: G9TransformBox → `components/studio-transform-box.md`
131
+ - `@g9tm/lynxcontrols-studio/waveform`: G9Waveform → `components/studio-waveform.md`
@@ -8,7 +8,7 @@ Text button (MAUI `G9Button`): variant fill (gradient for the solid variants), 1
8
8
 
9
9
  Props:
10
10
  - `text?`: string
11
- - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
11
+ - `variant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
12
12
  - `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
13
13
  - `leadingIcon?`: icon
14
14
  - `onPress?`: () => void
@@ -43,12 +43,12 @@ Example: `<G9HeaderActionButton />`
43
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
44
 
45
45
  Props:
46
- - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
46
+ - `variant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
47
47
  - `size?`: 'sm' | 'md' | 'lg'
48
48
  - `icon?`: icon
49
49
  - `onPress?`: () => void
50
50
  - `disabled?`: boolean = false
51
- - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
51
+ - `activeVariant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
52
52
  - `badgeText?`: string
53
53
  - `badgeColor?`: color = "var(--g9-error)"
54
54
 
@@ -80,7 +80,7 @@ Button with guarded execution (MAUI `G9SafeButton`): a tap calls `onPress`, then
80
80
 
81
81
  Props:
82
82
  - `text?`: string
83
- - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
83
+ - `variant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
84
84
  - `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
85
85
  - `leadingIcon?`: icon
86
86
  - `onPress?`: () => void
@@ -97,12 +97,12 @@ Example: `<G9SafeButton />`
97
97
  Icon button with guarded execution (MAUI `G9SafeIconButton`); see `G9SafeButton`.
98
98
 
99
99
  Props:
100
- - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
100
+ - `variant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
101
101
  - `size?`: 'sm' | 'md' | 'lg'
102
102
  - `icon?`: icon
103
103
  - `onPress?`: () => void
104
104
  - `disabled?`: boolean = false
105
- - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
105
+ - `activeVariant?`: 'info' | 'error' | 'text' | 'primary' | 'default' | 'secondary' | 'success' | 'warning' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
106
106
  - `onExecute?`: (context: G9SafeRunContext) => void
107
107
  - `onResult?`: (result: G9SafeRunResult<unknown>) => void
108
108
 
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-code/editor` (generated)
2
+
3
+ # G9CodeEditor
4
+
5
+ `import { G9CodeEditor } from '@g9tm/lynxcontrols-code/editor';`
6
+
7
+ Editable monospace text with line numbers, colours, marks, find, undo / redo; only the visible lines are drawn.
8
+
9
+ Props:
10
+ - `value?`: string
11
+ - `onChange?`: (change: G9TextChange) => void
12
+ - `onValueChange?`: (value: string) => void
13
+ - `onCopy?`: (text: string) => void
14
+ - `fontSize?`: number = 13
15
+ - `lineHeight?`: number = 20
16
+ - `tabSize?`: number = 2
17
+ - `defaultValue?`: string
18
+
19
+ Example: `<G9CodeEditor />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-code/log` (generated)
2
+
3
+ # G9LogView
4
+
5
+ `import { G9LogView } from '@g9tm/lynxcontrols-code/log';`
6
+
7
+ A live, virtualised log: follows the end, pauses on scroll-up, filters by level and search, copies selected rows.
8
+
9
+ Props:
10
+ - `store`: object
11
+ - `onActivate?`: (entry: G9LogEntry) => void
12
+ - `onCopy?`: (text: string) => void
13
+ - `onLevelsChange?`: (levels: G9LogLevel[]) => void
14
+ - `onQueryChange?`: (query: string) => void
15
+ - `onSelectionChange?`: (entries: G9LogEntry[]) => void
16
+ - `levelColors?`: object
17
+ - `rowHeight?`: number = 22
18
+
19
+ Example: `<G9LogView store={store} />`
@@ -10,10 +10,10 @@ Props:
10
10
  - `columns`: object[]
11
11
  - `data`: NonNullable<T>[]
12
12
  - `getId`: (row: T) => void
13
+ - `selection?`: 'none' | 'single' | 'multiple' = "none"
14
+ - `onCellEdit?`: (rowId: string | number, columnId: string, text: string) => void
13
15
  - `onEndReached?`: () => void
14
16
  - `onRowPress?`: (row: T) => void
15
- - `onStateChange?`: (state: G9GridState) => void
16
- - `totalsLabel?`: string
17
- - `empty?`: ReactNode
17
+ - `onSelectionChange?`: (ids: readonly (string | number)[]) => void
18
18
 
19
19
  Example: `<G9DataGrid columns={columns} data={data} getId={getId} />`
@@ -0,0 +1,12 @@
1
+ # `@g9tm/lynxcontrols/desktop` (generated)
2
+
3
+ # G9KeyCapture
4
+
5
+ `import { G9KeyCapture } from '@g9tm/lynxcontrols/desktop';`
6
+
7
+ Hears the keys pressed anywhere inside (desktop: Lynxtron) and hands them to the page's key handlers.
8
+
9
+ Props:
10
+ - `children?`: ReactNode
11
+
12
+ Example: `<G9KeyCapture />`
@@ -26,7 +26,7 @@ Props:
26
26
  - `size?`: number | string | string | string | string | string = "md"
27
27
  - `icon?`: icon
28
28
  - `shape?`: 'circle' | 'squircle'
29
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
29
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
30
30
  - `gradient?`: boolean
31
31
  - `image?`: string
32
32
  - `ring?`: string
@@ -42,7 +42,7 @@ A count or a dot (G9Hub Counter/Badge, tab and bell counts).
42
42
  Props:
43
43
  - `value?`: string | number
44
44
  - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft' = "solid"
45
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "error"
45
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "error"
46
46
  - `dot?`: boolean
47
47
  - `hideZero?`: boolean = true
48
48
  - `max?`: number = 99
@@ -125,7 +125,7 @@ Props:
125
125
  - `icon?`: icon = "search"
126
126
  - `message?`: string
127
127
  - `compact?`: boolean
128
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
128
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
129
129
  - `art?`: ReactNode
130
130
  - `action?`: object
131
131
 
@@ -175,7 +175,7 @@ Props:
175
175
  - `title?`: string
176
176
  - `children?`: ReactNode
177
177
  - `icon?`: icon
178
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "info"
178
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "info"
179
179
  - `onDismiss?`: () => void
180
180
  - `action?`: object
181
181
 
@@ -11,7 +11,7 @@ Props:
11
11
  - `value`: string
12
12
  - `icon?`: icon
13
13
  - `onPress?`: () => void
14
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
14
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
15
15
  - `loading?`: boolean
16
16
  - `trend?`: ReactNode
17
17
  - `delta?`: object
@@ -39,7 +39,7 @@ Example: `<G9KpiGrid />`
39
39
 
40
40
  Props:
41
41
  - `text`: string
42
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
42
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
43
43
 
44
44
  Example: `<G9LiveBadge text="Label" />`
45
45
 
@@ -51,7 +51,7 @@ A live dot with an expanding ring (Riskara Pulse, «online», a running sync).
51
51
 
52
52
  Props:
53
53
  - `size?`: number = 8
54
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "success"
54
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "success"
55
55
  - `pulse?`: boolean = true
56
56
 
57
57
  Example: `<G9LiveDot />`
@@ -114,7 +114,7 @@ Props:
114
114
  - `value?`: number = 0
115
115
  - `disabled?`: boolean = false
116
116
  - `labelPlacement?`: 'none' | 'above' | 'end' = "none"
117
- - `progressType?`: 'primary' | 'success' | 'warning' | 'error' = "primary"
117
+ - `progressType?`: 'error' | 'primary' | 'success' | 'warning' = "primary"
118
118
  - `barHeight?`: number = 10
119
119
  - `cornerRadius?`: number = 999
120
120
  - `flat?`: boolean
@@ -132,7 +132,7 @@ Props:
132
132
  - `value`: number
133
133
  - `children?`: ReactNode
134
134
  - `size?`: number = 72
135
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "primary"
135
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "primary"
136
136
  - `trackColor?`: color
137
137
  - `color?`: color
138
138
  - `thickness?`: number = 6
@@ -78,7 +78,7 @@ Props:
78
78
  - `size?`: 'sm' | 'md' | 'lg'
79
79
  - `icon?`: icon
80
80
  - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft' = "soft"
81
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
81
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "neutral"
82
82
  - `fillAlpha?`: number = 0.15
83
83
  - `bordered?`: boolean
84
84
  - `color?`: color
@@ -94,7 +94,7 @@ Where an order (a delivery, a wizard) is: done, current, to come (ShopManager St
94
94
  Props:
95
95
  - `current`: number
96
96
  - `steps`: string[]
97
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "primary"
97
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "primary"
98
98
  - `failedAt?`: number
99
99
 
100
100
  Example: `<G9StepTracker current={1} steps={steps} />`
@@ -109,7 +109,7 @@ Props:
109
109
  - `text`: string
110
110
  - `icon?`: icon
111
111
  - `appearance?`: 'solid' | 'outline' | 'plain' | 'soft'
112
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
112
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
113
113
  - `emoji?`: string
114
114
 
115
115
  Example: `<G9Tag text="Label" />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-graph` (generated)
2
+
3
+ # G9GraphCanvas
4
+
5
+ `import { G9GraphCanvas } from '@g9tm/lynxcontrols-graph';`
6
+
7
+ A node graph editor: app-drawn cards at app-given positions, edges between their ports, lanes behind them.
8
+
9
+ Props:
10
+ - `nodes`: G9GraphNode[]
11
+ - `renderNode`: (node, state) => ReactNode
12
+ - `onActivate?`: (id: string) => void
13
+ - `onContextMenu?`: (event: G9GraphContextMenuEvent) => void
14
+ - `onDelete?`: (ids: string[]) => void
15
+ - `onDrop?`: (event: G9GraphDropEvent) => void
16
+ - `onEdgePress?`: (id: string) => void
17
+ - `onMove?`: (id: string, x: number, y: number) => void
18
+
19
+ Example: `<G9GraphCanvas nodes={nodes} renderNode={renderNode} />`
@@ -58,6 +58,24 @@ Props:
58
58
 
59
59
  Example: `<G9Columns />`
60
60
 
61
+ # G9DockLayout
62
+
63
+ `import { G9DockLayout } from '@g9tm/lynxcontrols/layout';`
64
+
65
+ Panes in nested rows and columns (an editor's frame).
66
+
67
+ Props:
68
+ - `layout`: object | object
69
+ - `renderPane`: (id, api) => ReactNode
70
+ - `onChange?`: (sizes: Readonly<Record<string, readonly number[]>>) => void
71
+ - `onCollapsedChange?`: (collapsed: readonly string[]) => void
72
+ - `railLabel?`: string
73
+ - `splitterLabel?`: string
74
+ - `minSizes?`: object = 48
75
+ - `railSize?`: number = 40
76
+
77
+ Example: `<G9DockLayout layout={layout} renderPane={renderPane} />`
78
+
61
79
  # G9HScroll
62
80
 
63
81
  `import { G9HScroll } from '@g9tm/lynxcontrols/layout';`
@@ -168,21 +186,3 @@ Props:
168
186
  - `action?`: object
169
187
 
170
188
  Example: `<G9SectionHeader title="Label" />`
171
-
172
- # G9SplitPane
173
-
174
- `import { G9SplitPane } from '@g9tm/lynxcontrols/layout';`
175
-
176
- A list beside its detail on wide windows, one of them on phones (G9Hub SplitPane + Navigator).
177
-
178
- Props:
179
- - `start`: ReactNode
180
- - `children?`: ReactNode
181
- - `size?`: number = 360
182
- - `phonePane?`: 'start' | 'detail' = "start"
183
- - `onResize?`: (size: number) => void
184
- - `fixed?`: boolean
185
- - `max?`: number
186
- - `min?`: number
187
-
188
- Example: `<G9SplitPane start={start} />`
@@ -1,5 +1,23 @@
1
1
  # `@g9tm/lynxcontrols/layout` (part 2 of 2) (generated)
2
2
 
3
+ # G9SplitPane
4
+
5
+ `import { G9SplitPane } from '@g9tm/lynxcontrols/layout';`
6
+
7
+ A list beside its detail on wide windows, one of them on phones (G9Hub SplitPane + Navigator).
8
+
9
+ Props:
10
+ - `start`: ReactNode
11
+ - `children?`: ReactNode
12
+ - `size?`: number = 360
13
+ - `phonePane?`: 'start' | 'detail' = "start"
14
+ - `onResize?`: (size: number) => void
15
+ - `fixed?`: boolean
16
+ - `max?`: number
17
+ - `min?`: number
18
+
19
+ Example: `<G9SplitPane start={start} />`
20
+
3
21
  # G9UnsavedBar
4
22
 
5
23
  `import { G9UnsavedBar } from '@g9tm/lynxcontrols/layout';`
@@ -31,7 +31,7 @@ Props:
31
31
  - `subtitle?`: string
32
32
  - `onPress?`: () => void
33
33
  - `disabled?`: boolean = false
34
- - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
34
+ - `iconTone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "neutral"
35
35
  - `pressFeedback?`: 'none' | 'tint' = "none"
36
36
 
37
37
  Example: `<G9ListRow title="Label" />`
@@ -94,7 +94,7 @@ Props:
94
94
  - `icon?`: icon
95
95
  - `subtitle?`: string
96
96
  - `disabled?`: boolean = false
97
- - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
97
+ - `iconTone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "neutral"
98
98
  - `pressFeedback?`: 'none' | 'tint' = "none"
99
99
 
100
100
  Example: `<G9SwitchRow checked onCheckedChange={() => {}} title="Label" />`
@@ -120,19 +120,19 @@ Example: `<G9Captcha labels={labels} onSolution={() => {}} solve={solve} />`
120
120
 
121
121
  `import { G9ClipPlayer } from '@g9tm/lynxcontrols-media';`
122
122
 
123
- An async video clip (G9Hub item 51, 2.5.8): the poster with its length and a play mark, the app's player in place.
123
+ An async video clip (G9Hub item 51, 2.5.8): the poster with its length and a play mark, the app's player in place; since 2.10.0 a looping muted preview over the poster (`src`) that plays while `playing` or hovered.
124
124
 
125
125
  Props:
126
- - `seconds`: number
127
126
  - `label?`: string
128
127
  - `onPlay?`: () => void
128
+ - `onReady?`: () => void
129
129
  - `caption?`: string
130
130
  - `radius?`: number = 16
131
131
  - `player?`: ReactNode
132
132
  - `aspect?`: number = 16
133
- - `poster?`: string
133
+ - `fit?`: 'contain' | 'cover'
134
134
 
135
- Example: `<G9ClipPlayer seconds={1} />`
135
+ Example: `<G9ClipPlayer />`
136
136
 
137
137
  # G9DeviceSettings
138
138
 
@@ -163,10 +163,10 @@ Props:
163
163
  - `onFiles`: (files: readonly G9FileRef[]) => void
164
164
  - `children?`: ReactNode
165
165
  - `disabled?`: boolean
166
+ - `onDragChange?`: (active: boolean) => void
167
+ - `onReject?`: (reason: G9DropRejectReason, files: readonly G9FileRef[]) => void
168
+ - `buttonLabel?`: string
166
169
  - `hint?`: string
167
- - `accept?`: string
168
- - `multiple?`: boolean = true
169
- - `tapToPick?`: boolean
170
170
 
171
171
  Example: `<G9DropZone label="Label" onFiles={() => {}} />`
172
172
 
@@ -0,0 +1,46 @@
1
+ # `@g9tm/lynxcontrols/pointer` (generated)
2
+
3
+ # G9DragChip
4
+
5
+ `import { G9DragChip } from '@g9tm/lynxcontrols/pointer';`
6
+
7
+ The default preview: the payload's label in a chip.
8
+
9
+ Props:
10
+ - `payload`: object
11
+
12
+ Example: `<G9DragChip payload={payload} />`
13
+
14
+ # G9DragSource
15
+
16
+ `import { G9DragSource } from '@g9tm/lynxcontrols/pointer';`
17
+
18
+ A drag source around its children (a list row, a card): drawn faded while it is dragged.
19
+
20
+ Props:
21
+ - `payload`: object | () => void
22
+ - `children?`: ReactNode
23
+ - `onDragEnd?`: (drop: G9DropEvent<T> | null) => void
24
+ - `onDragStart?`: (payload: G9DragPayload<T>) => void
25
+ - `renderPreview?`: (payload) => ReactNode
26
+ - `enabled?`: boolean = true
27
+ - `longPress?`: boolean = true
28
+ - `threshold?`: number = 4
29
+
30
+ Example: `<G9DragSource payload={payload} />`
31
+
32
+ # G9DropTarget
33
+
34
+ `import { G9DropTarget } from '@g9tm/lynxcontrols/pointer';`
35
+
36
+ A drop target around its children: outlined while a drag it accepts runs, filled while the drag is over it.
37
+
38
+ Props:
39
+ - `onDrop`: (event: G9DropEvent<T>) => void
40
+ - `children?`: ReactNode
41
+ - `accepts?`: (payload: G9DragPayload<T>) => void
42
+ - `onEnter?`: (payload: G9DragPayload<T>) => void
43
+ - `onLeave?`: (payload: G9DragPayload<T>) => void
44
+ - `enabled?`: boolean = true
45
+
46
+ Example: `<G9DropTarget onDrop={() => {}} />`
@@ -19,7 +19,7 @@ Example: `<G9ActionSheet onClose={() => {}} open />`
19
19
 
20
20
  `import { G9ContextMenu } from '@g9tm/lynxcontrols/popover';`
21
21
 
22
- A long-press menu on its child (G9Hub ContextMenu, a message, a row): a light haptic, then the menu by the child.
22
+ A context menu on its child (G9Hub ContextMenu, a message, a row): a long press on touch (a light haptic, the menu by the child), the right mouse button on a desktop (the menu at the pointer, 2.9.0) and the context-menu
23
23
 
24
24
  Props:
25
25
  - `items`: object[]
@@ -27,7 +27,9 @@ Props:
27
27
  - `title?`: string
28
28
  - `children?`: ReactNode
29
29
  - `disabled?`: boolean
30
- - `onOpen?`: () => void
30
+ - `onOpen?`: (source: G9SecondarySource) => void
31
+ - `keyboard?`: 'focus' | 'off' | 'global'
32
+ - `longPress?`: boolean = true
31
33
 
32
34
  Example: `<G9ContextMenu items={items} onSelect={() => {}} />`
33
35
 
@@ -49,8 +49,8 @@ Props:
49
49
  - `formatSize?`: (bytes: number) => void
50
50
  - `menuFor?`: (item: G9FileEntry) => void
51
51
  - `onCancelUpload?`: (id: string) => void
52
+ - `onFavoriteChange?`: (id: string, favorite: boolean) => void
52
53
  - `onMenu?`: (key: string, item: G9FileEntry) => void
53
- - `onNavigate?`: (folderId: string | null) => void
54
54
 
55
55
  Example: `<G9FileBrowser items={items} />`
56
56
 
@@ -1,5 +1,39 @@
1
1
  # `@g9tm/lynxcontrols/range-slider` (generated)
2
2
 
3
+ # G9KeyDiamond
4
+
5
+ `import { G9KeyDiamond } from '@g9tm/lynxcontrols/range-slider';`
6
+
7
+ An editor's keyframe diamond: hollow and quiet with no keys, hollow with a dot in the primary colour when the value has keys elsewhere, solid primary with a key at the playhead.
8
+
9
+ Props:
10
+ - `state`: 'none' | 'keys' | 'here'
11
+ - `size?`: number = 14
12
+ - `onPress?`: () => void
13
+ - `disabled?`: boolean
14
+ - `stateWords?`: object = "—"
15
+ - `accessibilityLabel?`: string
16
+
17
+ Example: `<G9KeyDiamond state="none" />`
18
+
19
+ # G9KeySlider
20
+
21
+ `import { G9KeySlider } from '@g9tm/lynxcontrols/range-slider';`
22
+
23
+ A one-thumb slider with a keyframe diamond at its reading start and an optional second row (`below`, a modulator): the inspector's numeric property.
24
+
25
+ Props:
26
+ - `label?`: string
27
+ - `value?`: number
28
+ - `onChange?`: (value: number, phase: G9ValuePhase) => void
29
+ - `disabled?`: boolean
30
+ - `formatValue?`: (value: number) => void
31
+ - `onDiamond?`: () => void
32
+ - `onDragCompleted?`: (value: number) => void
33
+ - `onValueChanged?`: (value: number) => void
34
+
35
+ Example: `<G9KeySlider />`
36
+
3
37
  # G9RangeSlider
4
38
 
5
39
  `import { G9RangeSlider } from '@g9tm/lynxcontrols/range-slider';`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/color-picker` (generated)
2
+
3
+ # G9ColorPicker
4
+
5
+ `import { G9ColorPicker } from '@g9tm/lynxcontrols-studio/color-picker';`
6
+
7
+ A full colour picker: the spectrum (saturation across, value up), a hue bar, an alpha bar with `alpha`, the colour in hex / RGB / HSL fields, an eyedropper where the host has one, the app's palette and the recent colours
8
+
9
+ Props:
10
+ - `value`: string
11
+ - `onChange?`: (hex: string, phase: G9ColorPhase) => void
12
+ - `disabled?`: boolean
13
+ - `onCommit?`: (hex: string) => void
14
+ - `onModeChange?`: (mode: G9ColorMode) => void
15
+ - `onRecentChange?`: (recent: readonly string[]) => void
16
+ - `defaultMode?`: 'hex' | 'rgb' | 'hsl'
17
+ - `spectrumHeight?`: number = 160
18
+
19
+ Example: `<G9ColorPicker value="value" />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/ease-editor` (generated)
2
+
3
+ # G9EaseEditor
4
+
5
+ `import { G9EaseEditor } from '@g9tm/lynxcontrols-studio/ease-editor';`
6
+
7
+ An easing editor: the curve on a square (time across, progress up; a progress beyond 0–1 is an overshoot), two handles to drag (the nearer one to a press moves), preset chips and the `cubic-bezier(…)` text.
8
+
9
+ Props:
10
+ - `value`: number[]
11
+ - `size?`: number = 200
12
+ - `onChange?`: (value: G9Bezier, phase: G9EasePhase) => void
13
+ - `disabled?`: boolean
14
+ - `onCommit?`: (value: G9Bezier) => void
15
+ - `showText?`: boolean = true
16
+ - `presets?`: object[]
17
+ - `words?`: object
18
+
19
+ Example: `<G9EaseEditor value={value} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/filmstrip` (generated)
2
+
3
+ # G9Filmstrip
4
+
5
+ `import { G9Filmstrip } from '@g9tm/lynxcontrols-studio/filmstrip';`
6
+
7
+ A clip's frames in a horizontal virtual list: `duration × pixelsPerSecond` dp wide, a frame every `frameWidth` dp, each picture from `resolveFrame(clipKey, time)`.
8
+
9
+ Props:
10
+ - `clipKey`: string
11
+ - `duration`: number
12
+ - `resolveFrame`: (clipKey: string, time: number) => void
13
+ - `onSeek?`: (time: number) => void
14
+ - `frameWidth?`: number = 16
15
+ - `height?`: number = 48
16
+ - `pixelsPerSecond?`: number
17
+ - `version?`: string | number
18
+
19
+ Example: `<G9Filmstrip clipKey="clipKey" duration={1} resolveFrame={resolveFrame} />`