@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.
- package/catalog/cards/G9AppBar.md +2 -2
- package/catalog/cards/G9Avatar.md +2 -1
- package/catalog/cards/G9ChoiceList.md +1 -1
- package/catalog/cards/G9ConnectionBanner.md +4 -2
- package/catalog/cards/G9FlatTabBar.md +17 -0
- package/catalog/cards/G9IconSlot.md +1 -1
- package/catalog/cards/G9Stepper.md +1 -1
- package/catalog/catalog.json +942 -11
- package/catalog/index.md +3 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/button/button.d.ts +4 -0
- package/dist/button/button.d.ts.map +1 -1
- package/dist/button/button.jsx +8 -2
- package/dist/button/icon-button.d.ts +2 -0
- package/dist/button/icon-button.d.ts.map +1 -1
- package/dist/button/icon-button.jsx +3 -1
- package/dist/display/figures.d.ts +13 -0
- package/dist/display/figures.d.ts.map +1 -1
- package/dist/display/figures.jsx +43 -12
- package/dist/effects/effects.css +6 -0
- package/dist/effects/effects.css.map +1 -1
- package/dist/effects/effects.d.ts +9 -0
- package/dist/effects/effects.d.ts.map +1 -1
- package/dist/effects/effects.jsx +47 -0
- package/dist/fields/editor.d.ts.map +1 -1
- package/dist/fields/editor.jsx +3 -0
- package/dist/fields/outlined-field.d.ts +5 -0
- package/dist/fields/outlined-field.d.ts.map +1 -1
- package/dist/fields/text-entry.jsx +1 -1
- package/dist/header/app-bar.d.ts +7 -1
- package/dist/header/app-bar.d.ts.map +1 -1
- package/dist/header/app-bar.jsx +9 -3
- package/dist/icon/icon.css +0 -1
- package/dist/icon/icon.css.map +1 -1
- package/dist/icon/icon.d.ts.map +1 -1
- package/dist/icon/icon.jsx +2 -1
- package/dist/icon/slot.d.ts +2 -0
- package/dist/icon/slot.d.ts.map +1 -1
- package/dist/icon/slot.jsx +2 -0
- package/dist/layout/scroll-spy.d.ts.map +1 -1
- package/dist/layout/scroll-spy.jsx +4 -2
- package/dist/list/index.d.ts +1 -1
- package/dist/list/index.d.ts.map +1 -1
- package/dist/list/index.jsx +1 -1
- package/dist/list/list.css +6 -0
- package/dist/list/list.css.map +1 -1
- package/dist/list/virtual-list.d.ts +52 -1
- package/dist/list/virtual-list.d.ts.map +1 -1
- package/dist/list/virtual-list.jsx +123 -18
- package/dist/shell/shell.css +1 -0
- package/dist/shell/shell.css.map +1 -1
- package/dist/shell/shell.d.ts +14 -2
- package/dist/shell/shell.d.ts.map +1 -1
- package/dist/shell/shell.jsx +6 -5
- package/dist/survey/survey.css +56 -0
- package/dist/survey/survey.css.map +1 -1
- package/dist/survey/survey.d.ts +9 -0
- package/dist/survey/survey.d.ts.map +1 -1
- package/dist/survey/survey.jsx +29 -1
- package/dist/tab-bar/flat.d.ts +18 -0
- package/dist/tab-bar/flat.d.ts.map +1 -0
- package/dist/tab-bar/flat.jsx +110 -0
- package/dist/tab-bar/index.d.ts +1 -0
- package/dist/tab-bar/index.d.ts.map +1 -1
- package/dist/tab-bar/index.jsx +1 -0
- package/dist/tab-bar/metrics.d.ts +8 -2
- package/dist/tab-bar/metrics.d.ts.map +1 -1
- package/dist/tab-bar/metrics.jsx +12 -1
- package/dist/tab-bar/tab-bar.css +77 -0
- package/dist/tab-bar/tab-bar.css.map +1 -1
- package/dist/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/tab-bar/tab-bar.jsx +4 -0
- package/dist/toggle/choice.d.ts +2 -0
- package/dist/toggle/choice.d.ts.map +1 -1
- package/dist/toggle/choice.jsx +3 -2
- package/package.json +2 -2
- package/skills/g9-lynx-app/references/catalog-index.md +1 -1
- package/skills/g9-lynx-app/references/components/barcode.md +3 -3
- package/skills/g9-lynx-app/references/components/charts.md +1 -1
- package/skills/g9-lynx-app/references/components/commerce.md +4 -4
- package/skills/g9-lynx-app/references/components/display-1.md +2 -1
- package/skills/g9-lynx-app/references/components/header.md +2 -2
- package/skills/g9-lynx-app/references/components/icon.md +1 -1
- package/skills/g9-lynx-app/references/components/shell.md +4 -2
- package/skills/g9-lynx-app/references/components/survey.md +1 -1
- package/skills/g9-lynx-app/references/components/tab-bar.md +18 -0
- package/skills/g9-lynx-app/references/components/toggle.md +1 -1
- package/skills/g9-lynx-app/references/provider-and-host.md +7 -0
|
@@ -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';`
|
|
@@ -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';
|