@stenajs-webui/grid 17.6.0 → 17.7.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/CHANGELOG.md +12 -0
- package/dist/components/GridHooksTable.d.ts +26 -26
- package/dist/config/TableConfig.d.ts +11 -11
- package/dist/features/grid-cell/hooks/UseEditableCell.d.ts +59 -59
- package/dist/features/grid-cell/hooks/UseGridCell.d.ts +64 -64
- package/dist/features/grid-cell/hooks/UseGridNavigation.d.ts +82 -82
- package/dist/features/grid-cell/hooks/UseGridNavigationOptionsFromContext.d.ts +2 -2
- package/dist/features/grid-cell/hooks/UseRevertableValue.d.ts +9 -9
- package/dist/features/{standard-table/features/sorting/__tests__/MultitypeComparator.test.d.ts → grid-cell/hooks/__tests__/TextInput.test.d.ts} +1 -1
- package/dist/features/standard-table/components/ColGroups.d.ts +5 -5
- package/dist/features/standard-table/components/StandardTable.d.ts +82 -82
- package/dist/features/standard-table/components/StandardTableCell.d.ts +11 -11
- package/dist/features/standard-table/components/StandardTableCellUi.d.ts +17 -17
- package/dist/features/standard-table/components/StandardTableContent.d.ts +7 -7
- package/dist/features/standard-table/components/StandardTableHeadItem.d.ts +9 -9
- package/dist/features/standard-table/components/StandardTableHeadRow.d.ts +7 -7
- package/dist/features/standard-table/components/StandardTableRow.d.ts +12 -12
- package/dist/features/standard-table/components/StandardTableRowExpansion.d.ts +6 -6
- package/dist/features/standard-table/components/StandardTableRowList.d.ts +10 -10
- package/dist/features/standard-table/components/TextCell.d.ts +6 -6
- package/dist/features/standard-table/components/TrWithHoverBackground.d.ts +11 -11
- package/dist/features/standard-table/config/StandardTableColumnConfig.d.ts +154 -154
- package/dist/features/standard-table/config/StandardTableColumnGroupConfig.d.ts +11 -11
- package/dist/features/standard-table/config/StandardTableConfig.d.ts +152 -152
- package/dist/features/standard-table/config/StandardTableInfiniteConfig.d.ts +2 -2
- package/dist/features/standard-table/context/GroupConfigsAndIdsForRowsContext.d.ts +5 -5
- package/dist/features/standard-table/context/OnKeyDownContext.d.ts +4 -4
- package/dist/features/standard-table/context/StandardTableColumnOrderContext.d.ts +4 -4
- package/dist/features/standard-table/context/StandardTableStateContext.d.ts +21 -21
- package/dist/features/standard-table/context/StandardTableVariantContext.d.ts +4 -4
- package/dist/features/standard-table/context/StickyPropsPerColumnContext.d.ts +4 -4
- package/dist/features/standard-table/context/TotalNumColumnsContext.d.ts +3 -3
- package/dist/features/standard-table/features/checkboxes/StandardTableRowCheckbox.d.ts +13 -13
- package/dist/features/standard-table/features/checkboxes/UseRowCheckbox.d.ts +5 -5
- package/dist/features/standard-table/features/checkboxes/UseTableHeadCheckbox.d.ts +5 -5
- package/dist/features/standard-table/features/column-groups/ColumnGroupFactory.d.ts +7 -7
- package/dist/features/standard-table/features/column-groups/ColumnGroupRow.d.ts +6 -6
- package/dist/features/standard-table/features/column-groups/ColumnInGroup.d.ts +12 -12
- package/dist/features/standard-table/features/column-groups/StickyHeaderPropsFactory.d.ts +2 -2
- package/dist/features/standard-table/features/column-index-per-column-id/ColumnIndexCalculator.d.ts +7 -7
- package/dist/features/standard-table/features/column-index-per-column-id/ColumnIndexPerColumnIdContext.d.ts +4 -4
- package/dist/features/standard-table/features/expand-collapse/StandardTableRowExpandButton.d.ts +9 -9
- package/dist/features/standard-table/features/expand-collapse/UseExpandCollapseActions.d.ts +4 -4
- package/dist/features/standard-table/features/expand-collapse/UseTableHeadExpandCollapse.d.ts +4 -4
- package/dist/features/standard-table/features/sorting/MultitypeComparator.d.ts +3 -3
- package/dist/features/standard-table/features/sorting/UseTableSortHeader.d.ts +9 -9
- package/dist/features/standard-table/features/sticky-columns/StickyColumnGroupOffsetCalculator.d.ts +10 -10
- package/dist/features/standard-table/features/sticky-columns/StickyColumnGroupValidator.d.ts +4 -4
- package/dist/features/standard-table/features/sticky-columns/StickyPropsPerColumnCalculator.d.ts +5 -5
- package/dist/features/standard-table/features/sticky-columns/types.d.ts +11 -11
- package/dist/features/standard-table/features/summary-row/SummaryCellColSpanCalculator.d.ts +7 -7
- package/dist/features/standard-table/features/summary-row/SummaryRowVisibilityCalculator.d.ts +3 -3
- package/dist/features/standard-table/features/summary-row/components/StandardTableSummaryRow.d.ts +6 -6
- package/dist/features/standard-table/features/summary-row/components/SummaryCell.d.ts +10 -10
- package/dist/features/standard-table/features/summary-row/components/SummaryRowSwitcher.d.ts +6 -6
- package/dist/features/standard-table/helpers/cell-renderers/editable-text-cell/EditableTextCell.d.ts +2 -2
- package/dist/features/standard-table/helpers/cell-renderers/editable-text-cell/EditableTextCellWithStatus.d.ts +3 -3
- package/dist/features/standard-table/hooks/UseCellBackground.d.ts +3 -3
- package/dist/features/standard-table/hooks/UseColumnConfigById.d.ts +4 -4
- package/dist/features/standard-table/hooks/UseColumnValueResolver.d.ts +1 -1
- package/dist/features/standard-table/hooks/UseLocalStateTableContext.d.ts +5 -5
- package/dist/features/standard-table/hooks/UseStandardTableConfig.d.ts +7 -7
- package/dist/features/standard-table/redux/ReducerIdFactory.d.ts +3 -3
- package/dist/features/standard-table/redux/StandardTableActionsAndSelectors.d.ts +19 -19
- package/dist/features/standard-table/redux/StandardTableReducer.d.ts +15 -15
- package/dist/features/standard-table/stories/StandardTableStoryHelper.d.ts +18 -18
- package/dist/features/standard-table/types/StandardTableOnKeyDown.d.ts +3 -3
- package/dist/features/standard-table/util/ActionsFactory.d.ts +14 -14
- package/dist/features/standard-table/util/CellBorderCalculator.d.ts +2 -2
- package/dist/features/standard-table/util/ColumnCounter.d.ts +2 -2
- package/dist/features/standard-table/util/FilterItemsOnEnabledCheckboxes.d.ts +2 -2
- package/dist/features/standard-table/util/IdListPartial.d.ts +1 -1
- package/dist/features/standard-table/util/LabelFormatter.d.ts +2 -2
- package/dist/features/table-ui/components/CrudStatusIndicator.d.ts +8 -8
- package/dist/features/table-ui/components/ModifiedField.d.ts +11 -11
- package/dist/features/table-ui/components/cells/EditableTextCellWithCrudAndModified.d.ts +19 -19
- package/dist/features/table-ui/components/table/SmallTableCell.d.ts +6 -6
- package/dist/features/table-ui/components/table/SmallTableHead.d.ts +6 -6
- package/dist/features/table-ui/components/table/SortOrderIcon.d.ts +11 -11
- package/dist/features/table-ui/components/table/TableCell.d.ts +5 -5
- package/dist/features/table-ui/components/table/TableColumnGroupHead.d.ts +10 -10
- package/dist/features/table-ui/components/table/TableHeadItem.d.ts +16 -16
- package/dist/features/table-ui/components/table/TableHeadRow.d.ts +7 -7
- package/dist/features/table-ui/components/table/TableRow.d.ts +7 -7
- package/dist/features/table-ui/hooks/UseSortOrderColumnHead.d.ts +11 -11
- package/dist/index.d.ts +49 -49
- package/dist/index.es.js +2722 -2235
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9 -2347
- package/dist/index.js.map +1 -1
- package/dist/storybook-helpers/storybook-controls.d.ts +46 -46
- package/dist/util/DirectionCalculator.d.ts +8 -8
- package/dist/util/DomIdValidator.d.ts +1 -1
- package/dist/util/GridHookOptionsValidator.d.ts +3 -3
- package/dist/util/NumberBoundsWrapper.d.ts +3 -3
- package/dist/util/bounds/NumberBoundsWrapper.d.ts +9 -9
- package/package.json +12 -13
- package/dist/features/standard-table/features/sticky-columns/__tests__/StickyColumnGroupOffsetCalculator.test.d.ts +0 -1
- package/dist/features/standard-table/features/sticky-columns/__tests__/StickyColumnGroupValidator.test.d.ts +0 -1
- package/dist/features/standard-table/features/summary-row/__tests__/SummaryCellColSpanCalculator.test.d.ts +0 -1
- package/dist/features/standard-table/stories/ExpandableRows.stories.d.ts +0 -8
- package/dist/features/standard-table/stories/FewColumns.stories.d.ts +0 -8
- package/dist/features/standard-table/stories/Fields.stories.d.ts +0 -9
- package/dist/features/standard-table/stories/GroupedColumns.stories.d.ts +0 -8
- package/dist/features/standard-table/stories/Sorting.stories.d.ts +0 -8
- package/dist/features/standard-table/stories/StandardTable.stories.d.ts +0 -13
- package/dist/features/standard-table/stories/StandardTableHorror.stories.d.ts +0 -35
- package/dist/features/standard-table/stories/States.stories.d.ts +0 -10
- package/dist/features/standard-table/stories/Sticky.stories.d.ts +0 -11
- package/dist/features/standard-table/stories/Waitlist.stories.d.ts +0 -6
- package/dist/features/standard-table/util/__tests__/IdListPartial.test.d.ts +0 -1
- package/dist/features/table-ui/stories/TableUi.stories.d.ts +0 -7
- package/dist/util/bounds/__tests__/NumberBoundsWrapper.test.d.ts +0 -1
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { StandardTableConfig } from "../config/StandardTableConfig";
|
|
3
|
-
import { TableContext } from "../context/StandardTableStateContext";
|
|
4
|
-
import { StandardTableOnKeyDown } from "../types/StandardTableOnKeyDown";
|
|
5
|
-
import { ResultListBannerState } from "@stenajs-webui/elements";
|
|
6
|
-
export interface StandardTableProps<TItem, TColumnKey extends string, TColumnGroupKey extends string> {
|
|
7
|
-
/**
|
|
8
|
-
* Variant of table
|
|
9
|
-
*/
|
|
10
|
-
variant?: StandardTableVariant;
|
|
11
|
-
/**
|
|
12
|
-
* The tableId, which is passed to useGridCell.
|
|
13
|
-
* Optional, defaults to generated id.
|
|
14
|
-
*/
|
|
15
|
-
tableId?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Number that is added to rowIndex in useGridCell.
|
|
18
|
-
* This makes it possible to navigate between two tables, when used in combination
|
|
19
|
-
* with tableId.
|
|
20
|
-
*/
|
|
21
|
-
rowIndexOffset?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Number that is added to colIndex in useGridCell.
|
|
24
|
-
* This makes it possible to navigate between two tables, when used in combination
|
|
25
|
-
* with tableId.
|
|
26
|
-
*/
|
|
27
|
-
colIndexOffset?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Config for the table. Required.
|
|
30
|
-
*/
|
|
31
|
-
config: StandardTableConfig<TItem, TColumnKey, TColumnGroupKey>;
|
|
32
|
-
/**
|
|
33
|
-
* Items to list in the table.
|
|
34
|
-
*/
|
|
35
|
-
items?: Array<TItem>;
|
|
36
|
-
error?: Error;
|
|
37
|
-
loading?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Content right in banner shown when there are no items.
|
|
40
|
-
*/
|
|
41
|
-
noItemsContentRight?: ReactNode;
|
|
42
|
-
/**
|
|
43
|
-
* Content bottom in banner shown when there are no items.
|
|
44
|
-
*/
|
|
45
|
-
noItemsContentBottom?: ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* Header in banner shown when there are no items.
|
|
48
|
-
*/
|
|
49
|
-
noItemsHeader?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Message displayed when there are no items to display, and it is not loading or has error.
|
|
52
|
-
*/
|
|
53
|
-
noItemsLabel?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Data used to populate the ResultListBanner component.
|
|
56
|
-
*/
|
|
57
|
-
bannerError?: ResultListBannerState;
|
|
58
|
-
/**
|
|
59
|
-
* Message displayed when there is an error.
|
|
60
|
-
*/
|
|
61
|
-
errorLabel?: string;
|
|
62
|
-
/**
|
|
63
|
-
* TableContext, containing state, actions and dispatch. Makes it possible to connect Redux.
|
|
64
|
-
* This is optional and falls back to internal useReducer if omitted.
|
|
65
|
-
*/
|
|
66
|
-
tableContext?: TableContext<TColumnKey>;
|
|
67
|
-
/**
|
|
68
|
-
* The order of columns. If set, it overrides the order set in the config.
|
|
69
|
-
*/
|
|
70
|
-
columnOrder?: Array<TColumnKey>;
|
|
71
|
-
/**
|
|
72
|
-
* The order of column groups. If set, it overrides the order set in the config.
|
|
73
|
-
*/
|
|
74
|
-
columnGroupOrder?: Array<TColumnGroupKey>;
|
|
75
|
-
/**
|
|
76
|
-
* onKeyDown for the table. First argument is the event, second argument is
|
|
77
|
-
* an object that contains columnId and item for the focused cell.
|
|
78
|
-
*/
|
|
79
|
-
onKeyDown?: StandardTableOnKeyDown<TItem, TColumnKey>;
|
|
80
|
-
}
|
|
81
|
-
export declare type StandardTableVariant = "relaxed" | "standard" | "condensed" | "compact";
|
|
82
|
-
export declare const StandardTable: <TItem, TColumnKey extends string, TColumnGroupKey extends string>({ tableContext, config, columnOrder, columnGroupOrder, tableId, variant, onKeyDown, ...props }: StandardTableProps<TItem, TColumnKey, TColumnGroupKey>) => JSX.Element;
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { StandardTableConfig } from "../config/StandardTableConfig";
|
|
3
|
+
import { TableContext } from "../context/StandardTableStateContext";
|
|
4
|
+
import { StandardTableOnKeyDown } from "../types/StandardTableOnKeyDown";
|
|
5
|
+
import { ResultListBannerState } from "@stenajs-webui/elements";
|
|
6
|
+
export interface StandardTableProps<TItem, TColumnKey extends string, TColumnGroupKey extends string> {
|
|
7
|
+
/**
|
|
8
|
+
* Variant of table
|
|
9
|
+
*/
|
|
10
|
+
variant?: StandardTableVariant;
|
|
11
|
+
/**
|
|
12
|
+
* The tableId, which is passed to useGridCell.
|
|
13
|
+
* Optional, defaults to generated id.
|
|
14
|
+
*/
|
|
15
|
+
tableId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Number that is added to rowIndex in useGridCell.
|
|
18
|
+
* This makes it possible to navigate between two tables, when used in combination
|
|
19
|
+
* with tableId.
|
|
20
|
+
*/
|
|
21
|
+
rowIndexOffset?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Number that is added to colIndex in useGridCell.
|
|
24
|
+
* This makes it possible to navigate between two tables, when used in combination
|
|
25
|
+
* with tableId.
|
|
26
|
+
*/
|
|
27
|
+
colIndexOffset?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Config for the table. Required.
|
|
30
|
+
*/
|
|
31
|
+
config: StandardTableConfig<TItem, TColumnKey, TColumnGroupKey>;
|
|
32
|
+
/**
|
|
33
|
+
* Items to list in the table.
|
|
34
|
+
*/
|
|
35
|
+
items?: Array<TItem>;
|
|
36
|
+
error?: Error;
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Content right in banner shown when there are no items.
|
|
40
|
+
*/
|
|
41
|
+
noItemsContentRight?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Content bottom in banner shown when there are no items.
|
|
44
|
+
*/
|
|
45
|
+
noItemsContentBottom?: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Header in banner shown when there are no items.
|
|
48
|
+
*/
|
|
49
|
+
noItemsHeader?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Message displayed when there are no items to display, and it is not loading or has error.
|
|
52
|
+
*/
|
|
53
|
+
noItemsLabel?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Data used to populate the ResultListBanner component.
|
|
56
|
+
*/
|
|
57
|
+
bannerError?: ResultListBannerState;
|
|
58
|
+
/**
|
|
59
|
+
* Message displayed when there is an error.
|
|
60
|
+
*/
|
|
61
|
+
errorLabel?: string;
|
|
62
|
+
/**
|
|
63
|
+
* TableContext, containing state, actions and dispatch. Makes it possible to connect Redux.
|
|
64
|
+
* This is optional and falls back to internal useReducer if omitted.
|
|
65
|
+
*/
|
|
66
|
+
tableContext?: TableContext<TColumnKey>;
|
|
67
|
+
/**
|
|
68
|
+
* The order of columns. If set, it overrides the order set in the config.
|
|
69
|
+
*/
|
|
70
|
+
columnOrder?: Array<TColumnKey>;
|
|
71
|
+
/**
|
|
72
|
+
* The order of column groups. If set, it overrides the order set in the config.
|
|
73
|
+
*/
|
|
74
|
+
columnGroupOrder?: Array<TColumnGroupKey>;
|
|
75
|
+
/**
|
|
76
|
+
* onKeyDown for the table. First argument is the event, second argument is
|
|
77
|
+
* an object that contains columnId and item for the focused cell.
|
|
78
|
+
*/
|
|
79
|
+
onKeyDown?: StandardTableOnKeyDown<TItem, TColumnKey>;
|
|
80
|
+
}
|
|
81
|
+
export declare type StandardTableVariant = "relaxed" | "standard" | "condensed" | "compact";
|
|
82
|
+
export declare const StandardTable: <TItem, TColumnKey extends string, TColumnGroupKey extends string>({ tableContext, config, columnOrder, columnGroupOrder, tableId, variant, onKeyDown, ...props }: StandardTableProps<TItem, TColumnKey, TColumnGroupKey>) => JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface StandardTableCellProps<TItem> {
|
|
3
|
-
columnId: string;
|
|
4
|
-
item: TItem;
|
|
5
|
-
rowIndex: number;
|
|
6
|
-
colIndex: number;
|
|
7
|
-
numRows: number;
|
|
8
|
-
borderFromGroup?: boolean | string;
|
|
9
|
-
disableBorderLeft?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StandardTableCell: React.MemoExoticComponent<(<TItem>({ columnId, item, colIndex, rowIndex, numRows, borderFromGroup, disableBorderLeft, }: StandardTableCellProps<TItem>) => JSX.Element)>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface StandardTableCellProps<TItem> {
|
|
3
|
+
columnId: string;
|
|
4
|
+
item: TItem;
|
|
5
|
+
rowIndex: number;
|
|
6
|
+
colIndex: number;
|
|
7
|
+
numRows: number;
|
|
8
|
+
borderFromGroup?: boolean | string;
|
|
9
|
+
disableBorderLeft?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StandardTableCell: React.MemoExoticComponent<(<TItem>({ columnId, item, colIndex, rowIndex, numRows, borderFromGroup, disableBorderLeft, }: StandardTableCellProps<TItem>) => JSX.Element)>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BoxProps } from "@stenajs-webui/core";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
|
-
import { GridCellRequiredProps } from "../../grid-cell/hooks/UseGridCell";
|
|
5
|
-
interface Props {
|
|
6
|
-
width?: string;
|
|
7
|
-
minWidth?: string;
|
|
8
|
-
justifyContent?: string;
|
|
9
|
-
enableGridCell?: boolean;
|
|
10
|
-
isEditing: boolean;
|
|
11
|
-
gridCellRequiredProps?: GridCellRequiredProps;
|
|
12
|
-
background?: string;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
onKeyDown?: BoxProps["onKeyDown"];
|
|
15
|
-
}
|
|
16
|
-
export declare const StandardTableCellUi: React.NamedExoticComponent<Props>;
|
|
17
|
-
export {};
|
|
1
|
+
import { BoxProps } from "@stenajs-webui/core";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
import { GridCellRequiredProps } from "../../grid-cell/hooks/UseGridCell";
|
|
5
|
+
interface Props {
|
|
6
|
+
width?: string;
|
|
7
|
+
minWidth?: string;
|
|
8
|
+
justifyContent?: string;
|
|
9
|
+
enableGridCell?: boolean;
|
|
10
|
+
isEditing: boolean;
|
|
11
|
+
gridCellRequiredProps?: GridCellRequiredProps;
|
|
12
|
+
background?: string;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
onKeyDown?: BoxProps["onKeyDown"];
|
|
15
|
+
}
|
|
16
|
+
export declare const StandardTableCellUi: React.NamedExoticComponent<Props>;
|
|
17
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { StandardTableProps, StandardTableVariant } from "./StandardTable";
|
|
3
|
-
interface Props<TItem, TColumnKey extends string, TColumnGroupKey extends string> extends Omit<StandardTableProps<TItem, TColumnKey, TColumnGroupKey>, "tableContext" | "config"> {
|
|
4
|
-
variant: StandardTableVariant;
|
|
5
|
-
}
|
|
6
|
-
export declare const StandardTableContent: React.MemoExoticComponent<(<TItem, TColumnKey extends string, TColumnGroupKey extends string>({ error, bannerError, loading, items, noItemsLabel, noItemsContentRight, noItemsContentBottom, noItemsHeader, colIndexOffset, rowIndexOffset, variant, errorLabel, }: Props<TItem, TColumnKey, TColumnGroupKey>) => JSX.Element)>;
|
|
7
|
-
export {};
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StandardTableProps, StandardTableVariant } from "./StandardTable";
|
|
3
|
+
interface Props<TItem, TColumnKey extends string, TColumnGroupKey extends string> extends Omit<StandardTableProps<TItem, TColumnKey, TColumnGroupKey>, "tableContext" | "config"> {
|
|
4
|
+
variant: StandardTableVariant;
|
|
5
|
+
}
|
|
6
|
+
export declare const StandardTableContent: React.MemoExoticComponent<(<TItem, TColumnKey extends string, TColumnGroupKey extends string>({ error, bannerError, loading, items, noItemsLabel, noItemsContentRight, noItemsContentBottom, noItemsHeader, colIndexOffset, rowIndexOffset, variant, errorLabel, }: Props<TItem, TColumnKey, TColumnGroupKey>) => JSX.Element)>;
|
|
7
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface StandardTableHeaderItemProps {
|
|
3
|
-
columnId: string;
|
|
4
|
-
disableBorderLeft?: boolean;
|
|
5
|
-
borderFromGroup?: boolean | string;
|
|
6
|
-
stickyHeader?: boolean;
|
|
7
|
-
top?: string | number;
|
|
8
|
-
}
|
|
9
|
-
export declare const StandardTableHeadItem: React.NamedExoticComponent<StandardTableHeaderItemProps>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface StandardTableHeaderItemProps {
|
|
3
|
+
columnId: string;
|
|
4
|
+
disableBorderLeft?: boolean;
|
|
5
|
+
borderFromGroup?: boolean | string;
|
|
6
|
+
stickyHeader?: boolean;
|
|
7
|
+
top?: string | number;
|
|
8
|
+
}
|
|
9
|
+
export declare const StandardTableHeadItem: React.NamedExoticComponent<StandardTableHeaderItemProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface StandardTableHeaderProps<TItem> {
|
|
3
|
-
items?: Array<TItem>;
|
|
4
|
-
height?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const StandardTableHeadRow: React.MemoExoticComponent<(<TItem>({ items, height }: StandardTableHeaderProps<TItem>) => JSX.Element)>;
|
|
7
|
-
export {};
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface StandardTableHeaderProps<TItem> {
|
|
3
|
+
items?: Array<TItem>;
|
|
4
|
+
height?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const StandardTableHeadRow: React.MemoExoticComponent<(<TItem>({ items, height }: StandardTableHeaderProps<TItem>) => JSX.Element)>;
|
|
7
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { RefObject } from "react";
|
|
3
|
-
export interface StandardTableRowProps<TItem> {
|
|
4
|
-
item: TItem;
|
|
5
|
-
idListForEnabledItems: Array<string>;
|
|
6
|
-
rowIndex: number;
|
|
7
|
-
numRows: number;
|
|
8
|
-
colIndexOffset: number;
|
|
9
|
-
alwaysVisible?: boolean;
|
|
10
|
-
shiftPressedRef: RefObject<boolean>;
|
|
11
|
-
}
|
|
12
|
-
export declare const StandardTableRow: React.MemoExoticComponent<(<TItem>({ item, idListForEnabledItems, rowIndex, numRows, colIndexOffset, alwaysVisible, shiftPressedRef, }: StandardTableRowProps<TItem>) => JSX.Element)>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { RefObject } from "react";
|
|
3
|
+
export interface StandardTableRowProps<TItem> {
|
|
4
|
+
item: TItem;
|
|
5
|
+
idListForEnabledItems: Array<string>;
|
|
6
|
+
rowIndex: number;
|
|
7
|
+
numRows: number;
|
|
8
|
+
colIndexOffset: number;
|
|
9
|
+
alwaysVisible?: boolean;
|
|
10
|
+
shiftPressedRef: RefObject<boolean>;
|
|
11
|
+
}
|
|
12
|
+
export declare const StandardTableRow: React.MemoExoticComponent<(<TItem>({ item, idListForEnabledItems, rowIndex, numRows, colIndexOffset, alwaysVisible, shiftPressedRef, }: StandardTableRowProps<TItem>) => JSX.Element)>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props<TItem> {
|
|
3
|
-
item: TItem;
|
|
4
|
-
}
|
|
5
|
-
export declare const StandardTableRowExpansion: <TItem>({ item }: Props<TItem>) => JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props<TItem> {
|
|
3
|
+
item: TItem;
|
|
4
|
+
}
|
|
5
|
+
export declare const StandardTableRowExpansion: <TItem>({ item }: Props<TItem>) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { StandardTableVariant } from "./StandardTable";
|
|
3
|
-
interface StandardTableContentProps<TItem> {
|
|
4
|
-
items?: Array<TItem>;
|
|
5
|
-
colIndexOffset?: number;
|
|
6
|
-
rowIndexOffset?: number;
|
|
7
|
-
variant: StandardTableVariant;
|
|
8
|
-
}
|
|
9
|
-
export declare const StandardTableRowList: React.MemoExoticComponent<(<TItem>({ items, colIndexOffset, rowIndexOffset, }: StandardTableContentProps<TItem>) => JSX.Element)>;
|
|
10
|
-
export {};
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { StandardTableVariant } from "./StandardTable";
|
|
3
|
+
interface StandardTableContentProps<TItem> {
|
|
4
|
+
items?: Array<TItem>;
|
|
5
|
+
colIndexOffset?: number;
|
|
6
|
+
rowIndexOffset?: number;
|
|
7
|
+
variant: StandardTableVariant;
|
|
8
|
+
}
|
|
9
|
+
export declare const StandardTableRowList: React.MemoExoticComponent<(<TItem>({ items, colIndexOffset, rowIndexOffset, }: StandardTableContentProps<TItem>) => JSX.Element)>;
|
|
10
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
label?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const TextCell: React.FC<Props>;
|
|
6
|
-
export {};
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
label?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const TextCell: React.FC<Props>;
|
|
6
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const TrWithHoverBackground: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
borderLeft?: string | undefined;
|
|
7
|
-
height?: string | undefined;
|
|
8
|
-
focusBackground?: string | undefined;
|
|
9
|
-
hoverBackground?: string | undefined;
|
|
10
|
-
background?: string | undefined;
|
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TrWithHoverBackground: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
borderLeft?: string | undefined;
|
|
7
|
+
height?: string | undefined;
|
|
8
|
+
focusBackground?: string | undefined;
|
|
9
|
+
hoverBackground?: string | undefined;
|
|
10
|
+
background?: string | undefined;
|
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
|