uhuu-components 0.4.3 → 0.4.5

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/index.d.ts CHANGED
@@ -161,7 +161,24 @@ export interface StaticFlowColumn {
161
161
 
162
162
  export type StaticFlowLayoutNode =
163
163
  | { kind: "item"; index: number }
164
- | { kind: "columns"; id: string; columns: StaticFlowColumn[] };
164
+ | { kind: "columns"; id: string; columns: StaticFlowColumn[] }
165
+ /**
166
+ * One text set in `columns` columns, read as a newspaper: `indexes` (reading order) fill the first
167
+ * column, then the next, then the first column of the next sheet. Items move whole. Columns get
168
+ * ids `column-1` … `column-<n>` (`getColumnProps`, `data-uhuu-flow-column`) and equal widths.
169
+ */
170
+ | {
171
+ kind: "flowingColumns";
172
+ id: string;
173
+ indexes: number[];
174
+ /** How many columns, 1 or more. */
175
+ columns: number;
176
+ /**
177
+ * The group's last sheet: "balance" (default) evens its columns out, "auto" fills them in
178
+ * order, as CSS `column-fill`.
179
+ */
180
+ columnFill?: "balance" | "auto";
181
+ };
165
182
 
166
183
  export interface StaticFlowColumnFragment {
167
184
  id: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.3",
2
+ "version": "0.4.5",
3
3
  "name": "uhuu-components",
4
4
  "main": "uhuu-components.umd.cjs",
5
5
  "module": "uhuu-components.es.js",