@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.
- package/catalog/cards/G9Anchor.md +1 -1
- package/catalog/cards/G9AppearancePage.md +2 -2
- package/catalog/cards/G9ContrastPanel.md +1 -0
- package/catalog/cards/G9DesignNode.md +1 -1
- package/catalog/cards/G9Keycap.md +1 -1
- package/catalog/cards/G9PathNavigator.md +6 -2
- package/catalog/cards/G9PersonalThemeSheet.md +3 -3
- package/catalog/cards/G9ShortcutList.md +1 -1
- package/catalog/cards/G9SwipeView.md +1 -1
- package/catalog/cards/G9ThemePreviewCard.md +1 -0
- package/catalog/cards/G9ThemeTokenEditor.md +17 -0
- package/catalog/cards/G9WallpaperSwatch.md +2 -1
- package/catalog/catalog.json +941 -86
- package/catalog/index.md +2 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/appearance/appearance.css +123 -0
- package/dist/appearance/appearance.css.map +1 -1
- package/dist/appearance/appearance.d.ts +46 -9
- package/dist/appearance/appearance.d.ts.map +1 -1
- package/dist/appearance/appearance.jsx +201 -31
- package/dist/appearance/index.d.ts +1 -0
- package/dist/appearance/index.d.ts.map +1 -1
- package/dist/appearance/index.jsx +1 -0
- package/dist/appearance/token-editor.d.ts +38 -0
- package/dist/appearance/token-editor.d.ts.map +1 -0
- package/dist/appearance/token-editor.jsx +170 -0
- package/dist/display/theme-preview.d.ts +2 -0
- package/dist/display/theme-preview.d.ts.map +1 -1
- package/dist/display/theme-preview.jsx +10 -4
- package/dist/provider/keep-alive.d.ts +2 -0
- package/dist/provider/keep-alive.d.ts.map +1 -1
- package/dist/provider/keep-alive.jsx +3 -1
- package/dist/provider/provider.d.ts.map +1 -1
- package/dist/provider/provider.jsx +3 -2
- package/dist/route/path-navigator.css +179 -2
- package/dist/route/path-navigator.css.map +1 -1
- package/dist/route/path-navigator.d.ts +28 -4
- package/dist/route/path-navigator.d.ts.map +1 -1
- package/dist/route/path-navigator.jsx +103 -25
- package/dist/route/path-router.d.ts +25 -2
- package/dist/route/path-router.d.ts.map +1 -1
- package/dist/route/path-router.jsx +47 -5
- package/dist/swipe/model.d.ts +7 -0
- package/dist/swipe/model.d.ts.map +1 -1
- package/dist/swipe/model.jsx +8 -1
- package/dist/swipe/swipe-view.d.ts +7 -0
- package/dist/swipe/swipe-view.d.ts.map +1 -1
- package/dist/swipe/swipe-view.jsx +34 -6
- package/package.json +2 -2
- package/skills/g9-lynx-app/SKILL.md +1 -0
- package/skills/g9-lynx-app/references/catalog-index.md +9 -5
- package/skills/g9-lynx-app/references/components/anchor.md +1 -1
- package/skills/g9-lynx-app/references/components/appearance.md +26 -6
- package/skills/g9-lynx-app/references/components/calendar-1.md +21 -37
- package/skills/g9-lynx-app/references/components/calendar-2.md +38 -1
- package/skills/g9-lynx-app/references/components/canvas.md +1 -1
- package/skills/g9-lynx-app/references/components/chat-1.md +58 -61
- package/skills/g9-lynx-app/references/components/chat-2.md +110 -34
- package/skills/g9-lynx-app/references/components/chat-3.md +50 -0
- package/skills/g9-lynx-app/references/components/commands.md +1 -1
- package/skills/g9-lynx-app/references/components/design.md +1 -1
- package/skills/g9-lynx-app/references/components/display-1.md +1 -1
- package/skills/g9-lynx-app/references/components/display-3.md +1 -0
- package/skills/g9-lynx-app/references/components/media-1.md +75 -77
- package/skills/g9-lynx-app/references/components/media-2.md +131 -3
- package/skills/g9-lynx-app/references/components/native-media.md +16 -0
- package/skills/g9-lynx-app/references/components/projects.md +91 -3
- package/skills/g9-lynx-app/references/components/route.md +6 -2
- package/skills/g9-lynx-app/references/components/swipe.md +1 -1
- 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' | '
|
|
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
|
-
- `
|
|
15
|
-
- `
|
|
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' | '
|
|
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 />`
|
|
@@ -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
|
-
- `
|
|
10
|
-
- `
|
|
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
|
|
17
|
+
Example: `<G9PersonalThemeSheet onClose={() => {}} open />`
|
|
@@ -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} />`
|