@flozy/editor 8.0.5 → 8.0.6

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.
@@ -10,6 +10,8 @@ const useTableStyles = (theme, appTheme) => ({
10
10
  borderSpacing: 0,
11
11
  borderRadius: "7px 7px 0px 0px",
12
12
  overflow: "hidden",
13
+ width: "auto !important",
14
+ minWidth: "100%",
13
15
  border: `1px solid ${appTheme?.palette?.editor?.tv_border}`,
14
16
  tableLayout: "fixed",
15
17
  "& thead": {
@@ -29,6 +31,8 @@ const useTableStyles = (theme, appTheme) => ({
29
31
  },
30
32
  "& td": {
31
33
  height: "40px",
34
+ maxWidth: "0px !important",
35
+ minWidth: "0px !important",
32
36
  "& input": {
33
37
  color: appTheme?.palette?.editor?.tv_text_primary,
34
38
  background: "transparent",
@@ -288,7 +288,9 @@ const TableView = props => {
288
288
  children: [/*#__PURE__*/_jsx("th", {
289
289
  className: "tv-act-btn ico",
290
290
  style: {
291
- widht: "autp"
291
+ maxWidth: "80px",
292
+ minWidth: "80px",
293
+ width: "auto"
292
294
  },
293
295
  children: /*#__PURE__*/_jsx(Button, {
294
296
  onClick: onAddClick,
@@ -298,7 +300,9 @@ const TableView = props => {
298
300
  }), /*#__PURE__*/_jsx("th", {
299
301
  className: "tv-act-btn ico",
300
302
  style: {
301
- widht: "autp"
303
+ maxWidth: "80px",
304
+ minWidth: "80px",
305
+ width: "auto"
302
306
  },
303
307
  children: /*#__PURE__*/_jsx(Button, {
304
308
  onClick: onSettings,
@@ -58,17 +58,17 @@ const ViewData = props => {
58
58
  }
59
59
  },
60
60
  children: [rows?.map((row, i) => {
61
- return /*#__PURE__*/_jsx(Box, {
61
+ return /*#__PURE__*/_jsxs(Box, {
62
62
  component: "tr",
63
63
  className: "tv-act-row",
64
- children: /*#__PURE__*/_jsx(RenderRow, {
64
+ children: [/*#__PURE__*/_jsx(RenderRow, {
65
65
  rowIndex: row?.id,
66
66
  row: row,
67
67
  properties: properties,
68
68
  onSelect: onSelect,
69
69
  selected: selectedRows?.includes(row?.id),
70
70
  readOnly: readOnly
71
- })
71
+ }), /*#__PURE__*/_jsx("td", {}), /*#__PURE__*/_jsx("td", {})]
72
72
  }, i);
73
73
  }), /*#__PURE__*/_jsx("tr", {
74
74
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "8.0.5",
3
+ "version": "8.0.6",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"