@ixfx/components 0.13.7 → 0.13.8
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/bundle/index.d.ts +22 -0
- package/bundle/index.js +138 -107
- package/dist/{index-BG8E13J5.d.ts → index-CSCrK0hR.d.ts} +18 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +109 -29
- package/dist/{tree-BjrfaX7d.js → tree-9Hs7VxuX.js} +63 -0
- package/dist/tree.d.ts +1 -1
- package/dist/tree.js +1 -1
- package/docs-user/hyperbolic-tree.md +1 -1
- package/docs-user/index.json +2 -2
- package/docs-user/multicol-list.md +1 -1
- package/docs-user/tree.md +33 -0
- package/package.json +1 -1
package/bundle/index.d.ts
CHANGED
|
@@ -8112,6 +8112,24 @@ declare class TreeBaseElement extends LitElement implements TreeComponent, TreeS
|
|
|
8112
8112
|
clearSelection(): void;
|
|
8113
8113
|
selectAll(): void;
|
|
8114
8114
|
deselectAll(): void;
|
|
8115
|
+
/**
|
|
8116
|
+
* Expand every already-loaded branch in a single update. With `maxDepth`,
|
|
8117
|
+
* only branches at depth < `maxDepth` are expanded (the root's children are
|
|
8118
|
+
* depth 0), so rows at depth `maxDepth` become visible but stay collapsed.
|
|
8119
|
+
*
|
|
8120
|
+
* Unloaded (lazy) branches are not fetched — call again once their children
|
|
8121
|
+
* have loaded to expand further. Bulk expansion ignores `exclusivity`. Fires
|
|
8122
|
+
* one `expand` event per branch that actually opens — none for branches that
|
|
8123
|
+
* were already expanded, including ones opened by filter auto-expansion.
|
|
8124
|
+
*/
|
|
8125
|
+
expandAll(maxDepth?: number): void;
|
|
8126
|
+
/**
|
|
8127
|
+
* Collapse expanded branches in a single update. With `maxDepth`, only
|
|
8128
|
+
* branches at depth >= `maxDepth` are collapsed, leaving the tree open down
|
|
8129
|
+
* to depth `maxDepth - 1` (`collapseAll(0)` is a full collapse). Fires one
|
|
8130
|
+
* `collapse` event per branch that actually closes.
|
|
8131
|
+
*/
|
|
8132
|
+
collapseAll(maxDepth?: number): void;
|
|
8115
8133
|
navigateTo(keys: readonly string[], options?: TreeNavigateOptions): boolean;
|
|
8116
8134
|
navigateToNode(predicate: (node: TreeNode) => boolean): boolean;
|
|
8117
8135
|
/** Expand ancestors + move the cursor to `key`, without touching the selection (search "navigate" mode). */
|
|
@@ -10117,6 +10135,8 @@ type MulticolCategoryDefaults = {
|
|
|
10117
10135
|
type MulticolCategory = {
|
|
10118
10136
|
readonly key: string;
|
|
10119
10137
|
readonly label: string;
|
|
10138
|
+
/** Shown as a tooltip on the column header label. */
|
|
10139
|
+
readonly description?: string;
|
|
10120
10140
|
readonly children?: readonly MulticolCategory[];
|
|
10121
10141
|
readonly defaults?: MulticolCategoryDefaults;
|
|
10122
10142
|
};
|
|
@@ -10194,6 +10214,8 @@ declare class MulticolListElement extends LitElement {
|
|
|
10194
10214
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
10195
10215
|
private _renderColumn;
|
|
10196
10216
|
private _getCategoryLabel;
|
|
10217
|
+
/** Category description if present, else the default 'Change category' hint. */
|
|
10218
|
+
private _getCategoryTooltip;
|
|
10197
10219
|
private _onHeaderPointerDown;
|
|
10198
10220
|
private _onResizePointerDown;
|
|
10199
10221
|
private _openCategoryPicker;
|