@fusion.dev/helix 0.182.2 → 0.183.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/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.182.2",
4
+ "version": "0.183.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -54,14 +54,14 @@
54
54
  },
55
55
  "bugs": "https://github.com/project-fusion/fusion/issues",
56
56
  "dependencies": {
57
- "@fusion.dev/helix-core": "0.182.2",
58
- "@fusion.dev/helix-headless": "0.182.2",
59
- "@fusion.dev/helix-styles": "0.182.2",
57
+ "@fusion.dev/helix-core": "0.183.0",
58
+ "@fusion.dev/helix-headless": "0.183.0",
59
+ "@fusion.dev/helix-styles": "0.183.0",
60
60
  "tslib": "^2.8.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@fusion.dev/helix-cem": "0.182.2",
64
- "@fusion.dev/helix-testing": "0.182.2",
63
+ "@fusion.dev/helix-cem": "0.183.0",
64
+ "@fusion.dev/helix-testing": "0.183.0",
65
65
  "@fusion.dev/scripts": "0.0.0-dev",
66
66
  "@happy-dom/global-registrator": "^20.14.5",
67
67
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -42018,6 +42018,13 @@ are rendered at a time.
42018
42018
  An `aria-label` or `aria-labelledby` on the host names the list too, and
42019
42019
  wins over this. */
42020
42020
  label?: (HelixVirtualList["label"]) | undefined;
42021
+ /** How items of more than one column are laid out. `grid`, the default, puts
42022
+ them in lines of equal columns. `waterfall` puts each item, in the order
42023
+ of the set, under the column that ends highest, as a wall of photos of
42024
+ different heights is: `columns`, or `min-column-width`, says how many
42025
+ columns. Rows of a waterfall are measured, and Up and Down move along a
42026
+ column. */
42027
+ layout?: (HelixVirtualList["layout"]) | undefined;
42021
42028
  /** Marks the list as busy fetching more items, and draws a row after the last
42022
42029
  item that says so.
42023
42030
 
@@ -42050,14 +42057,15 @@ follows the box as it resizes, which `columns` then does not decide. */
42050
42057
  /** Which way the list runs. `horizontal` lays the items out along a line
42051
42058
  and scrolls it sideways: Left and Right move between items, the other
42052
42059
  way round on a right-to-left page, and `estimate` is an item's width. A
42053
- grid always runs down. */
42060
+ grid and a waterfall always run down. */
42054
42061
  orientation?: (HelixVirtualList["orientation"]) | undefined;
42055
42062
  /** Lets a reader move items, once `@fusion.dev/helix/virtual-list/reorder`
42056
42063
  (or `@fusion.dev/helix-headless/virtual-list/reorder`) is imported: Alt
42057
42064
  with an arrow moves the row the keys are on, and a pointer drags a row.
42058
42065
  The list moves no item itself: you move your `items` on `helix-reorder`.
42059
42066
  Without that import it does nothing, so a list that never moves items
42060
- carries none of the code. A list of one column, without sections. */
42067
+ carries none of the code. A list of one column, without sections or a
42068
+ waterfall. */
42061
42069
  reorderable?: (HelixVirtualList["reorderable"]) | undefined;
42062
42070
  /** The field of each item that names its section, as a key or a path of
42063
42071
  keys. Set, the items are drawn in sections: a header, then the items, in
@@ -42182,6 +42190,13 @@ are rendered at a time.
42182
42190
  An `aria-label` or `aria-labelledby` on the host names the list too, and
42183
42191
  wins over this. */
42184
42192
  "prop:label"?: (HelixVirtualList["label"]) | undefined;
42193
+ /** How items of more than one column are laid out. `grid`, the default, puts
42194
+ them in lines of equal columns. `waterfall` puts each item, in the order
42195
+ of the set, under the column that ends highest, as a wall of photos of
42196
+ different heights is: `columns`, or `min-column-width`, says how many
42197
+ columns. Rows of a waterfall are measured, and Up and Down move along a
42198
+ column. */
42199
+ "prop:layout"?: (HelixVirtualList["layout"]) | undefined;
42185
42200
  /** Marks the list as busy fetching more items, and draws a row after the last
42186
42201
  item that says so.
42187
42202
 
@@ -42214,14 +42229,15 @@ follows the box as it resizes, which `columns` then does not decide. */
42214
42229
  /** Which way the list runs. `horizontal` lays the items out along a line
42215
42230
  and scrolls it sideways: Left and Right move between items, the other
42216
42231
  way round on a right-to-left page, and `estimate` is an item's width. A
42217
- grid always runs down. */
42232
+ grid and a waterfall always run down. */
42218
42233
  "prop:orientation"?: (HelixVirtualList["orientation"]) | undefined;
42219
42234
  /** Lets a reader move items, once `@fusion.dev/helix/virtual-list/reorder`
42220
42235
  (or `@fusion.dev/helix-headless/virtual-list/reorder`) is imported: Alt
42221
42236
  with an arrow moves the row the keys are on, and a pointer drags a row.
42222
42237
  The list moves no item itself: you move your `items` on `helix-reorder`.
42223
42238
  Without that import it does nothing, so a list that never moves items
42224
- carries none of the code. A list of one column, without sections. */
42239
+ carries none of the code. A list of one column, without sections or a
42240
+ waterfall. */
42225
42241
  "prop:reorderable"?: (HelixVirtualList["reorderable"]) | undefined;
42226
42242
  /** The field of each item that names its section, as a key or a path of
42227
42243
  keys. Set, the items are drawn in sections: a header, then the items, in
@@ -44148,6 +44164,7 @@ export type CustomElements = {
44148
44164
  * - `bar`: One column. Under `stacked`, one segment of a category's column.
44149
44165
  * - `bar-end`: The bar at a column's far end, the end away from zero, which is the end to round. A column standing alone is its own far end. Under `stacked`, the last positive segment above zero and the last negative one below it. Its `data-end` is `positive` or `negative`. A blank or a zero is never the end. Set together with `bar`.
44150
44166
  * - `bar-end-negative`: A far end below zero, whose far end is its bottom, or its inline start when the bars run across. Set together with `bar-end`.
44167
+ * - `bar-negative`: A bar below zero, standing alone or any segment of a stack below it, whose base is its top, or its inline end when the bars run across. Set together with `bar`.
44151
44168
  * - `bar-wash-end`: The far stop of a bar's gradient, where one is used.
44152
44169
  * - `bar-wash-start`: The stop of a bar's gradient at its base.
44153
44170
  * - `baseline`: The line the columns stand on.
@@ -71855,6 +71872,12 @@ export type CustomElements = {
71855
71872
  *
71856
71873
  * An `aria-label` or `aria-labelledby` on the host names the list too, and
71857
71874
  * wins over this.
71875
+ * - `layout`: How items of more than one column are laid out. `grid`, the default, puts
71876
+ * them in lines of equal columns. `waterfall` puts each item, in the order
71877
+ * of the set, under the column that ends highest, as a wall of photos of
71878
+ * different heights is: `columns`, or `min-column-width`, says how many
71879
+ * columns. Rows of a waterfall are measured, and Up and Down move along a
71880
+ * column.
71858
71881
  * - `loading`: Marks the list as busy fetching more items, and draws a row after the last
71859
71882
  * item that says so.
71860
71883
  *
@@ -71877,13 +71900,14 @@ export type CustomElements = {
71877
71900
  * - `orientation`: Which way the list runs. `horizontal` lays the items out along a line
71878
71901
  * and scrolls it sideways: Left and Right move between items, the other
71879
71902
  * way round on a right-to-left page, and `estimate` is an item's width. A
71880
- * grid always runs down.
71903
+ * grid and a waterfall always run down.
71881
71904
  * - `reorderable`: Lets a reader move items, once `@fusion.dev/helix/virtual-list/reorder`
71882
71905
  * (or `@fusion.dev/helix-headless/virtual-list/reorder`) is imported: Alt
71883
71906
  * with an arrow moves the row the keys are on, and a pointer drags a row.
71884
71907
  * The list moves no item itself: you move your `items` on `helix-reorder`.
71885
71908
  * Without that import it does nothing, so a list that never moves items
71886
- * carries none of the code. A list of one column, without sections.
71909
+ * carries none of the code. A list of one column, without sections or a
71910
+ * waterfall.
71887
71911
  * - `section-field`/`sectionField`: The field of each item that names its section, as a key or a path of
71888
71912
  * keys. Set, the items are drawn in sections: a header, then the items, in
71889
71913
  * an element with the `group` role that the header names. A section starts
@@ -73888,6 +73912,7 @@ export type CustomElementsSolidJs = {
73888
73912
  * - `bar`: One column. Under `stacked`, one segment of a category's column.
73889
73913
  * - `bar-end`: The bar at a column's far end, the end away from zero, which is the end to round. A column standing alone is its own far end. Under `stacked`, the last positive segment above zero and the last negative one below it. Its `data-end` is `positive` or `negative`. A blank or a zero is never the end. Set together with `bar`.
73890
73914
  * - `bar-end-negative`: A far end below zero, whose far end is its bottom, or its inline start when the bars run across. Set together with `bar-end`.
73915
+ * - `bar-negative`: A bar below zero, standing alone or any segment of a stack below it, whose base is its top, or its inline end when the bars run across. Set together with `bar`.
73891
73916
  * - `bar-wash-end`: The far stop of a bar's gradient, where one is used.
73892
73917
  * - `bar-wash-start`: The stop of a bar's gradient at its base.
73893
73918
  * - `baseline`: The line the columns stand on.
@@ -102057,6 +102082,12 @@ export type CustomElementsSolidJs = {
102057
102082
  *
102058
102083
  * An `aria-label` or `aria-labelledby` on the host names the list too, and
102059
102084
  * wins over this.
102085
+ * - `layout`: How items of more than one column are laid out. `grid`, the default, puts
102086
+ * them in lines of equal columns. `waterfall` puts each item, in the order
102087
+ * of the set, under the column that ends highest, as a wall of photos of
102088
+ * different heights is: `columns`, or `min-column-width`, says how many
102089
+ * columns. Rows of a waterfall are measured, and Up and Down move along a
102090
+ * column.
102060
102091
  * - `loading`: Marks the list as busy fetching more items, and draws a row after the last
102061
102092
  * item that says so.
102062
102093
  *
@@ -102079,13 +102110,14 @@ export type CustomElementsSolidJs = {
102079
102110
  * - `orientation`: Which way the list runs. `horizontal` lays the items out along a line
102080
102111
  * and scrolls it sideways: Left and Right move between items, the other
102081
102112
  * way round on a right-to-left page, and `estimate` is an item's width. A
102082
- * grid always runs down.
102113
+ * grid and a waterfall always run down.
102083
102114
  * - `reorderable`: Lets a reader move items, once `@fusion.dev/helix/virtual-list/reorder`
102084
102115
  * (or `@fusion.dev/helix-headless/virtual-list/reorder`) is imported: Alt
102085
102116
  * with an arrow moves the row the keys are on, and a pointer drags a row.
102086
102117
  * The list moves no item itself: you move your `items` on `helix-reorder`.
102087
102118
  * Without that import it does nothing, so a list that never moves items
102088
- * carries none of the code. A list of one column, without sections.
102119
+ * carries none of the code. A list of one column, without sections or a
102120
+ * waterfall.
102089
102121
  * - `section-field`/`sectionField`: The field of each item that names its section, as a key or a path of
102090
102122
  * keys. Set, the items are drawn in sections: a header, then the items, in
102091
102123
  * an element with the `group` role that the header names. A section starts
package/types/vue.d.ts CHANGED
@@ -21570,6 +21570,13 @@ are rendered at a time.
21570
21570
  An `aria-label` or `aria-labelledby` on the host names the list too, and
21571
21571
  wins over this. */
21572
21572
  label?: (HelixVirtualList["label"]) | undefined;
21573
+ /** How items of more than one column are laid out. `grid`, the default, puts
21574
+ them in lines of equal columns. `waterfall` puts each item, in the order
21575
+ of the set, under the column that ends highest, as a wall of photos of
21576
+ different heights is: `columns`, or `min-column-width`, says how many
21577
+ columns. Rows of a waterfall are measured, and Up and Down move along a
21578
+ column. */
21579
+ layout?: (HelixVirtualList["layout"]) | undefined;
21573
21580
  /** Marks the list as busy fetching more items, and draws a row after the last
21574
21581
  item that says so.
21575
21582
 
@@ -21602,14 +21609,15 @@ follows the box as it resizes, which `columns` then does not decide. */
21602
21609
  /** Which way the list runs. `horizontal` lays the items out along a line
21603
21610
  and scrolls it sideways: Left and Right move between items, the other
21604
21611
  way round on a right-to-left page, and `estimate` is an item's width. A
21605
- grid always runs down. */
21612
+ grid and a waterfall always run down. */
21606
21613
  orientation?: (HelixVirtualList["orientation"]) | undefined;
21607
21614
  /** Lets a reader move items, once `@fusion.dev/helix/virtual-list/reorder`
21608
21615
  (or `@fusion.dev/helix-headless/virtual-list/reorder`) is imported: Alt
21609
21616
  with an arrow moves the row the keys are on, and a pointer drags a row.
21610
21617
  The list moves no item itself: you move your `items` on `helix-reorder`.
21611
21618
  Without that import it does nothing, so a list that never moves items
21612
- carries none of the code. A list of one column, without sections. */
21619
+ carries none of the code. A list of one column, without sections or a
21620
+ waterfall. */
21613
21621
  reorderable?: (HelixVirtualList["reorderable"]) | undefined;
21614
21622
  /** The field of each item that names its section, as a key or a path of
21615
21623
  keys. Set, the items are drawn in sections: a header, then the items, in