@g9tm/lynxcontrols 2.5.4 → 2.5.6

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 (152) hide show
  1. package/catalog/cards/G9AppBar.md +2 -2
  2. package/catalog/cards/G9Avatar.md +2 -1
  3. package/catalog/cards/G9ChoiceList.md +1 -1
  4. package/catalog/cards/G9ConnectionBanner.md +4 -2
  5. package/catalog/cards/G9FlatTabBar.md +17 -0
  6. package/catalog/cards/G9IconSlot.md +1 -1
  7. package/catalog/cards/G9NumPad.md +5 -1
  8. package/catalog/cards/G9Photo.md +1 -1
  9. package/catalog/cards/G9PinEntry.md +2 -2
  10. package/catalog/cards/G9ProgressBar.md +1 -1
  11. package/catalog/cards/G9ScrollSpyBar.md +1 -1
  12. package/catalog/cards/G9Stepper.md +3 -3
  13. package/catalog/catalog.json +1342 -40
  14. package/catalog/index.md +4 -3
  15. package/dist/.tsbuildinfo +1 -1
  16. package/dist/anchor/context.d.ts +5 -0
  17. package/dist/anchor/context.d.ts.map +1 -1
  18. package/dist/anchor/context.jsx +2 -1
  19. package/dist/anchor/hooks.d.ts.map +1 -1
  20. package/dist/anchor/hooks.jsx +6 -1
  21. package/dist/anchor/index.d.ts +1 -1
  22. package/dist/anchor/index.d.ts.map +1 -1
  23. package/dist/anchor/index.jsx +1 -1
  24. package/dist/anchor/registry.d.ts +5 -0
  25. package/dist/anchor/registry.d.ts.map +1 -1
  26. package/dist/button/button.d.ts +4 -0
  27. package/dist/button/button.d.ts.map +1 -1
  28. package/dist/button/button.jsx +8 -2
  29. package/dist/button/icon-button.d.ts +2 -0
  30. package/dist/button/icon-button.d.ts.map +1 -1
  31. package/dist/button/icon-button.jsx +3 -1
  32. package/dist/display/display.css +1 -1
  33. package/dist/display/display.css.map +1 -1
  34. package/dist/display/figures.d.ts +13 -0
  35. package/dist/display/figures.d.ts.map +1 -1
  36. package/dist/display/figures.jsx +43 -12
  37. package/dist/display/motion-figures.d.ts +7 -0
  38. package/dist/display/motion-figures.d.ts.map +1 -1
  39. package/dist/display/motion-figures.jsx +14 -5
  40. package/dist/display/progress-bar.d.ts +5 -0
  41. package/dist/display/progress-bar.d.ts.map +1 -1
  42. package/dist/display/progress-bar.jsx +6 -2
  43. package/dist/display/shimmer.jsx +1 -1
  44. package/dist/effects/effects.css +6 -0
  45. package/dist/effects/effects.css.map +1 -1
  46. package/dist/effects/effects.d.ts +9 -0
  47. package/dist/effects/effects.d.ts.map +1 -1
  48. package/dist/effects/effects.jsx +47 -0
  49. package/dist/fields/editor.d.ts.map +1 -1
  50. package/dist/fields/editor.jsx +3 -0
  51. package/dist/fields/extra-entries.css +13 -0
  52. package/dist/fields/extra-entries.css.map +1 -1
  53. package/dist/fields/extra-entries.d.ts +25 -3
  54. package/dist/fields/extra-entries.d.ts.map +1 -1
  55. package/dist/fields/extra-entries.jsx +48 -9
  56. package/dist/fields/fields.css +18 -0
  57. package/dist/fields/fields.css.map +1 -1
  58. package/dist/fields/outlined-field.d.ts +10 -0
  59. package/dist/fields/outlined-field.d.ts.map +1 -1
  60. package/dist/fields/pin-entry.d.ts +21 -0
  61. package/dist/fields/pin-entry.d.ts.map +1 -1
  62. package/dist/fields/pin-entry.jsx +17 -8
  63. package/dist/fields/text-entry.jsx +1 -1
  64. package/dist/fields/use-text-input.d.ts +2 -0
  65. package/dist/fields/use-text-input.d.ts.map +1 -1
  66. package/dist/fields/use-text-input.jsx +3 -1
  67. package/dist/header/app-bar.d.ts +7 -1
  68. package/dist/header/app-bar.d.ts.map +1 -1
  69. package/dist/header/app-bar.jsx +13 -7
  70. package/dist/host/bottom-overlays.d.ts +11 -0
  71. package/dist/host/bottom-overlays.d.ts.map +1 -0
  72. package/dist/host/bottom-overlays.jsx +18 -0
  73. package/dist/host/context.d.ts +4 -0
  74. package/dist/host/context.d.ts.map +1 -0
  75. package/dist/host/context.jsx +3 -0
  76. package/dist/host/host.d.ts +3 -3
  77. package/dist/host/host.d.ts.map +1 -1
  78. package/dist/host/host.jsx +1 -1
  79. package/dist/icon/icon.css +0 -1
  80. package/dist/icon/icon.css.map +1 -1
  81. package/dist/icon/icon.d.ts.map +1 -1
  82. package/dist/icon/icon.jsx +2 -1
  83. package/dist/icon/slot.d.ts +2 -0
  84. package/dist/icon/slot.d.ts.map +1 -1
  85. package/dist/icon/slot.jsx +2 -0
  86. package/dist/layout/scroll-spy.d.ts +5 -0
  87. package/dist/layout/scroll-spy.d.ts.map +1 -1
  88. package/dist/layout/scroll-spy.jsx +17 -6
  89. package/dist/layout/scrollers.d.ts +5 -0
  90. package/dist/layout/scrollers.d.ts.map +1 -1
  91. package/dist/layout/scrollers.jsx +23 -3
  92. package/dist/list/index.d.ts +1 -1
  93. package/dist/list/index.d.ts.map +1 -1
  94. package/dist/list/index.jsx +1 -1
  95. package/dist/list/list.css +6 -0
  96. package/dist/list/list.css.map +1 -1
  97. package/dist/list/virtual-list.d.ts +52 -1
  98. package/dist/list/virtual-list.d.ts.map +1 -1
  99. package/dist/list/virtual-list.jsx +123 -18
  100. package/dist/provider/provider.css +1 -1
  101. package/dist/provider/provider.css.map +1 -1
  102. package/dist/range-slider/range-slider.css +14 -14
  103. package/dist/range-slider/range-slider.css.map +1 -1
  104. package/dist/range-slider/step-slider.jsx +8 -8
  105. package/dist/shell/shell.css +1 -0
  106. package/dist/shell/shell.css.map +1 -1
  107. package/dist/shell/shell.d.ts +14 -2
  108. package/dist/shell/shell.d.ts.map +1 -1
  109. package/dist/shell/shell.jsx +6 -5
  110. package/dist/survey/survey.css +56 -0
  111. package/dist/survey/survey.css.map +1 -1
  112. package/dist/survey/survey.d.ts +9 -0
  113. package/dist/survey/survey.d.ts.map +1 -1
  114. package/dist/survey/survey.jsx +43 -5
  115. package/dist/tab-bar/flat.d.ts +18 -0
  116. package/dist/tab-bar/flat.d.ts.map +1 -0
  117. package/dist/tab-bar/flat.jsx +110 -0
  118. package/dist/tab-bar/index.d.ts +1 -0
  119. package/dist/tab-bar/index.d.ts.map +1 -1
  120. package/dist/tab-bar/index.jsx +1 -0
  121. package/dist/tab-bar/metrics.d.ts +8 -2
  122. package/dist/tab-bar/metrics.d.ts.map +1 -1
  123. package/dist/tab-bar/metrics.jsx +12 -1
  124. package/dist/tab-bar/tab-bar.css +77 -0
  125. package/dist/tab-bar/tab-bar.css.map +1 -1
  126. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  127. package/dist/tab-bar/tab-bar.jsx +4 -0
  128. package/dist/tabs/tab-view.d.ts.map +1 -1
  129. package/dist/tabs/tab-view.jsx +10 -3
  130. package/dist/toast/service.d.ts.map +1 -1
  131. package/dist/toast/service.jsx +7 -0
  132. package/dist/toggle/chip-group.d.ts.map +1 -1
  133. package/dist/toggle/chip-group.jsx +2 -1
  134. package/dist/toggle/choice.d.ts +10 -0
  135. package/dist/toggle/choice.d.ts.map +1 -1
  136. package/dist/toggle/choice.jsx +14 -10
  137. package/package.json +2 -2
  138. package/skills/g9-lynx-app/references/catalog-index.md +1 -1
  139. package/skills/g9-lynx-app/references/components/barcode.md +3 -3
  140. package/skills/g9-lynx-app/references/components/charts.md +34 -28
  141. package/skills/g9-lynx-app/references/components/commerce.md +5 -4
  142. package/skills/g9-lynx-app/references/components/display-1.md +2 -1
  143. package/skills/g9-lynx-app/references/components/display-2.md +2 -2
  144. package/skills/g9-lynx-app/references/components/fields.md +7 -3
  145. package/skills/g9-lynx-app/references/components/header.md +2 -2
  146. package/skills/g9-lynx-app/references/components/icon.md +1 -1
  147. package/skills/g9-lynx-app/references/components/layout-1.md +1 -1
  148. package/skills/g9-lynx-app/references/components/shell.md +4 -2
  149. package/skills/g9-lynx-app/references/components/survey.md +1 -1
  150. package/skills/g9-lynx-app/references/components/tab-bar.md +18 -0
  151. package/skills/g9-lynx-app/references/components/toggle.md +3 -3
  152. package/skills/g9-lynx-app/references/provider-and-host.md +7 -0
