@fusion.dev/helix-core 0.159.0 → 0.160.0
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/custom-elements.json +403 -18
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/mixins/mixin-field/mixin-field.js +2 -1
- package/dist/mixins/mixin-picker-feedback/mixin-picker-feedback.d.ts +13 -1
- package/dist/mixins/mixin-picker-feedback/mixin-picker-feedback.js +26 -3
- package/dist/mixins/mixin-segmented-field/mixin-segmented-field.d.ts +12 -0
- package/dist/mixins/mixin-segmented-field/mixin-segmented-field.js +96 -39
- package/dist/utils/calendar/calendar.d.ts +50 -22
- package/dist/utils/calendar/calendar.js +134 -32
- package/dist/utils/date-segments/date-segments.d.ts +46 -14
- package/dist/utils/date-segments/date-segments.js +175 -27
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -14401,6 +14401,14 @@
|
|
|
14401
14401
|
"module": "./mixins/mixin-picker-feedback/mixin-picker-feedback.js"
|
|
14402
14402
|
}
|
|
14403
14403
|
},
|
|
14404
|
+
{
|
|
14405
|
+
"kind": "js",
|
|
14406
|
+
"name": "PickerFailure",
|
|
14407
|
+
"declaration": {
|
|
14408
|
+
"name": "PickerFailure",
|
|
14409
|
+
"module": "./mixins/mixin-picker-feedback/mixin-picker-feedback.js"
|
|
14410
|
+
}
|
|
14411
|
+
},
|
|
14404
14412
|
{
|
|
14405
14413
|
"kind": "js",
|
|
14406
14414
|
"name": "MixinPickerField",
|
|
@@ -14601,6 +14609,14 @@
|
|
|
14601
14609
|
"module": "./utils/calendar/calendar.js"
|
|
14602
14610
|
}
|
|
14603
14611
|
},
|
|
14612
|
+
{
|
|
14613
|
+
"kind": "js",
|
|
14614
|
+
"name": "CalendarParts",
|
|
14615
|
+
"declaration": {
|
|
14616
|
+
"name": "CalendarParts",
|
|
14617
|
+
"module": "./utils/calendar/calendar.js"
|
|
14618
|
+
}
|
|
14619
|
+
},
|
|
14604
14620
|
{
|
|
14605
14621
|
"kind": "js",
|
|
14606
14622
|
"name": "CalendarView",
|
|
@@ -15153,6 +15169,22 @@
|
|
|
15153
15169
|
"module": "./utils/data-options/data-options.js"
|
|
15154
15170
|
}
|
|
15155
15171
|
},
|
|
15172
|
+
{
|
|
15173
|
+
"kind": "js",
|
|
15174
|
+
"name": "readWrittenDate",
|
|
15175
|
+
"declaration": {
|
|
15176
|
+
"name": "readWrittenDate",
|
|
15177
|
+
"module": "./utils/date-segments/date-segments.js"
|
|
15178
|
+
}
|
|
15179
|
+
},
|
|
15180
|
+
{
|
|
15181
|
+
"kind": "js",
|
|
15182
|
+
"name": "readWrittenTime",
|
|
15183
|
+
"declaration": {
|
|
15184
|
+
"name": "readWrittenTime",
|
|
15185
|
+
"module": "./utils/date-segments/date-segments.js"
|
|
15186
|
+
}
|
|
15187
|
+
},
|
|
15156
15188
|
{
|
|
15157
15189
|
"kind": "js",
|
|
15158
15190
|
"name": "segmentName",
|
|
@@ -20436,7 +20468,17 @@
|
|
|
20436
20468
|
"text": "boolean"
|
|
20437
20469
|
},
|
|
20438
20470
|
"privacy": "protected",
|
|
20439
|
-
"description": "Whether a reader is told the answer is wrong: `invalid`, or
|
|
20471
|
+
"description": "Whether a reader is told the answer is wrong: `invalid`, `feedback`, a\nheld answer the picker refuses, or a missing answer once the reader has\ncommitted one or a form has refused the picker.",
|
|
20472
|
+
"readonly": true
|
|
20473
|
+
},
|
|
20474
|
+
{
|
|
20475
|
+
"kind": "field",
|
|
20476
|
+
"name": "failure",
|
|
20477
|
+
"type": {
|
|
20478
|
+
"text": "'missing' | 'refused' | undefined"
|
|
20479
|
+
},
|
|
20480
|
+
"privacy": "protected",
|
|
20481
|
+
"description": "What the picker's own validation finds: `missing` for a required picker\nwith nothing chosen, `refused` for an answer it holds and refuses, or\nnothing. Read in `willUpdate`, so a picker answers it from its properties.",
|
|
20440
20482
|
"readonly": true
|
|
20441
20483
|
},
|
|
20442
20484
|
{
|
|
@@ -20479,6 +20521,16 @@
|
|
|
20479
20521
|
"attribute": "invalid",
|
|
20480
20522
|
"reflects": true
|
|
20481
20523
|
},
|
|
20524
|
+
{
|
|
20525
|
+
"kind": "field",
|
|
20526
|
+
"name": "touched",
|
|
20527
|
+
"type": {
|
|
20528
|
+
"text": "boolean"
|
|
20529
|
+
},
|
|
20530
|
+
"privacy": "private",
|
|
20531
|
+
"default": "false",
|
|
20532
|
+
"description": "Whether the reader has committed an answer, or a form has refused the\npicker. A reset forgets it."
|
|
20533
|
+
},
|
|
20482
20534
|
{
|
|
20483
20535
|
"kind": "field",
|
|
20484
20536
|
"name": "marked",
|
|
@@ -20486,9 +20538,28 @@
|
|
|
20486
20538
|
"text": "boolean"
|
|
20487
20539
|
},
|
|
20488
20540
|
"privacy": "protected",
|
|
20489
|
-
"description": "Whether a reader is told the answer is wrong: `invalid`, or `
|
|
20541
|
+
"description": "Whether a reader is told the answer is wrong: `invalid`, `feedback`, a\nheld answer the picker refuses, or a missing answer once the reader has\ncommitted one or a form has refused the picker.\n\n**A refused answer is marked at once, and a missing one waits**, as\nChromium's tree does for native controls: a time input holding a time\npast its `max` reports invalid on load, and an empty required text field\ndoes not, since the reader already hears that it is required. Measured\nbefore this on Time Picker: `value=\"13:00\" max=\"12:00\"` reported\n`rangeOverflow` while the list said nothing and `:state(invalid)` was off.",
|
|
20542
|
+
"readonly": true
|
|
20543
|
+
},
|
|
20544
|
+
{
|
|
20545
|
+
"kind": "field",
|
|
20546
|
+
"name": "failure",
|
|
20547
|
+
"type": {
|
|
20548
|
+
"text": "'missing' | 'refused' | undefined"
|
|
20549
|
+
},
|
|
20550
|
+
"privacy": "protected",
|
|
20551
|
+
"description": "What the picker's own validation finds: `missing`, `refused`, or\nnothing, which is what a picker that does not answer it reports.",
|
|
20490
20552
|
"readonly": true
|
|
20491
20553
|
},
|
|
20554
|
+
{
|
|
20555
|
+
"kind": "method",
|
|
20556
|
+
"name": "formResetCallback",
|
|
20557
|
+
"return": {
|
|
20558
|
+
"type": {
|
|
20559
|
+
"text": "void"
|
|
20560
|
+
}
|
|
20561
|
+
}
|
|
20562
|
+
},
|
|
20492
20563
|
{
|
|
20493
20564
|
"kind": "method",
|
|
20494
20565
|
"name": "renderPickerFeedback",
|
|
@@ -21084,6 +21155,22 @@
|
|
|
21084
21155
|
},
|
|
21085
21156
|
"description": "Whether the field is a row of segments, one for each part of the date or\ntime, in place of a line of text."
|
|
21086
21157
|
},
|
|
21158
|
+
{
|
|
21159
|
+
"kind": "field",
|
|
21160
|
+
"name": "rangeStartLabel",
|
|
21161
|
+
"type": {
|
|
21162
|
+
"text": "string"
|
|
21163
|
+
},
|
|
21164
|
+
"description": "What a screen reader hears before the segments of a range's first date or\ntime, after each segment's own name."
|
|
21165
|
+
},
|
|
21166
|
+
{
|
|
21167
|
+
"kind": "field",
|
|
21168
|
+
"name": "rangeEndLabel",
|
|
21169
|
+
"type": {
|
|
21170
|
+
"text": "string"
|
|
21171
|
+
},
|
|
21172
|
+
"description": "What a screen reader hears before the segments of a range's second date or time."
|
|
21173
|
+
},
|
|
21087
21174
|
{
|
|
21088
21175
|
"kind": "field",
|
|
21089
21176
|
"name": "segmentsShown",
|
|
@@ -21094,6 +21181,16 @@
|
|
|
21094
21181
|
"description": "Whether the segments are drawn: `segmented`, where the family can hold them.",
|
|
21095
21182
|
"readonly": true
|
|
21096
21183
|
},
|
|
21184
|
+
{
|
|
21185
|
+
"kind": "field",
|
|
21186
|
+
"name": "segmentGroups",
|
|
21187
|
+
"type": {
|
|
21188
|
+
"text": "number"
|
|
21189
|
+
},
|
|
21190
|
+
"privacy": "protected",
|
|
21191
|
+
"description": "How many rows of segments the value takes: two for a range, one otherwise.",
|
|
21192
|
+
"readonly": true
|
|
21193
|
+
},
|
|
21097
21194
|
{
|
|
21098
21195
|
"kind": "field",
|
|
21099
21196
|
"name": "segmentGroup",
|
|
@@ -21144,6 +21241,16 @@
|
|
|
21144
21241
|
"description": "The clock and the seconds a time is laid out with.",
|
|
21145
21242
|
"readonly": true
|
|
21146
21243
|
},
|
|
21244
|
+
{
|
|
21245
|
+
"kind": "field",
|
|
21246
|
+
"name": "segmentSystem",
|
|
21247
|
+
"type": {
|
|
21248
|
+
"text": "MonthSystem | undefined"
|
|
21249
|
+
},
|
|
21250
|
+
"privacy": "protected",
|
|
21251
|
+
"description": "The calendar a date's parts are counted in, or `undefined` for the Gregorian calendar.",
|
|
21252
|
+
"readonly": true
|
|
21253
|
+
},
|
|
21147
21254
|
{
|
|
21148
21255
|
"kind": "method",
|
|
21149
21256
|
"name": "renderSegments",
|
|
@@ -21212,6 +21319,32 @@
|
|
|
21212
21319
|
"words": true
|
|
21213
21320
|
}
|
|
21214
21321
|
},
|
|
21322
|
+
{
|
|
21323
|
+
"kind": "field",
|
|
21324
|
+
"name": "rangeEndLabel",
|
|
21325
|
+
"type": {
|
|
21326
|
+
"text": "string"
|
|
21327
|
+
},
|
|
21328
|
+
"default": "'End'",
|
|
21329
|
+
"description": "What a screen reader hears before the segments of a range's second date\nor time, after each segment's own name.",
|
|
21330
|
+
"attribute": "range-end-label",
|
|
21331
|
+
"helix": {
|
|
21332
|
+
"words": true
|
|
21333
|
+
}
|
|
21334
|
+
},
|
|
21335
|
+
{
|
|
21336
|
+
"kind": "field",
|
|
21337
|
+
"name": "rangeStartLabel",
|
|
21338
|
+
"type": {
|
|
21339
|
+
"text": "string"
|
|
21340
|
+
},
|
|
21341
|
+
"default": "'Start'",
|
|
21342
|
+
"description": "What a screen reader hears before the segments of a range's first date\nor time, after each segment's own name: \"month, Start, Stay\".",
|
|
21343
|
+
"attribute": "range-start-label",
|
|
21344
|
+
"helix": {
|
|
21345
|
+
"words": true
|
|
21346
|
+
}
|
|
21347
|
+
},
|
|
21215
21348
|
{
|
|
21216
21349
|
"kind": "field",
|
|
21217
21350
|
"name": "segmented",
|
|
@@ -21226,11 +21359,11 @@
|
|
|
21226
21359
|
"kind": "field",
|
|
21227
21360
|
"name": "parts",
|
|
21228
21361
|
"type": {
|
|
21229
|
-
"text": "Segments"
|
|
21362
|
+
"text": "Segments[]"
|
|
21230
21363
|
},
|
|
21231
21364
|
"privacy": "private",
|
|
21232
|
-
"default": "{}",
|
|
21233
|
-
"description": "The parts set so far, which may be fewer than a whole
|
|
21365
|
+
"default": "[{}]",
|
|
21366
|
+
"description": "The parts set so far in each row, which may be fewer than a whole\nvalue: one row, or two for a range."
|
|
21234
21367
|
},
|
|
21235
21368
|
{
|
|
21236
21369
|
"kind": "field",
|
|
@@ -21269,6 +21402,27 @@
|
|
|
21269
21402
|
"default": "undefined",
|
|
21270
21403
|
"description": "The value when focus came into the segments, so leaving them says `change` once."
|
|
21271
21404
|
},
|
|
21405
|
+
{
|
|
21406
|
+
"kind": "field",
|
|
21407
|
+
"name": "opener",
|
|
21408
|
+
"type": {
|
|
21409
|
+
"text": "HTMLElement | undefined"
|
|
21410
|
+
},
|
|
21411
|
+
"privacy": "private",
|
|
21412
|
+
"default": "undefined",
|
|
21413
|
+
"description": "The segment Alt+Down opened the picker from, which focus goes back to."
|
|
21414
|
+
},
|
|
21415
|
+
{
|
|
21416
|
+
"kind": "method",
|
|
21417
|
+
"name": "returnFocus",
|
|
21418
|
+
"privacy": "protected",
|
|
21419
|
+
"return": {
|
|
21420
|
+
"type": {
|
|
21421
|
+
"text": "void"
|
|
21422
|
+
}
|
|
21423
|
+
},
|
|
21424
|
+
"description": "Puts focus back on the segment the picker was opened from, as the\ntrigger takes it back to the field. Measured before this: Escape after\nAlt+Down on AM/PM put focus on the hour."
|
|
21425
|
+
},
|
|
21272
21426
|
{
|
|
21273
21427
|
"kind": "field",
|
|
21274
21428
|
"name": "segmentable",
|
|
@@ -21289,6 +21443,54 @@
|
|
|
21289
21443
|
"description": "Whether the segments are drawn: `segmented`, where the family can hold them.",
|
|
21290
21444
|
"readonly": true
|
|
21291
21445
|
},
|
|
21446
|
+
{
|
|
21447
|
+
"kind": "field",
|
|
21448
|
+
"name": "segmentGroups",
|
|
21449
|
+
"type": {
|
|
21450
|
+
"text": "number"
|
|
21451
|
+
},
|
|
21452
|
+
"privacy": "protected",
|
|
21453
|
+
"description": "How many rows of segments the value takes: two for a range, one otherwise.",
|
|
21454
|
+
"readonly": true
|
|
21455
|
+
},
|
|
21456
|
+
{
|
|
21457
|
+
"kind": "method",
|
|
21458
|
+
"name": "joined",
|
|
21459
|
+
"privacy": "private",
|
|
21460
|
+
"return": {
|
|
21461
|
+
"type": {
|
|
21462
|
+
"text": "string"
|
|
21463
|
+
}
|
|
21464
|
+
},
|
|
21465
|
+
"parameters": [
|
|
21466
|
+
{
|
|
21467
|
+
"name": "rows",
|
|
21468
|
+
"type": {
|
|
21469
|
+
"text": "readonly Segments[]"
|
|
21470
|
+
}
|
|
21471
|
+
}
|
|
21472
|
+
],
|
|
21473
|
+
"description": "The value the rows add up to: each row's, joined by commas, or empty while any row is not whole."
|
|
21474
|
+
},
|
|
21475
|
+
{
|
|
21476
|
+
"kind": "method",
|
|
21477
|
+
"name": "rowsOf",
|
|
21478
|
+
"privacy": "private",
|
|
21479
|
+
"return": {
|
|
21480
|
+
"type": {
|
|
21481
|
+
"text": "Segments[]"
|
|
21482
|
+
}
|
|
21483
|
+
},
|
|
21484
|
+
"parameters": [
|
|
21485
|
+
{
|
|
21486
|
+
"name": "value",
|
|
21487
|
+
"type": {
|
|
21488
|
+
"text": "string"
|
|
21489
|
+
}
|
|
21490
|
+
}
|
|
21491
|
+
],
|
|
21492
|
+
"description": "The rows a value names, one per row, empty where it names none."
|
|
21493
|
+
},
|
|
21292
21494
|
{
|
|
21293
21495
|
"kind": "field",
|
|
21294
21496
|
"name": "segmentedKind",
|
|
@@ -21319,6 +21521,16 @@
|
|
|
21319
21521
|
"description": "The clock and the seconds a time is laid out with.",
|
|
21320
21522
|
"readonly": true
|
|
21321
21523
|
},
|
|
21524
|
+
{
|
|
21525
|
+
"kind": "field",
|
|
21526
|
+
"name": "segmentSystem",
|
|
21527
|
+
"type": {
|
|
21528
|
+
"text": "MonthSystem | undefined"
|
|
21529
|
+
},
|
|
21530
|
+
"privacy": "protected",
|
|
21531
|
+
"description": "The calendar a date's parts are counted in, or `undefined` for the Gregorian calendar.",
|
|
21532
|
+
"readonly": true
|
|
21533
|
+
},
|
|
21322
21534
|
{
|
|
21323
21535
|
"kind": "field",
|
|
21324
21536
|
"name": "layout",
|
|
@@ -21368,6 +21580,12 @@
|
|
|
21368
21580
|
}
|
|
21369
21581
|
},
|
|
21370
21582
|
"parameters": [
|
|
21583
|
+
{
|
|
21584
|
+
"name": "row",
|
|
21585
|
+
"type": {
|
|
21586
|
+
"text": "number"
|
|
21587
|
+
}
|
|
21588
|
+
},
|
|
21371
21589
|
{
|
|
21372
21590
|
"name": "next",
|
|
21373
21591
|
"type": {
|
|
@@ -21488,6 +21706,24 @@
|
|
|
21488
21706
|
"description": "What a row of segments reports while some segments are set and others\nare not, where `bad-input-message` is not set. `{kind}` is `date` or\n`time`.",
|
|
21489
21707
|
"fieldName": "incompleteMessage"
|
|
21490
21708
|
},
|
|
21709
|
+
{
|
|
21710
|
+
"name": "range-end-label",
|
|
21711
|
+
"type": {
|
|
21712
|
+
"text": "string"
|
|
21713
|
+
},
|
|
21714
|
+
"default": "'End'",
|
|
21715
|
+
"description": "What a screen reader hears before the segments of a range's second date\nor time, after each segment's own name.",
|
|
21716
|
+
"fieldName": "rangeEndLabel"
|
|
21717
|
+
},
|
|
21718
|
+
{
|
|
21719
|
+
"name": "range-start-label",
|
|
21720
|
+
"type": {
|
|
21721
|
+
"text": "string"
|
|
21722
|
+
},
|
|
21723
|
+
"default": "'Start'",
|
|
21724
|
+
"description": "What a screen reader hears before the segments of a range's first date\nor time, after each segment's own name: \"month, Start, Stay\".",
|
|
21725
|
+
"fieldName": "rangeStartLabel"
|
|
21726
|
+
},
|
|
21491
21727
|
{
|
|
21492
21728
|
"name": "segmented",
|
|
21493
21729
|
"type": {
|
|
@@ -23880,7 +24116,7 @@
|
|
|
23880
24116
|
"default": "''"
|
|
23881
24117
|
}
|
|
23882
24118
|
],
|
|
23883
|
-
"description": "The language tag a date family formats with: `locale`, with the calendar it\nwrites dates in.\n\nThat is `calendar` where it
|
|
24119
|
+
"description": "The language tag a date family formats with: `locale`, with the calendar it\nwrites dates in.\n\nThat is `calendar` where it names a `DateCalendar` or a `MonthCalendar`,\nthen the locale's own calendar where its months are the Gregorian months,\nthen `gregory`. **A calendar with months of its own that only the locale\nnames, such as `persian` for `fa-IR` or `islamic-umalqura` for `ar-SA` in\nsome engines, is written as `gregory`**, so a page that asked for no other\ncalendar keeps the Gregorian dates it had. Before the date families drew\nsuch a calendar's own months, a heading in Mehr 1405 over the days of\nOctober 2026 named a month the grid did not show.\n\n`locale` unchanged where nothing moves, so a page in a Gregorian locale\nformats exactly as it did. Empty is the runtime's own locale. A tag `Intl`\nrefuses throws, as every formatter given one does. Remembered per locale and\ncalendar, since reading a locale's calendar builds a formatter."
|
|
23884
24120
|
},
|
|
23885
24121
|
{
|
|
23886
24122
|
"kind": "function",
|
|
@@ -23978,7 +24214,7 @@
|
|
|
23978
24214
|
"type": {
|
|
23979
24215
|
"text": "readonly string[]"
|
|
23980
24216
|
},
|
|
23981
|
-
"default": "[ 'coptic', 'ethiopic', 'hebrew', 'indian', 'islamic-civil', 'islamic-umalqura', 'persian', ]",
|
|
24217
|
+
"default": "[ 'chinese', 'coptic', 'dangi', 'ethioaa', 'ethiopic', 'hebrew', 'indian', 'islamic', 'islamic-civil', 'islamic-rgsa', 'islamic-tbla', 'islamic-umalqura', 'persian', ]",
|
|
23982
24218
|
"description": "The `MonthCalendar` names, for a check at run time."
|
|
23983
24219
|
},
|
|
23984
24220
|
{
|
|
@@ -23995,7 +24231,7 @@
|
|
|
23995
24231
|
"default": "''"
|
|
23996
24232
|
}
|
|
23997
24233
|
],
|
|
23998
|
-
"description": "The months a calendar pages through: its own for a
|
|
24234
|
+
"description": "The days, months, and years a calendar pages through: its own for a\n`MonthCalendar` name, and the Gregorian months for every other."
|
|
23999
24235
|
},
|
|
24000
24236
|
{
|
|
24001
24237
|
"kind": "function",
|
|
@@ -24104,6 +24340,10 @@
|
|
|
24104
24340
|
"type": {
|
|
24105
24341
|
"text": "string"
|
|
24106
24342
|
}
|
|
24343
|
+
},
|
|
24344
|
+
{
|
|
24345
|
+
"name": "system",
|
|
24346
|
+
"default": "GREGORIAN"
|
|
24107
24347
|
}
|
|
24108
24348
|
],
|
|
24109
24349
|
"description": "Whether a month, as its first day, lies wholly outside `min` and `max`, either of which may be empty."
|
|
@@ -24134,6 +24374,10 @@
|
|
|
24134
24374
|
"type": {
|
|
24135
24375
|
"text": "string"
|
|
24136
24376
|
}
|
|
24377
|
+
},
|
|
24378
|
+
{
|
|
24379
|
+
"name": "system",
|
|
24380
|
+
"default": "GREGORIAN"
|
|
24137
24381
|
}
|
|
24138
24382
|
],
|
|
24139
24383
|
"description": "Whether a year lies wholly outside `min` and `max`, either of which may be empty."
|
|
@@ -24148,13 +24392,13 @@
|
|
|
24148
24392
|
},
|
|
24149
24393
|
"parameters": [
|
|
24150
24394
|
{
|
|
24151
|
-
"name": "{
|
|
24395
|
+
"name": "{\n max,\n min,\n page,\n shown,\n system = GREGORIAN,\n today,\n view,\n}",
|
|
24152
24396
|
"type": {
|
|
24153
24397
|
"text": "PeriodPage"
|
|
24154
24398
|
}
|
|
24155
24399
|
}
|
|
24156
24400
|
],
|
|
24157
|
-
"description": "The
|
|
24401
|
+
"description": "The cells of the months or the years view, in reading order: the months of\n`page`, twelve or the thirteen a calendar's year may have, or the twelve\nyears on the page that holds it."
|
|
24158
24402
|
},
|
|
24159
24403
|
{
|
|
24160
24404
|
"kind": "function",
|
|
@@ -24194,9 +24438,16 @@
|
|
|
24194
24438
|
"type": {
|
|
24195
24439
|
"text": "number"
|
|
24196
24440
|
}
|
|
24441
|
+
},
|
|
24442
|
+
{
|
|
24443
|
+
"name": "months",
|
|
24444
|
+
"default": "() => 12",
|
|
24445
|
+
"type": {
|
|
24446
|
+
"text": "(year: number) => number"
|
|
24447
|
+
}
|
|
24197
24448
|
}
|
|
24198
24449
|
],
|
|
24199
|
-
"description": "Where a key takes the tab stop in the months or the years, or `null` for a\nkey the grid leaves alone.\n\n`stop` is the month's index or the year the stop is on, `year` the year the\nmonths view shows, and `along` which way the inline keys go, as\n`periodMove` takes it. A move off the months of one year lands in the next\nor the last, and a move off a page of years turns the page."
|
|
24450
|
+
"description": "Where a key takes the tab stop in the months or the years, or `null` for a\nkey the grid leaves alone.\n\n`stop` is the month's index or the year the stop is on, `year` the year the\nmonths view shows, and `along` which way the inline keys go, as\n`periodMove` takes it. A move off the months of one year lands in the next\nor the last, and a move off a page of years turns the page. `months` says\nhow many months a year has, twelve where it is not given. The page keys\nmove the months a year, to the month in the same place."
|
|
24200
24451
|
}
|
|
24201
24452
|
],
|
|
24202
24453
|
"exports": [
|
|
@@ -25803,6 +26054,13 @@
|
|
|
25803
26054
|
"type": {
|
|
25804
26055
|
"text": "boolean"
|
|
25805
26056
|
}
|
|
26057
|
+
},
|
|
26058
|
+
{
|
|
26059
|
+
"name": "system",
|
|
26060
|
+
"optional": true,
|
|
26061
|
+
"type": {
|
|
26062
|
+
"text": "MonthSystem"
|
|
26063
|
+
}
|
|
25806
26064
|
}
|
|
25807
26065
|
],
|
|
25808
26066
|
"description": "The lowest and highest a segment can be, as it is shown: the hour on a twelve\nhour clock is 1 to 12, and a day goes as high as its month allows."
|
|
@@ -25869,9 +26127,16 @@
|
|
|
25869
26127
|
"type": {
|
|
25870
26128
|
"text": "boolean"
|
|
25871
26129
|
}
|
|
26130
|
+
},
|
|
26131
|
+
{
|
|
26132
|
+
"name": "system",
|
|
26133
|
+
"optional": true,
|
|
26134
|
+
"type": {
|
|
26135
|
+
"text": "MonthSystem"
|
|
26136
|
+
}
|
|
25872
26137
|
}
|
|
25873
26138
|
],
|
|
25874
|
-
"description": "Sets a segment from the number shown for it, which on a twelve hour clock\nis put back together with the half of the day, and keeps the day inside its
|
|
26139
|
+
"description": "Sets a segment from the number shown for it, which on a twelve hour clock\nis put back together with the half of the day, and keeps the month inside\nits year and the day inside its month."
|
|
25875
26140
|
},
|
|
25876
26141
|
{
|
|
25877
26142
|
"kind": "function",
|
|
@@ -25908,7 +26173,17 @@
|
|
|
25908
26173
|
},
|
|
25909
26174
|
{
|
|
25910
26175
|
"name": "thisYear",
|
|
25911
|
-
"
|
|
26176
|
+
"optional": true,
|
|
26177
|
+
"type": {
|
|
26178
|
+
"text": "number"
|
|
26179
|
+
}
|
|
26180
|
+
},
|
|
26181
|
+
{
|
|
26182
|
+
"name": "system",
|
|
26183
|
+
"optional": true,
|
|
26184
|
+
"type": {
|
|
26185
|
+
"text": "MonthSystem"
|
|
26186
|
+
}
|
|
25912
26187
|
}
|
|
25913
26188
|
],
|
|
25914
26189
|
"description": "A segment moved by a key's step, wrapping at its ends as a dial does, and\nstarting from where a reader would look for it when it is empty: the lowest\ngoing up, the highest going down, and this year for a year."
|
|
@@ -25951,6 +26226,13 @@
|
|
|
25951
26226
|
"type": {
|
|
25952
26227
|
"text": "boolean"
|
|
25953
26228
|
}
|
|
26229
|
+
},
|
|
26230
|
+
{
|
|
26231
|
+
"name": "system",
|
|
26232
|
+
"optional": true,
|
|
26233
|
+
"type": {
|
|
26234
|
+
"text": "MonthSystem"
|
|
26235
|
+
}
|
|
25954
26236
|
}
|
|
25955
26237
|
],
|
|
25956
26238
|
"description": "A digit typed into a segment, given what was typed into it already.\n\nThe digits run on while the number they make still fits and could take\nanother, so `1` then `2` in a month is December; a digit that would overflow\nstarts the number over. `advance` says the segment is full, so focus moves\non, which is React Aria's typing: `3` in a month is March and moves to the\nday, `1` waits for a second digit."
|
|
@@ -25971,7 +26253,7 @@
|
|
|
25971
26253
|
}
|
|
25972
26254
|
},
|
|
25973
26255
|
{
|
|
25974
|
-
"name": "{ kind, locale, segments, twelve, typed }",
|
|
26256
|
+
"name": "{ kind, locale, segments, system, twelve, typed }",
|
|
25975
26257
|
"type": {
|
|
25976
26258
|
"text": "SegmentKeyState"
|
|
25977
26259
|
}
|
|
@@ -25999,9 +26281,16 @@
|
|
|
25999
26281
|
"type": {
|
|
26000
26282
|
"text": "string"
|
|
26001
26283
|
}
|
|
26284
|
+
},
|
|
26285
|
+
{
|
|
26286
|
+
"name": "system",
|
|
26287
|
+
"optional": true,
|
|
26288
|
+
"type": {
|
|
26289
|
+
"text": "MonthSystem"
|
|
26290
|
+
}
|
|
26002
26291
|
}
|
|
26003
26292
|
],
|
|
26004
|
-
"description": "The segments a value names, or none where it names nothing whole."
|
|
26293
|
+
"description": "The segments a value names, or none where it names nothing whole: a date's\nyear, month, and day as `system` counts them, Gregorian where none is given."
|
|
26005
26294
|
},
|
|
26006
26295
|
{
|
|
26007
26296
|
"kind": "function",
|
|
@@ -26029,6 +26318,13 @@
|
|
|
26029
26318
|
"type": {
|
|
26030
26319
|
"text": "readonly SegmentSlot[]"
|
|
26031
26320
|
}
|
|
26321
|
+
},
|
|
26322
|
+
{
|
|
26323
|
+
"name": "system",
|
|
26324
|
+
"optional": true,
|
|
26325
|
+
"type": {
|
|
26326
|
+
"text": "MonthSystem"
|
|
26327
|
+
}
|
|
26032
26328
|
}
|
|
26033
26329
|
],
|
|
26034
26330
|
"description": "The value the segments add up to, or the empty string while any segment the\nlayout shows is unset.\n\nA date that does not exist, the thirtieth of February, cannot be reached,\nthe day being kept inside its month as it is set."
|
|
@@ -26059,6 +26355,13 @@
|
|
|
26059
26355
|
"type": {
|
|
26060
26356
|
"text": "readonly SegmentSlot[]"
|
|
26061
26357
|
}
|
|
26358
|
+
},
|
|
26359
|
+
{
|
|
26360
|
+
"name": "system",
|
|
26361
|
+
"optional": true,
|
|
26362
|
+
"type": {
|
|
26363
|
+
"text": "MonthSystem"
|
|
26364
|
+
}
|
|
26062
26365
|
}
|
|
26063
26366
|
],
|
|
26064
26367
|
"description": "Whether a reader has set some segments and not all of them."
|
|
@@ -26131,9 +26434,16 @@
|
|
|
26131
26434
|
"type": {
|
|
26132
26435
|
"text": "string"
|
|
26133
26436
|
}
|
|
26437
|
+
},
|
|
26438
|
+
{
|
|
26439
|
+
"name": "system",
|
|
26440
|
+
"optional": true,
|
|
26441
|
+
"type": {
|
|
26442
|
+
"text": "MonthSystem"
|
|
26443
|
+
}
|
|
26134
26444
|
}
|
|
26135
26445
|
],
|
|
26136
|
-
"description": "What a screen reader hears for a segment's value: what it shows, and for a\nmonth its name as well, \"8 – August\", which is React Aria's reading. A\nmonth heard as a number alone leaves a reader counting."
|
|
26446
|
+
"description": "What a screen reader hears for a segment's value: what it shows, and for a\nmonth its name as well, \"8 – August\", which is React Aria's reading. A\nmonth heard as a number alone leaves a reader counting. In a calendar with\nmonths of its own, the name is that calendar's month in the year the\nsegments hold, or in this year: \"7 – Mehr\"."
|
|
26137
26447
|
},
|
|
26138
26448
|
{
|
|
26139
26449
|
"kind": "function",
|
|
@@ -26158,6 +26468,65 @@
|
|
|
26158
26468
|
}
|
|
26159
26469
|
],
|
|
26160
26470
|
"description": "What a locale calls a segment, such as \"month\" or \"AM/PM\", from `Intl`."
|
|
26471
|
+
},
|
|
26472
|
+
{
|
|
26473
|
+
"kind": "function",
|
|
26474
|
+
"name": "readWrittenDate",
|
|
26475
|
+
"return": {
|
|
26476
|
+
"type": {
|
|
26477
|
+
"text": "string"
|
|
26478
|
+
}
|
|
26479
|
+
},
|
|
26480
|
+
"parameters": [
|
|
26481
|
+
{
|
|
26482
|
+
"name": "text",
|
|
26483
|
+
"type": {
|
|
26484
|
+
"text": "string"
|
|
26485
|
+
}
|
|
26486
|
+
},
|
|
26487
|
+
{
|
|
26488
|
+
"name": "locale",
|
|
26489
|
+
"type": {
|
|
26490
|
+
"text": "string"
|
|
26491
|
+
}
|
|
26492
|
+
},
|
|
26493
|
+
{
|
|
26494
|
+
"name": "system",
|
|
26495
|
+
"optional": true,
|
|
26496
|
+
"type": {
|
|
26497
|
+
"text": "MonthSystem"
|
|
26498
|
+
}
|
|
26499
|
+
}
|
|
26500
|
+
],
|
|
26501
|
+
"description": "The date a reader wrote in the order and the digits of `locale`, as\n`YYYY-MM-DD`, or empty where it is no date.\n\n`8/4/2026` in `en-US` and `4.8.2026` in `de-DE` are August 4, 2026, and a\nmonth written as a word, `Aug 4, 2026` or `4. August 2026`, is read by its\nname in the Gregorian calendar. A first number of four digits is a year,\nas ISO writes it. A year of two digits is the nearest year within eighty\nyears back and twenty forward. `Intl` formats and does not parse, so this\nreads the numbers back in the order `segmentLayout` finds the locale\nwriting them. Under `system`, the numbers are that calendar's year, month,\nand day."
|
|
26502
|
+
},
|
|
26503
|
+
{
|
|
26504
|
+
"kind": "function",
|
|
26505
|
+
"name": "readWrittenTime",
|
|
26506
|
+
"return": {
|
|
26507
|
+
"type": {
|
|
26508
|
+
"text": "string"
|
|
26509
|
+
}
|
|
26510
|
+
},
|
|
26511
|
+
"parameters": [
|
|
26512
|
+
{
|
|
26513
|
+
"name": "text",
|
|
26514
|
+
"type": {
|
|
26515
|
+
"text": "string"
|
|
26516
|
+
}
|
|
26517
|
+
},
|
|
26518
|
+
{
|
|
26519
|
+
"name": "locale",
|
|
26520
|
+
"type": {
|
|
26521
|
+
"text": "string"
|
|
26522
|
+
}
|
|
26523
|
+
},
|
|
26524
|
+
{
|
|
26525
|
+
"name": "seconds",
|
|
26526
|
+
"default": "false"
|
|
26527
|
+
}
|
|
26528
|
+
],
|
|
26529
|
+
"description": "The time a reader wrote, as `HH:mm`, or `HH:mm:ss` with `seconds`, or empty\nwhere it is no time.\n\nReads `2:30 PM`, `2.30pm`, `14h30`, and `3 pm` alike, with the half of the\nday in the locale's own words or as `am` and `pm`, and digits in the\nlocale's own script."
|
|
26161
26530
|
}
|
|
26162
26531
|
],
|
|
26163
26532
|
"exports": [
|
|
@@ -26272,6 +26641,22 @@
|
|
|
26272
26641
|
"name": "segmentName",
|
|
26273
26642
|
"module": "src/utils/date-segments/date-segments.ts"
|
|
26274
26643
|
}
|
|
26644
|
+
},
|
|
26645
|
+
{
|
|
26646
|
+
"kind": "js",
|
|
26647
|
+
"name": "readWrittenDate",
|
|
26648
|
+
"declaration": {
|
|
26649
|
+
"name": "readWrittenDate",
|
|
26650
|
+
"module": "src/utils/date-segments/date-segments.ts"
|
|
26651
|
+
}
|
|
26652
|
+
},
|
|
26653
|
+
{
|
|
26654
|
+
"kind": "js",
|
|
26655
|
+
"name": "readWrittenTime",
|
|
26656
|
+
"declaration": {
|
|
26657
|
+
"name": "readWrittenTime",
|
|
26658
|
+
"module": "src/utils/date-segments/date-segments.ts"
|
|
26659
|
+
}
|
|
26275
26660
|
}
|
|
26276
26661
|
]
|
|
26277
26662
|
},
|
|
@@ -32474,7 +32859,7 @@
|
|
|
32474
32859
|
"type": {
|
|
32475
32860
|
"text": "string"
|
|
32476
32861
|
},
|
|
32477
|
-
"default": "'0.
|
|
32862
|
+
"default": "'0.160.0'",
|
|
32478
32863
|
"description": "The version of the package this file ships in.\n\n**Written by `fusion/scripts/version.mjs`** wherever it writes the package's\n`package.json`, and stamped back into the repository beside it after a\nrelease, so the two never disagree; a spec beside this holds them to it.\nNothing else in the running code knows which release it is."
|
|
32479
32864
|
}
|
|
32480
32865
|
],
|
|
@@ -33034,6 +33419,6 @@
|
|
|
33034
33419
|
],
|
|
33035
33420
|
"helix": {
|
|
33036
33421
|
"package": "@fusion.dev/helix-core",
|
|
33037
|
-
"version": "0.
|
|
33422
|
+
"version": "0.160.0"
|
|
33038
33423
|
}
|
|
33039
33424
|
}
|