@g9tm/lynxcontrols 2.5.5 → 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 (167) hide show
  1. package/catalog/cards/G9AppBar.md +2 -2
  2. package/catalog/cards/G9Avatar.md +2 -1
  3. package/catalog/cards/G9CarryContexts.md +10 -0
  4. package/catalog/cards/G9CheckBox.md +1 -1
  5. package/catalog/cards/G9ChoiceList.md +1 -1
  6. package/catalog/cards/G9ConnectionBanner.md +4 -2
  7. package/catalog/cards/G9FlatTabBar.md +17 -0
  8. package/catalog/cards/G9FormField.md +2 -2
  9. package/catalog/cards/G9IconSlot.md +1 -1
  10. package/catalog/cards/G9ListRow.md +1 -1
  11. package/catalog/cards/G9RangeSlider.md +2 -2
  12. package/catalog/cards/G9Stepper.md +1 -1
  13. package/catalog/cards/G9SwitchRow.md +1 -1
  14. package/catalog/cards/G9UpdateBar.md +2 -1
  15. package/catalog/catalog.json +2418 -650
  16. package/catalog/index.md +5 -3
  17. package/dist/.tsbuildinfo +1 -1
  18. package/dist/base/selection-item.d.ts +5 -0
  19. package/dist/base/selection-item.d.ts.map +1 -1
  20. package/dist/button/button.d.ts +4 -0
  21. package/dist/button/button.d.ts.map +1 -1
  22. package/dist/button/button.jsx +8 -2
  23. package/dist/button/icon-button.d.ts +2 -0
  24. package/dist/button/icon-button.d.ts.map +1 -1
  25. package/dist/button/icon-button.jsx +3 -1
  26. package/dist/display/figures.d.ts +13 -0
  27. package/dist/display/figures.d.ts.map +1 -1
  28. package/dist/display/figures.jsx +53 -14
  29. package/dist/display/status.d.ts +1 -1
  30. package/dist/display/status.d.ts.map +1 -1
  31. package/dist/display/status.jsx +15 -3
  32. package/dist/effects/effects.css +6 -0
  33. package/dist/effects/effects.css.map +1 -1
  34. package/dist/effects/effects.d.ts +9 -0
  35. package/dist/effects/effects.d.ts.map +1 -1
  36. package/dist/effects/effects.jsx +55 -1
  37. package/dist/fields/editor.d.ts.map +1 -1
  38. package/dist/fields/editor.jsx +3 -0
  39. package/dist/fields/extra-entries.d.ts +2 -1
  40. package/dist/fields/extra-entries.d.ts.map +1 -1
  41. package/dist/fields/extra-entries.jsx +51 -17
  42. package/dist/fields/fields.css +21 -0
  43. package/dist/fields/fields.css.map +1 -1
  44. package/dist/fields/outlined-field.d.ts +14 -0
  45. package/dist/fields/outlined-field.d.ts.map +1 -1
  46. package/dist/fields/outlined-field.jsx +6 -1
  47. package/dist/fields/pin-entry.d.ts.map +1 -1
  48. package/dist/fields/pin-entry.jsx +36 -3
  49. package/dist/fields/text-entry.d.ts +4 -0
  50. package/dist/fields/text-entry.d.ts.map +1 -1
  51. package/dist/fields/text-entry.jsx +33 -26
  52. package/dist/fields/use-text-input.d.ts +3 -2
  53. package/dist/fields/use-text-input.d.ts.map +1 -1
  54. package/dist/fields/use-text-input.jsx +3 -0
  55. package/dist/header/app-bar.d.ts +13 -1
  56. package/dist/header/app-bar.d.ts.map +1 -1
  57. package/dist/header/app-bar.jsx +31 -11
  58. package/dist/header/header.css +12 -0
  59. package/dist/header/header.css.map +1 -1
  60. package/dist/host/bottom-overlays.d.ts +5 -0
  61. package/dist/host/bottom-overlays.d.ts.map +1 -1
  62. package/dist/host/bottom-overlays.jsx +17 -1
  63. package/dist/host/carry-contexts.d.ts +28 -0
  64. package/dist/host/carry-contexts.d.ts.map +1 -0
  65. package/dist/host/carry-contexts.jsx +62 -0
  66. package/dist/host/host.d.ts.map +1 -1
  67. package/dist/host/host.jsx +5 -1
  68. package/dist/host/index.d.ts +2 -0
  69. package/dist/host/index.d.ts.map +1 -1
  70. package/dist/host/index.jsx +2 -0
  71. package/dist/icon/icon.css +0 -1
  72. package/dist/icon/icon.css.map +1 -1
  73. package/dist/icon/icon.d.ts.map +1 -1
  74. package/dist/icon/icon.jsx +15 -10
  75. package/dist/icon/slot.d.ts +2 -0
  76. package/dist/icon/slot.d.ts.map +1 -1
  77. package/dist/icon/slot.jsx +2 -0
  78. package/dist/layout/containers.d.ts.map +1 -1
  79. package/dist/layout/containers.jsx +2 -1
  80. package/dist/layout/layout.css +5 -0
  81. package/dist/layout/layout.css.map +1 -1
  82. package/dist/layout/scroll-spy.d.ts.map +1 -1
  83. package/dist/layout/scroll-spy.jsx +4 -2
  84. package/dist/list/index.d.ts +1 -1
  85. package/dist/list/index.d.ts.map +1 -1
  86. package/dist/list/index.jsx +1 -1
  87. package/dist/list/list.css +28 -0
  88. package/dist/list/list.css.map +1 -1
  89. package/dist/list/rows.d.ts +13 -1
  90. package/dist/list/rows.d.ts.map +1 -1
  91. package/dist/list/rows.jsx +39 -20
  92. package/dist/list/virtual-list.d.ts +52 -1
  93. package/dist/list/virtual-list.d.ts.map +1 -1
  94. package/dist/list/virtual-list.jsx +123 -18
  95. package/dist/provider/direction-scope.d.ts +8 -0
  96. package/dist/provider/direction-scope.d.ts.map +1 -1
  97. package/dist/provider/direction-scope.jsx +13 -2
  98. package/dist/provider/index.d.ts +1 -1
  99. package/dist/provider/index.d.ts.map +1 -1
  100. package/dist/provider/provider.css +7 -0
  101. package/dist/provider/provider.css.map +1 -1
  102. package/dist/provider/settings.d.ts +14 -0
  103. package/dist/provider/settings.d.ts.map +1 -1
  104. package/dist/provider/settings.jsx +4 -1
  105. package/dist/range-slider/index.d.ts +1 -1
  106. package/dist/range-slider/index.d.ts.map +1 -1
  107. package/dist/range-slider/range-slider.css +69 -0
  108. package/dist/range-slider/range-slider.css.map +1 -1
  109. package/dist/range-slider/range-slider.d.ts +22 -0
  110. package/dist/range-slider/range-slider.d.ts.map +1 -1
  111. package/dist/range-slider/range-slider.jsx +34 -5
  112. package/dist/selection/selection-sheet.d.ts.map +1 -1
  113. package/dist/selection/selection-sheet.jsx +23 -10
  114. package/dist/selection/selection.css +16 -1
  115. package/dist/selection/selection.css.map +1 -1
  116. package/dist/shell/shell.css +7 -0
  117. package/dist/shell/shell.css.map +1 -1
  118. package/dist/shell/shell.d.ts +24 -3
  119. package/dist/shell/shell.d.ts.map +1 -1
  120. package/dist/shell/shell.jsx +12 -9
  121. package/dist/survey/survey.css +71 -0
  122. package/dist/survey/survey.css.map +1 -1
  123. package/dist/survey/survey.d.ts +15 -0
  124. package/dist/survey/survey.d.ts.map +1 -1
  125. package/dist/survey/survey.jsx +45 -2
  126. package/dist/tab-bar/flat.d.ts +18 -0
  127. package/dist/tab-bar/flat.d.ts.map +1 -0
  128. package/dist/tab-bar/flat.jsx +124 -0
  129. package/dist/tab-bar/index.d.ts +1 -0
  130. package/dist/tab-bar/index.d.ts.map +1 -1
  131. package/dist/tab-bar/index.jsx +1 -0
  132. package/dist/tab-bar/metrics.d.ts +8 -2
  133. package/dist/tab-bar/metrics.d.ts.map +1 -1
  134. package/dist/tab-bar/metrics.jsx +12 -1
  135. package/dist/tab-bar/tab-bar.css +77 -0
  136. package/dist/tab-bar/tab-bar.css.map +1 -1
  137. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  138. package/dist/tab-bar/tab-bar.jsx +32 -6
  139. package/dist/tabs/tab-view.jsx +10 -3
  140. package/dist/tabs/tabs.css +5 -0
  141. package/dist/tabs/tabs.css.map +1 -1
  142. package/dist/toggle/checkbox.d.ts +5 -0
  143. package/dist/toggle/checkbox.d.ts.map +1 -1
  144. package/dist/toggle/checkbox.jsx +7 -2
  145. package/dist/toggle/choice.css +8 -0
  146. package/dist/toggle/choice.css.map +1 -1
  147. package/dist/toggle/choice.d.ts +11 -0
  148. package/dist/toggle/choice.d.ts.map +1 -1
  149. package/dist/toggle/choice.jsx +25 -14
  150. package/package.json +2 -2
  151. package/skills/g9-lynx-app/references/catalog-index.md +3 -3
  152. package/skills/g9-lynx-app/references/components/barcode.md +3 -3
  153. package/skills/g9-lynx-app/references/components/charts.md +1 -1
  154. package/skills/g9-lynx-app/references/components/commerce.md +5 -5
  155. package/skills/g9-lynx-app/references/components/display-1.md +2 -1
  156. package/skills/g9-lynx-app/references/components/fields.md +2 -2
  157. package/skills/g9-lynx-app/references/components/header.md +2 -2
  158. package/skills/g9-lynx-app/references/components/host.md +11 -0
  159. package/skills/g9-lynx-app/references/components/icon.md +1 -1
  160. package/skills/g9-lynx-app/references/components/list.md +2 -2
  161. package/skills/g9-lynx-app/references/components/map.md +19 -1
  162. package/skills/g9-lynx-app/references/components/range-slider.md +2 -2
  163. package/skills/g9-lynx-app/references/components/shell.md +6 -3
  164. package/skills/g9-lynx-app/references/components/survey.md +1 -1
  165. package/skills/g9-lynx-app/references/components/tab-bar.md +18 -0
  166. package/skills/g9-lynx-app/references/components/toggle.md +2 -2
  167. package/skills/g9-lynx-app/references/provider-and-host.md +8 -0
