@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
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/font-picker` (generated)
2
+
3
+ # G9FontPicker
4
+
5
+ `import { G9FontPicker } from '@g9tm/lynxcontrols-studio/font-picker';`
6
+
7
+ A font picker: a search, a script filter, the families in a virtual list — each name and sample drawn in its own face — and the chosen family's weights as chips.
8
+
9
+ Props:
10
+ - `families`: object[]
11
+ - `onChange`: (value: G9FontChoice) => void
12
+ - `value?`: object
13
+ - `onScriptChange?`: (script: string | null) => void
14
+ - `rowHeight?`: number = 64
15
+ - `sampleSize?`: number = 20
16
+ - `height?`: number = 360
17
+ - `sample?`: string | object
18
+
19
+ Example: `<G9FontPicker families={families} onChange={() => {}} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/gradient-editor` (generated)
2
+
3
+ # G9GradientEditor
4
+
5
+ `import { G9GradientEditor } from '@g9tm/lynxcontrols-studio/gradient-editor';`
6
+
7
+ A gradient editor: the result, a bar with the stops (press empty bar to add one, drag a stop to move it), the selected stop's colour, a delete button, the angle as a dial and a field, linear or radial.
8
+
9
+ Props:
10
+ - `value`: object
11
+ - `onChange?`: (gradient: G9Gradient, phase: G9GradientPhase) => void
12
+ - `disabled?`: boolean
13
+ - `onCommit?`: (gradient: G9Gradient) => void
14
+ - `onSelectStop?`: (id: string) => void
15
+ - `colorPicker?`: boolean | object
16
+ - `kinds?`: 'linear' | 'radial'[]
17
+ - `maxStops?`: number = 16
18
+
19
+ Example: `<G9GradientEditor value={value} />`
@@ -0,0 +1,34 @@
1
+ # `@g9tm/lynxcontrols-studio/history-list` (generated)
2
+
3
+ # G9HistoryList
4
+
5
+ `import { G9HistoryList } from '@g9tm/lynxcontrols-studio/history-list';`
6
+
7
+ An undo history: each step's label and time, the current step marked (a filled node, bold), the undone steps after it quieter, a tap on any step jumps there (`onJump(index)`).
8
+
9
+ Props:
10
+ - `current`: number
11
+ - `steps`: object[]
12
+ - `onJump?`: (index: number) => void
13
+ - `height?`: number
14
+ - `newestFirst?`: boolean = false
15
+ - `utcOffsetMinutes?`: number = 0
16
+ - `words?`: object
17
+
18
+ Example: `<G9HistoryList current={1} steps={steps} />`
19
+
20
+ # G9JobQueue
21
+
22
+ `import { G9JobQueue } from '@g9tm/lynxcontrols-studio/history-list';`
23
+
24
+ A running job queue: each job's icon, label, state (or `detail`), progress (a bar; a moving one when the amount is unknown) and percent, with cancel and retry for the handlers given.
25
+
26
+ Props:
27
+ - `jobs`: object[]
28
+ - `onCancel?`: (id: string) => void
29
+ - `onOpen?`: (id: string) => void
30
+ - `onRetry?`: (id: string) => void
31
+ - `stateWords?`: object
32
+ - `words?`: object
33
+
34
+ Example: `<G9JobQueue jobs={jobs} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/media-slot` (generated)
2
+
3
+ # G9MediaSlot
4
+
5
+ `import { G9MediaSlot } from '@g9tm/lynxcontrols-studio/media-slot';`
6
+
7
+ One media place: empty it is a dashed box that asks (`onReplace`); filled it shows the picture or the poster (a sound: its name and length) with replace, crop (pictures and videos) and remove buttons for the handlers giv
8
+
9
+ Props:
10
+ - `kind`: 'image' | 'video' | 'audio'
11
+ - `value?`: object
12
+ - `disabled?`: boolean
13
+ - `onCrop?`: () => void
14
+ - `onRemove?`: () => void
15
+ - `onReplace?`: () => void
16
+ - `radius?`: number = 12
17
+ - `aspect?`: number = 16
18
+
19
+ Example: `<G9MediaSlot kind="image" />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/option-form` (generated)
2
+
3
+ # G9OptionForm
4
+
5
+ `import { G9OptionForm } from '@g9tm/lynxcontrols-studio/option-form';`
6
+
7
+ A form from a schema: groups (collapsible when titled) of slider, toggle, colour, select, text and media fields, words in each language (`{ fa, en }`), a keyframe diamond and a row below any slider, and fields shown only
8
+
9
+ Props:
10
+ - `onChange`: (id: string, value: unknown, phase: G9OptionPhase) => void
11
+ - `schema`: object[]
12
+ - `values`: object
13
+ - `disabled?`: boolean
14
+ - `onCollapsedChange?`: (collapsed: readonly string[]) => void
15
+ - `onDiamond?`: (id: string) => void
16
+ - `onMedia?`: (id: string, action: G9OptionMediaAction) => void
17
+ - `renderBelow?`: (id) => ReactNode
18
+
19
+ Example: `<G9OptionForm onChange={() => {}} schema={schema} values={values} />`
@@ -0,0 +1,19 @@
1
+ # `@g9tm/lynxcontrols-studio/waveform` (generated)
2
+
3
+ # G9Waveform
4
+
5
+ `import { G9Waveform } from '@g9tm/lynxcontrols-studio/waveform';`
6
+
7
+ A waveform: bars from the peaks (bucketed to the width), the played part in the primary colour up to the playhead, a tinted selection, and a window whose body moves it and whose edges resize it.
8
+
9
+ Props:
10
+ - `peaks`: object
11
+ - `disabled?`: boolean
12
+ - `onSeek?`: (at: number, phase: G9WavePhase) => void
13
+ - `onWindow?`: (start: number, end: number, phase: G9WavePhase) => void
14
+ - `barGap?`: number
15
+ - `barWidth?`: number = 2
16
+ - `playedColor?`: color
17
+ - `color?`: color
18
+
19
+ Example: `<G9Waveform peaks={peaks} />`
@@ -31,7 +31,7 @@ Props:
31
31
  - `icon?`: icon
32
32
  - `onPress?`: () => void
33
33
  - `disabled?`: boolean = false
34
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "primary"
34
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral' = "primary"
35
35
  - `nodeRef?`: (node: NodesRef | null) => void
36
36
 
37
37
  Example: `<G9Chip text="Label" />`
@@ -66,7 +66,7 @@ Props:
66
66
  - `value`: string
67
67
  - `size?`: 'sm' | 'md' | 'lg'
68
68
  - `appearance?`: 'solid' | 'outline' | 'dashed' | 'soft'
69
- - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
69
+ - `tone?`: 'info' | 'error' | 'primary' | 'success' | 'warning' | 'accent' | 'neutral'
70
70
  - `haptic?`: boolean | string | string | string | string | string | string | string | string | string
71
71
 
72
72
  Example: `<G9ChipStrip items={items} onChange={() => {}} value="value" />`