@g9tm/lynxcontrols 2.5.6 → 2.5.7

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 (122) hide show
  1. package/catalog/cards/G9AppBar.md +1 -1
  2. package/catalog/cards/G9CarryContexts.md +10 -0
  3. package/catalog/cards/G9CheckBox.md +1 -1
  4. package/catalog/cards/G9FormField.md +2 -2
  5. package/catalog/cards/G9ListRow.md +1 -1
  6. package/catalog/cards/G9RangeSlider.md +2 -2
  7. package/catalog/cards/G9Stepper.md +1 -1
  8. package/catalog/cards/G9SwitchRow.md +1 -1
  9. package/catalog/cards/G9UpdateBar.md +2 -1
  10. package/catalog/catalog.json +879 -42
  11. package/catalog/index.md +3 -2
  12. package/dist/.tsbuildinfo +1 -1
  13. package/dist/base/selection-item.d.ts +5 -0
  14. package/dist/base/selection-item.d.ts.map +1 -1
  15. package/dist/display/figures.d.ts.map +1 -1
  16. package/dist/display/figures.jsx +10 -2
  17. package/dist/display/status.d.ts +1 -1
  18. package/dist/display/status.d.ts.map +1 -1
  19. package/dist/display/status.jsx +15 -3
  20. package/dist/effects/effects.d.ts.map +1 -1
  21. package/dist/effects/effects.jsx +8 -1
  22. package/dist/fields/extra-entries.d.ts +2 -1
  23. package/dist/fields/extra-entries.d.ts.map +1 -1
  24. package/dist/fields/extra-entries.jsx +51 -17
  25. package/dist/fields/fields.css +21 -0
  26. package/dist/fields/fields.css.map +1 -1
  27. package/dist/fields/outlined-field.d.ts +9 -0
  28. package/dist/fields/outlined-field.d.ts.map +1 -1
  29. package/dist/fields/outlined-field.jsx +6 -1
  30. package/dist/fields/pin-entry.d.ts.map +1 -1
  31. package/dist/fields/pin-entry.jsx +36 -3
  32. package/dist/fields/text-entry.d.ts +4 -0
  33. package/dist/fields/text-entry.d.ts.map +1 -1
  34. package/dist/fields/text-entry.jsx +32 -25
  35. package/dist/fields/use-text-input.d.ts +3 -2
  36. package/dist/fields/use-text-input.d.ts.map +1 -1
  37. package/dist/fields/use-text-input.jsx +3 -0
  38. package/dist/header/app-bar.d.ts +6 -0
  39. package/dist/header/app-bar.d.ts.map +1 -1
  40. package/dist/header/app-bar.jsx +22 -8
  41. package/dist/header/header.css +12 -0
  42. package/dist/header/header.css.map +1 -1
  43. package/dist/host/bottom-overlays.d.ts +5 -0
  44. package/dist/host/bottom-overlays.d.ts.map +1 -1
  45. package/dist/host/bottom-overlays.jsx +17 -1
  46. package/dist/host/carry-contexts.d.ts +28 -0
  47. package/dist/host/carry-contexts.d.ts.map +1 -0
  48. package/dist/host/carry-contexts.jsx +62 -0
  49. package/dist/host/host.d.ts.map +1 -1
  50. package/dist/host/host.jsx +5 -1
  51. package/dist/host/index.d.ts +2 -0
  52. package/dist/host/index.d.ts.map +1 -1
  53. package/dist/host/index.jsx +2 -0
  54. package/dist/icon/icon.d.ts.map +1 -1
  55. package/dist/icon/icon.jsx +13 -9
  56. package/dist/layout/containers.d.ts.map +1 -1
  57. package/dist/layout/containers.jsx +2 -1
  58. package/dist/layout/layout.css +5 -0
  59. package/dist/layout/layout.css.map +1 -1
  60. package/dist/list/list.css +22 -0
  61. package/dist/list/list.css.map +1 -1
  62. package/dist/list/rows.d.ts +13 -1
  63. package/dist/list/rows.d.ts.map +1 -1
  64. package/dist/list/rows.jsx +39 -20
  65. package/dist/provider/direction-scope.d.ts +8 -0
  66. package/dist/provider/direction-scope.d.ts.map +1 -1
  67. package/dist/provider/direction-scope.jsx +13 -2
  68. package/dist/provider/index.d.ts +1 -1
  69. package/dist/provider/index.d.ts.map +1 -1
  70. package/dist/provider/provider.css +7 -0
  71. package/dist/provider/provider.css.map +1 -1
  72. package/dist/provider/settings.d.ts +14 -0
  73. package/dist/provider/settings.d.ts.map +1 -1
  74. package/dist/provider/settings.jsx +4 -1
  75. package/dist/range-slider/index.d.ts +1 -1
  76. package/dist/range-slider/index.d.ts.map +1 -1
  77. package/dist/range-slider/range-slider.css +69 -0
  78. package/dist/range-slider/range-slider.css.map +1 -1
  79. package/dist/range-slider/range-slider.d.ts +22 -0
  80. package/dist/range-slider/range-slider.d.ts.map +1 -1
  81. package/dist/range-slider/range-slider.jsx +34 -5
  82. package/dist/selection/selection-sheet.d.ts.map +1 -1
  83. package/dist/selection/selection-sheet.jsx +23 -10
  84. package/dist/selection/selection.css +16 -1
  85. package/dist/selection/selection.css.map +1 -1
  86. package/dist/shell/shell.css +6 -0
  87. package/dist/shell/shell.css.map +1 -1
  88. package/dist/shell/shell.d.ts +10 -1
  89. package/dist/shell/shell.d.ts.map +1 -1
  90. package/dist/shell/shell.jsx +6 -4
  91. package/dist/survey/survey.css +15 -0
  92. package/dist/survey/survey.css.map +1 -1
  93. package/dist/survey/survey.d.ts +6 -0
  94. package/dist/survey/survey.d.ts.map +1 -1
  95. package/dist/survey/survey.jsx +17 -2
  96. package/dist/tab-bar/flat.d.ts.map +1 -1
  97. package/dist/tab-bar/flat.jsx +49 -35
  98. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  99. package/dist/tab-bar/tab-bar.jsx +28 -6
  100. package/dist/tabs/tab-view.jsx +10 -3
  101. package/dist/tabs/tabs.css +5 -0
  102. package/dist/tabs/tabs.css.map +1 -1
  103. package/dist/toggle/checkbox.d.ts +5 -0
  104. package/dist/toggle/checkbox.d.ts.map +1 -1
  105. package/dist/toggle/checkbox.jsx +7 -2
  106. package/dist/toggle/choice.css +8 -0
  107. package/dist/toggle/choice.css.map +1 -1
  108. package/dist/toggle/choice.d.ts +9 -0
  109. package/dist/toggle/choice.d.ts.map +1 -1
  110. package/dist/toggle/choice.jsx +24 -14
  111. package/package.json +2 -2
  112. package/skills/g9-lynx-app/references/catalog-index.md +2 -2
  113. package/skills/g9-lynx-app/references/components/commerce.md +1 -1
  114. package/skills/g9-lynx-app/references/components/fields.md +2 -2
  115. package/skills/g9-lynx-app/references/components/header.md +1 -1
  116. package/skills/g9-lynx-app/references/components/host.md +11 -0
  117. package/skills/g9-lynx-app/references/components/list.md +2 -2
  118. package/skills/g9-lynx-app/references/components/map.md +19 -1
  119. package/skills/g9-lynx-app/references/components/range-slider.md +2 -2
  120. package/skills/g9-lynx-app/references/components/shell.md +2 -1
  121. package/skills/g9-lynx-app/references/components/toggle.md +2 -2
  122. package/skills/g9-lynx-app/references/provider-and-host.md +4 -3
