@sphereon/ui-components.ssi-react 0.5.0 → 0.5.1-next.3
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/components/views/SSITableView/PaginationControls/index.js +2 -2
- package/dist/components/views/SSITableView/index.js +1 -1
- package/dist/styles/components/components/SSITableView/index.d.ts +1 -1
- package/dist/styles/components/components/SSITableView/index.js +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@ import { Stack } from '@mui/material';
|
|
|
3
3
|
import { GoToInputContainer, GoToInputStyled, PaginationContainerStyled, PaginationStyled } from '../../../../styles';
|
|
4
4
|
import { Localization } from '@sphereon/ui-components.core';
|
|
5
5
|
const PaginationControls = (props) => {
|
|
6
|
-
const { onKeyDown, containerStyle, goToInputId = 'goTo' } = props;
|
|
7
|
-
return (_jsxs(PaginationContainerStyled, { style: containerStyle, children: [_jsx(Stack, { children: _jsx(PaginationStyled, { ...
|
|
6
|
+
const { onKeyDown, containerStyle, goToInputId = 'goTo', ...paginationProps } = props;
|
|
7
|
+
return (_jsxs(PaginationContainerStyled, { style: containerStyle, children: [_jsx(Stack, { children: _jsx(PaginationStyled, { ...paginationProps }) }), _jsxs(GoToInputContainer, { children: [Localization.translate('table_pagination_input_caption_go_to'), _jsx(GoToInputStyled, { id: goToInputId, onKeyDown: onKeyDown }), Localization.translate('table_pagination_input_caption_page')] })] }));
|
|
8
8
|
};
|
|
9
9
|
export default PaginationControls;
|
|
@@ -135,7 +135,7 @@ const SSITableView = (props) => {
|
|
|
135
135
|
transform: columnResizeMode === 'onEnd' && header.column.getIsResizing()
|
|
136
136
|
? `translateX(${table.getState().columnSizingInfo.deltaOffset}px)`
|
|
137
137
|
: '',
|
|
138
|
-
} })] }, header.id))) }, headerGroup.id))) }), _jsx("tbody", { children: table.getRowModel().rows.map((row) => (_jsx(RowContainer, { enableHover: enableRowHover, onClick: () => onRowClicked(row), onMouseEnter: () => onFocusRow(row.id), onMouseLeave: () => onFocusRow(), style: { ...(row.getIsSelected() && { backgroundColor: selectionElementColors.selectedRow }) }, children: row.getVisibleCells().map((cell) => (_jsx(CellContainer, { style: {
|
|
138
|
+
} })] }, header.id))) }, headerGroup.id))) }), _jsx("tbody", { children: table.getRowModel().rows.map((row) => (_jsx(RowContainer, { "$enableHover": enableRowHover, onClick: () => onRowClicked(row), onMouseEnter: () => onFocusRow(row.id), onMouseLeave: () => onFocusRow(), style: { ...(row.getIsSelected() && { backgroundColor: selectionElementColors.selectedRow }) }, children: row.getVisibleCells().map((cell) => (_jsx(CellContainer, { style: {
|
|
139
139
|
...(cell.column.columnDef.minSize && { minWidth: cell.column.columnDef.minSize }),
|
|
140
140
|
...(cell.column.columnDef.maxSize && { maxWidth: cell.column.columnDef.maxSize }),
|
|
141
141
|
...(cell.column.columnDef.size !== 0 && { width: cell.column.columnDef.size }),
|
|
@@ -4,7 +4,7 @@ export declare const SSITableViewLabelCellStyled: IStyledComponent<'web', React.
|
|
|
4
4
|
export declare const SSITableViewTableContainerStyled: IStyledComponent<'web', React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>>;
|
|
5
5
|
export declare const SSITableViewHeaderRowContainerStyled: IStyledComponent<'web', React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>>;
|
|
6
6
|
export declare const SSITableViewRowContainerStyled: IStyledComponent<'web', React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement> & {
|
|
7
|
-
enableHover?: boolean;
|
|
7
|
+
$enableHover?: boolean;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const SSITableViewCellContainerStyled: IStyledComponent<'web', React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>>;
|
|
10
10
|
export declare const SSITableViewHeaderCellContainerStyled: IStyledComponent<'web', React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ui-components.ssi-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1-next.3+a5a56d3",
|
|
5
5
|
"description": "SSI UI components for React",
|
|
6
6
|
"repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
|
|
7
7
|
"author": "Sphereon <dev@sphereon.com>",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@mui/x-date-pickers": "^8.18.0",
|
|
51
51
|
"@sphereon/ssi-sdk.data-store-types": "0.37.0",
|
|
52
52
|
"@sphereon/ssi-types": "0.37.0",
|
|
53
|
-
"@sphereon/ui-components.core": "0.5.
|
|
53
|
+
"@sphereon/ui-components.core": "0.5.1-next.3+a5a56d3",
|
|
54
54
|
"@tanstack/react-table": "^8.9.3",
|
|
55
55
|
"ajv": "^8.17.1",
|
|
56
56
|
"ajv-formats": "^3.0.1",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": ">= 18"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "a5a56d34f0c85ea96ae292bb1cdb6c8ff35d9aca"
|
|
76
76
|
}
|