@g9tm/lynxcontrols 2.8.0 → 2.8.2
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/G9ComboBox.md +1 -1
- package/catalog/cards/G9NumberEntry.md +1 -1
- package/catalog/cards/G9OutlinedField.md +1 -1
- package/catalog/cards/G9Picker.md +1 -1
- package/catalog/cards/G9TimeEntry.md +1 -1
- package/catalog/cards/G9TimeSpanPicker.md +1 -1
- package/catalog/catalog.json +139 -2
- package/catalog/index.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/fields/outlined-field.d.ts +9 -1
- package/dist/fields/outlined-field.d.ts.map +1 -1
- package/dist/fields/outlined-field.jsx +15 -6
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/settings.d.ts +13 -2
- package/dist/provider/settings.d.ts.map +1 -1
- package/dist/provider/settings.jsx +5 -2
- package/dist/toast/service.jsx +1 -1
- package/dist/toast/toast.css +3 -0
- package/dist/toast/toast.css.map +1 -1
- package/package.json +2 -2
- package/skills/g9-lynx-app/references/catalog-index.md +6 -0
- package/skills/g9-lynx-app/references/components/calendar-2.md +1 -1
- package/skills/g9-lynx-app/references/components/fields.md +3 -3
- package/skills/g9-lynx-app/references/components/pickers.md +3 -3
- package/skills/g9-lynx-app/references/components/studio-nle-timeline.md +19 -0
- package/skills/g9-lynx-app/references/components/studio-surface.md +18 -0
- package/skills/g9-lynx-app/references/components/studio-transform-box.md +19 -0
|
@@ -12,6 +12,6 @@ Props:
|
|
|
12
12
|
- `placeholder?`: string
|
|
13
13
|
- `onValueChange?`: (key: string | null, item: T | null) => void
|
|
14
14
|
- `disabled?`: boolean = false
|
|
15
|
-
- `
|
|
15
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9ComboBox items={items} />`
|
|
@@ -11,7 +11,7 @@ Props:
|
|
|
11
11
|
- `placeholder?`: string
|
|
12
12
|
- `onValueChange?`: (value: number | null) => void
|
|
13
13
|
- `disabled?`: boolean = false
|
|
14
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
14
15
|
- `onBlur?`: () => void
|
|
15
|
-
- `onConfirm?`: (value: number | null) => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9NumberEntry />`
|
|
@@ -12,6 +12,6 @@ Props:
|
|
|
12
12
|
- `leadingIcon?`: icon
|
|
13
13
|
- `placeholder?`: string
|
|
14
14
|
- `disabled?`: boolean = false
|
|
15
|
-
- `
|
|
15
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9OutlinedField focused hasValue />`
|
|
@@ -12,6 +12,6 @@ Props:
|
|
|
12
12
|
- `placeholder?`: string
|
|
13
13
|
- `onValueChange?`: (key: string | null, item: T | null) => void
|
|
14
14
|
- `disabled?`: boolean = false
|
|
15
|
-
- `
|
|
15
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9Picker items={items} />`
|
|
@@ -11,7 +11,7 @@ Props:
|
|
|
11
11
|
- `placeholder?`: string
|
|
12
12
|
- `onValueChange?`: (minutes: number | null) => void
|
|
13
13
|
- `disabled?`: boolean = false
|
|
14
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
14
15
|
- `onLeadingPress?`: () => void
|
|
15
|
-
- `onTrailingPress?`: () => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9TimeEntry />`
|
|
@@ -12,6 +12,6 @@ Props:
|
|
|
12
12
|
- `onValueChange?`: (ms: number | null) => void
|
|
13
13
|
- `disabled?`: boolean = false
|
|
14
14
|
- `mode?`: 'yearsMonths' | 'yearsMonthsDays' | 'yearsMonthsDaysHours' | 'yearsMonthsDaysHoursMinutes' | 'yearsMonthsDaysHoursMinutesSeconds' = "yearsMonthsDays"
|
|
15
|
-
- `
|
|
15
|
+
- `counterFormat?`: (count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: "ltr" | "rtl"; }) => void
|
|
16
16
|
|
|
17
17
|
Example: `<G9TimeSpanPicker label="Tree age" value={ageMs} onValueChange={setAgeMs} />`
|
package/catalog/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogVersion": 1,
|
|
3
3
|
"package": "@g9tm/lynxcontrols",
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.2",
|
|
5
5
|
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
6
|
"components": [
|
|
7
7
|
{
|
|
@@ -6972,6 +6972,18 @@
|
|
|
6972
6972
|
"role": "behaviour",
|
|
6973
6973
|
"doc": "A × in the trailing slot clears the selection while there is one (MAUI `ClearButton`). Default true."
|
|
6974
6974
|
},
|
|
6975
|
+
{
|
|
6976
|
+
"name": "counterFormat",
|
|
6977
|
+
"type": {
|
|
6978
|
+
"kind": "event",
|
|
6979
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
6980
|
+
"returns": "string"
|
|
6981
|
+
},
|
|
6982
|
+
"required": false,
|
|
6983
|
+
"serializable": false,
|
|
6984
|
+
"role": "event",
|
|
6985
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
6986
|
+
},
|
|
6975
6987
|
{
|
|
6976
6988
|
"name": "counterOrder",
|
|
6977
6989
|
"type": {
|
|
@@ -9918,6 +9930,18 @@
|
|
|
9918
9930
|
"role": "appearance",
|
|
9919
9931
|
"doc": "Class of the root element."
|
|
9920
9932
|
},
|
|
9933
|
+
{
|
|
9934
|
+
"name": "counterFormat",
|
|
9935
|
+
"type": {
|
|
9936
|
+
"kind": "event",
|
|
9937
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
9938
|
+
"returns": "string"
|
|
9939
|
+
},
|
|
9940
|
+
"required": false,
|
|
9941
|
+
"serializable": false,
|
|
9942
|
+
"role": "event",
|
|
9943
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
9944
|
+
},
|
|
9921
9945
|
{
|
|
9922
9946
|
"name": "counterOrder",
|
|
9923
9947
|
"type": {
|
|
@@ -12854,6 +12878,18 @@
|
|
|
12854
12878
|
"role": "appearance",
|
|
12855
12879
|
"doc": "Class of the root element."
|
|
12856
12880
|
},
|
|
12881
|
+
{
|
|
12882
|
+
"name": "counterFormat",
|
|
12883
|
+
"type": {
|
|
12884
|
+
"kind": "event",
|
|
12885
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
12886
|
+
"returns": "string"
|
|
12887
|
+
},
|
|
12888
|
+
"required": false,
|
|
12889
|
+
"serializable": false,
|
|
12890
|
+
"role": "event",
|
|
12891
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
12892
|
+
},
|
|
12857
12893
|
{
|
|
12858
12894
|
"name": "counterOrder",
|
|
12859
12895
|
"type": {
|
|
@@ -22265,6 +22301,18 @@
|
|
|
22265
22301
|
"role": "appearance",
|
|
22266
22302
|
"doc": "Class of the root element."
|
|
22267
22303
|
},
|
|
22304
|
+
{
|
|
22305
|
+
"name": "counterFormat",
|
|
22306
|
+
"type": {
|
|
22307
|
+
"kind": "event",
|
|
22308
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
22309
|
+
"returns": "string"
|
|
22310
|
+
},
|
|
22311
|
+
"required": false,
|
|
22312
|
+
"serializable": false,
|
|
22313
|
+
"role": "event",
|
|
22314
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
22315
|
+
},
|
|
22268
22316
|
{
|
|
22269
22317
|
"name": "counterOrder",
|
|
22270
22318
|
"type": {
|
|
@@ -23440,6 +23488,18 @@
|
|
|
23440
23488
|
"role": "appearance",
|
|
23441
23489
|
"doc": "Class of the root element."
|
|
23442
23490
|
},
|
|
23491
|
+
{
|
|
23492
|
+
"name": "counterFormat",
|
|
23493
|
+
"type": {
|
|
23494
|
+
"kind": "event",
|
|
23495
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
23496
|
+
"returns": "string"
|
|
23497
|
+
},
|
|
23498
|
+
"required": false,
|
|
23499
|
+
"serializable": false,
|
|
23500
|
+
"role": "event",
|
|
23501
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
23502
|
+
},
|
|
23443
23503
|
{
|
|
23444
23504
|
"name": "counterOrder",
|
|
23445
23505
|
"type": {
|
|
@@ -26433,6 +26493,18 @@
|
|
|
26433
26493
|
"role": "appearance",
|
|
26434
26494
|
"doc": "Class of the root element."
|
|
26435
26495
|
},
|
|
26496
|
+
{
|
|
26497
|
+
"name": "counterFormat",
|
|
26498
|
+
"type": {
|
|
26499
|
+
"kind": "event",
|
|
26500
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
26501
|
+
"returns": "string"
|
|
26502
|
+
},
|
|
26503
|
+
"required": false,
|
|
26504
|
+
"serializable": false,
|
|
26505
|
+
"role": "event",
|
|
26506
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
26507
|
+
},
|
|
26436
26508
|
{
|
|
26437
26509
|
"name": "counterOrder",
|
|
26438
26510
|
"type": {
|
|
@@ -30698,10 +30770,19 @@
|
|
|
30698
30770
|
]
|
|
30699
30771
|
},
|
|
30700
30772
|
"serializable": true
|
|
30773
|
+
},
|
|
30774
|
+
{
|
|
30775
|
+
"name": "counterFormat",
|
|
30776
|
+
"required": false,
|
|
30777
|
+
"type": {
|
|
30778
|
+
"kind": "object",
|
|
30779
|
+
"name": "G9CounterFormat"
|
|
30780
|
+
},
|
|
30781
|
+
"serializable": false
|
|
30701
30782
|
}
|
|
30702
30783
|
]
|
|
30703
30784
|
},
|
|
30704
|
-
"serializable":
|
|
30785
|
+
"serializable": false
|
|
30705
30786
|
},
|
|
30706
30787
|
{
|
|
30707
30788
|
"name": "sheets",
|
|
@@ -35822,6 +35903,18 @@
|
|
|
35822
35903
|
"role": "behaviour",
|
|
35823
35904
|
"doc": "Keyboard confirm key. Default `'done'`."
|
|
35824
35905
|
},
|
|
35906
|
+
{
|
|
35907
|
+
"name": "counterFormat",
|
|
35908
|
+
"type": {
|
|
35909
|
+
"kind": "event",
|
|
35910
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
35911
|
+
"returns": "string"
|
|
35912
|
+
},
|
|
35913
|
+
"required": false,
|
|
35914
|
+
"serializable": false,
|
|
35915
|
+
"role": "event",
|
|
35916
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
35917
|
+
},
|
|
35825
35918
|
{
|
|
35826
35919
|
"name": "counterOrder",
|
|
35827
35920
|
"type": {
|
|
@@ -44094,6 +44187,18 @@
|
|
|
44094
44187
|
"role": "behaviour",
|
|
44095
44188
|
"doc": "Keyboard confirm key. Default `'done'`."
|
|
44096
44189
|
},
|
|
44190
|
+
{
|
|
44191
|
+
"name": "counterFormat",
|
|
44192
|
+
"type": {
|
|
44193
|
+
"kind": "event",
|
|
44194
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
44195
|
+
"returns": "string"
|
|
44196
|
+
},
|
|
44197
|
+
"required": false,
|
|
44198
|
+
"serializable": false,
|
|
44199
|
+
"role": "event",
|
|
44200
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
44201
|
+
},
|
|
44097
44202
|
{
|
|
44098
44203
|
"name": "counterOrder",
|
|
44099
44204
|
"type": {
|
|
@@ -45794,6 +45899,18 @@
|
|
|
45794
45899
|
"role": "appearance",
|
|
45795
45900
|
"doc": "Class of the root element."
|
|
45796
45901
|
},
|
|
45902
|
+
{
|
|
45903
|
+
"name": "counterFormat",
|
|
45904
|
+
"type": {
|
|
45905
|
+
"kind": "event",
|
|
45906
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
45907
|
+
"returns": "string"
|
|
45908
|
+
},
|
|
45909
|
+
"required": false,
|
|
45910
|
+
"serializable": false,
|
|
45911
|
+
"role": "event",
|
|
45912
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
45913
|
+
},
|
|
45797
45914
|
{
|
|
45798
45915
|
"name": "counterOrder",
|
|
45799
45916
|
"type": {
|
|
@@ -46616,6 +46733,18 @@
|
|
|
46616
46733
|
"role": "appearance",
|
|
46617
46734
|
"doc": "Class of the root element."
|
|
46618
46735
|
},
|
|
46736
|
+
{
|
|
46737
|
+
"name": "counterFormat",
|
|
46738
|
+
"type": {
|
|
46739
|
+
"kind": "event",
|
|
46740
|
+
"payload": "count: number, max: number, culture: { readonly numberingSystem: G9NumberingSystem; readonly direction: \"ltr\" | \"rtl\"; }",
|
|
46741
|
+
"returns": "string"
|
|
46742
|
+
},
|
|
46743
|
+
"required": false,
|
|
46744
|
+
"serializable": false,
|
|
46745
|
+
"role": "event",
|
|
46746
|
+
"doc": "This field's own counter text; default the app's `settings.fields.counterFormat`, else the culture's digits as «n / max», isolated in the `counterOrder`. The string is drawn as returned: isolate it yourself (`isolateLtr` / `isolateRtl` from the foundation) when it mixes digits with right-to-left text (G9Didban, 2.8.2)."
|
|
46747
|
+
},
|
|
46619
46748
|
{
|
|
46620
46749
|
"name": "counterOrder",
|
|
46621
46750
|
"type": {
|
|
@@ -52238,6 +52367,14 @@
|
|
|
52238
52367
|
"signature": "G9CountdownOptions",
|
|
52239
52368
|
"summary": "Options of `createG9Countdown`."
|
|
52240
52369
|
},
|
|
52370
|
+
{
|
|
52371
|
+
"id": "controls.provider.G9CounterFormat",
|
|
52372
|
+
"export": "G9CounterFormat",
|
|
52373
|
+
"from": "@g9tm/lynxcontrols/provider",
|
|
52374
|
+
"kind": "type",
|
|
52375
|
+
"signature": "G9CounterFormat",
|
|
52376
|
+
"summary": "A field's character counter text (see `G9FieldSettings.counterFormat`)."
|
|
52377
|
+
},
|
|
52241
52378
|
{
|
|
52242
52379
|
"id": "controls.provider.G9CounterOrder",
|
|
52243
52380
|
"export": "G9CounterOrder",
|
package/catalog/index.md
CHANGED