@@ -11,7 +11,7 @@ Props:
11
11
  - `disabled?`: boolean = false
12
12
  - `onBack?`: () => void
13
13
  - `backLabel?`: string
14
+ - `actionsGap?`: number = 2
14
15
  - `align?`: 'start' | 'center'
15
- - `backIcon?`: icon
16
16
 
17
17
  Example: `<G9AppBar />`
@@ -0,0 +1,10 @@
1
+ # G9CarryContexts
2
+
3
+ `import { G9CarryContexts } from '@g9tm/lynxcontrols/host';`
4
+
5
+ Carries React context into the nearest G9Host's layers: sheets, popups, toasts and menus then read `contexts` with their live values, though they render outside the page (SAC's tray sheet read «GuestContext missing» with
6
+
7
+ Props:
8
+ - `contexts`: object[]
9
+
10
+ Example: `<G9CarryContexts contexts={contexts} />`
@@ -11,7 +11,7 @@ Props:
11
11
  - `disabled?`: boolean = false
12
12
  - `onCheckedChange?`: (checked: boolean) => void
13
13
  - `onIndeterminateChange?`: (indeterminate: boolean) => void
14
+ - `labelGap?`: number = 2
14
15
  - `defaultChecked?`: boolean
15
- - `defaultIndeterminate?`: boolean
16
16
 
