@fusion.dev/helix 0.177.1 → 0.177.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/custom-elements.json +100 -38
- package/dist/button/root/button-root.css.js +2 -2
- package/dist/progress/root/progress-root.css.js +2 -2
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +126 -36
- package/types/vue.d.ts +42 -12
- package/types/words.d.ts +6 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix",
|
|
3
3
|
"description": "Styled component tier. Extends the headless tier with token-driven presentation.",
|
|
4
|
-
"version": "0.177.
|
|
4
|
+
"version": "0.177.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@fusion.dev/helix-core": "0.177.
|
|
58
|
-
"@fusion.dev/helix-headless": "0.177.
|
|
59
|
-
"@fusion.dev/helix-styles": "0.177.
|
|
57
|
+
"@fusion.dev/helix-core": "0.177.2",
|
|
58
|
+
"@fusion.dev/helix-headless": "0.177.2",
|
|
59
|
+
"@fusion.dev/helix-styles": "0.177.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.177.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.177.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.177.2",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.177.2",
|
|
64
64
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
65
65
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
66
66
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -12361,10 +12361,22 @@ Empty is the reader's own. Dates are plain `YYYY-MM-DD` and carry no zone. */
|
|
|
12361
12361
|
/** The message shown when `disable-dates` or `disable-days` bars a date. */
|
|
12362
12362
|
unavailableMessage?: (HelixDateInput["unavailableMessage"]) | undefined;
|
|
12363
12363
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
12364
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
12364
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
12365
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
12366
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
12367
|
+
|
|
12368
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
12369
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
12370
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
12365
12371
|
"unreadable-message"?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
12366
12372
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
12367
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
12373
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
12374
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
12375
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
12376
|
+
|
|
12377
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
12378
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
12379
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
12368
12380
|
unreadableMessage?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
12369
12381
|
/** The name of the calendar's heading where it shows a page of years, with
|
|
12370
12382
|
`{heading}` filled in. */
|
|
@@ -12881,10 +12893,22 @@ Empty is the reader's own. Dates are plain `YYYY-MM-DD` and carry no zone. */
|
|
|
12881
12893
|
/** The message shown when `disable-dates` or `disable-days` bars a date. */
|
|
12882
12894
|
"prop:unavailableMessage"?: (HelixDateInput["unavailableMessage"]) | undefined;
|
|
12883
12895
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
12884
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
12896
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
12897
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
12898
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
12899
|
+
|
|
12900
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
12901
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
12902
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
12885
12903
|
"attr:unreadable-message"?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
12886
12904
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
12887
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
12905
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
12906
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
12907
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
12908
|
+
|
|
12909
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
12910
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
12911
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
12888
12912
|
"prop:unreadableMessage"?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
12889
12913
|
/** The name of the calendar's heading where it shows a page of years, with
|
|
12890
12914
|
`{heading}` filled in. */
|
|
@@ -13013,16 +13037,24 @@ a reset should return to. */
|
|
|
13013
13037
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
13014
13038
|
named for the validity flag it reports, so a form in another language
|
|
13015
13039
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
13016
|
-
the English. `{
|
|
13017
|
-
|
|
13040
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
13041
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
13042
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
13043
|
+
|
|
13044
|
+
**The default names a date in words.** It said "Enter a date as
|
|
13045
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
13018
13046
|
"bad-input-message"?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
13019
13047
|
/** The validation message for a value that is not a date.
|
|
13020
13048
|
|
|
13021
13049
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
13022
13050
|
named for the validity flag it reports, so a form in another language
|
|
13023
13051
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
13024
|
-
the English. `{
|
|
13025
|
-
|
|
13052
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
13053
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
13054
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
13055
|
+
|
|
13056
|
+
**The default names a date in words.** It said "Enter a date as
|
|
13057
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
13026
13058
|
badInputMessage?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
13027
13059
|
/** The calendar the heading, the days, and the months are written in.
|
|
13028
13060
|
|
|
@@ -13358,16 +13390,24 @@ a reset should return to. */
|
|
|
13358
13390
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
13359
13391
|
named for the validity flag it reports, so a form in another language
|
|
13360
13392
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
13361
|
-
the English. `{
|
|
13362
|
-
|
|
13393
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
13394
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
13395
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
13396
|
+
|
|
13397
|
+
**The default names a date in words.** It said "Enter a date as
|
|
13398
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
13363
13399
|
"attr:bad-input-message"?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
13364
13400
|
/** The validation message for a value that is not a date.
|
|
13365
13401
|
|
|
13366
13402
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
13367
13403
|
named for the validity flag it reports, so a form in another language
|
|
13368
13404
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
13369
|
-
the English. `{
|
|
13370
|
-
|
|
13405
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
13406
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
13407
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
13408
|
+
|
|
13409
|
+
**The default names a date in words.** It said "Enter a date as
|
|
13410
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
13371
13411
|
"prop:badInputMessage"?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
13372
13412
|
/** The calendar the heading, the days, and the months are written in.
|
|
13373
13413
|
|
|
@@ -37193,18 +37233,28 @@ a reset should return to. */
|
|
|
37193
37233
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
37194
37234
|
named for the validity flag it reports, so a form in another language
|
|
37195
37235
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
37196
|
-
the English. `{
|
|
37197
|
-
`
|
|
37198
|
-
|
|
37236
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
37237
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
37238
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
37239
|
+
have its own sentence.
|
|
37240
|
+
|
|
37241
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
37242
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
37243
|
+
token is words for a developer. Time Input says the same. */
|
|
37199
37244
|
"bad-input-message"?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
37200
37245
|
/** The validation message for a value that is not a time.
|
|
37201
37246
|
|
|
37202
37247
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
37203
37248
|
named for the validity flag it reports, so a form in another language
|
|
37204
37249
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
37205
|
-
the English. `{
|
|
37206
|
-
`
|
|
37207
|
-
|
|
37250
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
37251
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
37252
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
37253
|
+
have its own sentence.
|
|
37254
|
+
|
|
37255
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
37256
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
37257
|
+
token is words for a developer. Time Input says the same. */
|
|
37208
37258
|
badInputMessage?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
37209
37259
|
/** Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
37210
37260
|
|
|
@@ -37541,18 +37591,28 @@ a reset should return to. */
|
|
|
37541
37591
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
37542
37592
|
named for the validity flag it reports, so a form in another language
|
|
37543
37593
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
37544
|
-
the English. `{
|
|
37545
|
-
`
|
|
37546
|
-
|
|
37594
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
37595
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
37596
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
37597
|
+
have its own sentence.
|
|
37598
|
+
|
|
37599
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
37600
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
37601
|
+
token is words for a developer. Time Input says the same. */
|
|
37547
37602
|
"attr:bad-input-message"?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
37548
37603
|
/** The validation message for a value that is not a time.
|
|
37549
37604
|
|
|
37550
37605
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
37551
37606
|
named for the validity flag it reports, so a form in another language
|
|
37552
37607
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
37553
|
-
the English. `{
|
|
37554
|
-
`
|
|
37555
|
-
|
|
37608
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
37609
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
37610
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
37611
|
+
have its own sentence.
|
|
37612
|
+
|
|
37613
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
37614
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
37615
|
+
token is words for a developer. Time Input says the same. */
|
|
37556
37616
|
"prop:badInputMessage"?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
37557
37617
|
/** Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
37558
37618
|
|
|
@@ -49682,7 +49742,13 @@ export type CustomElements = {
|
|
|
49682
49742
|
* - `trigger-label`/`triggerLabel`: The name of the button that opens the calendar, read by screen readers.
|
|
49683
49743
|
* - `unavailable-message`/`unavailableMessage`: The message shown when `disable-dates` or `disable-days` bars a date.
|
|
49684
49744
|
* - `unreadable-message`/`unreadableMessage`: The message for text that is no date, where `bad-input-message` is not
|
|
49685
|
-
* set. `{mode}` is `single`, `range`, or `multiple
|
|
49745
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
49746
|
+
* date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
49747
|
+
* `24. August 2026` in `de-DE` at the default `date-style`.
|
|
49748
|
+
*
|
|
49749
|
+
* **The default names a date the field reads back.** It said "Enter a date
|
|
49750
|
+
* as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
49751
|
+
* pattern token is words for a developer. Time Input says the same.
|
|
49686
49752
|
* - `year-view-label`/`yearViewLabel`: The name of the calendar's heading where it shows a page of years, with
|
|
49687
49753
|
* `{heading}` filled in.
|
|
49688
49754
|
* - `disabled`: Whether the control is disabled and cannot be used.
|
|
@@ -49971,8 +50037,12 @@ export type CustomElements = {
|
|
|
49971
50037
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
49972
50038
|
* named for the validity flag it reports, so a form in another language
|
|
49973
50039
|
* speaks it. Unset is the sentence registered for the page's language, then
|
|
49974
|
-
* the English. `{
|
|
49975
|
-
*
|
|
50040
|
+
* the English. `{example}` is a date written as the calendar names one,
|
|
50041
|
+
* `August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
50042
|
+
* is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
50043
|
+
*
|
|
50044
|
+
* **The default names a date in words.** It said "Enter a date as
|
|
50045
|
+
* YYYY-MM-DD.", and a pattern token is words for a developer.
|
|
49976
50046
|
* - `calendar`: The calendar the heading, the days, and the months are written in.
|
|
49977
50047
|
*
|
|
49978
50048
|
* `gregory`, `buddhist`, `japanese`, `roc`, and `iso8601` are the five
|
|
@@ -68167,9 +68237,14 @@ export type CustomElements = {
|
|
|
68167
68237
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
68168
68238
|
* named for the validity flag it reports, so a form in another language
|
|
68169
68239
|
* speaks it. Unset is the sentence registered for the page's language, then
|
|
68170
|
-
* the English. `{
|
|
68171
|
-
* `
|
|
68172
|
-
*
|
|
68240
|
+
* the English. `{example}` is a time written as the picker writes one,
|
|
68241
|
+
* `2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
68242
|
+
* `HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
68243
|
+
* have its own sentence.
|
|
68244
|
+
*
|
|
68245
|
+
* **The default names a time as the picker shows one.** It said "Enter a
|
|
68246
|
+
* time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
68247
|
+
* token is words for a developer. Time Input says the same.
|
|
68173
68248
|
* - `disable-times`/`disableTimes`: Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
68174
68249
|
*
|
|
68175
68250
|
* The counterpart to Date Picker's `disable-dates`, and it exists for the same
|
|
@@ -79349,7 +79424,13 @@ export type CustomElementsSolidJs = {
|
|
|
79349
79424
|
* - `trigger-label`/`triggerLabel`: The name of the button that opens the calendar, read by screen readers.
|
|
79350
79425
|
* - `unavailable-message`/`unavailableMessage`: The message shown when `disable-dates` or `disable-days` bars a date.
|
|
79351
79426
|
* - `unreadable-message`/`unreadableMessage`: The message for text that is no date, where `bad-input-message` is not
|
|
79352
|
-
* set. `{mode}` is `single`, `range`, or `multiple
|
|
79427
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
79428
|
+
* date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
79429
|
+
* `24. August 2026` in `de-DE` at the default `date-style`.
|
|
79430
|
+
*
|
|
79431
|
+
* **The default names a date the field reads back.** It said "Enter a date
|
|
79432
|
+
* as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
79433
|
+
* pattern token is words for a developer. Time Input says the same.
|
|
79353
79434
|
* - `year-view-label`/`yearViewLabel`: The name of the calendar's heading where it shows a page of years, with
|
|
79354
79435
|
* `{heading}` filled in.
|
|
79355
79436
|
* - `disabled`: Whether the control is disabled and cannot be used.
|
|
@@ -79641,8 +79722,12 @@ export type CustomElementsSolidJs = {
|
|
|
79641
79722
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
79642
79723
|
* named for the validity flag it reports, so a form in another language
|
|
79643
79724
|
* speaks it. Unset is the sentence registered for the page's language, then
|
|
79644
|
-
* the English. `{
|
|
79645
|
-
*
|
|
79725
|
+
* the English. `{example}` is a date written as the calendar names one,
|
|
79726
|
+
* `August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
79727
|
+
* is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
79728
|
+
*
|
|
79729
|
+
* **The default names a date in words.** It said "Enter a date as
|
|
79730
|
+
* YYYY-MM-DD.", and a pattern token is words for a developer.
|
|
79646
79731
|
* - `calendar`: The calendar the heading, the days, and the months are written in.
|
|
79647
79732
|
*
|
|
79648
79733
|
* `gregory`, `buddhist`, `japanese`, `roc`, and `iso8601` are the five
|
|
@@ -98163,9 +98248,14 @@ export type CustomElementsSolidJs = {
|
|
|
98163
98248
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
98164
98249
|
* named for the validity flag it reports, so a form in another language
|
|
98165
98250
|
* speaks it. Unset is the sentence registered for the page's language, then
|
|
98166
|
-
* the English. `{
|
|
98167
|
-
* `
|
|
98168
|
-
*
|
|
98251
|
+
* the English. `{example}` is a time written as the picker writes one,
|
|
98252
|
+
* `2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
98253
|
+
* `HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
98254
|
+
* have its own sentence.
|
|
98255
|
+
*
|
|
98256
|
+
* **The default names a time as the picker shows one.** It said "Enter a
|
|
98257
|
+
* time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
98258
|
+
* token is words for a developer. Time Input says the same.
|
|
98169
98259
|
* - `disable-times`/`disableTimes`: Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
98170
98260
|
*
|
|
98171
98261
|
* The counterpart to Date Picker's `disable-dates`, and it exists for the same
|
package/types/vue.d.ts
CHANGED
|
@@ -6581,10 +6581,22 @@ Empty is the reader's own. Dates are plain `YYYY-MM-DD` and carry no zone. */
|
|
|
6581
6581
|
/** The message shown when `disable-dates` or `disable-days` bars a date. */
|
|
6582
6582
|
unavailableMessage?: (HelixDateInput["unavailableMessage"]) | undefined;
|
|
6583
6583
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
6584
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
6584
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
6585
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
6586
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
6587
|
+
|
|
6588
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
6589
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
6590
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
6585
6591
|
"unreadable-message"?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
6586
6592
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
6587
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
6593
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
6594
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
6595
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
6596
|
+
|
|
6597
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
6598
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
6599
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
6588
6600
|
unreadableMessage?: (HelixDateInput["unreadableMessage"]) | undefined;
|
|
6589
6601
|
/** The name of the calendar's heading where it shows a page of years, with
|
|
6590
6602
|
`{heading}` filled in. */
|
|
@@ -6705,16 +6717,24 @@ a reset should return to. */
|
|
|
6705
6717
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
6706
6718
|
named for the validity flag it reports, so a form in another language
|
|
6707
6719
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
6708
|
-
the English. `{
|
|
6709
|
-
|
|
6720
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
6721
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
6722
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
6723
|
+
|
|
6724
|
+
**The default names a date in words.** It said "Enter a date as
|
|
6725
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
6710
6726
|
"bad-input-message"?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
6711
6727
|
/** The validation message for a value that is not a date.
|
|
6712
6728
|
|
|
6713
6729
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
6714
6730
|
named for the validity flag it reports, so a form in another language
|
|
6715
6731
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
6716
|
-
the English. `{
|
|
6717
|
-
|
|
6732
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
6733
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
6734
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
6735
|
+
|
|
6736
|
+
**The default names a date in words.** It said "Enter a date as
|
|
6737
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
6718
6738
|
badInputMessage?: (HelixDatePicker["badInputMessage"]) | undefined;
|
|
6719
6739
|
/** The calendar the heading, the days, and the months are written in.
|
|
6720
6740
|
|
|
@@ -19087,18 +19107,28 @@ a reset should return to. */
|
|
|
19087
19107
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
19088
19108
|
named for the validity flag it reports, so a form in another language
|
|
19089
19109
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
19090
|
-
the English. `{
|
|
19091
|
-
`
|
|
19092
|
-
|
|
19110
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
19111
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
19112
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
19113
|
+
have its own sentence.
|
|
19114
|
+
|
|
19115
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
19116
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
19117
|
+
token is words for a developer. Time Input says the same. */
|
|
19093
19118
|
"bad-input-message"?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
19094
19119
|
/** The validation message for a value that is not a time.
|
|
19095
19120
|
|
|
19096
19121
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
19097
19122
|
named for the validity flag it reports, so a form in another language
|
|
19098
19123
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
19099
|
-
the English. `{
|
|
19100
|
-
`
|
|
19101
|
-
|
|
19124
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
19125
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
19126
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
19127
|
+
have its own sentence.
|
|
19128
|
+
|
|
19129
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
19130
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
19131
|
+
token is words for a developer. Time Input says the same. */
|
|
19102
19132
|
badInputMessage?: (HelixTimePicker["badInputMessage"]) | undefined;
|
|
19103
19133
|
/** Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
19104
19134
|
|
package/types/words.d.ts
CHANGED
|
@@ -900,9 +900,11 @@ declare module '@fusion.dev/helix-core' {
|
|
|
900
900
|
undoneLabel: Message
|
|
901
901
|
/**
|
|
902
902
|
* The message for text that is no date, where `bad-input-message` is not
|
|
903
|
-
* set. `{mode}` is `single`, `range`, or `multiple
|
|
903
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
904
|
+
* date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
905
|
+
* `24. August 2026` in `de-DE` at the default `date-style`.
|
|
904
906
|
*
|
|
905
|
-
* English: `{mode, select, single {Enter a date as
|
|
907
|
+
* English: `{mode, select, single {Enter a date such as {example}.} other {Enter dates such as {example}, separated by commas.}}`
|
|
906
908
|
*/
|
|
907
909
|
unreadableMessage: Message
|
|
908
910
|
/**
|
|
@@ -1424,7 +1426,7 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1424
1426
|
/**
|
|
1425
1427
|
* The validation message for a value that is not a date.
|
|
1426
1428
|
*
|
|
1427
|
-
* English: `{mode, select, single {Enter a date as
|
|
1429
|
+
* English: `{mode, select, single {Enter a date such as {example}.} other {Enter dates such as {example}, separated by commas.}}`
|
|
1428
1430
|
*/
|
|
1429
1431
|
badInputMessage: Message
|
|
1430
1432
|
/**
|
|
@@ -2537,7 +2539,7 @@ declare module '@fusion.dev/helix-core' {
|
|
|
2537
2539
|
/**
|
|
2538
2540
|
* The validation message for a value that is not a time.
|
|
2539
2541
|
*
|
|
2540
|
-
* English: `{mode, select, single {Enter a time as {
|
|
2542
|
+
* English: `{mode, select, single {Enter a time such as {example}.} other {Enter times such as {example}, separated by commas.}}`
|
|
2541
2543
|
*/
|
|
2542
2544
|
badInputMessage: Message
|
|
2543
2545
|
/**
|