@fctc/sme-widget-ui 2.8.6 → 2.8.8

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
@@ -13142,9 +13142,15 @@ var TableHead = (props) => {
13142
13142
  children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
13143
13143
  "div",
13144
13144
  {
13145
- className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13145
+ className: `cursor-pointer flex items-center gap-[4px] w-full group relative `,
13146
13146
  children: [
13147
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title }) }),
13147
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
13148
+ "div",
13149
+ {
13150
+ className: `cursor-pointer flex items-center gap-[4px] w-full max-w-full truncate ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13151
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title })
13152
+ }
13153
+ ),
13148
13154
  col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
13149
13155
  (0, import_react_dom.createPortal)(
13150
13156
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
@@ -13205,9 +13211,7 @@ var TableHead = (props) => {
13205
13211
  {
13206
13212
  onMouseDown: header.getResizeHandler(),
13207
13213
  onTouchStart: header.getResizeHandler(),
13208
- className: `
13209
- column-resizer
13210
- ${header.column.getIsResizing() ? "is-resizing" : ""}
13214
+ className: `column-resizer ${header.column.getIsResizing() ? "is-resizing" : ""}
13211
13215
  `
13212
13216
  }
13213
13217
  )
package/dist/index.mjs CHANGED
@@ -13015,9 +13015,15 @@ var TableHead = (props) => {
13015
13015
  children: /* @__PURE__ */ jsxs29(
13016
13016
  "div",
13017
13017
  {
13018
- className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13018
+ className: `cursor-pointer flex items-center gap-[4px] w-full group relative `,
13019
13019
  children: [
13020
- /* @__PURE__ */ jsx51("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title }) }),
13020
+ /* @__PURE__ */ jsx51(
13021
+ "div",
13022
+ {
13023
+ className: `cursor-pointer flex items-center gap-[4px] w-full max-w-full truncate ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
13024
+ children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title })
13025
+ }
13026
+ ),
13021
13027
  col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
13022
13028
  createPortal(
13023
13029
  /* @__PURE__ */ jsx51(
@@ -13078,9 +13084,7 @@ var TableHead = (props) => {
13078
13084
  {
13079
13085
  onMouseDown: header.getResizeHandler(),
13080
13086
  onTouchStart: header.getResizeHandler(),
13081
- className: `
13082
- column-resizer
13083
- ${header.column.getIsResizing() ? "is-resizing" : ""}
13087
+ className: `column-resizer ${header.column.getIsResizing() ? "is-resizing" : ""}
13084
13088
  `
13085
13089
  }
13086
13090
  )
package/dist/widgets.js CHANGED
@@ -12134,9 +12134,15 @@ var TableHead = (props) => {
12134
12134
  children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
12135
12135
  "div",
12136
12136
  {
12137
- className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12137
+ className: `cursor-pointer flex items-center gap-[4px] w-full group relative `,
12138
12138
  children: [
12139
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title }) }),
12139
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
12140
+ "div",
12141
+ {
12142
+ className: `cursor-pointer flex items-center gap-[4px] w-full max-w-full truncate ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12143
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: col.title })
12144
+ }
12145
+ ),
12140
12146
  col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
12141
12147
  (0, import_react_dom.createPortal)(
12142
12148
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
@@ -12197,9 +12203,7 @@ var TableHead = (props) => {
12197
12203
  {
12198
12204
  onMouseDown: header.getResizeHandler(),
12199
12205
  onTouchStart: header.getResizeHandler(),
12200
- className: `
12201
- column-resizer
12202
- ${header.column.getIsResizing() ? "is-resizing" : ""}
12206
+ className: `column-resizer ${header.column.getIsResizing() ? "is-resizing" : ""}
12203
12207
  `
12204
12208
  }
12205
12209
  )
package/dist/widgets.mjs CHANGED
@@ -12071,9 +12071,15 @@ var TableHead = (props) => {
12071
12071
  children: /* @__PURE__ */ jsxs29(
12072
12072
  "div",
12073
12073
  {
12074
- className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12074
+ className: `cursor-pointer flex items-center gap-[4px] w-full group relative `,
12075
12075
  children: [
12076
- /* @__PURE__ */ jsx51("div", { className: "cursor-pointer flex justify-between items-center gap-[4px] w-full max-w-full truncate", children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title }) }),
12076
+ /* @__PURE__ */ jsx51(
12077
+ "div",
12078
+ {
12079
+ className: `cursor-pointer flex items-center gap-[4px] w-full max-w-full truncate ${(col?.field?.type === "monetary" || col?.field?.widget === "monetary") && "justify-end"}`,
12080
+ children: /* @__PURE__ */ jsx51("span", { className: "truncate", children: col.title })
12081
+ }
12082
+ ),
12077
12083
  col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
12078
12084
  createPortal(
12079
12085
  /* @__PURE__ */ jsx51(
@@ -12134,9 +12140,7 @@ var TableHead = (props) => {
12134
12140
  {
12135
12141
  onMouseDown: header.getResizeHandler(),
12136
12142
  onTouchStart: header.getResizeHandler(),
12137
- className: `
12138
- column-resizer
12139
- ${header.column.getIsResizing() ? "is-resizing" : ""}
12143
+ className: `column-resizer ${header.column.getIsResizing() ? "is-resizing" : ""}
12140
12144
  `
12141
12145
  }
12142
12146
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.8.6",
3
+ "version": "2.8.8",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",