@fctc/sme-widget-ui 2.4.8 → 2.5.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
@@ -11009,7 +11009,7 @@ var Row = (props) => {
11009
11009
  "td",
11010
11010
  {
11011
11011
  colSpan: 1,
11012
- className: `${isEditTable ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
11012
+ className: `${isEditTable || col?.field?.widget === "handle" ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
11013
11013
  onClick: () => {
11014
11014
  handleClickRow(col, row);
11015
11015
  },
@@ -13112,7 +13112,7 @@ var TableHead = (props) => {
13112
13112
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
13113
13113
  "th",
13114
13114
  {
13115
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
13115
+ className: `column handle whitespace-nowrap text-left p-0 text-sm font-semibold capitalize text-[#060606]`
13116
13116
  },
13117
13117
  "table-head-" + index4
13118
13118
  );
package/dist/index.mjs CHANGED
@@ -10882,7 +10882,7 @@ var Row = (props) => {
10882
10882
  "td",
10883
10883
  {
10884
10884
  colSpan: 1,
10885
- className: `${isEditTable ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
10885
+ className: `${isEditTable || col?.field?.widget === "handle" ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
10886
10886
  onClick: () => {
10887
10887
  handleClickRow(col, row);
10888
10888
  },
@@ -12985,7 +12985,7 @@ var TableHead = (props) => {
12985
12985
  return /* @__PURE__ */ jsx51(
12986
12986
  "th",
12987
12987
  {
12988
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
12988
+ className: `column handle whitespace-nowrap text-left p-0 text-sm font-semibold capitalize text-[#060606]`
12989
12989
  },
12990
12990
  "table-head-" + index4
12991
12991
  );
package/dist/widgets.js CHANGED
@@ -10001,7 +10001,7 @@ var Row = (props) => {
10001
10001
  "td",
10002
10002
  {
10003
10003
  colSpan: 1,
10004
- className: `${isEditTable ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
10004
+ className: `${isEditTable || col?.field?.widget === "handle" ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
10005
10005
  onClick: () => {
10006
10006
  handleClickRow(col, row);
10007
10007
  },
@@ -12104,7 +12104,7 @@ var TableHead = (props) => {
12104
12104
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
12105
12105
  "th",
12106
12106
  {
12107
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
12107
+ className: `column handle whitespace-nowrap text-left p-0 text-sm font-semibold capitalize text-[#060606]`
12108
12108
  },
12109
12109
  "table-head-" + index4
12110
12110
  );
package/dist/widgets.mjs CHANGED
@@ -9938,7 +9938,7 @@ var Row = (props) => {
9938
9938
  "td",
9939
9939
  {
9940
9940
  colSpan: 1,
9941
- className: `${isEditTable ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
9941
+ className: `${isEditTable || col?.field?.widget === "handle" ? "" : "p-3"} column w-max whitespace-nowrap border-b border-gray-200 text-sm font-normal text-gray-900`,
9942
9942
  onClick: () => {
9943
9943
  handleClickRow(col, row);
9944
9944
  },
@@ -12041,7 +12041,7 @@ var TableHead = (props) => {
12041
12041
  return /* @__PURE__ */ jsx51(
12042
12042
  "th",
12043
12043
  {
12044
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
12044
+ className: `column handle whitespace-nowrap text-left p-0 text-sm font-semibold capitalize text-[#060606]`
12045
12045
  },
12046
12046
  "table-head-" + index4
12047
12047
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.4.8",
3
+ "version": "2.5.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",