@@ -10,8 +10,8 @@ Props:
10
10
  - `subtitle?`: string
11
11
  - `disabled?`: boolean = false
12
12
  - `onBack?`: () => void
13
- - `backLabel?`: string = "Back"
13
+ - `backLabel?`: string
14
+ - `actionsGap?`: number = 2
14
15
  - `align?`: 'start' | 'center'
15
- - `actions?`: ReactNode
16
16
 
17
17
  Example: `<G9AppBar />`
@@ -7,10 +7,11 @@ A person: photo or initials in a tinted disc (SAC/ShopManager/Riskara Avatar, G9
7
7
  Props:
8
8
  - `name`: string
9
9
  - `size?`: number | string | string | string | string | string = "md"
10
+ - `icon?`: icon
11
+ - `shape?`: 'circle' | 'squircle'
10
12
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
11
13
  - `gradient?`: boolean
12
14
  - `image?`: string
13
15
  - `ring?`: string
14
- - `status?`: 'online' | 'busy' | 'away' | 'offline'
15
16
 
16
17
  Example: `<G9Avatar name="name" />`
@@ -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} />`
@@ -12,6 +12,6 @@ Props:
12
12
  - `disabled?`: boolean = false
13
13
  - `onPicked?`: (key: K) => void
14
14
  - `defaultValue?`: string[]
15
- - `max?`: number
15
+ - `layout?`: 'row' | 'cards'
16
16
 
17
17
  Example: `<G9ChoiceList options={options} />`
@@ -2,14 +2,16 @@
2
2
 
3
3
  `import { G9ConnectionBanner } from '@g9tm/lynxcontrols/shell';`
4
4
 
5
- A slim line when the network is gone or coming back (G9Hub ConnectionBanner); a short «back online» then nothing.
5
+ A slim line when the network is gone, coming back, or slow (G9Hub ConnectionBanner); a short «back online» after it was gone, then nothing.
6
6
 
7
7
  Props:
8
8
  - `offlineText`: string
9
9
  - `reconnectingText`: string
10
- - `status`: 'online' | 'offline' | 'reconnecting'
10
+ - `status`: 'online' | 'offline' | 'reconnecting' | 'connecting' | 'poor'
11
11
  - `onRetry?`: () => void
12
12
  - `backOnlineText?`: string
13
+ - `connectingText?`: string = "reconnectingText"
14
+ - `poorText?`: string = "reconnectingText"
13
15
  - `retryText?`: string
14
16
 
15
17
  Example: `<G9ConnectionBanner offlineText="offlineText" reconnectingText="reconnectingText" status="online" />`
@@ -0,0 +1,17 @@
1
+ # G9FlatTabBar
2
+
3
+ `import { G9FlatTabBar } from '@g9tm/lynxcontrols/tab-bar';`
4
+
5
+ The flat style of `G9TabBar` (selected by `barStyle: 'flat'`).
6
+
7
+ Props:
8
+ - `items`: object[]
9
+ - `onCenterFloatingChange?`: (floating: boolean) => void
10
+ - `onFabOpenChange?`: (open: boolean) => void
11
+ - `onFabTapped?`: (args: G9TabBarFabTappedEventArgs) => void
12
+ - `onItemSelected?`: (args: G9TabBarClickContext) => void
13
+ - `onOverflowOpenChange?`: (open: boolean) => void
14
+ - `onSelectedIndexChange?`: (index: number) => void
15
+ - `overflowText?`: string
16
+
17
+ Example: `<G9FlatTabBar items={items} />`
@@ -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
  - `emoji?`: string
13
13
  - `image?`: object | object | object
14
14
  - `imagePath?`: string
15
- - `weight?`: number = 1
15
+ - `mirrorInRtl?`: boolean
16
16
 
17
17
  Example: `<G9IconSlot />`
@@ -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
- - `valueLabel?`: string | (value: number) => void
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" />`