@g9tm/lynxcontrols 2.5.3 → 2.5.4

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 (63) hide show
  1. package/catalog/cards/G9AppShell.md +1 -1
  2. package/catalog/cards/G9Badge.md +1 -1
  3. package/catalog/cards/G9DirectionScope.md +10 -0
  4. package/catalog/cards/G9IconButton.md +1 -1
  5. package/catalog/cards/G9SafeIconButton.md +1 -1
  6. package/catalog/cards/G9StatusPill.md +1 -1
  7. package/catalog/cards/G9Stepper.md +1 -1
  8. package/catalog/cards/G9Tag.md +1 -1
  9. package/catalog/catalog.json +393 -30
  10. package/catalog/index.md +2 -1
  11. package/dist/.tsbuildinfo +1 -1
  12. package/dist/base/node-ref.d.ts +8 -0
  13. package/dist/base/node-ref.d.ts.map +1 -0
  14. package/dist/base/node-ref.jsx +11 -0
  15. package/dist/base/pressable.d.ts +5 -0
  16. package/dist/base/pressable.d.ts.map +1 -1
  17. package/dist/base/pressable.jsx +4 -1
  18. package/dist/base/sizing.d.ts +4 -0
  19. package/dist/base/sizing.d.ts.map +1 -0
  20. package/dist/base/sizing.jsx +6 -0
  21. package/dist/button/button.d.ts +6 -0
  22. package/dist/button/button.d.ts.map +1 -1
  23. package/dist/button/button.jsx +14 -3
  24. package/dist/button/icon-button.d.ts +14 -0
  25. package/dist/button/icon-button.d.ts.map +1 -1
  26. package/dist/button/icon-button.jsx +21 -7
  27. package/dist/display/figures.d.ts.map +1 -1
  28. package/dist/display/figures.jsx +7 -2
  29. package/dist/display/progress-bar.d.ts +6 -1
  30. package/dist/display/progress-bar.d.ts.map +1 -1
  31. package/dist/display/progress-bar.jsx +12 -2
  32. package/dist/fields/outlined-field.d.ts +10 -3
  33. package/dist/fields/outlined-field.d.ts.map +1 -1
  34. package/dist/fields/outlined-field.jsx +21 -5
  35. package/dist/fields/text-entry.d.ts.map +1 -1
  36. package/dist/fields/text-entry.jsx +7 -1
  37. package/dist/icon/icon.d.ts.map +1 -1
  38. package/dist/icon/icon.jsx +3 -1
  39. package/dist/provider/direction-scope.d.ts +13 -0
  40. package/dist/provider/direction-scope.d.ts.map +1 -0
  41. package/dist/provider/direction-scope.jsx +12 -0
  42. package/dist/provider/index.d.ts +1 -0
  43. package/dist/provider/index.d.ts.map +1 -1
  44. package/dist/provider/index.jsx +1 -0
  45. package/dist/shell/shell.d.ts +5 -0
  46. package/dist/shell/shell.d.ts.map +1 -1
  47. package/dist/shell/shell.jsx +14 -10
  48. package/dist/toggle/choice.css +15 -0
  49. package/dist/toggle/choice.css.map +1 -1
  50. package/dist/toggle/choice.d.ts +5 -0
  51. package/dist/toggle/choice.d.ts.map +1 -1
  52. package/dist/toggle/choice.jsx +38 -13
  53. package/package.json +2 -2
  54. package/skills/g9-lynx-app/references/catalog-index.md +1 -1
  55. package/skills/g9-lynx-app/references/components/button.md +2 -2
  56. package/skills/g9-lynx-app/references/components/display-1.md +1 -1
  57. package/skills/g9-lynx-app/references/components/display-3.md +2 -2
  58. package/skills/g9-lynx-app/references/components/provider.md +11 -0
  59. package/skills/g9-lynx-app/references/components/shell.md +1 -1
  60. package/skills/g9-lynx-app/references/components/toggle.md +1 -1
  61. package/skills/g9-lynx-app/references/localization-rtl.md +4 -0
  62. package/skills/g9-lynx-app/references/provider-and-host.md +3 -0
  63. package/skills/g9-lynx-app/references/theming.md +5 -2
