@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.28.0
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `DataTable`: desktop cell content is bounded to its column, so a long value wraps inside the column instead of running over the next one. Applies to string, number and custom-node cells; the mobile card-stack is unchanged. A custom node that sets `numberOfLines` still truncates, which is the consumer's choice. FINREG-CRM-ORG-1 "CRM organization column, filter and search".
|
|
8
|
+
|
|
3
9
|
## 1.27.0
|
|
4
10
|
|
|
5
11
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -232,6 +232,7 @@ var tableStyles = reactNative.StyleSheet.create({
|
|
|
232
232
|
headCell: { fontSize: HEAD_FONT, fontWeight: "600", letterSpacing: HEAD_LETTER_SPACING, textTransform: "uppercase" },
|
|
233
233
|
row: { flexDirection: "row", columnGap: COLUMN_GAP, alignItems: "center", paddingHorizontal: ROW_PAD_H, paddingVertical: ROW_PAD_V, borderTopWidth: BORDER_WIDTH },
|
|
234
234
|
cell: { fontSize: CELL_FONT, fontWeight: "400" },
|
|
235
|
+
desktopCellContent: { maxWidth: FULL_WIDTH },
|
|
235
236
|
numCell: { fontVariant: ["tabular-nums"], textAlign: "right" },
|
|
236
237
|
state: { paddingVertical: STATE_PAD_V, alignItems: "center" },
|
|
237
238
|
stateText: { fontSize: STATE_FONT },
|
|
@@ -359,7 +360,7 @@ function DesktopCell({ column, row, textColor, testID, styleOverrides, inGrid })
|
|
|
359
360
|
],
|
|
360
361
|
testID,
|
|
361
362
|
...inGrid === true ? { role: "cell" } : null,
|
|
362
|
-
children: cellContent(column, row, textColor, styleOverrides)
|
|
363
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: tableStyles.desktopCellContent, children: cellContent(column, row, textColor, styleOverrides) })
|
|
363
364
|
}
|
|
364
365
|
);
|
|
365
366
|
}
|