@streamscloud/kit 0.34.0 → 0.34.1
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.
|
@@ -47,6 +47,9 @@ declare function $$render<T>(): {
|
|
|
47
47
|
* Cascade between group.value and children:
|
|
48
48
|
* - `'children-only'` (default) — picking a child adds only the child; group's own `value` stays independent.
|
|
49
49
|
* - `'children-include-parent'` — picking any child auto-adds the group's `value` to the selection; unpicking the last child removes it. Tri-state group headers light up in this mode.
|
|
50
|
+
*
|
|
51
|
+
* Combining `'children-include-parent'` with `groupHeader='value'` is coherent but unusual: the cascade and the independent header both write the
|
|
52
|
+
* group's own `value`, so a child pick can re-add a parent the user just cleared from the header. Pair `groupHeader='value'` with `'children-only'`.
|
|
50
53
|
* @default 'children-only'
|
|
51
54
|
*/
|
|
52
55
|
selectionMode?: "children-only" | "children-include-parent";
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
background: var(--_table--card--background);
|
|
57
57
|
border: 1px solid var(--_table--card--border-color);
|
|
58
58
|
border-radius: var(--_table--card--border-radius);
|
|
59
|
-
overflow: hidden
|
|
59
|
+
// No overflow here: the radius already clips via the base overflow-x, and `hidden` would kill both scroll axes.
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -243,7 +243,6 @@ preserve the current selection. For non-reorderable tables use `Table` (it ships
|
|
|
243
243
|
background: var(--_table--card--background);
|
|
244
244
|
border: 1px solid var(--_table--card--border-color);
|
|
245
245
|
border-radius: var(--_table--card--border-radius);
|
|
246
|
-
overflow: hidden;
|
|
247
246
|
}
|
|
248
247
|
|
|
249
248
|
.table {
|