@g9tm/lynxcontrols 2.5.4 → 2.5.5
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/G9NumPad.md +5 -1
- package/catalog/cards/G9Photo.md +1 -1
- package/catalog/cards/G9PinEntry.md +2 -2
- package/catalog/cards/G9ProgressBar.md +1 -1
- package/catalog/cards/G9ScrollSpyBar.md +1 -1
- package/catalog/cards/G9Stepper.md +3 -3
- package/catalog/catalog.json +401 -30
- package/catalog/index.md +2 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/anchor/context.d.ts +5 -0
- package/dist/anchor/context.d.ts.map +1 -1
- package/dist/anchor/context.jsx +2 -1
- package/dist/anchor/hooks.d.ts.map +1 -1
- package/dist/anchor/hooks.jsx +6 -1
- package/dist/anchor/index.d.ts +1 -1
- package/dist/anchor/index.d.ts.map +1 -1
- package/dist/anchor/index.jsx +1 -1
- package/dist/anchor/registry.d.ts +5 -0
- package/dist/anchor/registry.d.ts.map +1 -1
- package/dist/display/display.css +1 -1
- package/dist/display/display.css.map +1 -1
- package/dist/display/motion-figures.d.ts +7 -0
- package/dist/display/motion-figures.d.ts.map +1 -1
- package/dist/display/motion-figures.jsx +14 -5
- package/dist/display/progress-bar.d.ts +5 -0
- package/dist/display/progress-bar.d.ts.map +1 -1
- package/dist/display/progress-bar.jsx +6 -2
- package/dist/display/shimmer.jsx +1 -1
- package/dist/fields/extra-entries.css +13 -0
- package/dist/fields/extra-entries.css.map +1 -1
- package/dist/fields/extra-entries.d.ts +25 -3
- package/dist/fields/extra-entries.d.ts.map +1 -1
- package/dist/fields/extra-entries.jsx +48 -9
- package/dist/fields/fields.css +18 -0
- package/dist/fields/fields.css.map +1 -1
- package/dist/fields/outlined-field.d.ts +5 -0
- package/dist/fields/outlined-field.d.ts.map +1 -1
- package/dist/fields/pin-entry.d.ts +21 -0
- package/dist/fields/pin-entry.d.ts.map +1 -1
- package/dist/fields/pin-entry.jsx +17 -8
- package/dist/fields/use-text-input.d.ts +2 -0
- package/dist/fields/use-text-input.d.ts.map +1 -1
- package/dist/fields/use-text-input.jsx +3 -1
- package/dist/header/app-bar.d.ts.map +1 -1
- package/dist/header/app-bar.jsx +4 -4
- package/dist/host/bottom-overlays.d.ts +11 -0
- package/dist/host/bottom-overlays.d.ts.map +1 -0
- package/dist/host/bottom-overlays.jsx +18 -0
- package/dist/host/context.d.ts +4 -0
- package/dist/host/context.d.ts.map +1 -0
- package/dist/host/context.jsx +3 -0
- package/dist/host/host.d.ts +3 -3
- package/dist/host/host.d.ts.map +1 -1
- package/dist/host/host.jsx +1 -1
- package/dist/layout/scroll-spy.d.ts +5 -0
- package/dist/layout/scroll-spy.d.ts.map +1 -1
- package/dist/layout/scroll-spy.jsx +14 -5
- package/dist/layout/scrollers.d.ts +5 -0
- package/dist/layout/scrollers.d.ts.map +1 -1
- package/dist/layout/scrollers.jsx +23 -3
- package/dist/provider/provider.css +1 -1
- package/dist/provider/provider.css.map +1 -1
- package/dist/range-slider/range-slider.css +14 -14
- package/dist/range-slider/range-slider.css.map +1 -1
- package/dist/range-slider/step-slider.jsx +8 -8
- package/dist/survey/survey.d.ts.map +1 -1
- package/dist/survey/survey.jsx +15 -5
- package/dist/tabs/tab-view.d.ts.map +1 -1
- package/dist/tabs/tab-view.jsx +10 -3
- package/dist/toast/service.d.ts.map +1 -1
- package/dist/toast/service.jsx +7 -0
- package/dist/toggle/chip-group.d.ts.map +1 -1
- package/dist/toggle/chip-group.jsx +2 -1
- package/dist/toggle/choice.d.ts +8 -0
- package/dist/toggle/choice.d.ts.map +1 -1
- package/dist/toggle/choice.jsx +12 -9
- package/package.json +2 -2
- package/skills/g9-lynx-app/references/components/charts.md +34 -28
- package/skills/g9-lynx-app/references/components/commerce.md +1 -0
- package/skills/g9-lynx-app/references/components/display-2.md +2 -2
- package/skills/g9-lynx-app/references/components/fields.md +7 -3
- package/skills/g9-lynx-app/references/components/layout-1.md +1 -1
- package/skills/g9-lynx-app/references/components/toggle.md +3 -3
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.5",
|
|
5
5
|
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
6
|
"components": [
|
|
7
7
|
{
|
|
@@ -5407,6 +5407,16 @@
|
|
|
5407
5407
|
"summary": "Searchable single or multi selection in an outlined box (MAUI `G9ComboBox`). The sheet always has search. Single: only a pick writes the value; a dismissal leaves it. Multi: Done commits, and so does dismissing a sheet whose selection changed; an untouched dismissal writes nothing. The box shows the value (icon or swatch + text), or up to two chips and a `+N` chip; with `clearButton` the trailing search glyph becomes × while there is a value and a tap on it clears without opening. A result that arrives after the field unmounted, or after a newer open, is dropped.",
|
|
5408
5408
|
"since": null,
|
|
5409
5409
|
"props": [
|
|
5410
|
+
{
|
|
5411
|
+
"name": "accessibilityLabel",
|
|
5412
|
+
"type": {
|
|
5413
|
+
"kind": "string"
|
|
5414
|
+
},
|
|
5415
|
+
"required": false,
|
|
5416
|
+
"serializable": true,
|
|
5417
|
+
"role": "identity",
|
|
5418
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
5419
|
+
},
|
|
5410
5420
|
{
|
|
5411
5421
|
"name": "allowMultiple",
|
|
5412
5422
|
"type": {
|
|
@@ -6236,6 +6246,7 @@
|
|
|
6236
6246
|
"accessibility": {
|
|
6237
6247
|
"labelFrom": [
|
|
6238
6248
|
"label",
|
|
6249
|
+
"accessibilityLabel",
|
|
6239
6250
|
"placeholder"
|
|
6240
6251
|
],
|
|
6241
6252
|
"labelRequired": false
|
|
@@ -7328,6 +7339,16 @@
|
|
|
7328
7339
|
"summary": "Date, time or date-time in an outlined box (MAUI `G9DateTimePicker`): a tap opens the drum sheet (Cancel, title, Done, live preview, Today/Now, day/month/year and hour/minute wheels). The calendar follows the language (`fa` → Persian) unless `calendar` is set; the value stays Gregorian. Min/max clamp the drums (they roll onto the clamped value); a day past the month's end clamps to its last day. Done writes the value and fires `onDateTimeSelected`; Cancel and dismissals write nothing (see `restoreOnCancel`). Must be inside a `G9Host`.",
|
|
7329
7340
|
"since": null,
|
|
7330
7341
|
"props": [
|
|
7342
|
+
{
|
|
7343
|
+
"name": "accessibilityLabel",
|
|
7344
|
+
"type": {
|
|
7345
|
+
"kind": "string"
|
|
7346
|
+
},
|
|
7347
|
+
"required": false,
|
|
7348
|
+
"serializable": true,
|
|
7349
|
+
"role": "identity",
|
|
7350
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
7351
|
+
},
|
|
7331
7352
|
{
|
|
7332
7353
|
"name": "alwaysFloat",
|
|
7333
7354
|
"type": {
|
|
@@ -8326,6 +8347,7 @@
|
|
|
8326
8347
|
"accessibility": {
|
|
8327
8348
|
"labelFrom": [
|
|
8328
8349
|
"label",
|
|
8350
|
+
"accessibilityLabel",
|
|
8329
8351
|
"placeholder"
|
|
8330
8352
|
],
|
|
8331
8353
|
"labelRequired": false
|
|
@@ -10138,6 +10160,16 @@
|
|
|
10138
10160
|
"summary": "Multi-line outlined text area (MAUI `G9Editor`): the text-entry behaviour on a `<textarea>`, a microphone pinned to the bottom-end corner whenever dictation is available, height from `minimumEditorHeight`/`maxEditorHeight`/ `autoSize`. Validates on blur only for email/url/custom types (no `validator`, as in MAUI). Requires the host's `xelement-input` registration.",
|
|
10139
10161
|
"since": null,
|
|
10140
10162
|
"props": [
|
|
10163
|
+
{
|
|
10164
|
+
"name": "accessibilityLabel",
|
|
10165
|
+
"type": {
|
|
10166
|
+
"kind": "string"
|
|
10167
|
+
},
|
|
10168
|
+
"required": false,
|
|
10169
|
+
"serializable": true,
|
|
10170
|
+
"role": "identity",
|
|
10171
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
10172
|
+
},
|
|
10141
10173
|
{
|
|
10142
10174
|
"name": "allowedCharsPattern",
|
|
10143
10175
|
"type": {
|
|
@@ -11114,6 +11146,7 @@
|
|
|
11114
11146
|
"accessibility": {
|
|
11115
11147
|
"labelFrom": [
|
|
11116
11148
|
"label",
|
|
11149
|
+
"accessibilityLabel",
|
|
11117
11150
|
"placeholder"
|
|
11118
11151
|
],
|
|
11119
11152
|
"labelRequired": false
|
|
@@ -12168,6 +12201,8 @@
|
|
|
12168
12201
|
"Error",
|
|
12169
12202
|
"InputBackground",
|
|
12170
12203
|
"InputBorder",
|
|
12204
|
+
"OnPrimary",
|
|
12205
|
+
"Primary",
|
|
12171
12206
|
"SurfaceContainerHigh",
|
|
12172
12207
|
"TextPrimary",
|
|
12173
12208
|
"TextSecondary",
|
|
@@ -17287,6 +17322,16 @@
|
|
|
17287
17322
|
"summary": "THE number field (SAC NumIn, G9Hub NumberField, prices and quantities everywhere): thousands grouped while the person types, Persian digits on a Persian screen (drawn by the native field; the element and every value event stay ASCII), the caret kept after the digit just typed, min/max applied on blur. The keyboard is the phone pad: digits and the grouping comma (`type=\"digit\"` would drop the comma).",
|
|
17288
17323
|
"since": null,
|
|
17289
17324
|
"props": [
|
|
17325
|
+
{
|
|
17326
|
+
"name": "accessibilityLabel",
|
|
17327
|
+
"type": {
|
|
17328
|
+
"kind": "string"
|
|
17329
|
+
},
|
|
17330
|
+
"required": false,
|
|
17331
|
+
"serializable": true,
|
|
17332
|
+
"role": "identity",
|
|
17333
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
17334
|
+
},
|
|
17290
17335
|
{
|
|
17291
17336
|
"name": "allowNegative",
|
|
17292
17337
|
"type": {
|
|
@@ -17919,6 +17964,7 @@
|
|
|
17919
17964
|
"accessibility": {
|
|
17920
17965
|
"labelFrom": [
|
|
17921
17966
|
"label",
|
|
17967
|
+
"accessibilityLabel",
|
|
17922
17968
|
"placeholder"
|
|
17923
17969
|
],
|
|
17924
17970
|
"labelRequired": false
|
|
@@ -17940,6 +17986,8 @@
|
|
|
17940
17986
|
"Error",
|
|
17941
17987
|
"InputBackground",
|
|
17942
17988
|
"InputBorder",
|
|
17989
|
+
"OnPrimary",
|
|
17990
|
+
"Primary",
|
|
17943
17991
|
"SurfaceContainerHigh",
|
|
17944
17992
|
"TextPrimary",
|
|
17945
17993
|
"TextSecondary",
|
|
@@ -17956,9 +18004,109 @@
|
|
|
17956
18004
|
"from": "@g9tm/lynxcontrols/fields",
|
|
17957
18005
|
"kind": "component",
|
|
17958
18006
|
"family": "fields",
|
|
17959
|
-
"summary": "A big numeric keypad (SAC PinPad and CodePad): works whatever the system keyboard does (an in-app browser that never opens it). Digits follow the culture; every key is a
|
|
18007
|
+
"summary": "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). Digits and their accessibility labels follow the culture; every key is a large target with a tick haptic. An `actionKey` adds a filled main key to the bottom row.",
|
|
17960
18008
|
"since": null,
|
|
17961
18009
|
"props": [
|
|
18010
|
+
{
|
|
18011
|
+
"name": "actionKey",
|
|
18012
|
+
"type": {
|
|
18013
|
+
"kind": "object",
|
|
18014
|
+
"fields": [
|
|
18015
|
+
{
|
|
18016
|
+
"name": "label",
|
|
18017
|
+
"required": false,
|
|
18018
|
+
"type": {
|
|
18019
|
+
"kind": "string"
|
|
18020
|
+
},
|
|
18021
|
+
"serializable": true
|
|
18022
|
+
},
|
|
18023
|
+
{
|
|
18024
|
+
"name": "icon",
|
|
18025
|
+
"required": false,
|
|
18026
|
+
"type": {
|
|
18027
|
+
"kind": "union",
|
|
18028
|
+
"of": [
|
|
18029
|
+
{
|
|
18030
|
+
"kind": "string"
|
|
18031
|
+
},
|
|
18032
|
+
{
|
|
18033
|
+
"kind": "unknown",
|
|
18034
|
+
"text": "G9GlyphIcon"
|
|
18035
|
+
},
|
|
18036
|
+
{
|
|
18037
|
+
"kind": "unknown",
|
|
18038
|
+
"text": "G9FontCodePointIcon"
|
|
18039
|
+
},
|
|
18040
|
+
{
|
|
18041
|
+
"kind": "unknown",
|
|
18042
|
+
"text": "G9FontTextIcon"
|
|
18043
|
+
},
|
|
18044
|
+
{
|
|
18045
|
+
"kind": "unknown",
|
|
18046
|
+
"text": "G9SvgIcon"
|
|
18047
|
+
},
|
|
18048
|
+
{
|
|
18049
|
+
"kind": "unknown",
|
|
18050
|
+
"text": "G9ImageIcon"
|
|
18051
|
+
}
|
|
18052
|
+
]
|
|
18053
|
+
},
|
|
18054
|
+
"serializable": false
|
|
18055
|
+
},
|
|
18056
|
+
{
|
|
18057
|
+
"name": "onPress",
|
|
18058
|
+
"required": true,
|
|
18059
|
+
"type": {
|
|
18060
|
+
"kind": "event",
|
|
18061
|
+
"payload": null
|
|
18062
|
+
},
|
|
18063
|
+
"serializable": false
|
|
18064
|
+
},
|
|
18065
|
+
{
|
|
18066
|
+
"name": "busy",
|
|
18067
|
+
"required": false,
|
|
18068
|
+
"type": {
|
|
18069
|
+
"kind": "boolean"
|
|
18070
|
+
},
|
|
18071
|
+
"serializable": true
|
|
18072
|
+
},
|
|
18073
|
+
{
|
|
18074
|
+
"name": "disabled",
|
|
18075
|
+
"required": false,
|
|
18076
|
+
"type": {
|
|
18077
|
+
"kind": "boolean"
|
|
18078
|
+
},
|
|
18079
|
+
"serializable": true
|
|
18080
|
+
},
|
|
18081
|
+
{
|
|
18082
|
+
"name": "position",
|
|
18083
|
+
"required": false,
|
|
18084
|
+
"type": {
|
|
18085
|
+
"kind": "enum",
|
|
18086
|
+
"values": [
|
|
18087
|
+
"end",
|
|
18088
|
+
"start"
|
|
18089
|
+
]
|
|
18090
|
+
},
|
|
18091
|
+
"serializable": true
|
|
18092
|
+
}
|
|
18093
|
+
]
|
|
18094
|
+
},
|
|
18095
|
+
"required": false,
|
|
18096
|
+
"serializable": false,
|
|
18097
|
+
"role": "behaviour",
|
|
18098
|
+
"doc": "A filled main key in the bottom row (sign in, confirm)."
|
|
18099
|
+
},
|
|
18100
|
+
{
|
|
18101
|
+
"name": "backLabel",
|
|
18102
|
+
"type": {
|
|
18103
|
+
"kind": "string"
|
|
18104
|
+
},
|
|
18105
|
+
"required": false,
|
|
18106
|
+
"serializable": true,
|
|
18107
|
+
"role": "content",
|
|
18108
|
+
"doc": "The back key's accessibility label. Default the strings table's `delete`."
|
|
18109
|
+
},
|
|
17962
18110
|
{
|
|
17963
18111
|
"name": "className",
|
|
17964
18112
|
"type": {
|
|
@@ -17995,7 +18143,7 @@
|
|
|
17995
18143
|
"required": false,
|
|
17996
18144
|
"serializable": true,
|
|
17997
18145
|
"role": "behaviour",
|
|
17998
|
-
"doc": "The bottom-start key (`'.'`, `'00'`, or nothing)."
|
|
18146
|
+
"doc": "The bottom-start key (`'.'`, `'00'`, or nothing). Not shown with an `actionKey` (its place goes to the back key)."
|
|
17999
18147
|
},
|
|
18000
18148
|
{
|
|
18001
18149
|
"name": "id",
|
|
@@ -18006,6 +18154,26 @@
|
|
|
18006
18154
|
"serializable": true,
|
|
18007
18155
|
"role": "identity"
|
|
18008
18156
|
},
|
|
18157
|
+
{
|
|
18158
|
+
"name": "keyHeight",
|
|
18159
|
+
"type": {
|
|
18160
|
+
"kind": "number"
|
|
18161
|
+
},
|
|
18162
|
+
"required": false,
|
|
18163
|
+
"serializable": true,
|
|
18164
|
+
"role": "appearance",
|
|
18165
|
+
"doc": "Each key's height. Default the shape's large control height under shared sizing, else 64."
|
|
18166
|
+
},
|
|
18167
|
+
{
|
|
18168
|
+
"name": "keyRadius",
|
|
18169
|
+
"type": {
|
|
18170
|
+
"kind": "number"
|
|
18171
|
+
},
|
|
18172
|
+
"required": false,
|
|
18173
|
+
"serializable": true,
|
|
18174
|
+
"role": "appearance",
|
|
18175
|
+
"doc": "Each key's corner radius. Default half the height (round keys)."
|
|
18176
|
+
},
|
|
18009
18177
|
{
|
|
18010
18178
|
"name": "onKey",
|
|
18011
18179
|
"type": {
|
|
@@ -18061,6 +18229,8 @@
|
|
|
18061
18229
|
"Error",
|
|
18062
18230
|
"InputBackground",
|
|
18063
18231
|
"InputBorder",
|
|
18232
|
+
"OnPrimary",
|
|
18233
|
+
"Primary",
|
|
18064
18234
|
"SurfaceContainerHigh",
|
|
18065
18235
|
"TextPrimary",
|
|
18066
18236
|
"TextSecondary",
|
|
@@ -19269,6 +19439,17 @@
|
|
|
19269
19439
|
"required": false,
|
|
19270
19440
|
"serializable": true,
|
|
19271
19441
|
"role": "appearance"
|
|
19442
|
+
},
|
|
19443
|
+
{
|
|
19444
|
+
"name": "toastsAboveFooter",
|
|
19445
|
+
"type": {
|
|
19446
|
+
"kind": "boolean"
|
|
19447
|
+
},
|
|
19448
|
+
"required": false,
|
|
19449
|
+
"default": true,
|
|
19450
|
+
"serializable": true,
|
|
19451
|
+
"role": "behaviour",
|
|
19452
|
+
"doc": "Bottom toasts sit above the footer: the page measures its footer and tells the nearest `G9Host`'s toasts (a bottom overlay, cleared when the page or its footer goes). Default true; false lets toasts cover the footer."
|
|
19272
19453
|
}
|
|
19273
19454
|
],
|
|
19274
19455
|
"anchor": null,
|
|
@@ -19640,6 +19821,36 @@
|
|
|
19640
19821
|
"role": "appearance",
|
|
19641
19822
|
"doc": "The designed placeholder's icon (a category icon, never an empty grey square). Default `'search'`."
|
|
19642
19823
|
},
|
|
19824
|
+
{
|
|
19825
|
+
"name": "placeholderIconSize",
|
|
19826
|
+
"type": {
|
|
19827
|
+
"kind": "number"
|
|
19828
|
+
},
|
|
19829
|
+
"required": false,
|
|
19830
|
+
"serializable": true,
|
|
19831
|
+
"role": "appearance",
|
|
19832
|
+
"doc": "The placeholder icon's size. Default a third of the box's shorter side (at least 18), measured when not a number."
|
|
19833
|
+
},
|
|
19834
|
+
{
|
|
19835
|
+
"name": "placeholderTone",
|
|
19836
|
+
"type": {
|
|
19837
|
+
"kind": "enum",
|
|
19838
|
+
"values": [
|
|
19839
|
+
"primary",
|
|
19840
|
+
"info",
|
|
19841
|
+
"success",
|
|
19842
|
+
"warning",
|
|
19843
|
+
"error",
|
|
19844
|
+
"accent",
|
|
19845
|
+
"neutral",
|
|
19846
|
+
"brand"
|
|
19847
|
+
]
|
|
19848
|
+
},
|
|
19849
|
+
"required": false,
|
|
19850
|
+
"serializable": true,
|
|
19851
|
+
"role": "behaviour",
|
|
19852
|
+
"doc": "The placeholder's tint: `'brand'` (default, the primary container) or a tone's soft colours (`'neutral'`: the surface-high grey with the secondary text colour, ShopManager's thumbnails)."
|
|
19853
|
+
},
|
|
19643
19854
|
{
|
|
19644
19855
|
"name": "radius",
|
|
19645
19856
|
"type": {
|
|
@@ -19754,6 +19965,16 @@
|
|
|
19754
19965
|
"summary": "Single selection from a list in an outlined box (MAUI `G9Picker`): a tap opens the selection sheet (no search; a pick closes it), the box shows the item's icon or swatch and text, the trailing chevron hints at the sheet. Must be inside a `G9Host` (the sheet).",
|
|
19755
19966
|
"since": null,
|
|
19756
19967
|
"props": [
|
|
19968
|
+
{
|
|
19969
|
+
"name": "accessibilityLabel",
|
|
19970
|
+
"type": {
|
|
19971
|
+
"kind": "string"
|
|
19972
|
+
},
|
|
19973
|
+
"required": false,
|
|
19974
|
+
"serializable": true,
|
|
19975
|
+
"role": "identity",
|
|
19976
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
19977
|
+
},
|
|
19757
19978
|
{
|
|
19758
19979
|
"name": "alwaysFloat",
|
|
19759
19980
|
"type": {
|
|
@@ -20547,6 +20768,7 @@
|
|
|
20547
20768
|
"accessibility": {
|
|
20548
20769
|
"labelFrom": [
|
|
20549
20770
|
"label",
|
|
20771
|
+
"accessibilityLabel",
|
|
20550
20772
|
"placeholder"
|
|
20551
20773
|
],
|
|
20552
20774
|
"labelRequired": false
|
|
@@ -20598,6 +20820,20 @@
|
|
|
20598
20820
|
"role": "identity",
|
|
20599
20821
|
"doc": "Accessibility label of the row (the progress `n / total` is always announced)."
|
|
20600
20822
|
},
|
|
20823
|
+
{
|
|
20824
|
+
"name": "appearance",
|
|
20825
|
+
"type": {
|
|
20826
|
+
"kind": "enum",
|
|
20827
|
+
"values": [
|
|
20828
|
+
"dots",
|
|
20829
|
+
"cells"
|
|
20830
|
+
]
|
|
20831
|
+
},
|
|
20832
|
+
"required": false,
|
|
20833
|
+
"serializable": true,
|
|
20834
|
+
"role": "appearance",
|
|
20835
|
+
"doc": "`'cells'` (default) a box per character; `'dots'` a row of dots that fill as the code grows (a PIN screen over a `G9NumPad`), never showing the characters."
|
|
20836
|
+
},
|
|
20601
20837
|
{
|
|
20602
20838
|
"name": "autoFocus",
|
|
20603
20839
|
"type": {
|
|
@@ -20660,6 +20896,17 @@
|
|
|
20660
20896
|
"serializable": true,
|
|
20661
20897
|
"role": "state"
|
|
20662
20898
|
},
|
|
20899
|
+
{
|
|
20900
|
+
"name": "dotSize",
|
|
20901
|
+
"type": {
|
|
20902
|
+
"kind": "number"
|
|
20903
|
+
},
|
|
20904
|
+
"required": false,
|
|
20905
|
+
"default": 14,
|
|
20906
|
+
"serializable": true,
|
|
20907
|
+
"role": "appearance",
|
|
20908
|
+
"doc": "Dots: each dot's size. Default 14."
|
|
20909
|
+
},
|
|
20663
20910
|
{
|
|
20664
20911
|
"name": "groupSizes",
|
|
20665
20912
|
"type": {
|
|
@@ -20702,6 +20949,27 @@
|
|
|
20702
20949
|
"role": "behaviour",
|
|
20703
20950
|
"doc": "Glyph of a masked cell. Default `'●'`."
|
|
20704
20951
|
},
|
|
20952
|
+
{
|
|
20953
|
+
"name": "maxLength",
|
|
20954
|
+
"type": {
|
|
20955
|
+
"kind": "number"
|
|
20956
|
+
},
|
|
20957
|
+
"required": false,
|
|
20958
|
+
"serializable": true,
|
|
20959
|
+
"role": "behaviour",
|
|
20960
|
+
"doc": "Dots: the longest code (the cell count otherwise comes from `length` / `groupSizes`)."
|
|
20961
|
+
},
|
|
20962
|
+
{
|
|
20963
|
+
"name": "minLength",
|
|
20964
|
+
"type": {
|
|
20965
|
+
"kind": "number"
|
|
20966
|
+
},
|
|
20967
|
+
"required": false,
|
|
20968
|
+
"default": "maxLength",
|
|
20969
|
+
"serializable": true,
|
|
20970
|
+
"role": "behaviour",
|
|
20971
|
+
"doc": "Dots: how many are drawn before anything is typed (a PIN of 4 to 8 digits shows 4, then grows). Default `maxLength`."
|
|
20972
|
+
},
|
|
20705
20973
|
{
|
|
20706
20974
|
"name": "onComplete",
|
|
20707
20975
|
"type": {
|
|
@@ -20734,6 +21002,17 @@
|
|
|
20734
21002
|
"role": "content",
|
|
20735
21003
|
"doc": "Filler glyph of an empty cell. Default none."
|
|
20736
21004
|
},
|
|
21005
|
+
{
|
|
21006
|
+
"name": "progressLabel",
|
|
21007
|
+
"type": {
|
|
21008
|
+
"kind": "string"
|
|
21009
|
+
},
|
|
21010
|
+
"required": false,
|
|
21011
|
+
"default": "{0} / {1}",
|
|
21012
|
+
"serializable": true,
|
|
21013
|
+
"role": "content",
|
|
21014
|
+
"doc": "The announced progress as a template: `{0}` the characters entered, `{1}` the most there can be (ShopManager: `'{0} رقم وارد شده'`). Default `'{0} / {1}'`."
|
|
21015
|
+
},
|
|
20737
21016
|
{
|
|
20738
21017
|
"name": "separator",
|
|
20739
21018
|
"type": {
|
|
@@ -20745,6 +21024,17 @@
|
|
|
20745
21024
|
"role": "behaviour",
|
|
20746
21025
|
"doc": "Text between groups. Default `'-'`."
|
|
20747
21026
|
},
|
|
21027
|
+
{
|
|
21028
|
+
"name": "systemKeyboard",
|
|
21029
|
+
"type": {
|
|
21030
|
+
"kind": "boolean"
|
|
21031
|
+
},
|
|
21032
|
+
"required": false,
|
|
21033
|
+
"default": true,
|
|
21034
|
+
"serializable": true,
|
|
21035
|
+
"role": "behaviour",
|
|
21036
|
+
"doc": "False: no hidden input and a tap focuses nothing; the code comes only from `value` (a `G9NumPad` on the same screen). Default true."
|
|
21037
|
+
},
|
|
20748
21038
|
{
|
|
20749
21039
|
"name": "type",
|
|
20750
21040
|
"type": {
|
|
@@ -20797,6 +21087,7 @@
|
|
|
20797
21087
|
"tokens": [
|
|
20798
21088
|
"Background",
|
|
20799
21089
|
"OnSurfaceVariant",
|
|
21090
|
+
"Outline",
|
|
20800
21091
|
"OutlineVariant",
|
|
20801
21092
|
"Primary",
|
|
20802
21093
|
"PrimaryBorder",
|
|
@@ -22686,6 +22977,16 @@
|
|
|
22686
22977
|
"role": "behaviour",
|
|
22687
22978
|
"doc": "The first fill starts after this many ms (bars filling one after another: Riskara's 200 + i × 70). Later value changes animate at once; with reduced motion (`g9MotionScale() === 0`) the bar is full from the start."
|
|
22688
22979
|
},
|
|
22980
|
+
{
|
|
22981
|
+
"name": "flat",
|
|
22982
|
+
"type": {
|
|
22983
|
+
"kind": "boolean"
|
|
22984
|
+
},
|
|
22985
|
+
"required": false,
|
|
22986
|
+
"serializable": true,
|
|
22987
|
+
"role": "appearance",
|
|
22988
|
+
"doc": "A flat bar (ShopManager): the type's colour alone on the track, no gradient and no stripes, nothing drawn at 0. The width still eases in."
|
|
22989
|
+
},
|
|
22689
22990
|
{
|
|
22690
22991
|
"name": "id",
|
|
22691
22992
|
"type": {
|
|
@@ -28193,33 +28494,8 @@
|
|
|
28193
28494
|
"type": {
|
|
28194
28495
|
"kind": "array",
|
|
28195
28496
|
"items": {
|
|
28196
|
-
"kind": "
|
|
28197
|
-
"
|
|
28198
|
-
{
|
|
28199
|
-
"name": "key",
|
|
28200
|
-
"required": true,
|
|
28201
|
-
"type": {
|
|
28202
|
-
"kind": "string"
|
|
28203
|
-
},
|
|
28204
|
-
"serializable": true
|
|
28205
|
-
},
|
|
28206
|
-
{
|
|
28207
|
-
"name": "label",
|
|
28208
|
-
"required": true,
|
|
28209
|
-
"type": {
|
|
28210
|
-
"kind": "string"
|
|
28211
|
-
},
|
|
28212
|
-
"serializable": true
|
|
28213
|
-
},
|
|
28214
|
-
{
|
|
28215
|
-
"name": "count",
|
|
28216
|
-
"required": false,
|
|
28217
|
-
"type": {
|
|
28218
|
-
"kind": "number"
|
|
28219
|
-
},
|
|
28220
|
-
"serializable": true
|
|
28221
|
-
}
|
|
28222
|
-
]
|
|
28497
|
+
"kind": "icon",
|
|
28498
|
+
"text": "G9IconInput (a glyph name, «pack:icon», or an icon value)"
|
|
28223
28499
|
}
|
|
28224
28500
|
},
|
|
28225
28501
|
"required": true,
|
|
@@ -28259,6 +28535,16 @@
|
|
|
28259
28535
|
"summary": "Search field (MAUI `G9SearchEntry`): a `G9TextEntry` with a leading search glyph, the clear button, dictation on, the localized `search` placeholder, the floating-label clearance reserved, the keyboard's search key, and a debounced query. Every change of the text (typing, dictation, clear, a new `value` from the parent) restarts the debounce; the search key and `submit()` fire at once. Pending queries never fire after unmount.",
|
|
28260
28536
|
"since": null,
|
|
28261
28537
|
"props": [
|
|
28538
|
+
{
|
|
28539
|
+
"name": "accessibilityLabel",
|
|
28540
|
+
"type": {
|
|
28541
|
+
"kind": "string"
|
|
28542
|
+
},
|
|
28543
|
+
"required": false,
|
|
28544
|
+
"serializable": true,
|
|
28545
|
+
"role": "identity",
|
|
28546
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
28547
|
+
},
|
|
28262
28548
|
{
|
|
28263
28549
|
"name": "allowedCharsPattern",
|
|
28264
28550
|
"type": {
|
|
@@ -29328,6 +29614,7 @@
|
|
|
29328
29614
|
"accessibility": {
|
|
29329
29615
|
"labelFrom": [
|
|
29330
29616
|
"label",
|
|
29617
|
+
"accessibilityLabel",
|
|
29331
29618
|
"placeholder"
|
|
29332
29619
|
],
|
|
29333
29620
|
"labelRequired": false
|
|
@@ -32793,6 +33080,16 @@
|
|
|
32793
33080
|
"role": "behaviour",
|
|
32794
33081
|
"doc": "At `min`, show one \"add\" button instead of − value + (ShopManager/SAC AddControl: «افزودن» → − ۱ +). Its label, or true for a plus icon only."
|
|
32795
33082
|
},
|
|
33083
|
+
{
|
|
33084
|
+
"name": "decreaseLabel",
|
|
33085
|
+
"type": {
|
|
33086
|
+
"kind": "string"
|
|
33087
|
+
},
|
|
33088
|
+
"required": false,
|
|
33089
|
+
"serializable": true,
|
|
33090
|
+
"role": "content",
|
|
33091
|
+
"doc": "What − and + say (screen readers, Maestro, e2e taps): a list with a stepper per line needs «کمتر: پنیر سفید», not a bare \"−\". Default \"−\" and \"+\". The collapsed add button says `increaseLabel` when it shows only its icon."
|
|
33092
|
+
},
|
|
32796
33093
|
{
|
|
32797
33094
|
"name": "defaultValue",
|
|
32798
33095
|
"type": {
|
|
@@ -32876,6 +33173,15 @@
|
|
|
32876
33173
|
"role": "identity",
|
|
32877
33174
|
"doc": "Element `id` of the control root (MAUI `AutomationId`): automation finds it with a selector query (`#id`) and taps its bounds. Used verbatim, so keep it to `[A-Za-z0-9_-]` (a selector reads `.` as a class); parts a control derives from it (`${id}_Header`, a chip's `${id}_${key}`) follow {@link g9ChildId}."
|
|
32878
33175
|
},
|
|
33176
|
+
{
|
|
33177
|
+
"name": "increaseLabel",
|
|
33178
|
+
"type": {
|
|
33179
|
+
"kind": "string"
|
|
33180
|
+
},
|
|
33181
|
+
"required": false,
|
|
33182
|
+
"serializable": true,
|
|
33183
|
+
"role": "content"
|
|
33184
|
+
},
|
|
32879
33185
|
{
|
|
32880
33186
|
"name": "max",
|
|
32881
33187
|
"type": {
|
|
@@ -32965,6 +33271,26 @@
|
|
|
32965
33271
|
"required": false,
|
|
32966
33272
|
"serializable": true,
|
|
32967
33273
|
"role": "state"
|
|
33274
|
+
},
|
|
33275
|
+
{
|
|
33276
|
+
"name": "valueLabel",
|
|
33277
|
+
"type": {
|
|
33278
|
+
"kind": "union",
|
|
33279
|
+
"of": [
|
|
33280
|
+
{
|
|
33281
|
+
"kind": "string"
|
|
33282
|
+
},
|
|
33283
|
+
{
|
|
33284
|
+
"kind": "event",
|
|
33285
|
+
"payload": "value: number",
|
|
33286
|
+
"returns": "string"
|
|
33287
|
+
}
|
|
33288
|
+
]
|
|
33289
|
+
},
|
|
33290
|
+
"required": false,
|
|
33291
|
+
"serializable": false,
|
|
33292
|
+
"role": "content",
|
|
33293
|
+
"doc": "What the value says (`'۲ عدد پنیر سفید'`): a text, or one made from the value. Default the shown text."
|
|
32968
33294
|
}
|
|
32969
33295
|
],
|
|
32970
33296
|
"anchor": {
|
|
@@ -35954,6 +36280,8 @@
|
|
|
35954
36280
|
"Error",
|
|
35955
36281
|
"InputBackground",
|
|
35956
36282
|
"InputBorder",
|
|
36283
|
+
"OnPrimary",
|
|
36284
|
+
"Primary",
|
|
35957
36285
|
"SurfaceContainerHigh",
|
|
35958
36286
|
"TextPrimary",
|
|
35959
36287
|
"TextSecondary",
|
|
@@ -35973,6 +36301,16 @@
|
|
|
35973
36301
|
"summary": "Single-line outlined text field (MAUI `G9TextEntry`): floating label, input-type keyboard/filter/validation, password eye, clear button, optional dictation (`voiceEnabled` + `services.speech`).",
|
|
35974
36302
|
"since": null,
|
|
35975
36303
|
"props": [
|
|
36304
|
+
{
|
|
36305
|
+
"name": "accessibilityLabel",
|
|
36306
|
+
"type": {
|
|
36307
|
+
"kind": "string"
|
|
36308
|
+
},
|
|
36309
|
+
"required": false,
|
|
36310
|
+
"serializable": true,
|
|
36311
|
+
"role": "identity",
|
|
36312
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
36313
|
+
},
|
|
35976
36314
|
{
|
|
35977
36315
|
"name": "allowedCharsPattern",
|
|
35978
36316
|
"type": {
|
|
@@ -37008,6 +37346,7 @@
|
|
|
37008
37346
|
"accessibility": {
|
|
37009
37347
|
"labelFrom": [
|
|
37010
37348
|
"label",
|
|
37349
|
+
"accessibilityLabel",
|
|
37011
37350
|
"placeholder"
|
|
37012
37351
|
],
|
|
37013
37352
|
"labelRequired": false
|
|
@@ -37219,6 +37558,16 @@
|
|
|
37219
37558
|
"summary": "A time typed as people type it (SAC TimeIn): «۷۳۰» becomes ۰۷:۳۰ on blur; an impossible time is shown as an error.",
|
|
37220
37559
|
"since": null,
|
|
37221
37560
|
"props": [
|
|
37561
|
+
{
|
|
37562
|
+
"name": "accessibilityLabel",
|
|
37563
|
+
"type": {
|
|
37564
|
+
"kind": "string"
|
|
37565
|
+
},
|
|
37566
|
+
"required": false,
|
|
37567
|
+
"serializable": true,
|
|
37568
|
+
"role": "identity",
|
|
37569
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
37570
|
+
},
|
|
37222
37571
|
{
|
|
37223
37572
|
"name": "alwaysFloat",
|
|
37224
37573
|
"type": {
|
|
@@ -37760,6 +38109,7 @@
|
|
|
37760
38109
|
"accessibility": {
|
|
37761
38110
|
"labelFrom": [
|
|
37762
38111
|
"label",
|
|
38112
|
+
"accessibilityLabel",
|
|
37763
38113
|
"placeholder"
|
|
37764
38114
|
],
|
|
37765
38115
|
"labelRequired": false
|
|
@@ -37781,6 +38131,8 @@
|
|
|
37781
38131
|
"Error",
|
|
37782
38132
|
"InputBackground",
|
|
37783
38133
|
"InputBorder",
|
|
38134
|
+
"OnPrimary",
|
|
38135
|
+
"Primary",
|
|
37784
38136
|
"SurfaceContainerHigh",
|
|
37785
38137
|
"TextPrimary",
|
|
37786
38138
|
"TextSecondary",
|
|
@@ -37800,6 +38152,16 @@
|
|
|
37800
38152
|
"summary": "A duration in an outlined box (MAUI `G9TimeSpanPicker`): a tap opens the drum sheet; Done writes the value and fires `onTimeSpanSelected`, Cancel and dismissals write nothing. Years/months/days follow the 365/30 convention; the hours/minutes/seconds modes add those drums (MAUI accepted the modes but never showed them). Must be inside a `G9Host`.",
|
|
37801
38153
|
"since": null,
|
|
37802
38154
|
"props": [
|
|
38155
|
+
{
|
|
38156
|
+
"name": "accessibilityLabel",
|
|
38157
|
+
"type": {
|
|
38158
|
+
"kind": "string"
|
|
38159
|
+
},
|
|
38160
|
+
"required": false,
|
|
38161
|
+
"serializable": true,
|
|
38162
|
+
"role": "identity",
|
|
38163
|
+
"doc": "What a screen reader, Maestro and automation call the field: put on the native input itself. Default the label, else the placeholder (a field is named by its label; ShopManager, 2.5.5)."
|
|
38164
|
+
},
|
|
37803
38165
|
{
|
|
37804
38166
|
"name": "alwaysFloat",
|
|
37805
38167
|
"type": {
|
|
@@ -38549,6 +38911,7 @@
|
|
|
38549
38911
|
"accessibility": {
|
|
38550
38912
|
"labelFrom": [
|
|
38551
38913
|
"label",
|
|
38914
|
+
"accessibilityLabel",
|
|
38552
38915
|
"placeholder"
|
|
38553
38916
|
],
|
|
38554
38917
|
"labelRequired": false
|
|
@@ -43256,6 +43619,14 @@
|
|
|
43256
43619
|
"signature": "G9HoldRelease",
|
|
43257
43620
|
"summary": "What the press turned out to be when the finger left."
|
|
43258
43621
|
},
|
|
43622
|
+
{
|
|
43623
|
+
"id": "controls.anchor.G9HorizontalStripContext",
|
|
43624
|
+
"export": "G9HorizontalStripContext",
|
|
43625
|
+
"from": "@g9tm/lynxcontrols/anchor",
|
|
43626
|
+
"kind": "constant",
|
|
43627
|
+
"signature": "Context<boolean>",
|
|
43628
|
+
"summary": "True below a horizontally scrolled strip (G9HScroll, a chip row, the tab scroller, the scroll-spy bar): Lynx measures an element there where it would be unscrolled, so automation presses its anchors through their handler (2.5.5)."
|
|
43629
|
+
},
|
|
43259
43630
|
{
|
|
43260
43631
|
"id": "controls.host.G9HostContentEffect",
|
|
43261
43632
|
"export": "G9HostContentEffect",
|