@nulogy/components 14.5.0 → 14.6.0
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/main.js
CHANGED
|
@@ -62280,6 +62280,7 @@
|
|
|
62280
62280
|
})(function (_ref) {
|
|
62281
62281
|
var align = _ref.align,
|
|
62282
62282
|
compact = _ref.compact,
|
|
62283
|
+
verticalAlign = _ref.verticalAlign,
|
|
62283
62284
|
theme = _ref.theme;
|
|
62284
62285
|
var padding = compact ? theme.space.x1 : theme.space.x2;
|
|
62285
62286
|
return {
|
|
@@ -62287,6 +62288,7 @@
|
|
|
62287
62288
|
paddingBottom: padding,
|
|
62288
62289
|
textAlign: align,
|
|
62289
62290
|
paddingRight: padding,
|
|
62291
|
+
verticalAlign: verticalAlign || "middle",
|
|
62290
62292
|
"&:first-child": {
|
|
62291
62293
|
paddingLeft: padding
|
|
62292
62294
|
}
|
|
@@ -62325,7 +62327,8 @@
|
|
|
62325
62327
|
|
|
62326
62328
|
return /*#__PURE__*/React__default["default"].createElement(StyledTableCell, {
|
|
62327
62329
|
align: column.align,
|
|
62328
|
-
compact: compact
|
|
62330
|
+
compact: compact,
|
|
62331
|
+
verticalAlign: row.verticalAlign
|
|
62329
62332
|
}, cellContent);
|
|
62330
62333
|
};
|
|
62331
62334
|
|
package/dist/main.module.js
CHANGED
|
@@ -62263,6 +62263,7 @@ var StyledTableCell = styled.td.withConfig({
|
|
|
62263
62263
|
})(function (_ref) {
|
|
62264
62264
|
var align = _ref.align,
|
|
62265
62265
|
compact = _ref.compact,
|
|
62266
|
+
verticalAlign = _ref.verticalAlign,
|
|
62266
62267
|
theme = _ref.theme;
|
|
62267
62268
|
var padding = compact ? theme.space.x1 : theme.space.x2;
|
|
62268
62269
|
return {
|
|
@@ -62270,6 +62271,7 @@ var StyledTableCell = styled.td.withConfig({
|
|
|
62270
62271
|
paddingBottom: padding,
|
|
62271
62272
|
textAlign: align,
|
|
62272
62273
|
paddingRight: padding,
|
|
62274
|
+
verticalAlign: verticalAlign || "middle",
|
|
62273
62275
|
"&:first-child": {
|
|
62274
62276
|
paddingLeft: padding
|
|
62275
62277
|
}
|
|
@@ -62308,7 +62310,8 @@ var TableCell = function TableCell(_ref2) {
|
|
|
62308
62310
|
|
|
62309
62311
|
return /*#__PURE__*/React__default.createElement(StyledTableCell, {
|
|
62310
62312
|
align: column.align,
|
|
62311
|
-
compact: compact
|
|
62313
|
+
compact: compact,
|
|
62314
|
+
verticalAlign: row.verticalAlign
|
|
62312
62315
|
}, cellContent);
|
|
62313
62316
|
};
|
|
62314
62317
|
|
|
@@ -16,3 +16,4 @@ export declare const WithMetadata: () => React.JSX.Element;
|
|
|
16
16
|
export declare const WithFullWidthSection: () => React.JSX.Element;
|
|
17
17
|
export declare const WithAFooter: () => React.JSX.Element;
|
|
18
18
|
export declare const WithRowBorder: () => React.JSX.Element;
|
|
19
|
+
export declare const WithVerticalAlignment: () => React.JSX.Element;
|