@g9tm/lynxcontrols 2.5.9 → 2.5.11

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 (60) hide show
  1. package/catalog/cards/G9Anchor.md +1 -1
  2. package/catalog/cards/G9AppearancePage.md +2 -2
  3. package/catalog/cards/G9ContrastPanel.md +1 -0
  4. package/catalog/cards/G9DesignNode.md +1 -1
  5. package/catalog/cards/G9Keycap.md +1 -1
  6. package/catalog/cards/G9PersonalThemeSheet.md +3 -3
  7. package/catalog/cards/G9ShortcutList.md +1 -1
  8. package/catalog/cards/G9SwipeView.md +1 -1
  9. package/catalog/cards/G9ThemePreviewCard.md +1 -0
  10. package/catalog/cards/G9ThemeTokenEditor.md +17 -0
  11. package/catalog/cards/G9WallpaperSwatch.md +2 -1
  12. package/catalog/catalog.json +1172 -224
  13. package/catalog/index.md +2 -1
  14. package/dist/.tsbuildinfo +1 -1
  15. package/dist/appearance/appearance.css +201 -0
  16. package/dist/appearance/appearance.css.map +1 -1
  17. package/dist/appearance/appearance.d.ts +75 -9
  18. package/dist/appearance/appearance.d.ts.map +1 -1
  19. package/dist/appearance/appearance.jsx +333 -56
  20. package/dist/appearance/index.d.ts +1 -0
  21. package/dist/appearance/index.d.ts.map +1 -1
  22. package/dist/appearance/index.jsx +1 -0
  23. package/dist/appearance/token-editor.d.ts +52 -0
  24. package/dist/appearance/token-editor.d.ts.map +1 -0
  25. package/dist/appearance/token-editor.jsx +205 -0
  26. package/dist/display/theme-preview.d.ts +2 -0
  27. package/dist/display/theme-preview.d.ts.map +1 -1
  28. package/dist/display/theme-preview.jsx +10 -4
  29. package/dist/provider/provider.d.ts.map +1 -1
  30. package/dist/provider/provider.jsx +3 -2
  31. package/dist/swipe/index.d.ts +1 -1
  32. package/dist/swipe/index.d.ts.map +1 -1
  33. package/dist/swipe/index.jsx +1 -1
  34. package/dist/swipe/model.d.ts +7 -0
  35. package/dist/swipe/model.d.ts.map +1 -1
  36. package/dist/swipe/model.jsx +8 -1
  37. package/dist/swipe/swipe-view.d.ts +7 -0
  38. package/dist/swipe/swipe-view.d.ts.map +1 -1
  39. package/dist/swipe/swipe-view.jsx +34 -6
  40. package/package.json +2 -2
  41. package/skills/g9-lynx-app/SKILL.md +1 -0
  42. package/skills/g9-lynx-app/references/catalog-index.md +9 -5
  43. package/skills/g9-lynx-app/references/components/anchor.md +1 -1
  44. package/skills/g9-lynx-app/references/components/appearance.md +26 -6
  45. package/skills/g9-lynx-app/references/components/calendar-1.md +21 -37
  46. package/skills/g9-lynx-app/references/components/calendar-2.md +38 -1
  47. package/skills/g9-lynx-app/references/components/canvas.md +1 -1
  48. package/skills/g9-lynx-app/references/components/chat-1.md +58 -61
  49. package/skills/g9-lynx-app/references/components/chat-2.md +111 -34
  50. package/skills/g9-lynx-app/references/components/chat-3.md +61 -0
  51. package/skills/g9-lynx-app/references/components/commands.md +1 -1
  52. package/skills/g9-lynx-app/references/components/design.md +1 -1
  53. package/skills/g9-lynx-app/references/components/display-1.md +1 -1
  54. package/skills/g9-lynx-app/references/components/display-3.md +1 -0
  55. package/skills/g9-lynx-app/references/components/media-1.md +75 -77
  56. package/skills/g9-lynx-app/references/components/media-2.md +131 -3
  57. package/skills/g9-lynx-app/references/components/native-media.md +34 -0
  58. package/skills/g9-lynx-app/references/components/projects.md +91 -3
  59. package/skills/g9-lynx-app/references/components/swipe.md +1 -1
  60. package/skills/g9-lynx-app/references/hosting.md +83 -0
@@ -11,7 +11,7 @@ Props:
11
11
  - `changes?`: () => void
12
12
  - `enabled?`: () => void
13
13
  - `capabilities?`: object
14
- - `kind?`: 'label' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'chips' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view'
14
+ - `kind?`: 'label' | 'chips' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view'
15
15
  - `secret?`: boolean = false
16
16
 
17
17
  Example: `<G9Anchor id="id" />`
@@ -10,8 +10,8 @@ Props:
10
10
  - `systemScheme`: 'light' | 'dark'
11
11
  - `themes`: object[]
12
12
  - `onCreateTheme?`: () => void
