@sphereon/ui-components.ssi-react 0.1.3-unstable.82 → 0.1.3-unstable.83
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.
|
@@ -87,7 +87,6 @@ const SSITableView = (props) => {
|
|
|
87
87
|
count: data.length,
|
|
88
88
|
maxCount: data.length,
|
|
89
89
|
}) })), (enableFiltering || enableMostRecent || actions.length > 0) && (_jsx(SSITableViewHeader, { actions: actions, enableFiltering: enableFiltering, enableMostRecent: enableMostRecent })), _jsxs(TableContainer, { children: [_jsx("thead", { children: table.getHeaderGroups().map((headerGroup) => (_jsx(RowContainer, { children: headerGroup.headers.map((header) => (_jsxs(HeaderCellContainer, { colSpan: header.colSpan, style: {
|
|
90
|
-
boxSizing: 'border-box',
|
|
91
90
|
...(header.column.columnDef.minSize && { minWidth: header.column.columnDef.minSize }),
|
|
92
91
|
...(header.column.columnDef.maxSize && { maxWidth: header.column.columnDef.maxSize }),
|
|
93
92
|
...(header.column.columnDef.size !== 0 && { width: header.column.columnDef.size }),
|
|
@@ -96,7 +95,6 @@ const SSITableView = (props) => {
|
|
|
96
95
|
? `translateX(${table.getState().columnSizingInfo.deltaOffset}px)`
|
|
97
96
|
: '',
|
|
98
97
|
} })] }, header.id))) }, headerGroup.id))) }), _jsx("tbody", { children: table.getRowModel().rows.map((row) => (_jsx(RowContainer, { onClick: () => onRowClicked(row), children: row.getVisibleCells().map((cell) => (_jsx(CellContainer, { style: {
|
|
99
|
-
boxSizing: 'border-box',
|
|
100
98
|
...(cell.column.columnDef.minSize && { minWidth: cell.column.columnDef.minSize }),
|
|
101
99
|
...(cell.column.columnDef.maxSize && { maxWidth: cell.column.columnDef.maxSize }),
|
|
102
100
|
...(cell.column.columnDef.size !== 0 && { width: cell.column.columnDef.size }),
|
|
@@ -26,6 +26,8 @@ export const SSITableViewCellContainerStyled = styled.td `
|
|
|
26
26
|
background-color: ${backgroundColors.primaryLight};
|
|
27
27
|
padding: 20px 16px 20px 16px;
|
|
28
28
|
text-align: left;
|
|
29
|
+
//setting border-box makes padding be included in the width, otherwise content-box is used and then padding is excluded from the width
|
|
30
|
+
box-sizing: border-box;
|
|
29
31
|
`;
|
|
30
32
|
export const SSITableViewHeaderCellContainerStyled = styled.th `
|
|
31
33
|
${SSITextH2Css};
|
|
@@ -34,6 +36,8 @@ export const SSITableViewHeaderCellContainerStyled = styled.th `
|
|
|
34
36
|
background-color: ${backgroundColors.primaryLight};
|
|
35
37
|
color: ${fontColors.lightGrey};
|
|
36
38
|
text-align: left;
|
|
39
|
+
//setting border-box makes padding be included in the width, otherwise content-box is used and then padding is excluded from the width
|
|
40
|
+
box-sizing: border-box;
|
|
37
41
|
`;
|
|
38
42
|
export const SSITableViewResultCountCaptionStyled = styled.div `
|
|
39
43
|
${SSITextH3Css};
|
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.1.3-unstable.
|
|
4
|
+
"version": "0.1.3-unstable.83+3593537",
|
|
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>",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sphereon/ui-components.core": "0.1.3-unstable.
|
|
31
|
+
"@sphereon/ui-components.core": "0.1.3-unstable.83+3593537",
|
|
32
32
|
"@tanstack/react-table": "^8.9.3",
|
|
33
33
|
"react-loader-spinner": "^5.4.5",
|
|
34
34
|
"react-toastify": "^9.1.3",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">= 16.8.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "35935374b31b9624299cc1fa155c468da3214fda"
|
|
46
46
|
}
|