@g9tm/lynxcontrols 2.5.8 → 2.5.10

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 (70) 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/G9PathNavigator.md +6 -2
  7. package/catalog/cards/G9PersonalThemeSheet.md +3 -3
  8. package/catalog/cards/G9ShortcutList.md +1 -1
  9. package/catalog/cards/G9SwipeView.md +1 -1
  10. package/catalog/cards/G9ThemePreviewCard.md +1 -0
  11. package/catalog/cards/G9ThemeTokenEditor.md +17 -0
  12. package/catalog/cards/G9WallpaperSwatch.md +2 -1
  13. package/catalog/catalog.json +941 -86
  14. package/catalog/index.md +2 -1
  15. package/dist/.tsbuildinfo +1 -1
  16. package/dist/appearance/appearance.css +123 -0
  17. package/dist/appearance/appearance.css.map +1 -1
  18. package/dist/appearance/appearance.d.ts +46 -9
  19. package/dist/appearance/appearance.d.ts.map +1 -1
  20. package/dist/appearance/appearance.jsx +201 -31
  21. package/dist/appearance/index.d.ts +1 -0
  22. package/dist/appearance/index.d.ts.map +1 -1
  23. package/dist/appearance/index.jsx +1 -0
  24. package/dist/appearance/token-editor.d.ts +38 -0
  25. package/dist/appearance/token-editor.d.ts.map +1 -0
  26. package/dist/appearance/token-editor.jsx +170 -0
  27. package/dist/display/theme-preview.d.ts +2 -0
  28. package/dist/display/theme-preview.d.ts.map +1 -1
  29. package/dist/display/theme-preview.jsx +10 -4
  30. package/dist/provider/keep-alive.d.ts +2 -0
  31. package/dist/provider/keep-alive.d.ts.map +1 -1
  32. package/dist/provider/keep-alive.jsx +3 -1
  33. package/dist/provider/provider.d.ts.map +1 -1
  34. package/dist/provider/provider.jsx +3 -2
  35. package/dist/route/path-navigator.css +179 -2
  36. package/dist/route/path-navigator.css.map +1 -1
  37. package/dist/route/path-navigator.d.ts +28 -4
  38. package/dist/route/path-navigator.d.ts.map +1 -1
  39. package/dist/route/path-navigator.jsx +103 -25
  40. package/dist/route/path-router.d.ts +25 -2
  41. package/dist/route/path-router.d.ts.map +1 -1
  42. package/dist/route/path-router.jsx +47 -5
  43. package/dist/swipe/model.d.ts +7 -0
  44. package/dist/swipe/model.d.ts.map +1 -1
  45. package/dist/swipe/model.jsx +8 -1
  46. package/dist/swipe/swipe-view.d.ts +7 -0
  47. package/dist/swipe/swipe-view.d.ts.map +1 -1
  48. package/dist/swipe/swipe-view.jsx +34 -6
  49. package/package.json +2 -2
  50. package/skills/g9-lynx-app/SKILL.md +1 -0
  51. package/skills/g9-lynx-app/references/catalog-index.md +9 -5
  52. package/skills/g9-lynx-app/references/components/anchor.md +1 -1
  53. package/skills/g9-lynx-app/references/components/appearance.md +26 -6
  54. package/skills/g9-lynx-app/references/components/calendar-1.md +21 -37
  55. package/skills/g9-lynx-app/references/components/calendar-2.md +38 -1
  56. package/skills/g9-lynx-app/references/components/canvas.md +1 -1
  57. package/skills/g9-lynx-app/references/components/chat-1.md +58 -61
  58. package/skills/g9-lynx-app/references/components/chat-2.md +110 -34
  59. package/skills/g9-lynx-app/references/components/chat-3.md +50 -0
  60. package/skills/g9-lynx-app/references/components/commands.md +1 -1
  61. package/skills/g9-lynx-app/references/components/design.md +1 -1
  62. package/skills/g9-lynx-app/references/components/display-1.md +1 -1
  63. package/skills/g9-lynx-app/references/components/display-3.md +1 -0
  64. package/skills/g9-lynx-app/references/components/media-1.md +75 -77
  65. package/skills/g9-lynx-app/references/components/media-2.md +131 -3
  66. package/skills/g9-lynx-app/references/components/native-media.md +16 -0
  67. package/skills/g9-lynx-app/references/components/projects.md +91 -3
  68. package/skills/g9-lynx-app/references/components/route.md +6 -2
  69. package/skills/g9-lynx-app/references/components/swipe.md +1 -1
  70. 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" />`
@@ -11,7 +11,7 @@ Props:
11
11
  - `themes`: object[]
12
12
  - `onCreateTheme?`: () => void
13
13
  - `onEditTheme?`: (theme: G9ThemeDefinition) => void
14
- - `accents?`: object[]
15
- - `language?`: string
14
+ - `onExportTheme?`: (theme: G9ThemeDefinition) => void
15
+ - `onImportTheme?`: () => 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" />`
@@ -6,8 +6,12 @@ Draws the router: the top page (and the one parked under it), or a list and its
6
6
 
7
7
  Props:
8
8
  - `router`: object
9
- - `renderPage?`: (entry, page, pane) => ReactNode
10
- - `leaveMs?`: number = 0
9
+ - `onMasterResize?`: (pattern: string, width: number) => void
10
+ - `renderPage?`: (entry, page, pane, motion) => ReactNode
11
+ - `leaveMs?`: number = "motionMs"
12
+ - `motion?`: 'none' | 'custom' | 'auto'
13
+ - `motionMs?`: number = 280
14
+ - `reducedMotion?`: boolean
11
15
  - `wide?`: boolean
12
16
 
13
17
  Example: `<G9PathNavigator router={router} />`
@@ -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
+ - `listHeight?`: number = 480
11
+ - `inherited?`: object
12
+ - `language?`: string
13
+ - `options?`: object
14
+ - `virtual?`: boolean
15
+ - `words?`: object
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} />`