@fctc/sme-widget-ui 2.6.2 → 2.6.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
@@ -11009,7 +11009,7 @@ var Row = (props) => {
11009
11009
  "td",
11010
11010
  {
11011
11011
  colSpan: 1,
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`,
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 ${col?.field?.type_co === "buttons" ? "td-buttons" : "td-normal"}`,
11013
11013
  onClick: () => {
11014
11014
  handleClickRow(col, row);
11015
11015
  },
@@ -13123,7 +13123,7 @@ var TableHead = (props) => {
13123
13123
  {
13124
13124
  "data-type-co": col?.field?.type_co,
13125
13125
  "data-rtc-resizable": col?.name,
13126
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
13126
+ className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606] ${col?.field?.type_co === "buttons" ? "th-buttons" : "th-normal"}`,
13127
13127
  children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
13128
13128
  "div",
13129
13129
  {
package/dist/index.mjs CHANGED
@@ -10882,7 +10882,7 @@ var Row = (props) => {
10882
10882
  "td",
10883
10883
  {
10884
10884
  colSpan: 1,
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`,
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 ${col?.field?.type_co === "buttons" ? "td-buttons" : "td-normal"}`,
10886
10886
  onClick: () => {
10887
10887
  handleClickRow(col, row);
10888
10888
  },
@@ -12996,7 +12996,7 @@ var TableHead = (props) => {
12996
12996
  {
12997
12997
  "data-type-co": col?.field?.type_co,
12998
12998
  "data-rtc-resizable": col?.name,
12999
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12999
+ className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606] ${col?.field?.type_co === "buttons" ? "th-buttons" : "th-normal"}`,
13000
13000
  children: /* @__PURE__ */ jsxs29(
13001
13001
  "div",
13002
13002
  {
package/dist/widgets.js CHANGED
@@ -10001,7 +10001,7 @@ var Row = (props) => {
10001
10001
  "td",
10002
10002
  {
10003
10003
  colSpan: 1,
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`,
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 ${col?.field?.type_co === "buttons" ? "td-buttons" : "td-normal"}`,
10005
10005
  onClick: () => {
10006
10006
  handleClickRow(col, row);
10007
10007
  },
@@ -12115,7 +12115,7 @@ var TableHead = (props) => {
12115
12115
  {
12116
12116
  "data-type-co": col?.field?.type_co,
12117
12117
  "data-rtc-resizable": col?.name,
12118
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12118
+ className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606] ${col?.field?.type_co === "buttons" ? "th-buttons" : "th-normal"}`,
12119
12119
  children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
12120
12120
  "div",
12121
12121
  {
package/dist/widgets.mjs CHANGED
@@ -9938,7 +9938,7 @@ var Row = (props) => {
9938
9938
  "td",
9939
9939
  {
9940
9940
  colSpan: 1,
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`,
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 ${col?.field?.type_co === "buttons" ? "td-buttons" : "td-normal"}`,
9942
9942
  onClick: () => {
9943
9943
  handleClickRow(col, row);
9944
9944
  },
@@ -12052,7 +12052,7 @@ var TableHead = (props) => {
12052
12052
  {
12053
12053
  "data-type-co": col?.field?.type_co,
12054
12054
  "data-rtc-resizable": col?.name,
12055
- className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12055
+ className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606] ${col?.field?.type_co === "buttons" ? "th-buttons" : "th-normal"}`,
12056
12056
  children: /* @__PURE__ */ jsxs29(
12057
12057
  "div",
12058
12058
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.6.2",
3
+ "version": "2.6.4",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",