uhuu-components 0.4.4 → 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 +18 -1
- package/package.json +1 -1
- package/uhuu-components.es.js +4454 -4350
- package/uhuu-components.es.js.map +1 -1
- package/uhuu-components.umd.cjs +24 -24
- package/uhuu-components.umd.cjs.map +1 -1
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