@fctc/sme-widget-ui 2.2.3 → 2.2.4

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/index.js CHANGED
@@ -11015,7 +11015,18 @@ var Row = (props) => {
11015
11015
  },
11016
11016
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DeleteIcon, {})
11017
11017
  }
11018
- ) }) })
11018
+ ) }) }),
11019
+ columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
11020
+ "td",
11021
+ {
11022
+ style: {
11023
+ maxWidth: "50px",
11024
+ minWidth: "50px",
11025
+ right: 0
11026
+ },
11027
+ className: `p-3 min-w-[40px]`
11028
+ }
11029
+ )
11019
11030
  ] })
11020
11031
  },
11021
11032
  `${row.id}_${indexRow}`
package/dist/index.mjs CHANGED
@@ -10889,7 +10889,18 @@ var Row = (props) => {
10889
10889
  },
10890
10890
  children: /* @__PURE__ */ jsx47(DeleteIcon, {})
10891
10891
  }
10892
- ) }) })
10892
+ ) }) }),
10893
+ columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ jsx47(
10894
+ "td",
10895
+ {
10896
+ style: {
10897
+ maxWidth: "50px",
10898
+ minWidth: "50px",
10899
+ right: 0
10900
+ },
10901
+ className: `p-3 min-w-[40px]`
10902
+ }
10903
+ )
10893
10904
  ] })
10894
10905
  },
10895
10906
  `${row.id}_${indexRow}`
package/dist/widgets.js CHANGED
@@ -10007,7 +10007,18 @@ var Row = (props) => {
10007
10007
  },
10008
10008
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DeleteIcon, {})
10009
10009
  }
10010
- ) }) })
10010
+ ) }) }),
10011
+ columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10012
+ "td",
10013
+ {
10014
+ style: {
10015
+ maxWidth: "50px",
10016
+ minWidth: "50px",
10017
+ right: 0
10018
+ },
10019
+ className: `p-3 min-w-[40px]`
10020
+ }
10021
+ )
10011
10022
  ] })
10012
10023
  },
10013
10024
  `${row.id}_${indexRow}`
package/dist/widgets.mjs CHANGED
@@ -9945,7 +9945,18 @@ var Row = (props) => {
9945
9945
  },
9946
9946
  children: /* @__PURE__ */ jsx47(DeleteIcon, {})
9947
9947
  }
9948
- ) }) })
9948
+ ) }) }),
9949
+ columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ jsx47(
9950
+ "td",
9951
+ {
9952
+ style: {
9953
+ maxWidth: "50px",
9954
+ minWidth: "50px",
9955
+ right: 0
9956
+ },
9957
+ className: `p-3 min-w-[40px]`
9958
+ }
9959
+ )
9949
9960
  ] })
9950
9961
  },
9951
9962
  `${row.id}_${indexRow}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",