@fctc/sme-widget-ui 2.8.9 → 2.9.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/dist/index.js CHANGED
@@ -11035,7 +11035,18 @@ var Row = (props) => {
11035
11035
  },
11036
11036
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DeleteIcon, {})
11037
11037
  }
11038
- ) }) })
11038
+ ) }) }),
11039
+ (!onAddRow || typeof onAddRow !== "function") && columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
11040
+ "td",
11041
+ {
11042
+ style: {
11043
+ maxWidth: "50px",
11044
+ minWidth: "50px",
11045
+ right: 0
11046
+ },
11047
+ className: `p-3 min-w-[40px] td-toggle-optional`
11048
+ }
11049
+ )
11039
11050
  ] })
11040
11051
  },
11041
11052
  `${row.id}_${indexRow}`
package/dist/index.mjs CHANGED
@@ -10908,7 +10908,18 @@ var Row = (props) => {
10908
10908
  },
10909
10909
  children: /* @__PURE__ */ jsx47(DeleteIcon, {})
10910
10910
  }
10911
- ) }) })
10911
+ ) }) }),
10912
+ (!onAddRow || typeof onAddRow !== "function") && columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ jsx47(
10913
+ "td",
10914
+ {
10915
+ style: {
10916
+ maxWidth: "50px",
10917
+ minWidth: "50px",
10918
+ right: 0
10919
+ },
10920
+ className: `p-3 min-w-[40px] td-toggle-optional`
10921
+ }
10922
+ )
10912
10923
  ] })
10913
10924
  },
10914
10925
  `${row.id}_${indexRow}`
package/dist/widgets.js CHANGED
@@ -10027,7 +10027,18 @@ var Row = (props) => {
10027
10027
  },
10028
10028
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DeleteIcon, {})
10029
10029
  }
10030
- ) }) })
10030
+ ) }) }),
10031
+ (!onAddRow || typeof onAddRow !== "function") && columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10032
+ "td",
10033
+ {
10034
+ style: {
10035
+ maxWidth: "50px",
10036
+ minWidth: "50px",
10037
+ right: 0
10038
+ },
10039
+ className: `p-3 min-w-[40px] td-toggle-optional`
10040
+ }
10041
+ )
10031
10042
  ] })
10032
10043
  },
10033
10044
  `${row.id}_${indexRow}`
package/dist/widgets.mjs CHANGED
@@ -9964,7 +9964,18 @@ var Row = (props) => {
9964
9964
  },
9965
9965
  children: /* @__PURE__ */ jsx47(DeleteIcon, {})
9966
9966
  }
9967
- ) }) })
9967
+ ) }) }),
9968
+ (!onAddRow || typeof onAddRow !== "function") && columns && Array.isArray(columns) && columns?.some((column2) => column2?.optional) && /* @__PURE__ */ jsx47(
9969
+ "td",
9970
+ {
9971
+ style: {
9972
+ maxWidth: "50px",
9973
+ minWidth: "50px",
9974
+ right: 0
9975
+ },
9976
+ className: `p-3 min-w-[40px] td-toggle-optional`
9977
+ }
9978
+ )
9968
9979
  ] })
9969
9980
  },
9970
9981
  `${row.id}_${indexRow}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.8.9",
3
+ "version": "2.9.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",