@fusion.dev/helix-headless 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 +1252 -140
- package/dist/date-input/root/date-input-root.d.ts +108 -19
- package/dist/date-input/root/date-input-root.js +112 -13
- package/dist/date-picker/root/date-picker-root.d.ts +81 -16
- package/dist/date-picker/root/date-picker-root.js +140 -36
- package/dist/element-events.generated.js +2 -0
- package/dist/format-date/fields.js +1 -0
- package/dist/format-date/options.d.ts +3 -1
- package/dist/format-date/options.js +4 -1
- package/dist/format-date/root/format-date-root.d.ts +27 -11
- package/dist/format-date/root/format-date-root.js +6 -0
- package/dist/listbox/root/listbox-root.js +5 -0
- package/dist/notifications/notification/notification.d.ts +1 -0
- package/dist/notifications/notification/notification.js +2 -1
- package/dist/slider/root/slider-root.d.ts +54 -3
- package/dist/slider/root/slider-root.js +124 -2
- package/dist/time-input/root/time-input-root.d.ts +55 -7
- package/dist/time-input/root/time-input-root.js +70 -10
- package/dist/time-picker/root/time-picker-root.d.ts +27 -5
- package/dist/time-picker/root/time-picker-root.js +52 -13
- package/dist/toggle/group/toggle-group.d.ts +18 -1
- package/dist/toggle/group/toggle-group.js +8 -2
- package/dist/toggle/root/toggle-root.d.ts +2 -2
- package/dist/toggle/root/toggle-root.js +2 -1
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +660 -156
- package/types/vue.d.ts +178 -37
- package/types/words.d.ts +72 -0
package/types/words.d.ts
CHANGED
|
@@ -1038,6 +1038,12 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1038
1038
|
* English: `Date Picker`
|
|
1039
1039
|
*/
|
|
1040
1040
|
calendarLabel: Message
|
|
1041
|
+
/**
|
|
1042
|
+
* The accessible name of the clear button, which shows only an icon.
|
|
1043
|
+
*
|
|
1044
|
+
* English: `Clear`
|
|
1045
|
+
*/
|
|
1046
|
+
clearLabel: Message
|
|
1041
1047
|
/**
|
|
1042
1048
|
* The button's label, read by screen readers, once every token is showing.
|
|
1043
1049
|
*
|
|
@@ -1123,6 +1129,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1123
1129
|
* English: `Earlier years`
|
|
1124
1130
|
*/
|
|
1125
1131
|
previousYearsLabel: Message
|
|
1132
|
+
/**
|
|
1133
|
+
* What a screen reader hears before the segments of a range's second date
|
|
1134
|
+
* or time, after each segment's own name.
|
|
1135
|
+
*
|
|
1136
|
+
* English: `End`
|
|
1137
|
+
*/
|
|
1138
|
+
rangeEndLabel: Message
|
|
1126
1139
|
/**
|
|
1127
1140
|
* The message shown when a range holds more than two dates.
|
|
1128
1141
|
*
|
|
@@ -1136,6 +1149,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1136
1149
|
* English: `Choose a date on or before {max}.`
|
|
1137
1150
|
*/
|
|
1138
1151
|
rangeOverflowMessage: Message
|
|
1152
|
+
/**
|
|
1153
|
+
* What a screen reader hears before the segments of a range's first date
|
|
1154
|
+
* or time, after each segment's own name: "month, Start, Stay".
|
|
1155
|
+
*
|
|
1156
|
+
* English: `Start`
|
|
1157
|
+
*/
|
|
1158
|
+
rangeStartLabel: Message
|
|
1139
1159
|
/**
|
|
1140
1160
|
* The message shown when a date is before `min`. `{min}` is replaced with
|
|
1141
1161
|
* `min`, written the way the field writes dates.
|
|
@@ -1157,6 +1177,14 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1157
1177
|
* English: `+{count}`
|
|
1158
1178
|
*/
|
|
1159
1179
|
restText: Message
|
|
1180
|
+
/**
|
|
1181
|
+
* What a screen reader hears about the dates chosen in the calendar, with
|
|
1182
|
+
* `{kind}`, `{start}`, `{end}` and `{count}` filled in as Date Picker's
|
|
1183
|
+
* `selection-label` says.
|
|
1184
|
+
*
|
|
1185
|
+
* English: `{kind, select, date {Selected date: {start}} start {Range starts {start}. Choose the day it ends.} range {Selected range: {start} to {end}} other {{count, plural, one {# date selected} other {# dates selected}}}}`
|
|
1186
|
+
*/
|
|
1187
|
+
selectionLabel: Message
|
|
1160
1188
|
/**
|
|
1161
1189
|
* The message shown when a date is not on `step`.
|
|
1162
1190
|
*
|
|
@@ -1175,6 +1203,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1175
1203
|
* English: `Choose a date that is available.`
|
|
1176
1204
|
*/
|
|
1177
1205
|
unavailableMessage: Message
|
|
1206
|
+
/**
|
|
1207
|
+
* The message for text that is no date, where `bad-input-message` is not
|
|
1208
|
+
* set. `{mode}` is `single`, `range`, or `multiple`.
|
|
1209
|
+
*
|
|
1210
|
+
* English: `{mode, select, single {Enter a date as YYYY-MM-DD.} other {Enter dates as YYYY-MM-DD, separated by commas.}}`
|
|
1211
|
+
*/
|
|
1212
|
+
unreadableMessage: Message
|
|
1178
1213
|
/**
|
|
1179
1214
|
* The name of the calendar's heading where it shows a page of years, with
|
|
1180
1215
|
* `{heading}` filled in.
|
|
@@ -1253,6 +1288,16 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1253
1288
|
* English: `Choose a date on or after {min}.`
|
|
1254
1289
|
*/
|
|
1255
1290
|
rangeUnderflowMessage: Message
|
|
1291
|
+
/**
|
|
1292
|
+
* What a screen reader hears about the chosen dates: the grid's
|
|
1293
|
+
* description, said again whenever the dates change. `{kind}` is `date`,
|
|
1294
|
+
* `start` while a range holds one end, `range`, or `dates` for `multiple`.
|
|
1295
|
+
* `{start}` and `{end}` are dates written in `locale`, and `{count}` is how
|
|
1296
|
+
* many dates are chosen.
|
|
1297
|
+
*
|
|
1298
|
+
* English: `{kind, select, date {Selected date: {start}} start {Range starts {start}. Choose the day it ends.} range {Selected range: {start} to {end}} other {{count, plural, one {# date selected} other {# dates selected}}}}`
|
|
1299
|
+
*/
|
|
1300
|
+
selectionLabel: Message
|
|
1256
1301
|
/**
|
|
1257
1302
|
* The validation message for a date that `step` skips.
|
|
1258
1303
|
*
|
|
@@ -2987,6 +3032,12 @@ declare module '@fusion.dev/helix-core' {
|
|
|
2987
3032
|
clearLabel: Message
|
|
2988
3033
|
}
|
|
2989
3034
|
'helix-time-input': {
|
|
3035
|
+
/**
|
|
3036
|
+
* The accessible name of the clear button, which shows only an icon.
|
|
3037
|
+
*
|
|
3038
|
+
* English: `Clear`
|
|
3039
|
+
*/
|
|
3040
|
+
clearLabel: Message
|
|
2990
3041
|
/**
|
|
2991
3042
|
* The button's label, read by screen readers, once every token is showing.
|
|
2992
3043
|
*
|
|
@@ -3029,6 +3080,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
3029
3080
|
* English: `HH:mm`
|
|
3030
3081
|
*/
|
|
3031
3082
|
placeholder: Message
|
|
3083
|
+
/**
|
|
3084
|
+
* What a screen reader hears before the segments of a range's second date
|
|
3085
|
+
* or time, after each segment's own name.
|
|
3086
|
+
*
|
|
3087
|
+
* English: `End`
|
|
3088
|
+
*/
|
|
3089
|
+
rangeEndLabel: Message
|
|
3032
3090
|
/**
|
|
3033
3091
|
* The message shown when a range holds more than two times.
|
|
3034
3092
|
*
|
|
@@ -3042,6 +3100,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
3042
3100
|
* English: `Choose a time at or before {max}.`
|
|
3043
3101
|
*/
|
|
3044
3102
|
rangeOverflowMessage: Message
|
|
3103
|
+
/**
|
|
3104
|
+
* What a screen reader hears before the segments of a range's first date
|
|
3105
|
+
* or time, after each segment's own name: "month, Start, Stay".
|
|
3106
|
+
*
|
|
3107
|
+
* English: `Start`
|
|
3108
|
+
*/
|
|
3109
|
+
rangeStartLabel: Message
|
|
3045
3110
|
/**
|
|
3046
3111
|
* The message shown when a time is before `min`, with `{min}` filled in as
|
|
3047
3112
|
* the field displays it.
|
|
@@ -3074,6 +3139,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
3074
3139
|
* English: `Choose a time that is available.`
|
|
3075
3140
|
*/
|
|
3076
3141
|
unavailableMessage: Message
|
|
3142
|
+
/**
|
|
3143
|
+
* The message for text that is no time, where `bad-input-message` is not
|
|
3144
|
+
* set. `{mode}` is `single`, `range`, or `multiple`, and `{shape}` is `HH:mm`, or `HH:mm:ss` with `seconds`.
|
|
3145
|
+
*
|
|
3146
|
+
* English: `{mode, select, single {Enter a time as {shape}.} other {Enter times as {shape}, separated by commas.}}`
|
|
3147
|
+
*/
|
|
3148
|
+
unreadableMessage: Message
|
|
3077
3149
|
}
|
|
3078
3150
|
'helix-time-picker': {
|
|
3079
3151
|
/**
|