Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bam32bittheme

Package Overview
Dependencies
Maintainers
0
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bam32bittheme - npm Package Compare versions

Comparing version 2.1.94 to 2.1.95

25

dist/components/Table.js

@@ -21,3 +21,3 @@ "use strict";

var _material = require("@mui/material");
const _excluded = ["columns", "rows", "checkboxSelection", "isRowSelectable", "rowsPerPageOptions", "enableColumnOrdering", "sxProps", "tableComponentProps", "enablePagination", "enableStickyHeader", "enableStickyFooter", "enableResizing", "enableBottomToolbar", "enableColumnPinning", "localization", "enableEditing", "editDisplayMode", "enableClickToCopy", "selectAllMode", "enableColumnResizing", "columnResizeMode", "enableTopToolbar", "enableColumnFilters", "onSelectionModelChange", "initialState", "autoResetPageIndex", "enableFullScreenToggle", "enableMultiRowSelection", "muiTableContainerProps", "getSubRows", "enableExpandAll", "enableExpanding", "filterFromLeafRows", "paginateExpandedRows"];
const _excluded = ["columns", "rows", "checkboxSelection", "isRowSelectable", "rowsPerPageOptions", "enableColumnOrdering", "sxProps", "tableComponentProps", "enablePagination", "enableStickyHeader", "enableStickyFooter", "enableResizing", "enableBottomToolbar", "enableColumnPinning", "localization", "enableEditing", "editDisplayMode", "enableClickToCopy", "selectAllMode", "enableColumnResizing", "columnResizeMode", "enableTopToolbar", "enableColumnFilters", "onSelectionModelChange", "initialState", "autoResetPageIndex", "enableFullScreenToggle", "enableMultiRowSelection", "muiTableContainerProps", "getSubRows", "enableExpandAll", "enableExpanding", "filterFromLeafRows", "paginateExpandedRows", "tableInstanceProps"];
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }

@@ -69,3 +69,4 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }

filterFromLeafRows = false,
paginateExpandedRows = undefined
paginateExpandedRows = undefined,
tableInstanceProps
} = _ref,

@@ -90,3 +91,2 @@ props = _objectWithoutProperties(_ref, _excluded);

accessorKey: column.field,
maxSize: 1,
enableColumnActions: false,

@@ -101,7 +101,20 @@ header: column.headerName,

}, column), {}, {
size: 1
size: column.columnSize || 1,
muiTableBodyCellProps: _ref2 => {
let {
cell
} = _ref2;
const cellValue = cell.getValue();
const isLongText = typeof cellValue === 'string' && cellValue.length > 100;
return {
sx: {
whiteSpace: isLongText ? 'normal' : 'nowrap',
wordBreak: isLongText ? 'break-word' : undefined
}
};
}
});
});
}, [columns, rows]);
const tableInstance = (0, _materialReactTable.useMaterialReactTable)({
const tableInstance = (0, _materialReactTable.useMaterialReactTable)(_objectSpread({
columns: tableColumns,

@@ -155,3 +168,3 @@ data: rows,

paginateExpandedRows: paginateExpandedRows
});
}, tableInstanceProps));
(0, _react.useEffect)(() => {

@@ -158,0 +171,0 @@ if (onSelectionModelChange) {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

{
"name": "bam32bittheme",
"version": "2.1.94",
"version": "2.1.95",
"private": false,

@@ -5,0 +5,0 @@ "description": "32bit Theme for Material UI v5.x",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc