@g9tm/lynxcontrols 2.5.15 → 2.5.17
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/G9CultureDateTimeLabel.md +1 -0
- package/catalog/cards/G9RangeSlider.md +1 -1
- package/catalog/cards/G9SearchEntry.md +1 -1
- package/catalog/cards/G9TextEntry.md +1 -1
- package/catalog/catalog.json +46 -8
- package/catalog/index.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/appearance/appearance.d.ts.map +1 -1
- package/dist/appearance/appearance.jsx +64 -7
- package/dist/appearance/token-editor.d.ts.map +1 -1
- package/dist/appearance/token-editor.jsx +12 -2
- package/dist/dashboard/dashboard.d.ts.map +1 -1
- package/dist/dashboard/dashboard.jsx +14 -2
- package/dist/display/culture-date-time-label.d.ts +4 -0
- package/dist/display/culture-date-time-label.d.ts.map +1 -1
- package/dist/display/culture-date-time-label.jsx +10 -3
- package/dist/display/data-uri.d.ts +5 -0
- package/dist/display/data-uri.d.ts.map +1 -1
- package/dist/display/data-uri.jsx +2 -1
- package/dist/display/index.d.ts +1 -0
- package/dist/display/index.d.ts.map +1 -1
- package/dist/display/index.jsx +1 -0
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/index.jsx +1 -1
- package/dist/layout/scrollers.d.ts +33 -0
- package/dist/layout/scrollers.d.ts.map +1 -1
- package/dist/layout/scrollers.jsx +55 -1
- package/dist/list/gestures.d.ts.map +1 -1
- package/dist/list/gestures.jsx +12 -6
- package/dist/list/list.css +4 -1
- package/dist/list/list.css.map +1 -1
- package/dist/list/rows.d.ts.map +1 -1
- package/dist/list/rows.jsx +4 -3
- package/dist/notifications/notification-center.d.ts.map +1 -1
- package/dist/notifications/notification-center.jsx +26 -4
- package/dist/popover/popover.d.ts.map +1 -1
- package/dist/popover/popover.jsx +6 -2
- package/dist/provider/hooks.d.ts +6 -1
- package/dist/provider/hooks.d.ts.map +1 -1
- package/dist/provider/hooks.jsx +9 -2
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.jsx +1 -1
- package/dist/survey/survey.d.ts.map +1 -1
- package/dist/survey/survey.jsx +5 -1
- package/package.json +2 -2
- package/skills/g9-lynx-app/references/components/barcode.md +1 -1
- package/skills/g9-lynx-app/references/components/charts.md +6 -6
- package/skills/g9-lynx-app/references/components/display-1.md +1 -0
- package/skills/g9-lynx-app/references/components/fields.md +2 -2
- package/skills/g9-lynx-app/references/components/native-media.md +1 -1
- package/skills/g9-lynx-app/references/components/range-slider.md +1 -1
|
@@ -10,6 +10,7 @@ Props:
|
|
|
10
10
|
- `displayMode?`: 'dateTime' | 'date' | 'time' | 'relative' | 'relativeDay' = "dateTime"
|
|
11
11
|
- `relativeDayNow?`: () => void
|
|
12
12
|
- `emptyText?`: string = ""
|
|
13
|
+
- `digits?`: 'latin' | 'culture'
|
|
13
14
|
- `utcOffsetMinutes?`: number = 0
|
|
14
15
|
- `accessibilityLabel?`: string
|
|
15
16
|
|
|
@@ -9,7 +9,7 @@ Props:
|
|
|
9
9
|
- `value?`: number
|
|
10
10
|
- `onValueChange?`: (value: number) => void
|
|
11
11
|
- `disabled?`: boolean
|
|
12
|
-
- `mode?`: '
|
|
12
|
+
- `mode?`: 'range' | 'single' = "range"
|
|
13
13
|
- `formatValue?`: (value: number) => void
|
|
14
14
|
- `onRangeChange?`: (start: number, end: number) => void
|
|
15
15
|
- `onValueChanged?`: (value: number) => void
|
|
@@ -11,7 +11,7 @@ Props:
|
|
|
11
11
|
- `placeholder?`: string
|
|
12
12
|
- `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
|
|
13
13
|
- `disabled?`: boolean = false
|
|
14
|
-
- `confirmType?`: 'search' | 'done' | 'send' | '
|
|
14
|
+
- `confirmType?`: 'search' | 'done' | 'send' | 'next' | 'go' = "done"
|
|
15
15
|
- `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
|
|
16
16
|
|
|
17
17
|
Example: `<G9SearchEntry />`
|
|
@@ -11,7 +11,7 @@ Props:
|
|
|
11
11
|
- `placeholder?`: string
|
|
12
12
|
- `onValueChange?`: (value: string, details: G9ValueChangeDetails) => void
|
|
13
13
|
- `disabled?`: boolean = false
|
|
14
|
-
- `confirmType?`: 'search' | 'done' | 'send' | '
|
|
14
|
+
- `confirmType?`: 'search' | 'done' | 'send' | 'next' | 'go' = "done"
|
|
15
15
|
- `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
|
|
16
16
|
|
|
17
17
|
Example: `<G9TextEntry />`
|
package/catalog/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogVersion": 1,
|
|
3
3
|
"package": "@g9tm/lynxcontrols",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.17",
|
|
5
5
|
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
6
|
"components": [
|
|
7
7
|
{
|
|
@@ -8894,6 +8894,20 @@
|
|
|
8894
8894
|
"role": "appearance",
|
|
8895
8895
|
"doc": "Extra class on the control root (Tailwind utilities, an app's own class)."
|
|
8896
8896
|
},
|
|
8897
|
+
{
|
|
8898
|
+
"name": "digits",
|
|
8899
|
+
"type": {
|
|
8900
|
+
"kind": "enum",
|
|
8901
|
+
"values": [
|
|
8902
|
+
"latin",
|
|
8903
|
+
"culture"
|
|
8904
|
+
]
|
|
8905
|
+
},
|
|
8906
|
+
"required": false,
|
|
8907
|
+
"serializable": true,
|
|
8908
|
+
"role": "behaviour",
|
|
8909
|
+
"doc": "Latin digits (`'latin'`, default — as the MAUI label) or the culture's («۱۴۰۵/۰۱/۰۲»; 2.5.16, LC-28)."
|
|
8910
|
+
},
|
|
8897
8911
|
{
|
|
8898
8912
|
"name": "disabled",
|
|
8899
8913
|
"type": {
|
|
@@ -32351,8 +32365,8 @@
|
|
|
32351
32365
|
"type": {
|
|
32352
32366
|
"kind": "enum",
|
|
32353
32367
|
"values": [
|
|
32354
|
-
"
|
|
32355
|
-
"
|
|
32368
|
+
"range",
|
|
32369
|
+
"single"
|
|
32356
32370
|
]
|
|
32357
32371
|
},
|
|
32358
32372
|
"required": false,
|
|
@@ -35573,8 +35587,8 @@
|
|
|
35573
35587
|
"search",
|
|
35574
35588
|
"done",
|
|
35575
35589
|
"send",
|
|
35576
|
-
"
|
|
35577
|
-
"
|
|
35590
|
+
"next",
|
|
35591
|
+
"go"
|
|
35578
35592
|
]
|
|
35579
35593
|
},
|
|
35580
35594
|
"required": false,
|
|
@@ -43772,8 +43786,8 @@
|
|
|
43772
43786
|
"search",
|
|
43773
43787
|
"done",
|
|
43774
43788
|
"send",
|
|
43775
|
-
"
|
|
43776
|
-
"
|
|
43789
|
+
"next",
|
|
43790
|
+
"go"
|
|
43777
43791
|
]
|
|
43778
43792
|
},
|
|
43779
43793
|
"required": false,
|
|
@@ -55182,6 +55196,14 @@
|
|
|
55182
55196
|
"signature": "G9SuccessHeaderProps",
|
|
55183
55197
|
"summary": "Props of `G9SuccessHeader`."
|
|
55184
55198
|
},
|
|
55199
|
+
{
|
|
55200
|
+
"id": "controls.display.g9SvgFromDataUri",
|
|
55201
|
+
"export": "g9SvgFromDataUri",
|
|
55202
|
+
"from": "@g9tm/lynxcontrols/display",
|
|
55203
|
+
"kind": "function",
|
|
55204
|
+
"signature": "(src: string | null | undefined): string | null",
|
|
55205
|
+
"summary": "The SVG document a `data:image/svg+xml` address carries, or null (2.5.16, LC-32): a component that shows an app's picture draws it with `<svg content>` when this is not null — Android's image pipeline decodes bitmaps only."
|
|
55206
|
+
},
|
|
55185
55207
|
{
|
|
55186
55208
|
"id": "controls.icon.g9SwatchDefaultSize",
|
|
55187
55209
|
"export": "g9SwatchDefaultSize",
|
|
@@ -56955,7 +56977,7 @@
|
|
|
56955
56977
|
"export": "sheetSurfaceTopPadding",
|
|
56956
56978
|
"from": "@g9tm/lynxcontrols/sheet",
|
|
56957
56979
|
"kind": "function",
|
|
56958
|
-
"signature": "(options: G9SheetOptions, layout: Pick<G9SheetLayout, \"
|
|
56980
|
+
"signature": "(options: G9SheetOptions, layout: Pick<G9SheetLayout, \"fit\" | \"fullScreen\">, resting: \"fit\" | G9SheetDetent, topInset: number, hostHeight: number): number",
|
|
56959
56981
|
"summary": "Top padding of the sheet surface where it rests. A full-screen sheet always reserves `sheetTopPadding`. A detent sheet resting at its `large` detent reserves it too when that detent reaches under the top inset (MAUI state-aware top padding, `G9BottomSheetHelper.ApplyStateAwareTopPadding`): its content never sits under the status bar or the camera cutout. Opted out like MAUI: `useTopSafeAreaPadding: false` with no additional/override padding."
|
|
56960
56982
|
},
|
|
56961
56983
|
{
|
|
@@ -57806,6 +57828,14 @@
|
|
|
57806
57828
|
"signature": "(): G9RouteSink | null",
|
|
57807
57829
|
"summary": "The route sink of the provider (`services.route`), or null without one."
|
|
57808
57830
|
},
|
|
57831
|
+
{
|
|
57832
|
+
"id": "controls.layout.useG9RtlScrollStart",
|
|
57833
|
+
"export": "useG9RtlScrollStart",
|
|
57834
|
+
"from": "@g9tm/lynxcontrols/layout",
|
|
57835
|
+
"kind": "hook",
|
|
57836
|
+
"signature": "(rtl: boolean, target: () => G9ScrollTarget | null | undefined): { readonly onBox: (e: { detail: { width: number; }; }) => void; readonly onRun: (e: { detail: { width: number; }; }) => void; readonly onTouch: () => void; readonly box: () => number; }",
|
|
57837
|
+
"summary": "Opens a horizontal scroller at its READING start right to left (2.5.16, G9Singularity LC-29): a mirrored row (its first item at the physical right) sits in a scroller whose offset 0 is the left, so it opened on its LAST item. Give `onBox` to the scroller's `bindlayoutchange` and `onRun` to its content's; once both widths are known (and again when they change) the scroller is moved to its far end, a frame later (a scrollTo in the layout pass is clamped to the old content size). `box()` is the scroller's measured width. Nothing happens left to right."
|
|
57838
|
+
},
|
|
57809
57839
|
{
|
|
57810
57840
|
"id": "controls.provider.useG9SafeInsets",
|
|
57811
57841
|
"export": "useG9SafeInsets",
|
|
@@ -57910,6 +57940,14 @@
|
|
|
57910
57940
|
"signature": "(): G9WindowInfo",
|
|
57911
57941
|
"summary": "The window size (MAUI `G9ScreenHelper`); re-renders on `onWindowResize`."
|
|
57912
57942
|
},
|
|
57943
|
+
{
|
|
57944
|
+
"id": "controls.provider.useG9Word",
|
|
57945
|
+
"export": "useG9Word",
|
|
57946
|
+
"from": "@g9tm/lynxcontrols/provider",
|
|
57947
|
+
"kind": "hook",
|
|
57948
|
+
"signature": "(): (key: \"pinned\" | \"search\" | \"zoomIn\" | \"close\" | \"online\" | \"save\" | \"retry\" | \"clear\" | \"delete\" | \"all\" | \"more\" | \"react\" | \"reply\" | \"send\" | \"unreadMessages\" | \"downloaded\" | \"expired\" | \"download\" | \"previous\" | \"next\" | \"reorder\" | \"fit\" | \"myLocation\" | \"zoomOut\" | \"play\" | \"pause\" | \"mute\" | \"unmute\" | \"average\" | \"range\" | \"detractors\" | \"passives\" | \"promoters\" | \"live\" | \"bytes\" | ",
|
|
57949
|
+
"summary": "The words of the library's own components in the culture's language (2.5.16, LC-30): `word('play')` is «پخش» under `fa`. The app's string provider is asked first (`word.play`), then the built-in table of the language, then English."
|
|
57950
|
+
},
|
|
57913
57951
|
{
|
|
57914
57952
|
"id": "controls.fields.useOutlinedField",
|
|
57915
57953
|
"export": "useOutlinedField",
|
package/catalog/index.md
CHANGED