@dloizides/ui-tables 1.27.0 → 1.28.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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -227,6 +227,7 @@ var tableStyles = StyleSheet.create({
|
|
|
227
227
|
headCell: { fontSize: HEAD_FONT, fontWeight: "600", letterSpacing: HEAD_LETTER_SPACING, textTransform: "uppercase" },
|
|
228
228
|
row: { flexDirection: "row", columnGap: COLUMN_GAP, alignItems: "center", paddingHorizontal: ROW_PAD_H, paddingVertical: ROW_PAD_V, borderTopWidth: BORDER_WIDTH },
|
|
229
229
|
cell: { fontSize: CELL_FONT, fontWeight: "400" },
|
|
230
|
+
desktopCellContent: { maxWidth: FULL_WIDTH },
|
|
230
231
|
numCell: { fontVariant: ["tabular-nums"], textAlign: "right" },
|
|
231
232
|
state: { paddingVertical: STATE_PAD_V, alignItems: "center" },
|
|
232
233
|
stateText: { fontSize: STATE_FONT },
|
|
@@ -354,7 +355,7 @@ function DesktopCell({ column, row, textColor, testID, styleOverrides, inGrid })
|
|
|
354
355
|
],
|
|
355
356
|
testID,
|
|
356
357
|
...inGrid === true ? { role: "cell" } : null,
|
|
357
|
-
children: cellContent(column, row, textColor, styleOverrides)
|
|
358
|
+
children: /* @__PURE__ */ jsx(View, { style: tableStyles.desktopCellContent, children: cellContent(column, row, textColor, styleOverrides) })
|
|
358
359
|
}
|
|
359
360
|
);
|
|
360
361
|
}
|