labsense-ui-kit 1.2.80 → 1.2.82
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/Table/index.d.ts +3 -0
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9560,12 +9560,14 @@ var ContainerWrapper = styled.div(_templateObject$o || (_templateObject$o = _tag
|
|
|
9560
9560
|
var $minHeight = _ref.$minHeight;
|
|
9561
9561
|
return $minHeight;
|
|
9562
9562
|
});
|
|
9563
|
-
var CellContainer = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
9563
|
+
var CellContainer = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
9564
9564
|
return props.$align;
|
|
9565
9565
|
}, function (props) {
|
|
9566
9566
|
return props.$width || 'auto';
|
|
9567
9567
|
}, function (props) {
|
|
9568
9568
|
return props.$minWidth;
|
|
9569
|
+
}, function (props) {
|
|
9570
|
+
return props.$maxWidth;
|
|
9569
9571
|
}, function (props) {
|
|
9570
9572
|
return props.$background || 'inherit';
|
|
9571
9573
|
}, function (props) {
|
|
@@ -9604,6 +9606,7 @@ var TableCell = function TableCell(_ref2) {
|
|
|
9604
9606
|
alignment = _ref2$alignment === void 0 ? 'center' : _ref2$alignment,
|
|
9605
9607
|
width = _ref2.width,
|
|
9606
9608
|
minWidth = _ref2.minWidth,
|
|
9609
|
+
maxWidth = _ref2.maxWidth,
|
|
9607
9610
|
CustomFunction = _ref2.CustomFunction,
|
|
9608
9611
|
padding = _ref2.padding,
|
|
9609
9612
|
minHeight = _ref2.minHeight;
|
|
@@ -9613,12 +9616,14 @@ var TableCell = function TableCell(_ref2) {
|
|
|
9613
9616
|
}, CustomFunction ? React.createElement(CellContainer, {
|
|
9614
9617
|
"$align": alignment,
|
|
9615
9618
|
"$width": width,
|
|
9616
|
-
"$minWidth": minWidth
|
|
9619
|
+
"$minWidth": minWidth,
|
|
9620
|
+
"$maxWidth": maxWidth
|
|
9617
9621
|
}, CustomFunction) : React.createElement(CellContainer, {
|
|
9618
9622
|
"$align": alignment,
|
|
9619
9623
|
"$width": width,
|
|
9620
9624
|
"$minWidth": minWidth,
|
|
9621
|
-
"$padding": padding
|
|
9625
|
+
"$padding": padding,
|
|
9626
|
+
"$maxWidth": maxWidth
|
|
9622
9627
|
}, React.createElement(MainText, {
|
|
9623
9628
|
"$mtc": maintextcolor,
|
|
9624
9629
|
"$mtfs": maintextfontsize,
|
|
@@ -9675,7 +9680,9 @@ var TableRow = function TableRow(_ref) {
|
|
|
9675
9680
|
subtextweight: cellData.subtextweight,
|
|
9676
9681
|
alignment: cellData.alignment,
|
|
9677
9682
|
CustomFunction: cellData.CustomFunction,
|
|
9678
|
-
minHeight: '30px'
|
|
9683
|
+
minHeight: '30px',
|
|
9684
|
+
minWidth: cellData.minWidth,
|
|
9685
|
+
maxWidth: cellData.maxWidth
|
|
9679
9686
|
});
|
|
9680
9687
|
}));
|
|
9681
9688
|
}));
|
|
@@ -9812,6 +9819,8 @@ var Table = function Table(_ref8) {
|
|
|
9812
9819
|
})) : null), React.createElement(TableCell, {
|
|
9813
9820
|
maintext: (_columndata$maintext = columndata.maintext) != null ? _columndata$maintext : '',
|
|
9814
9821
|
width: columndata.width,
|
|
9822
|
+
minWidth: columndata.minWidth,
|
|
9823
|
+
maxWidth: columndata.maxWidth,
|
|
9815
9824
|
alignment: columndata.alignment
|
|
9816
9825
|
}));
|
|
9817
9826
|
})), React.createElement(Divider, null), loading ? React.createElement(Container, {
|