@@ -108,6 +108,16 @@ export interface G9StepperProps extends G9ControlBaseProps {
108
108
  * pill with a 4 dp (lg 6) padding, − and + round surface buttons inside it, the count bold in the on-container colour.
109
109
  */
110
110
  readonly appearance?: 'plain' | 'tray';
111
+ /**
112
+ * What − and + say (screen readers, Maestro, e2e taps): a list with a stepper per line needs «کمتر: پنیر سفید», not a
113
+ * bare "−". Default "−" and "+". The collapsed add button says `increaseLabel` when it shows only its icon.
114
+ */
115
+ readonly decreaseLabel?: string;
116
+ readonly increaseLabel?: string;
117
+ /** What − says when it would fold the stepper back (`collapsedAtMin`: its icon is a bin). Default `decreaseLabel`. */
118
+ readonly removeLabel?: string;
119
+ /** What the value says (`'۲ عدد پنیر سفید'`): a text, or one made from the value. Default the shown text. */
120
+ readonly valueLabel?: string | ((value: number) => string);
111
121
  }
112
122
  /** − value + (SAC Stepper, ShopManager stepper and AddControl, mardomi Stepper), with an optional collapsed "add" state. */
113
123
  export declare function G9Stepper(props: G9StepperProps): ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../src/toggle/choice.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,KAAK,kBAAkB,EAAkD,MAAM,iBAAiB,CAAC;AAG1G,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,cAAc,CAAC;AAEvD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAQxD,+BAA+B;AAC/B,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC;IAC5B,qFAAqF;IACrF,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,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,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;CAC5D;AAID,4HAA4H;AAC5H,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAmH1D;AAID,sCAAsC;AACtC,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,iBAAiB;IACjB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,wDAAwD;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,KAAK,CAAC;CACxC;AAKD,4FAA4F;AAC5F,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAgElE"}
@@ -247,7 +247,7 @@ const STEP_H = {
247
247
  lg: 44
248
248
  };
249
249
  function G9Stepper(props) {
250
- var _props_min, _props_max, _props_step, _props_defaultValue, _props_size;
250
+ var _props_min, _props_max, _props_step, _props_defaultValue, _props_size, _props_decreaseLabel, _props_valueLabel, _props_increaseLabel;
251
251
  const min = null != (_props_min = props.min) ? _props_min : 0;
252
252
  const max = null != (_props_max = props.max) ? _props_max : 99;
253
253
  const step = null != (_props_step = props.step) ? _props_step : 1;
@@ -296,13 +296,17 @@ function G9Stepper(props) {
296
296
  });
297
297
  const collapsed = void 0 !== props.collapsedAtMin && false !== props.collapsedAtMin && value <= min;
298
298
  const text1 = props.format ? props.format(value) : String(value);
299
- if (collapsed) return <view className={`${control.className} g9-stepper--add${props.block ? ' g9-stepper--block' : ''}`} {...control.idProps} style={control.rootStyle({
300
- height: `${h}px`,
301
- borderRadius: `${h / 2}px`
302
- })} accessibility-element={true} accessibility-traits="button" accessibility-label={'string' == typeof props.collapsedAtMin ? props.collapsedAtMin : '+'} bindtap={plus}>
299
+ const removes = value - step < min + 1e-9 && !!props.collapsedAtMin;
300
+ if (collapsed) {
301
+ var _props_increaseLabel1;
302
+ return <view className={`${control.className} g9-stepper--add${props.block ? ' g9-stepper--block' : ''}`} {...control.idProps} style={control.rootStyle({
303
+ height: `${h}px`,
304
+ borderRadius: `${h / 2}px`
305
+ })} accessibility-element={true} accessibility-traits="button" accessibility-label={'string' == typeof props.collapsedAtMin ? props.collapsedAtMin : null != (_props_increaseLabel1 = props.increaseLabel) ? _props_increaseLabel1 : '+'} bindtap={plus}>
303
306
  <G9Icon icon="plus" size={16} color="var(--g9-on-primary)"/>
304
307
  {'string' == typeof props.collapsedAtMin ? <text className="g9-stepper__add-text">{props.collapsedAtMin}</text> : null}
305
308
  </view>;
309
+ }
306
310
  return <view className={`${control.className}${props.block ? ' g9-stepper--block' : ''}${tray ? ' g9-stepper--tray' : ''}`} {...control.idProps} style={control.rootStyle({
307
311
  ...g9RowStyle(control.direction),
308
312
  height: `${h}px`,
@@ -318,19 +322,19 @@ function G9Stepper(props) {
318
322
  ...tray ? {
319
323
  borderRadius: `${btn / 2}px`
320
324
  } : {}
321
- }} accessibility-element={true} accessibility-traits="button" accessibility-label="−" bindtap={minus}>
322
- <G9Icon icon={value - step < min + 1e-9 && props.collapsedAtMin ? 'delete' : 'minus'} size={16} color="var(--g9-text-primary)"/>
325
+ }} accessibility-element={true} accessibility-traits="button" accessibility-label={removes && void 0 !== props.removeLabel ? props.removeLabel : null != (_props_decreaseLabel = props.decreaseLabel) ? _props_decreaseLabel : '−'} bindtap={minus}>
326
+ <G9Icon icon={removes ? 'delete' : 'minus'} size={16} color="var(--g9-text-primary)"/>
323
327
  </view>