13
+ - `onDeleteTheme?`: (theme: G9ThemeDefinition) => void
13
14
  - `onEditTheme?`: (theme: G9ThemeDefinition) => void
14
- - `accents?`: object[]
15
- - `language?`: string
15
+ - `onExportEach?`: (theme: G9ThemeDefinition) => void
16
16
 
17
17
  Example: `<G9AppearancePage onChange={() => {}} settings={settings} systemScheme="light" themes={themes} />`
@@ -7,6 +7,7 @@ A palette's contrast report: a sample, the ratio, AA / AAA and a fix for each fa
7
7
  Props:
8
8
  - `palette`: object
9
9
  - `onFix?`: (foreground: string, value: string) => void
10
+ - `appTokens?`: object
10
11
  - `onlyFailures?`: boolean
11
12
  - `pairs?`: object[]
12
13
  - `rules?`: object[]
@@ -7,7 +7,7 @@ A layout-neutral box that is an anchor (the probe measures it, hit-tests it, fol
7
7
  Props:
8
8
  - `label?`: string
9
9
  - `children?`: ReactNode
10
- - `kind?`: 'label' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'chips' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view' = "view"
10
+ - `kind?`: 'label' | 'chips' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view' = "view"
11
11
  - `name?`: string
12
12
 
13
13
  Example: `<G9DesignNode />`
@@ -8,6 +8,6 @@ Props:
8
8
  - `combo`: string
9
9
  - `size?`: 'sm' | 'md'
10
10
  - `color?`: color
11
- - `platform?`: 'mac' | 'other'
11
+ - `platform?`: 'other' | 'mac'
12
12
 
13
13
  Example: `<G9Keycap combo="combo" />`
@@ -5,13 +5,13 @@
5
5
  The personal theme editor: base, accent, surfaces, mode, wallpaper, a live preview and its contrast.
6
6
 
7
7
  Props:
8
- - `bases`: object[]
9
8
  - `onClose`: () => void
10
- - `onSave`: (theme: G9ThemeDefinition, draft: G9PersonalThemeDraft) => void
11
9
  - `open`: boolean
12
10
  - `onDelete?`: (id: string) => void
13
11
  - `onExport?`: (theme: G9ThemeDefinition) => void
12
+ - `onSave?`: (theme: G9ThemeDefinition, draft: G9PersonalThemeDraft) => void
14
13
  - `accents?`: object[]
14
+ - `bases?`: object[]
15
15
  - `draft?`: object
16
16
 
17
- Example: `<G9PersonalThemeSheet bases={bases} onClose={() => {}} onSave={() => {}} open />`
17
+ Example: `<G9PersonalThemeSheet onClose={() => {}} open />`
@@ -10,6 +10,6 @@ Props:
10
10
  - `hint?`: string
11
11
  - `orText?`: string
12
12
  - `thenText?`: string
13
- - `platform?`: 'mac' | 'other'
13
+ - `platform?`: 'other' | 'mac'
14
14
 
15
15
  Example: `<G9ShortcutList groups={groups} />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `cardBackground?`: color
13
13
  - `cardStroke?`: color
14
14
  - `cardStrokeThickness?`: number
15
- - `itemKey?`: string | number
15
+ - `enabled?`: boolean = true
16
16
 
17
17
  Example: `<G9SwipeView />`
@@ -10,6 +10,7 @@ Props:
10
10
  - `selected?`: boolean
11
11
  - `onSelect?`: () => void
12
12
  - `hint?`: string
13
+ - `trailing?`: ReactNode
13
14
  - `tag?`: string
14
15
 
15
16
  Example: `<G9ThemePreviewCard name="name" theme={theme} />`
@@ -0,0 +1,17 @@
1
+ # G9ThemeTokenEditor
2
+
3
+ `import { G9ThemeTokenEditor } from '@g9tm/lynxcontrols/appearance';`
4
+
5
+ The organisation theme editor: name, scheme, a row per token, a live preview and its contrast.
6
+
7
+ Props:
8
+ - `onChange`: (theme: G9TokenTheme) => void
9
+ - `value`: object
10
+ - `disabled?`: boolean
11
+ - `listHeight?`: number = 480
12
+ - `fill?`: boolean
13
+ - `inherited?`: object
14
+ - `language?`: string
15
+ - `layout?`: 'auto' | 'side' | 'stack'
16
+
17
+ Example: `<G9ThemeTokenEditor onChange={() => {}} value={value} />`
@@ -7,10 +7,11 @@ A wallpaper as a small swatch in the palette's colours, with its name and a ring
7
7
  Props:
8
8
  - `palette`: object
9
9
  - `scheme`: 'light' | 'dark'
10
- - `wallpaper`: object
10
+ - `wallpaper`: object | object
11
11
  - `label?`: string
12
12
  - `selected?`: boolean
13
13
  - `onPress?`: () => void
14
14
  - `height?`: number = 56
15
+ - `tokens?`: object
15
16
 
16
17
  Example: `<G9WallpaperSwatch palette={palette} scheme="light" wallpaper={wallpaper} />`