@veritone-ce/design-system 2.4.0 → 2.4.1
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.
|
@@ -14,14 +14,13 @@ var material = require('@mui/material');
|
|
|
14
14
|
var utils = require('@mui/utils');
|
|
15
15
|
var common = require('./common.js');
|
|
16
16
|
var reactVirtual = require('@tanstack/react-virtual');
|
|
17
|
-
var isPropValid = require('@emotion/is-prop-valid');
|
|
18
17
|
|
|
19
18
|
const TableMessageMaxHeight = 100;
|
|
20
|
-
const TableContainer = material.styled(material.Box
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const TableContainer = material.styled(material.Box)(
|
|
20
|
+
({ virtualizerTotalHeight }) => ({
|
|
21
|
+
height: `${virtualizerTotalHeight}px`
|
|
22
|
+
})
|
|
23
|
+
);
|
|
25
24
|
function VirtualControlledAutoTable({
|
|
26
25
|
stickyHeader,
|
|
27
26
|
loading,
|
|
@@ -10,14 +10,13 @@ import { styled, Box, CircularProgress } from '@mui/material';
|
|
|
10
10
|
import { visuallyHidden } from '@mui/utils';
|
|
11
11
|
import { useAutoTable, DefaultErrorContainer } from './common.js';
|
|
12
12
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
13
|
-
import isPropValid from '@emotion/is-prop-valid';
|
|
14
13
|
|
|
15
14
|
const TableMessageMaxHeight = 100;
|
|
16
|
-
const TableContainer = styled(Box
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
const TableContainer = styled(Box)(
|
|
16
|
+
({ virtualizerTotalHeight }) => ({
|
|
17
|
+
height: `${virtualizerTotalHeight}px`
|
|
18
|
+
})
|
|
19
|
+
);
|
|
21
20
|
function VirtualControlledAutoTable({
|
|
22
21
|
stickyHeader,
|
|
23
22
|
loading,
|