324
- <text className={`g9-stepper__value${tray ? ' g9-stepper__value--tray' : ''}`} accessibility-label={text1}>
328
+ <text className={`g9-stepper__value${tray ? ' g9-stepper__value--tray' : ''}`} accessibility-label={'function' == typeof props.valueLabel ? props.valueLabel(value) : null != (_props_valueLabel = props.valueLabel) ? _props_valueLabel : text1}>
325
329
  {text1}
326
330
  </text>
327
- <view className={`g9-stepper__btn${value >= max ? ' g9-stepper__btn--off' : ''}`} {...g9IdProps(g9ChildId(props.id, 'Plus'))} style={{
331
+ <view className={`g9-stepper__btn${tray ? ' g9-stepper__btn--tray' : ''}${value >= max ? ' g9-stepper__btn--off' : ''}`} {...g9IdProps(g9ChildId(props.id, 'Plus'))} style={{
328
332
  width: `${btn}px`,
329
333
  height: `${btn}px`,
330
334
  ...tray ? {
331
335
  borderRadius: `${btn / 2}px`
332
336
  } : {}
333
- }} accessibility-element={true} accessibility-traits="button" accessibility-label="+" bindtap={plus}>
337
+ }} accessibility-element={true} accessibility-traits="button" accessibility-label={null != (_props_increaseLabel = props.increaseLabel) ? _props_increaseLabel : '+'} bindtap={plus}>
334
338
  <G9Icon icon="plus" size={16} color="var(--g9-text-primary)"/>
335
339
  </view>
336
340
  </view>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@g9tm/lynxcontrols",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "ReactLynx controls and overlay infrastructure: provider/host, sheets, popups, toasts, fields, buttons, pickers, tab view, tab bar, edge panel, swipe rows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -214,7 +214,7 @@
214
214
  "build": "rslib build"
215
215
  },
216
216
  "dependencies": {
217
- "@g9tm/lynxcontrols-foundation": "2.5.4"
217
+ "@g9tm/lynxcontrols-foundation": "2.5.6"
218
218
  },
