@homebound/beam 2.252.0 → 2.252.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.
@@ -119,16 +119,18 @@ function tableRowStyles(as, column) {
119
119
  }
120
120
  exports.tableRowStyles = tableRowStyles;
121
121
  function resolveStyles(style) {
122
- const defKeys = [
123
- "inlineEditing",
124
- "grouped",
125
- "rowHeight",
126
- "cellHighlight",
127
- "allWhite",
128
- "bordered",
129
- "rowHover",
130
- ];
122
+ const defKeysRecord = {
123
+ inlineEditing: true,
124
+ grouped: true,
125
+ rowHeight: true,
126
+ cellHighlight: true,
127
+ allWhite: true,
128
+ bordered: true,
129
+ rowHover: true,
130
+ vAlign: true,
131
+ };
131
132
  const keys = (0, utils_1.safeKeys)(style);
133
+ const defKeys = (0, utils_1.safeKeys)(defKeysRecord);
132
134
  if (keys.length === 0 || keys.some((k) => defKeys.includes(k))) {
133
135
  return (0, exports.getTableStyles)(style);
134
136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.252.0",
3
+ "version": "2.252.1",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",