@fusion.dev/helix 0.179.0 → 0.180.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 +62 -2
- package/dist/command/root/command-root.d.ts +0 -1
- package/dist/command/root/command-root.js +0 -1
- package/dist/data-table/root/data-table-root.d.ts +0 -1
- package/dist/data-table/root/data-table-root.js +0 -1
- package/dist/filter-input/root/filter-input-root.d.ts +0 -1
- package/dist/filter-input/root/filter-input-root.js +0 -1
- package/dist/select/root/select-root.d.ts +0 -1
- package/dist/select/root/select-root.js +0 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +40 -4
- package/types/vue.d.ts +14 -1
- package/types/words.d.ts +14 -0
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.
|
|
4
|
+
"version": "0.180.0",
|
|
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.
|
|
58
|
-
"@fusion.dev/helix-headless": "0.
|
|
59
|
-
"@fusion.dev/helix-styles": "0.
|
|
57
|
+
"@fusion.dev/helix-core": "0.180.0",
|
|
58
|
+
"@fusion.dev/helix-headless": "0.180.0",
|
|
59
|
+
"@fusion.dev/helix-styles": "0.180.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.180.0",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.180.0",
|
|
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
|
@@ -12337,6 +12337,12 @@ for the page's language, then the English. */
|
|
|
12337
12337
|
so a form in another language speaks it. Unset is the sentence registered
|
|
12338
12338
|
for the page's language, then the English. */
|
|
12339
12339
|
rangeLengthMessage?: (HelixDateInput["rangeLengthMessage"]) | undefined;
|
|
12340
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
12341
|
+
replaced with the start, written the way the field writes dates. */
|
|
12342
|
+
"range-order-message"?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
12343
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
12344
|
+
replaced with the start, written the way the field writes dates. */
|
|
12345
|
+
rangeOrderMessage?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
12340
12346
|
/** The message shown when a date is after `max`. `{max}` is replaced with
|
|
12341
12347
|
`max`, written the way the field writes dates. */
|
|
12342
12348
|
"range-overflow-message"?: (HelixDateInput["rangeOverflowMessage"]) | undefined;
|
|
@@ -12869,6 +12875,12 @@ for the page's language, then the English. */
|
|
|
12869
12875
|
so a form in another language speaks it. Unset is the sentence registered
|
|
12870
12876
|
for the page's language, then the English. */
|
|
12871
12877
|
"prop:rangeLengthMessage"?: (HelixDateInput["rangeLengthMessage"]) | undefined;
|
|
12878
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
12879
|
+
replaced with the start, written the way the field writes dates. */
|
|
12880
|
+
"attr:range-order-message"?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
12881
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
12882
|
+
replaced with the start, written the way the field writes dates. */
|
|
12883
|
+
"prop:rangeOrderMessage"?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
12872
12884
|
/** The message shown when a date is after `max`. `{max}` is replaced with
|
|
12873
12885
|
`max`, written the way the field writes dates. */
|
|
12874
12886
|
"attr:range-overflow-message"?: (HelixDateInput["rangeOverflowMessage"]) | undefined;
|
|
@@ -13218,6 +13230,12 @@ it. */
|
|
|
13218
13230
|
"previous-years-label"?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
13219
13231
|
/** Accessible name for the control that moves back a page, in the years. */
|
|
13220
13232
|
previousYearsLabel?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
13233
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
13234
|
+
is replaced with the start, written as a date in `locale`. */
|
|
13235
|
+
"range-order-message"?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
13236
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
13237
|
+
is replaced with the start, written as a date in `locale`. */
|
|
13238
|
+
rangeOrderMessage?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
13221
13239
|
/** The validation message for a date after `max`. `{max}` is replaced with
|
|
13222
13240
|
`max`, written as a date in `locale`. */
|
|
13223
13241
|
"range-overflow-message"?: (HelixDatePicker["rangeOverflowMessage"]) | undefined;
|
|
@@ -13571,6 +13589,12 @@ it. */
|
|
|
13571
13589
|
"attr:previous-years-label"?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
13572
13590
|
/** Accessible name for the control that moves back a page, in the years. */
|
|
13573
13591
|
"prop:previousYearsLabel"?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
13592
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
13593
|
+
is replaced with the start, written as a date in `locale`. */
|
|
13594
|
+
"attr:range-order-message"?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
13595
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
13596
|
+
is replaced with the start, written as a date in `locale`. */
|
|
13597
|
+
"prop:rangeOrderMessage"?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
13574
13598
|
/** The validation message for a date after `max`. `{max}` is replaced with
|
|
13575
13599
|
`max`, written as a date in `locale`. */
|
|
13576
13600
|
"attr:range-overflow-message"?: (HelixDatePicker["rangeOverflowMessage"]) | undefined;
|
|
@@ -21809,7 +21833,8 @@ React Aria virtualizes a `ListBox` with its `Virtualizer`; this is core's
|
|
|
21809
21833
|
|
|
21810
21834
|
**The list needs a height to scroll in**: the styled tier's
|
|
21811
21835
|
`--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the
|
|
21812
|
-
headless tier.
|
|
21836
|
+
headless tier. The options drawn are this tier's Option, which the page
|
|
21837
|
+
imports, as it imports the options it writes.
|
|
21813
21838
|
A server sends the list empty, and the options are drawn once it hydrates. */
|
|
21814
21839
|
items?: (HelixListbox["items"]) | undefined;
|
|
21815
21840
|
/** Which option is chosen, as an index, or `-1` where none is.
|
|
@@ -22109,7 +22134,8 @@ React Aria virtualizes a `ListBox` with its `Virtualizer`; this is core's
|
|
|
22109
22134
|
|
|
22110
22135
|
**The list needs a height to scroll in**: the styled tier's
|
|
22111
22136
|
`--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the
|
|
22112
|
-
headless tier.
|
|
22137
|
+
headless tier. The options drawn are this tier's Option, which the page
|
|
22138
|
+
imports, as it imports the options it writes.
|
|
22113
22139
|
A server sends the list empty, and the options are drawn once it hydrates. */
|
|
22114
22140
|
"prop:items"?: (HelixListbox["items"]) | undefined;
|
|
22115
22141
|
/** Which option is chosen, as an index, or `-1` where none is.
|
|
@@ -49886,6 +49912,8 @@ export type CustomElements = {
|
|
|
49886
49912
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
49887
49913
|
* so a form in another language speaks it. Unset is the sentence registered
|
|
49888
49914
|
* for the page's language, then the English.
|
|
49915
|
+
* - `range-order-message`/`rangeOrderMessage`: The message shown when a range ends before it starts. `{start}` is
|
|
49916
|
+
* replaced with the start, written the way the field writes dates.
|
|
49889
49917
|
* - `range-overflow-message`/`rangeOverflowMessage`: The message shown when a date is after `max`. `{max}` is replaced with
|
|
49890
49918
|
* `max`, written the way the field writes dates.
|
|
49891
49919
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The message shown when a date is before `min`. `{min}` is replaced with
|
|
@@ -50276,6 +50304,8 @@ export type CustomElements = {
|
|
|
50276
50304
|
* it.
|
|
50277
50305
|
* - `previous-year-label`/`previousYearLabel`: Accessible name for the control that moves back a year, in the months.
|
|
50278
50306
|
* - `previous-years-label`/`previousYearsLabel`: Accessible name for the control that moves back a page, in the years.
|
|
50307
|
+
* - `range-order-message`/`rangeOrderMessage`: The validation message for a range that ends before it starts. `{start}`
|
|
50308
|
+
* is replaced with the start, written as a date in `locale`.
|
|
50279
50309
|
* - `range-overflow-message`/`rangeOverflowMessage`: The validation message for a date after `max`. `{max}` is replaced with
|
|
50280
50310
|
* `max`, written as a date in `locale`.
|
|
50281
50311
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The validation message for a date before `min`. `{min}` is replaced with
|
|
@@ -56470,7 +56500,8 @@ export type CustomElements = {
|
|
|
56470
56500
|
*
|
|
56471
56501
|
* **The list needs a height to scroll in**: the styled tier's
|
|
56472
56502
|
* `--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the
|
|
56473
|
-
* headless tier.
|
|
56503
|
+
* headless tier. The options drawn are this tier's Option, which the page
|
|
56504
|
+
* imports, as it imports the options it writes.
|
|
56474
56505
|
* A server sends the list empty, and the options are drawn once it hydrates. (property only)
|
|
56475
56506
|
* - `selectedIndex`: Which option is chosen, as an index, or `-1` where none is.
|
|
56476
56507
|
*
|
|
@@ -79652,6 +79683,8 @@ export type CustomElementsSolidJs = {
|
|
|
79652
79683
|
* **Every sentence a control raises in the browser's bubble is a property**,
|
|
79653
79684
|
* so a form in another language speaks it. Unset is the sentence registered
|
|
79654
79685
|
* for the page's language, then the English.
|
|
79686
|
+
* - `range-order-message`/`rangeOrderMessage`: The message shown when a range ends before it starts. `{start}` is
|
|
79687
|
+
* replaced with the start, written the way the field writes dates.
|
|
79655
79688
|
* - `range-overflow-message`/`rangeOverflowMessage`: The message shown when a date is after `max`. `{max}` is replaced with
|
|
79656
79689
|
* `max`, written the way the field writes dates.
|
|
79657
79690
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The message shown when a date is before `min`. `{min}` is replaced with
|
|
@@ -80045,6 +80078,8 @@ export type CustomElementsSolidJs = {
|
|
|
80045
80078
|
* it.
|
|
80046
80079
|
* - `previous-year-label`/`previousYearLabel`: Accessible name for the control that moves back a year, in the months.
|
|
80047
80080
|
* - `previous-years-label`/`previousYearsLabel`: Accessible name for the control that moves back a page, in the years.
|
|
80081
|
+
* - `range-order-message`/`rangeOrderMessage`: The validation message for a range that ends before it starts. `{start}`
|
|
80082
|
+
* is replaced with the start, written as a date in `locale`.
|
|
80048
80083
|
* - `range-overflow-message`/`rangeOverflowMessage`: The validation message for a date after `max`. `{max}` is replaced with
|
|
80049
80084
|
* `max`, written as a date in `locale`.
|
|
80050
80085
|
* - `range-underflow-message`/`rangeUnderflowMessage`: The validation message for a date before `min`. `{min}` is replaced with
|
|
@@ -86336,7 +86371,8 @@ export type CustomElementsSolidJs = {
|
|
|
86336
86371
|
*
|
|
86337
86372
|
* **The list needs a height to scroll in**: the styled tier's
|
|
86338
86373
|
* `--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the
|
|
86339
|
-
* headless tier.
|
|
86374
|
+
* headless tier. The options drawn are this tier's Option, which the page
|
|
86375
|
+
* imports, as it imports the options it writes.
|
|
86340
86376
|
* A server sends the list empty, and the options are drawn once it hydrates. (property only)
|
|
86341
86377
|
* - `selectedIndex`: Which option is chosen, as an index, or `-1` where none is.
|
|
86342
86378
|
*
|
package/types/vue.d.ts
CHANGED
|
@@ -6539,6 +6539,12 @@ for the page's language, then the English. */
|
|
|
6539
6539
|
so a form in another language speaks it. Unset is the sentence registered
|
|
6540
6540
|
for the page's language, then the English. */
|
|
6541
6541
|
rangeLengthMessage?: (HelixDateInput["rangeLengthMessage"]) | undefined;
|
|
6542
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
6543
|
+
replaced with the start, written the way the field writes dates. */
|
|
6544
|
+
"range-order-message"?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
6545
|
+
/** The message shown when a range ends before it starts. `{start}` is
|
|
6546
|
+
replaced with the start, written the way the field writes dates. */
|
|
6547
|
+
rangeOrderMessage?: (HelixDateInput["rangeOrderMessage"]) | undefined;
|
|
6542
6548
|
/** The message shown when a date is after `max`. `{max}` is replaced with
|
|
6543
6549
|
`max`, written the way the field writes dates. */
|
|
6544
6550
|
"range-overflow-message"?: (HelixDateInput["rangeOverflowMessage"]) | undefined;
|
|
@@ -6880,6 +6886,12 @@ it. */
|
|
|
6880
6886
|
"previous-years-label"?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
6881
6887
|
/** Accessible name for the control that moves back a page, in the years. */
|
|
6882
6888
|
previousYearsLabel?: (HelixDatePicker["previousYearsLabel"]) | undefined;
|
|
6889
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
6890
|
+
is replaced with the start, written as a date in `locale`. */
|
|
6891
|
+
"range-order-message"?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
6892
|
+
/** The validation message for a range that ends before it starts. `{start}`
|
|
6893
|
+
is replaced with the start, written as a date in `locale`. */
|
|
6894
|
+
rangeOrderMessage?: (HelixDatePicker["rangeOrderMessage"]) | undefined;
|
|
6883
6895
|
/** The validation message for a date after `max`. `{max}` is replaced with
|
|
6884
6896
|
`max`, written as a date in `locale`. */
|
|
6885
6897
|
"range-overflow-message"?: (HelixDatePicker["rangeOverflowMessage"]) | undefined;
|
|
@@ -11305,7 +11317,8 @@ React Aria virtualizes a `ListBox` with its `Virtualizer`; this is core's
|
|
|
11305
11317
|
|
|
11306
11318
|
**The list needs a height to scroll in**: the styled tier's
|
|
11307
11319
|
`--listbox-max-block-size`, or a `max-block-size` on `::part(items)` in the
|
|
11308
|
-
headless tier.
|
|
11320
|
+
headless tier. The options drawn are this tier's Option, which the page
|
|
11321
|
+
imports, as it imports the options it writes.
|
|
11309
11322
|
A server sends the list empty, and the options are drawn once it hydrates. */
|
|
11310
11323
|
items?: (HelixListbox["items"]) | undefined;
|
|
11311
11324
|
/** Which option is chosen, as an index, or `-1` where none is.
|
package/types/words.d.ts
CHANGED
|
@@ -614,6 +614,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
614
614
|
* English: `A range is two dates.`
|
|
615
615
|
*/
|
|
616
616
|
rangeLengthMessage: Message
|
|
617
|
+
/**
|
|
618
|
+
* The message shown when a range ends before it starts. `{start}` is
|
|
619
|
+
* replaced with the start, written the way the field writes dates.
|
|
620
|
+
*
|
|
621
|
+
* English: `Choose an end on or after {start}.`
|
|
622
|
+
*/
|
|
623
|
+
rangeOrderMessage: Message
|
|
617
624
|
/**
|
|
618
625
|
* The message shown when a date is after `max`. `{max}` is replaced with
|
|
619
626
|
* `max`, written the way the field writes dates.
|
|
@@ -1505,6 +1512,13 @@ declare module '@fusion.dev/helix-core' {
|
|
|
1505
1512
|
* English: `Earlier years`
|
|
1506
1513
|
*/
|
|
1507
1514
|
previousYearsLabel: Message
|
|
1515
|
+
/**
|
|
1516
|
+
* The validation message for a range that ends before it starts. `{start}`
|
|
1517
|
+
* is replaced with the start, written as a date in `locale`.
|
|
1518
|
+
*
|
|
1519
|
+
* English: `Choose an end on or after {start}.`
|
|
1520
|
+
*/
|
|
1521
|
+
rangeOrderMessage: Message
|
|
1508
1522
|
/**
|
|
1509
1523
|
* The validation message for a date after `max`. `{max}` is replaced with
|
|
1510
1524
|
* `max`, written as a date in `locale`.
|