219
219
  "peerDependencies": {
220
220
  "@lynx-js/react": ">=0.129.3 <0.130.0",
@@ -55,7 +55,7 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
55
55
  - `@g9tm/lynxcontrols/shell`: G9AppShell, G9ConnectionBanner, G9IconRail, G9SideNav, G9TopBar, G9UpdateBar → `components/shell.md`
56
56
  - `@g9tm/lynxcontrols/survey`: G9AllocationInput, G9ChoiceList, G9ScaleInput → `components/survey.md`
57
57
  - `@g9tm/lynxcontrols/swipe`: G9SwipeGroup, G9SwipeView → `components/swipe.md`
58
- - `@g9tm/lynxcontrols/tab-bar`: G9TabBar → `components/tab-bar.md`
58
+ - `@g9tm/lynxcontrols/tab-bar`: G9FlatTabBar, G9TabBar → `components/tab-bar.md`
59
59
  - `@g9tm/lynxcontrols/tabs`: G9TabView → `components/tabs.md`
60
60
  - `@g9tm/lynxcontrols/toggle`: G9CheckBox, G9Chip, G9ChipGroup, G9RadioGroup, G9RatingInput, G9Segmented, G9Stepper, G9Switch, G9SwitchGroup → `components/toggle.md`
61
61
 
@@ -28,10 +28,10 @@ Props:
28
28
  - `headline`: string
29
29
  - `height`: number
30
30
  - `children?`: ReactNode
31
+ - `onPress?`: () => void
32
+ - `chipIcon?`: icon
33
+ - `offColor?`: color
31
34
  - `pictureOpacity?`: number = 0.79
32
35
  - `tone?`: string
33
- - `bottomEnd?`: ReactNode
34
- - `bottomStart?`: ReactNode
35
- - `camera?`: ReactNode
36
36
 
37
37
  Example: `<G9ScanCard headline="headline" height={1} />`
@@ -8,13 +8,13 @@ Bars (SAC hourly, G9Hub admin BarChart, ShopManager Bars).
8
8
 
9
9
  Props:
10
10
  - `values`: number[]
11
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
11
12
  - `tooltip?`: (index: number) => void
12
13
  - `yFormat?`: (v: number) => void
14
+ - `compareColor?`: color
15
+ - `below?`: (built, plotWidth) => ReactNode
16
+ - `overlay?`: (built, plotWidth, height) => ReactNode
13
17
  - `color?`: color
14
- - `everyX?`: number
15
- - `height?`: number = 180
16
- - `highlightIndex?`: number
17
- - `legend?`: object[]
18
18
 
19
19
  Example: `<G9BarChart values={values} />`
20
20
 
@@ -26,13 +26,13 @@ Candlesticks (Riskara Candles): success colour up, error colour down, the last c
26
26
 
27
27
  Props:
28
28
  - `candles`: object[]
29
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
29
30
  - `tooltip?`: (index: number) => void
30
31
  - `yFormat?`: (v: number) => void
32
+ - `rangeHeight?`: number
33
+ - `below?`: (built, plotWidth) => ReactNode
34
+ - `overlay?`: (built, plotWidth, height) => ReactNode
31
35
  - `everyX?`: number
32
- - `height?`: number = 180
33
- - `legend?`: object[]
34
- - `width?`: number
35
- - `xLabels?`: string[]
36
36
 
37
37
  Example: `<G9CandleChart candles={candles} />`
38
38
 
@@ -45,12 +45,12 @@ A chart in its frame (SAC kit ChartBox): y labels on the end side in the reading
45
45
  Props:
46
46
  - `build`: (width: number, height: number, palette: G9PaletteValues) => void
47
47
  - `deps`: {}[]
48
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
48
49
  - `tooltip?`: (index: number) => void
49
50
  - `yFormat?`: (v: number) => void
51
+ - `below?`: (built, plotWidth) => ReactNode
52
+ - `overlay?`: (built, plotWidth, height) => ReactNode
50
53
  - `everyX?`: number
51
- - `height?`: number = 180
52
- - `legend?`: object[]
53
- - `width?`: number
54
54
 
55
55
  Example: `<G9ChartBox build={build} deps={deps} />`
56
56
 
@@ -64,10 +64,11 @@ Props:
64
64
  - `slices`: object[]
65
65
  - `children?`: ReactNode
66
66
  - `size?`: number = 160
67
+ - `animate?`: boolean
68
+ - `gapDeg?`: number = 2
69
+ - `glow?`: string
67
70
  - `legend?`: boolean = true
68
71
  - `thickness?`: number = 18
69
- - `width?`: number
70
- - `accessibilityLabel?`: string
71
72
 
72
73
  Example: `<G9Donut slices={slices} />`
73
74
 
@@ -79,13 +80,13 @@ A forecast fan (Riskara FanBox).
79
80
 
80
81
  Props:
81
82
  - `points`: object[]
83
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
82
84
  - `tooltip?`: (index: number) => void
83
85
  - `yFormat?`: (v: number) => void
86
+ - `below?`: (built, plotWidth) => ReactNode
87
+ - `overlay?`: (built, plotWidth, height) => ReactNode
84
88
  - `color?`: color
85
89
  - `everyX?`: number
86
- - `height?`: number = 180
87
- - `legend?`: object[]
88
- - `width?`: number
89
90
 
90
91
  Example: `<G9FanChart points={points} />`
91
92
 
@@ -99,10 +100,11 @@ Props:
99
100
  - `value`: number
100
101
  - `children?`: ReactNode
101
102
  - `size?`: number = 200
102
- - `stops?`: string[]
103
- - `thickness?`: number
104
- - `width?`: number
105
- - `accessibilityLabel?`: string
103
+ - `valueText?`: (shown: number) => void
104
+ - `endLabel?`: string
105
+ - `startLabel?`: string
106
+ - `appearance?`: 'arc' | 'ticks'
107
+ - `needleColor?`: color
106
108
 
107
109
  Example: `<G9Gauge value={1} />`
108
110
 
@@ -132,13 +134,13 @@ Lines and areas over time (SAC sales, Riskara LineBox, G9Hub insights).
132
134
 
133
135
  Props:
134
136
  - `series`: object[]
137
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
135
138
  - `tooltip?`: (index: number) => void
136
139
  - `yFormat?`: (v: number) => void
140
+ - `below?`: (built, plotWidth) => ReactNode
141
+ - `overlay?`: (built, plotWidth, height) => ReactNode
137
142
  - `everyX?`: number
138
- - `height?`: number = 180
139
- - `legend?`: boolean
140
- - `max?`: number
141
- - `min?`: number
143
+ - `floor?`: number
142
144
 
143
145
  Example: `<G9LineChart series={series} />`
144
146
 
@@ -152,7 +154,9 @@ Props:
152
154
  - `labels`: string[]
153
155
  - `values`: number[]
154
156
  - `size?`: number = 280
157
+ - `animate?`: boolean
155
158
  - `color?`: color
159
+ - `valueLabels?`: string[]
156
160
  - `width?`: number
157
161
  - `accessibilityLabel?`: string
158
162
 
@@ -166,11 +170,13 @@ A tiny trend (SAC/Riskara/ShopManager sparklines) — for KPI tiles (`G9Kpi tren
166
170
 
167
171
  Props:
168
172
  - `values`: number[]
173
+ - `strokeWidth?`: number = 1.8
174
+ - `area?`: string | boolean | boolean
169
175
  - `color?`: color
176
+ - `endDot?`: number | boolean | boolean
170
177
  - `height?`: number = 30
171
178
  - `kind?`: 'line' | 'bars'
172
179
  - `width?`: number
173
- - `accessibilityLabel?`: string
174
180
 
175
181
  Example: `<G9Sparkline values={values} />`
176
182
 
@@ -183,11 +189,11 @@ Stacked bars with a legend of the parts (SAC channel mix by day).
183
189
  Props:
184
190
  - `parts`: string[]
185
191
  - `stacks`: number[][]
192
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
186
193
  - `tooltip?`: (index: number) => void
187
194
  - `yFormat?`: (v: number) => void
195
+ - `below?`: (built, plotWidth) => ReactNode
196
+ - `overlay?`: (built, plotWidth, height) => ReactNode
188
197
  - `colors?`: string[]
189
- - `everyX?`: number
190
- - `height?`: number = 180
191
- - `width?`: number
192
198
 
193
199
  Example: `<G9StackedBarChart parts={parts} stacks={stacks} />`
@@ -12,8 +12,9 @@ Props:
12
12
  - `countText`: (count: string) => void
13
13
  - `onPress`: () => void
14
14
  - `total`: number
15
+ - `totalText?`: string
16
+ - `actionIcon?`: icon
15
17
  - `bottomOffset?`: number
16
- - `currency?`: string & {} | string | string
17
18
 
18
19
  Example: `<G9MiniCartBar actionText="actionText" count={1} countText={countText} onPress={() => {}} total={1} />`
19
20
 
@@ -62,8 +63,8 @@ Props:
62
63
  - `value`: number
63
64
  - `size?`: 'sm' | 'md'
64
65
  - `disabled?`: boolean
65
- - `outOfStockText?`: string
66
- - `block?`: boolean
67
- - `stock?`: number
66
+ - `format?`: (qty: number) => void
67
+ - `onAdd?`: (origin: { readonly x: number; readonly y: number; }) => void
68
+ - `decreaseLabel?`: string
68
69
 
69
70
  Example: `<G9QuantityControl addText="addText" onChange={() => {}} value={1} />`
@@ -24,11 +24,12 @@ A person: photo or initials in a tinted disc (SAC/ShopManager/Riskara Avatar, G9
24
24
  Props:
25
25
  - `name`: string
26
26
  - `size?`: number | string | string | string | string | string = "md"
27
+ - `icon?`: icon
28
+ - `shape?`: 'circle' | 'squircle'
27
29
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
28
30
  - `gradient?`: boolean
29
31
  - `image?`: string
30
32
  - `ring?`: string
31
- - `status?`: 'online' | 'busy' | 'away' | 'offline'
32
33
 
33
34
  Example: `<G9Avatar name="name" />`
34
35
 
@@ -80,9 +80,9 @@ Props:
80
80
  - `onError?`: () => void
81
81
  - `onLoad?`: () => void
82
82
  - `placeholderIcon?`: icon = "search"
83
+ - `placeholderIconSize?`: number
83
84
  - `radius?`: number
84
85
  - `height?`: string | number
85
- - `src?`: string
86
86
 
87
87
  Example: `<G9Photo />`
88
88
 
@@ -99,8 +99,8 @@ Props:
99
99
  - `progressType?`: 'primary' | 'success' | 'warning' | 'error' = "primary"
100
100
  - `barHeight?`: number = 10
101
101
  - `cornerRadius?`: number = 999
102
+ - `flat?`: boolean
102
103
  - `progressColor?`: color
103
- - `trackColor?`: color = "var(--g9-surface-variant)"
104
104
 
105
105
  Example: `<G9ProgressBar value={0.4} labelPlacement="end" />`
106
106
 
@@ -56,11 +56,15 @@ Example: `<G9NumberEntry />`
56
56
 
57
57
  `import { G9NumPad } from '@g9tm/lynxcontrols/fields';`
58
58
 
59
- A big numeric keypad (SAC PinPad and CodePad): works whatever the system keyboard does (an in-app browser that never opens it).
59
+ A big numeric keypad (SAC PinPad and CodePad, ShopManager's PIN screen): works whatever the system keyboard does (an in-app browser that never opens it).
60
60
 
61
61
  Props:
62
62
  - `onKey`: (key: string) => void
63
63
  - `disabled?`: boolean
64
+ - `backLabel?`: string
65
+ - `keyHeight?`: number
66
+ - `keyRadius?`: number
67
+ - `actionKey?`: object
64
68
  - `dark?`: boolean
65
69
  - `extraKey?`: string
66
70
 
@@ -97,8 +101,8 @@ Props:
97
101
  - `disabled?`: boolean
98
102
  - `type?`: 'number' | 'password' | 'letters' | 'alphanumeric' = "number"
99
103
  - `onComplete?`: (value: string) => void
100
- - `cellHeight?`: number = 52
101
- - `cellWidth?`: number = 44
104
+ - `progressLabel?`: string = "{0} / {1}"
105
+ - `appearance?`: 'dots' | 'cells'
102
106
 
103
107
  Example: `<G9PinEntry />`
104
108
 
@@ -12,8 +12,8 @@ Props:
12
12
  - `subtitle?`: string
13
13
  - `disabled?`: boolean = false
14
14
  - `onBack?`: () => void
15
- - `backLabel?`: string = "Back"
15
+ - `backLabel?`: string
16
16
  - `align?`: 'start' | 'center'
17
- - `actions?`: ReactNode
17
+ - `backIcon?`: icon
18
18
 
19
19
  Example: `<G9AppBar />`
@@ -45,7 +45,7 @@ Props:
45
45
  - `emoji?`: string
46
46
  - `image?`: object | object | object
47
47
  - `imagePath?`: string
48
- - `weight?`: number = 1
48
+ - `mirrorInRtl?`: boolean
49
49
 
50
50
  Example: `<G9IconSlot />`
51
51
 
@@ -133,7 +133,7 @@ A row of section pills that follows the page (SAC menu sections): the active one
133
133
  Props:
134
134
  - `active`: string
135
135
  - `onSelect`: (key: K) => void
136
- - `sections`: object[]
136
+ - `sections`: icon[]
137
137
 
138
138
  Example: `<G9ScrollSpyBar active="active" onSelect={() => {}} sections={sections} />`
139
139
 
@@ -22,14 +22,16 @@ Example: `<G9AppShell destinations={destinations} onChange={() => {}} value="val
22
22
 
23
23
  `import { G9ConnectionBanner } from '@g9tm/lynxcontrols/shell';`
24
24
 
25
- A slim line when the network is gone or coming back (G9Hub ConnectionBanner); a short «back online» then nothing.
25
+ A slim line when the network is gone, coming back, or slow (G9Hub ConnectionBanner); a short «back online» after it was gone, then nothing.
26
26
 
27
27
  Props:
28
28
  - `offlineText`: string
29
29
  - `reconnectingText`: string
30
- - `status`: 'online' | 'offline' | 'reconnecting'
30
+ - `status`: 'online' | 'offline' | 'reconnecting' | 'connecting' | 'poor'
31
31
  - `onRetry?`: () => void
32
32
  - `backOnlineText?`: string
33
+ - `connectingText?`: string = "reconnectingText"
34
+ - `poorText?`: string = "reconnectingText"
33
35
  - `retryText?`: string
34
36
 
35
37
  Example: `<G9ConnectionBanner offlineText="offlineText" reconnectingText="reconnectingText" status="online" />`
@@ -32,7 +32,7 @@ Props:
32
32
  - `disabled?`: boolean = false
33
33
  - `onPicked?`: (key: K) => void
34
34
  - `defaultValue?`: string[]
35
- - `max?`: number
35
+ - `layout?`: 'row' | 'cards'
36
36
 
37
37
  Example: `<G9ChoiceList options={options} />`
38
38
 
@@ -1,5 +1,23 @@
1
1
  # `@g9tm/lynxcontrols/tab-bar` (generated)
2
2
 
3
+ # G9FlatTabBar
4
+
5
+ `import { G9FlatTabBar } from '@g9tm/lynxcontrols/tab-bar';`
6
+
7
+ The flat style of `G9TabBar` (selected by `barStyle: 'flat'`).
8
+
9
+ Props:
10
+ - `items`: object[]
11
+ - `onCenterFloatingChange?`: (floating: boolean) => void
12
+ - `onFabOpenChange?`: (open: boolean) => void
13
+ - `onFabTapped?`: (args: G9TabBarFabTappedEventArgs) => void
14
+ - `onItemSelected?`: (args: G9TabBarClickContext) => void
15
+ - `onOverflowOpenChange?`: (open: boolean) => void
16
+ - `onSelectedIndexChange?`: (index: number) => void
17
+ - `overflowText?`: string
18
+
19
+ Example: `<G9FlatTabBar items={items} />`
20
+
3
21
  # G9TabBar
4
22
 
5
23
  `import { G9TabBar } from '@g9tm/lynxcontrols/tab-bar';`
@@ -120,9 +120,9 @@ Props:
120
120
  - `onChange?`: (value: number) => void
121
121
  - `disabled?`: boolean = false
122
122
  - `format?`: (value: number) => void
123
- - `appearance?`: 'plain' | 'tray'
124
- - `block?`: boolean
125
- - `defaultValue?`: number
123
+ - `decreaseLabel?`: string
124
+ - `increaseLabel?`: string
125
+ - `removeLabel?`: string = "decreaseLabel"
126
126
 
127
127
  Example: `<G9Stepper />`
128
128
 
@@ -2,6 +2,13 @@
2
2
 
3
3
  > Sheets, popups, toasts and menus render in `G9Host`'s layers, outside your own root view: CSS variables your app
4
4
  > sets for its content belong on a view AROUND `G9Host`, or they are missing inside a sheet.
5
+ >
6
+ > **The same holds for React context.** A layer is a sibling of the page under `G9Host`, so a provider you mount
7
+ > INSIDE `G9Host` (around the page) does not reach a sheet's body: React's context hook there returns the default (SAC:
8
+ > a tray sheet's own guest hook threw «GuestContext missing» and the sheet never opened). Mount app providers ABOVE
9
+ > `G9Host` (between `G9Provider` and `G9Host`). A provider that itself needs `useG9Host` must stay below: then read its
10
+ > value where the sheet is opened and pass it in (a prop, or re-provide it around the sheet's content). A body that
11
+ > only receives values from its opener is safe; one that reads context itself is not.
5
12
 
6
13
  ```tsx
7
14
  import { G9Host } from '@g9tm/lynxcontrols/host';