17
17
  Example: `<G9CheckBox text="I agree" checked={agree} onCheckedChange={setAgree} />`
@@ -5,11 +5,11 @@
5
5
  A label above any control, a hint or an error below (SAC Field, G9Hub Field): for controls without a floating label.
6
6
 
7
7
  Props:
8
- - `label`: string
8
+ - `label?`: string
9
9
  - `children?`: ReactNode
10
10
  - `hint?`: string
11
11
  - `aside?`: ReactNode
12
12
  - `error?`: string
13
13
  - `required?`: boolean
14
14
 
15
- Example: `<G9FormField label="Label" />`
15
+ Example: `<G9FormField />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `onPress?`: () => void
13
13
  - `disabled?`: boolean = false
14
14
  - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
15
- - `hint?`: string
15
+ - `pressFeedback?`: 'none' | 'tint' = "none"
16
16
 
17
17
  Example: `<G9ListRow title="Label" />`
@@ -5,13 +5,13 @@
5
5
  One- or two-thumb slider (MAUI `G9RangeSlider`) on lynx-ui `SliderRoot`: lynx-ui owns the gesture (main-thread drag, thumbs that meet but never cross); G9 maps minimum/maximum/step onto its normalized value, snaps with t
6
6
 
7
7
  Props:
8
+ - `label?`: string
8
9
  - `value?`: number
9
10
  - `onValueChange?`: (value: number) => void
10
11
  - `disabled?`: boolean
11
12
  - `mode?`: 'single' | 'range' = "range"
13
+ - `formatValue?`: (value: number) => void
12
14
  - `onRangeChange?`: (start: number, end: number) => void
13
15
  - `onValueChanged?`: (value: number) => void
14
- - `defaultValue?`: number
15
- - `bands?`: object[]
16
16
 
17
17
  Example: `<G9RangeSlider />`
@@ -10,8 +10,8 @@ Props:
10
10
  - `onChange?`: (value: number) => void
11
11
  - `disabled?`: boolean = false
12
12
  - `format?`: (value: number) => void
13
+ - `addLabel?`: string
13
14
  - `decreaseLabel?`: string
14
15
  - `increaseLabel?`: string
15
- - `removeLabel?`: string = "decreaseLabel"
16
16
 
17
17
  Example: `<G9Stepper />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `subtitle?`: string
13
13
  - `disabled?`: boolean = false
14
14
  - `iconTone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
15
- - `hint?`: string
15
+ - `pressFeedback?`: 'none' | 'tint' = "none"
16
16
 
17
17
  Example: `<G9SwitchRow checked onCheckedChange={() => {}} title="Label" />`
@@ -2,7 +2,7 @@
2
2
 
3
3
  `import { G9UpdateBar } from '@g9tm/lynxcontrols/shell';`
4
4
 
5
- «A new version is ready — restart» (SAC UpdatePrompt, live updates): a slim bar that slides down when shown.
5
+ «A new version is ready — restart» (SAC UpdatePrompt, live updates): a slim bar with the action and an optional dismissal.
6
6
 
7
7
  Props:
8
8
  - `actionText`: string
@@ -11,5 +11,6 @@ Props:
11
11
  - `text`: string
12
12
  - `onDismiss?`: () => void
13
13
  - `dismissText?`: string
14
+ - `placement?`: 'overlay' | 'inline'
14
15
 
15
16
  Example: `<G9UpdateBar actionText="actionText" onAction={() => {}} shown text="Label" />`