@portnet/ui 0.0.95 → 0.0.97

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.
@@ -31,10 +31,10 @@ const StyledMuiButton = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((_ref
31
31
  }))(() => {
32
32
  return {
33
33
  "&.MuiButton-root": {
34
- fontSize: "0.7rem",
34
+ fontSize: "0.75rem",
35
35
  lineSpacing: "-0.03em",
36
36
  textTransform: "initial",
37
- height: "22px",
37
+ height: "25px",
38
38
  padding: "0px 12px",
39
39
  fontWeight: "600",
40
40
  "&.Mui-disabled": {
@@ -29,6 +29,7 @@ const StyledChip = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props, re
29
29
  }, props))))(() => {
30
30
  return {
31
31
  "&.MuiChip-root": {
32
+ height: "25px",
32
33
  color: "white",
33
34
  fontWeight: "600",
34
35
  fontSize: ".7rem"
@@ -45,7 +45,7 @@ const PuiSection = /*#__PURE__*/React.forwardRef((_ref, ref) => {
45
45
  id: id,
46
46
  className: className,
47
47
  sx: _objectSpread({
48
- padding: 2
48
+ padding: 1
49
49
  }, sx),
50
50
  ref: ref,
51
51
  elevation: 1,
@@ -34,6 +34,7 @@ const StyledMuiTable = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props
34
34
  }, props))))(() => {
35
35
  return {
36
36
  "&.MuiDataGrid-root": {
37
+ fontSize: ".75em",
37
38
  "& .tableActionColumn": {
38
39
  "& .MuiDataGrid-columnHeaderTitleContainer": {
39
40
  justifyContent: "center"
@@ -109,8 +110,8 @@ const StyledMuiTable = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props
109
110
  },
110
111
  "& .MuiDataGrid-footerContainer": {
111
112
  backgroundColor: _apperance.palette.white,
112
- height: "40px",
113
- minHeight: "40px"
113
+ height: "28px",
114
+ minHeight: "28px"
114
115
  }
115
116
  }
116
117
  };
@@ -181,7 +182,7 @@ const TableActions = _ref2 => {
181
182
  display: "flex",
182
183
  alignItems: "center",
183
184
  gap: "8px",
184
- paddingX: "8px",
185
+ paddingX: "11px",
185
186
  height: "calc(100% - 4px)",
186
187
  backgroundColor: _apperance.palette.gray.light,
187
188
  border: "2px solid ".concat(_apperance.palette.gray.dark)
@@ -210,7 +211,13 @@ const TablePagination = () => {
210
211
  sx: {
211
212
  position: "absolute",
212
213
  left: "50%",
213
- transform: "translateX(-50%)"
214
+ transform: "translateX(-50%)",
215
+ "& .MuiButtonBase-root": {
216
+ lineHeight: "1em",
217
+ fontSize: "1em",
218
+ minWidth: "20px",
219
+ height: "20px"
220
+ }
214
221
  },
215
222
  count: pageCount,
216
223
  page: page + 1,
@@ -324,6 +331,7 @@ const PuiTable = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
324
331
  disableColumnFilter: true,
325
332
  disableColumnSelector: true,
326
333
  disableVirtualization: true,
334
+ density: "compact",
327
335
  loading: loading,
328
336
  paginationMode: paginationMode,
329
337
  localeText: localeText,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",