@fusion.dev/helix-headless 0.177.0 → 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 +888 -115
- package/dist/button/root/button-root.js +1 -0
- package/dist/chat/composer/chat-composer.d.ts +1 -1
- package/dist/chat/composer/chat-composer.js +1 -1
- package/dist/color-input/root/color-input-root.d.ts +0 -13
- package/dist/color-input/root/color-input-root.js +1 -19
- package/dist/color-picker/root/color-picker-root.d.ts +10 -0
- package/dist/color-picker/root/color-picker-root.js +20 -13
- package/dist/combobox/root/combobox-root.d.ts +13 -0
- package/dist/combobox/root/combobox-root.js +16 -4
- package/dist/date-input/root/date-input-root.d.ts +7 -1
- package/dist/date-input/root/date-input-root.js +6 -2
- package/dist/date-picker/root/date-picker-root.d.ts +6 -2
- package/dist/date-picker/root/date-picker-root.js +6 -2
- package/dist/file-input/root/file-input-root.d.ts +3 -2
- package/dist/file-input/root/file-input-root.js +5 -2
- package/dist/pin-input/root/pin-input-root.js +1 -0
- package/dist/time-input/root/time-input-root.d.ts +7 -1
- package/dist/time-input/root/time-input-root.js +6 -3
- package/dist/time-picker/root/time-picker-root.d.ts +8 -3
- package/dist/time-picker/root/time-picker-root.js +2 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +282 -54
- package/types/vue.d.ts +57 -15
- package/types/words.d.ts +10 -6
package/types/vue.d.ts
CHANGED
|
@@ -2680,7 +2680,7 @@ export type HelixHeadlessChatComposerVueEvents = {
|
|
|
2680
2680
|
"helix-send": HelixHeadlessChatComposerHelixSendElementEvent;
|
|
2681
2681
|
/** The user started or stopped writing, with `typing` saying which, as the composer's `typing` does. */
|
|
2682
2682
|
"helix-typing": HelixHeadlessChatComposerHelixTypingElementEvent;
|
|
2683
|
-
/** The user changed the text. Read it from `value`, for a typing indicator or a saved draft.
|
|
2683
|
+
/** The user changed the text. Read it from `value`, for a typing indicator or a saved draft. Bubbles and is composed, as a native field's is. */
|
|
2684
2684
|
input: HelixHeadlessChatComposerElementEvent;
|
|
2685
2685
|
};
|
|
2686
2686
|
|
|
@@ -5540,10 +5540,22 @@ Empty is the reader's own. Dates are plain `YYYY-MM-DD` and carry no zone. */
|
|
|
5540
5540
|
/** The message shown when `disable-dates` or `disable-days` bars a date. */
|
|
5541
5541
|
unavailableMessage?: (HelixHeadlessDateInput["unavailableMessage"]) | undefined;
|
|
5542
5542
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
5543
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
5543
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
5544
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
5545
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
5546
|
+
|
|
5547
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
5548
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
5549
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
5544
5550
|
"unreadable-message"?: (HelixHeadlessDateInput["unreadableMessage"]) | undefined;
|
|
5545
5551
|
/** The message for text that is no date, where `bad-input-message` is not
|
|
5546
|
-
set. `{mode}` is `single`, `range`, or `multiple
|
|
5552
|
+
set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
5553
|
+
date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
5554
|
+
`24. August 2026` in `de-DE` at the default `date-style`.
|
|
5555
|
+
|
|
5556
|
+
**The default names a date the field reads back.** It said "Enter a date
|
|
5557
|
+
as YYYY-MM-DD." to a reader whose field showed `August 4, 2026`, and a
|
|
5558
|
+
pattern token is words for a developer. Time Input says the same. */
|
|
5547
5559
|
unreadableMessage?: (HelixHeadlessDateInput["unreadableMessage"]) | undefined;
|
|
5548
5560
|
/** The name of the calendar's heading where it shows a page of years, with
|
|
5549
5561
|
`{heading}` filled in. */
|
|
@@ -5834,16 +5846,24 @@ export type HelixHeadlessDatePickerVueProps = {
|
|
|
5834
5846
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
5835
5847
|
named for the validity flag it reports, so a form in another language
|
|
5836
5848
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
5837
|
-
the English. `{
|
|
5838
|
-
|
|
5849
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
5850
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
5851
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
5852
|
+
|
|
5853
|
+
**The default names a date in words.** It said "Enter a date as
|
|
5854
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
5839
5855
|
"bad-input-message"?: (HelixHeadlessDatePicker["badInputMessage"]) | undefined;
|
|
5840
5856
|
/** The validation message for a value that is not a date.
|
|
5841
5857
|
|
|
5842
5858
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
5843
5859
|
named for the validity flag it reports, so a form in another language
|
|
5844
5860
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
5845
|
-
the English. `{
|
|
5846
|
-
|
|
5861
|
+
the English. `{example}` is a date written as the calendar names one,
|
|
5862
|
+
`August 24, 2026` in `en-US` and `24. August 2026` in `de-DE`, and `{mode}`
|
|
5863
|
+
is `single`, `range` or `multiple`, so each can have its own sentence.
|
|
5864
|
+
|
|
5865
|
+
**The default names a date in words.** It said "Enter a date as
|
|
5866
|
+
YYYY-MM-DD.", and a pattern token is words for a developer. */
|
|
5847
5867
|
badInputMessage?: (HelixHeadlessDatePicker["badInputMessage"]) | undefined;
|
|
5848
5868
|
/** The calendar the heading, the days, and the months are written in.
|
|
5849
5869
|
|
|
@@ -16280,10 +16300,22 @@ never something this element would refuse to read back. */
|
|
|
16280
16300
|
/** The message shown when `disable-times` bars a time. */
|
|
16281
16301
|
unavailableMessage?: (HelixHeadlessTimeInput["unavailableMessage"]) | undefined;
|
|
16282
16302
|
/** The message for text that is no time, where `bad-input-message` is not
|
|
16283
|
-
set. `{mode}` is `single`, `range`, or `multiple`,
|
|
16303
|
+
set. `{mode}` is `single`, `range`, or `multiple`, `{example}` is a time
|
|
16304
|
+
written as the field writes one, `2:30 PM` in `en-US` and `14:30` in
|
|
16305
|
+
`de-DE`, and `{shape}` is `HH:mm`, or `HH:mm:ss` with `seconds`.
|
|
16306
|
+
|
|
16307
|
+
**The default names a time the field reads back.** It said "Enter a time
|
|
16308
|
+
as HH:mm." to a reader whose field showed `2:30 PM`, and a pattern token
|
|
16309
|
+
is words for a developer. */
|
|
16284
16310
|
"unreadable-message"?: (HelixHeadlessTimeInput["unreadableMessage"]) | undefined;
|
|
16285
16311
|
/** The message for text that is no time, where `bad-input-message` is not
|
|
16286
|
-
set. `{mode}` is `single`, `range`, or `multiple`,
|
|
16312
|
+
set. `{mode}` is `single`, `range`, or `multiple`, `{example}` is a time
|
|
16313
|
+
written as the field writes one, `2:30 PM` in `en-US` and `14:30` in
|
|
16314
|
+
`de-DE`, and `{shape}` is `HH:mm`, or `HH:mm:ss` with `seconds`.
|
|
16315
|
+
|
|
16316
|
+
**The default names a time the field reads back.** It said "Enter a time
|
|
16317
|
+
as HH:mm." to a reader whose field showed `2:30 PM`, and a pattern token
|
|
16318
|
+
is words for a developer. */
|
|
16287
16319
|
unreadableMessage?: (HelixHeadlessTimeInput["unreadableMessage"]) | undefined;
|
|
16288
16320
|
/** Whether the panel shows one list of times or a column for each part of the
|
|
16289
16321
|
time.
|
|
@@ -16569,18 +16601,28 @@ export type HelixHeadlessTimePickerVueProps = {
|
|
|
16569
16601
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
16570
16602
|
named for the validity flag it reports, so a form in another language
|
|
16571
16603
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
16572
|
-
the English. `{
|
|
16573
|
-
`
|
|
16574
|
-
|
|
16604
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
16605
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
16606
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
16607
|
+
have its own sentence.
|
|
16608
|
+
|
|
16609
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
16610
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
16611
|
+
token is words for a developer. Time Input says the same. */
|
|
16575
16612
|
"bad-input-message"?: (HelixHeadlessTimePicker["badInputMessage"]) | undefined;
|
|
16576
16613
|
/** The validation message for a value that is not a time.
|
|
16577
16614
|
|
|
16578
16615
|
**Every sentence a control raises in the browser's bubble is a property**,
|
|
16579
16616
|
named for the validity flag it reports, so a form in another language
|
|
16580
16617
|
speaks it. Unset is the sentence registered for the page's language, then
|
|
16581
|
-
the English. `{
|
|
16582
|
-
`
|
|
16583
|
-
|
|
16618
|
+
the English. `{example}` is a time written as the picker writes one,
|
|
16619
|
+
`2:30 PM` in `en-US` and `14:30` in `de-DE`, `{shape}` is `HH:mm` or
|
|
16620
|
+
`HH:mm:ss`, and `{mode}` is `single`, `range` or `multiple`, so each can
|
|
16621
|
+
have its own sentence.
|
|
16622
|
+
|
|
16623
|
+
**The default names a time as the picker shows one.** It said "Enter a
|
|
16624
|
+
time as HH:mm." to a reader whose list showed `2:30 PM`, and a pattern
|
|
16625
|
+
token is words for a developer. Time Input says the same. */
|
|
16584
16626
|
badInputMessage?: (HelixHeadlessTimePicker["badInputMessage"]) | undefined;
|
|
16585
16627
|
/** Times that cannot be chosen, as `HH:mm`, separated by commas or spaces.
|
|
16586
16628
|
|
package/types/words.d.ts
CHANGED
|
@@ -1276,9 +1276,11 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1276
1276
|
unavailableMessage: Message
|
|
1277
1277
|
/**
|
|
1278
1278
|
* The message for text that is no date, where `bad-input-message` is not
|
|
1279
|
-
* set. `{mode}` is `single`, `range`, or `multiple
|
|
1279
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, and `{example}` is a
|
|
1280
|
+
* date written as the field writes one, `August 24, 2026` in `en-US` and
|
|
1281
|
+
* `24. August 2026` in `de-DE` at the default `date-style`.
|
|
1280
1282
|
*
|
|
1281
|
-
* English: `{mode, select, single {Enter a date as
|
|
1283
|
+
* English: `{mode, select, single {Enter a date such as {example}.} other {Enter dates such as {example}, separated by commas.}}`
|
|
1282
1284
|
*/
|
|
1283
1285
|
unreadableMessage: Message
|
|
1284
1286
|
/**
|
|
@@ -1293,7 +1295,7 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1293
1295
|
/**
|
|
1294
1296
|
* The validation message for a value that is not a date.
|
|
1295
1297
|
*
|
|
1296
|
-
* English: `{mode, select, single {Enter a date as
|
|
1298
|
+
* English: `{mode, select, single {Enter a date such as {example}.} other {Enter dates such as {example}, separated by commas.}}`
|
|
1297
1299
|
*/
|
|
1298
1300
|
badInputMessage: Message
|
|
1299
1301
|
/**
|
|
@@ -3311,9 +3313,11 @@ declare module '@fusion.dev/helix-core' {
|
|
|
3311
3313
|
unavailableMessage: Message
|
|
3312
3314
|
/**
|
|
3313
3315
|
* The message for text that is no time, where `bad-input-message` is not
|
|
3314
|
-
* set. `{mode}` is `single`, `range`, or `multiple`,
|
|
3316
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, `{example}` is a time
|
|
3317
|
+
* written as the field writes one, `2:30 PM` in `en-US` and `14:30` in
|
|
3318
|
+
* `de-DE`, and `{shape}` is `HH:mm`, or `HH:mm:ss` with `seconds`.
|
|
3315
3319
|
*
|
|
3316
|
-
* English: `{mode, select, single {Enter a time as {
|
|
3320
|
+
* English: `{mode, select, single {Enter a time such as {example}.} other {Enter times such as {example}, separated by commas.}}`
|
|
3317
3321
|
*/
|
|
3318
3322
|
unreadableMessage: Message
|
|
3319
3323
|
}
|
|
@@ -3321,7 +3325,7 @@ declare module '@fusion.dev/helix-core' {
|
|
|
3321
3325
|
/**
|
|
3322
3326
|
* The validation message for a value that is not a time.
|
|
3323
3327
|
*
|
|
3324
|
-
* English: `{mode, select, single {Enter a time as {
|
|
3328
|
+
* English: `{mode, select, single {Enter a time such as {example}.} other {Enter times such as {example}, separated by commas.}}`
|
|
3325
3329
|
*/
|
|
3326
3330
|
badInputMessage: Message
|
|
3327
3331
|
/**
|