@g9tm/lynxcontrols 2.5.5 → 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 (88) 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/G9Stepper.md +1 -1
  8. package/catalog/catalog.json +942 -11
  9. package/catalog/index.md +3 -2
  10. package/dist/.tsbuildinfo +1 -1
  11. package/dist/button/button.d.ts +4 -0
  12. package/dist/button/button.d.ts.map +1 -1
  13. package/dist/button/button.jsx +8 -2
  14. package/dist/button/icon-button.d.ts +2 -0
  15. package/dist/button/icon-button.d.ts.map +1 -1
  16. package/dist/button/icon-button.jsx +3 -1
  17. package/dist/display/figures.d.ts +13 -0
  18. package/dist/display/figures.d.ts.map +1 -1
  19. package/dist/display/figures.jsx +43 -12
  20. package/dist/effects/effects.css +6 -0
  21. package/dist/effects/effects.css.map +1 -1
  22. package/dist/effects/effects.d.ts +9 -0
  23. package/dist/effects/effects.d.ts.map +1 -1
  24. package/dist/effects/effects.jsx +47 -0
  25. package/dist/fields/editor.d.ts.map +1 -1
  26. package/dist/fields/editor.jsx +3 -0
  27. package/dist/fields/outlined-field.d.ts +5 -0
  28. package/dist/fields/outlined-field.d.ts.map +1 -1
  29. package/dist/fields/text-entry.jsx +1 -1
  30. package/dist/header/app-bar.d.ts +7 -1
  31. package/dist/header/app-bar.d.ts.map +1 -1
  32. package/dist/header/app-bar.jsx +9 -3
  33. package/dist/icon/icon.css +0 -1
  34. package/dist/icon/icon.css.map +1 -1
  35. package/dist/icon/icon.d.ts.map +1 -1
  36. package/dist/icon/icon.jsx +2 -1
  37. package/dist/icon/slot.d.ts +2 -0
  38. package/dist/icon/slot.d.ts.map +1 -1
  39. package/dist/icon/slot.jsx +2 -0
  40. package/dist/layout/scroll-spy.d.ts.map +1 -1
  41. package/dist/layout/scroll-spy.jsx +4 -2
  42. package/dist/list/index.d.ts +1 -1
  43. package/dist/list/index.d.ts.map +1 -1
  44. package/dist/list/index.jsx +1 -1
  45. package/dist/list/list.css +6 -0
  46. package/dist/list/list.css.map +1 -1
  47. package/dist/list/virtual-list.d.ts +52 -1
  48. package/dist/list/virtual-list.d.ts.map +1 -1
  49. package/dist/list/virtual-list.jsx +123 -18
  50. package/dist/shell/shell.css +1 -0
  51. package/dist/shell/shell.css.map +1 -1
  52. package/dist/shell/shell.d.ts +14 -2
  53. package/dist/shell/shell.d.ts.map +1 -1
  54. package/dist/shell/shell.jsx +6 -5
  55. package/dist/survey/survey.css +56 -0
  56. package/dist/survey/survey.css.map +1 -1
  57. package/dist/survey/survey.d.ts +9 -0
  58. package/dist/survey/survey.d.ts.map +1 -1
  59. package/dist/survey/survey.jsx +29 -1
  60. package/dist/tab-bar/flat.d.ts +18 -0
  61. package/dist/tab-bar/flat.d.ts.map +1 -0
  62. package/dist/tab-bar/flat.jsx +110 -0
  63. package/dist/tab-bar/index.d.ts +1 -0
  64. package/dist/tab-bar/index.d.ts.map +1 -1
  65. package/dist/tab-bar/index.jsx +1 -0
  66. package/dist/tab-bar/metrics.d.ts +8 -2
  67. package/dist/tab-bar/metrics.d.ts.map +1 -1
  68. package/dist/tab-bar/metrics.jsx +12 -1
  69. package/dist/tab-bar/tab-bar.css +77 -0
  70. package/dist/tab-bar/tab-bar.css.map +1 -1
  71. package/dist/tab-bar/tab-bar.d.ts.map +1 -1
  72. package/dist/tab-bar/tab-bar.jsx +4 -0
  73. package/dist/toggle/choice.d.ts +2 -0
  74. package/dist/toggle/choice.d.ts.map +1 -1
  75. package/dist/toggle/choice.jsx +3 -2
  76. package/package.json +2 -2
  77. package/skills/g9-lynx-app/references/catalog-index.md +1 -1
  78. package/skills/g9-lynx-app/references/components/barcode.md +3 -3
  79. package/skills/g9-lynx-app/references/components/charts.md +1 -1
  80. package/skills/g9-lynx-app/references/components/commerce.md +4 -4
  81. package/skills/g9-lynx-app/references/components/display-1.md +2 -1
  82. package/skills/g9-lynx-app/references/components/header.md +2 -2
  83. package/skills/g9-lynx-app/references/components/icon.md +1 -1
  84. package/skills/g9-lynx-app/references/components/shell.md +4 -2
  85. package/skills/g9-lynx-app/references/components/survey.md +1 -1
  86. package/skills/g9-lynx-app/references/components/tab-bar.md +18 -0
  87. package/skills/g9-lynx-app/references/components/toggle.md +1 -1
  88. package/skills/g9-lynx-app/references/provider-and-host.md +7 -0
@@ -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';`
@@ -122,7 +122,7 @@ Props:
122
122
  - `format?`: (value: number) => void
123
123
  - `decreaseLabel?`: string
124
124
  - `increaseLabel?`: string
125
- - `valueLabel?`: string | (value: number) => void
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';