@@ -10,8 +10,8 @@ Props:
10
10
  - `value`: string
11
11
  - `children?`: ReactNode
12
12
  - `moreText?`: string
13
+ - `topBarModes?`: 'side' | 'rail' | 'tabs'[] = "['side']"
13
14
  - `brand?`: ReactNode
14
15
  - `navFooter?`: ReactNode
15
- - `navSearch?`: ReactNode
16
16
 
17
17
  Example: `<G9AppShell destinations={destinations} onChange={() => {}} value="value" />`
@@ -6,7 +6,7 @@ A count or a dot (G9Hub Counter/Badge, tab and bell counts).
6
6
 
7
7
  Props:
8
8
  - `value?`: string | number
9
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain' = "solid"
9
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "solid"
10
10
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "error"
11
11
  - `dot?`: boolean
12
12
  - `hideZero?`: boolean = true
@@ -0,0 +1,10 @@
1
+ # G9DirectionScope
2
+
3
+ `import { G9DirectionScope } from '@g9tm/lynxcontrols/provider';`
4
+
5
+ A view in the culture's direction (`g9-dir-rtl` / `g9-dir-ltr`), for content an app puts in a G9 row's slot when the app inherits CSS direction.
6
+
7
+ Props:
8
+ - `children?`: ReactNode
9
+
10
+ Example: `<G9DirectionScope />`
@@ -6,12 +6,12 @@ Square icon button (MAUI `G9IconButton`): one icon, variant/ghost fill, optional
6
6
 
7
7
  Props:
8
8
  - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
9
+ - `size?`: 'sm' | 'md' | 'lg'
9
10
  - `icon?`: icon
10
11
  - `onPress?`: () => void
11
12
  - `disabled?`: boolean = false
12
13
  - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
13
14
  - `badgeText?`: string
14
15
  - `badgeColor?`: color = "var(--g9-error)"
15
- - `baseBackgroundColor?`: color
16
16
 
17
17
  Example: `<G9IconButton />`
@@ -6,12 +6,12 @@ Icon button with guarded execution (MAUI `G9SafeIconButton`); see `G9SafeButton`
6
6
 
7
7
  Props:
8
8
  - `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "surface"
9
+ - `size?`: 'sm' | 'md' | 'lg'
9
10
  - `icon?`: icon
10
11
  - `onPress?`: () => void
11
12
  - `disabled?`: boolean = false
12
13
  - `activeVariant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "tonal"
13
14
  - `onExecute?`: (context: G9SafeRunContext) => void
14
15
  - `onResult?`: (result: G9SafeRunResult<unknown>) => void
15
- - `badgeText?`: string
16
16
 
17
17
  Example: `<G9SafeIconButton />`
@@ -8,7 +8,7 @@ Props:
8
8
  - `text`: string
9
9
  - `size?`: 'sm' | 'md' | 'lg'
10
10
  - `icon?`: icon
11
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain' = "soft"
11
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "soft"
12
12
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
13
13
  - `fillAlpha?`: number = 0.15
14
14
  - `bordered?`: boolean
@@ -10,8 +10,8 @@ Props:
10
10
  - `onChange?`: (value: number) => void
11
11
  - `disabled?`: boolean = false
12
12
  - `format?`: (value: number) => void
13
+ - `appearance?`: 'plain' | 'tray'
13
14
  - `block?`: boolean
14
15
  - `defaultValue?`: number
15
- - `collapsedAtMin?`: string | boolean | boolean
16
16
 
17
17
  Example: `<G9Stepper />`
@@ -7,7 +7,7 @@ A small label on a card or row (menu item tags, statuses that are not states): t
7
7
  Props:
8
8
  - `text`: string
9
9
  - `icon?`: icon
10
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain'
10
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid'
11
11
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
12
12
  - `emoji?`: string
13
13