@stenajs-webui/grid 21.23.0 → 21.24.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/dist/features/standard-table/config/StandardTableConfig.d.ts +9 -0
- package/dist/features/table-ui/components/table/TableHeadItem.d.ts +3 -0
- package/dist/index.es.js +504 -490
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
|
@@ -4,6 +4,7 @@ import { SortOrderIconVariant } from "../../table-ui/components/table/SortOrderI
|
|
|
4
4
|
import { DefaultStandardTableCellRenderer, StandardTableColumnConfig, StandardTableColumnConfigWithGroups } from "./StandardTableColumnConfig";
|
|
5
5
|
import { StandardTableColumnGroupConfig } from "./StandardTableColumnGroupConfig";
|
|
6
6
|
import { TextSize } from "@stenajs-webui/core";
|
|
7
|
+
import { TooltipProps } from "@stenajs-webui/tooltip";
|
|
7
8
|
export interface RowExpansionArgs {
|
|
8
9
|
onRequestCollapse?: () => void;
|
|
9
10
|
}
|
|
@@ -141,6 +142,14 @@ export interface StandardTableConfigBase<TItem, TColumnKey extends string> {
|
|
|
141
142
|
* Set a custom z index
|
|
142
143
|
*/
|
|
143
144
|
zIndex?: number;
|
|
145
|
+
/**
|
|
146
|
+
* Sets the target to append to for the header row tooltips
|
|
147
|
+
*/
|
|
148
|
+
infoIconTooltipAppendTo?: TooltipProps["appendTo"];
|
|
149
|
+
/**
|
|
150
|
+
* Set a custom z index for the header tooltips
|
|
151
|
+
*/
|
|
152
|
+
infoIconTooltipZIndex?: number;
|
|
144
153
|
/**
|
|
145
154
|
* Offset header row from top (top css property)
|
|
146
155
|
*/
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { BoxProps } from "@stenajs-webui/core";
|
|
2
|
+
import { TooltipProps } from "@stenajs-webui/tooltip";
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import { ReactNode } from "react";
|
|
4
5
|
import { SortOrderDirection, SortOrderIconVariant } from "./SortOrderIcon";
|
|
5
6
|
export interface TableHeadProps extends BoxProps {
|
|
6
7
|
label?: string;
|
|
8
|
+
infoIconTooltipAppendTo?: TooltipProps["appendTo"];
|
|
7
9
|
infoIconTooltipText?: string;
|
|
10
|
+
infoIconTooltipZIndex?: number;
|
|
8
11
|
popoverContent?: ReactNode;
|
|
9
12
|
loading?: boolean;
|
|
10
13
|
arrow?: SortOrderDirection;
|