@fctc/sme-widget-ui 2.1.0 → 2.1.2

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
@@ -13141,8 +13141,8 @@ var TableHead = (props) => {
13141
13141
  "data-type-co": col?.field?.type_co,
13142
13142
  "data-rtc-resizable": col?.name,
13143
13143
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
13144
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
13145
- col.title,
13144
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "cursor-pointer flex items-center gap-[4px] w-full group relative", children: [
13145
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
13146
13146
  col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
13147
13147
  (0, import_react_dom2.createPortal)(
13148
13148
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
@@ -13171,6 +13171,8 @@ var TableHead = (props) => {
13171
13171
  style: {
13172
13172
  width: "12px",
13173
13173
  height: "12px",
13174
+ minWidth: "12px",
13175
+ maxHeight: "12px",
13174
13176
  fontSize: "8px"
13175
13177
  },
13176
13178
  "data-tooltip-id": `field-help-${col?.field?.name}`,
@@ -13190,6 +13192,7 @@ var TableHead = (props) => {
13190
13192
  {
13191
13193
  style: {
13192
13194
  maxWidth: "50px",
13195
+ minWidth: "50px",
13193
13196
  right: 0
13194
13197
  },
13195
13198
  className: `column whitespace-nowrap text-left p-3 text-sm font-medium capitalize text-[#121212] min-w-[40px] sticky right-[0px] bg-white`,
package/dist/index.mjs CHANGED
@@ -13016,8 +13016,8 @@ var TableHead = (props) => {
13016
13016
  "data-type-co": col?.field?.type_co,
13017
13017
  "data-rtc-resizable": col?.name,
13018
13018
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
13019
- children: /* @__PURE__ */ jsxs29("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
13020
- col.title,
13019
+ children: /* @__PURE__ */ jsxs29("div", { className: "cursor-pointer flex items-center gap-[4px] w-full group relative", children: [
13020
+ /* @__PURE__ */ jsx50("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
13021
13021
  col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
13022
13022
  createPortal2(
13023
13023
  /* @__PURE__ */ jsx50(
@@ -13046,6 +13046,8 @@ var TableHead = (props) => {
13046
13046
  style: {
13047
13047
  width: "12px",
13048
13048
  height: "12px",
13049
+ minWidth: "12px",
13050
+ maxHeight: "12px",
13049
13051
  fontSize: "8px"
13050
13052
  },
13051
13053
  "data-tooltip-id": `field-help-${col?.field?.name}`,
@@ -13065,6 +13067,7 @@ var TableHead = (props) => {
13065
13067
  {
13066
13068
  style: {
13067
13069
  maxWidth: "50px",
13070
+ minWidth: "50px",
13068
13071
  right: 0
13069
13072
  },
13070
13073
  className: `column whitespace-nowrap text-left p-3 text-sm font-medium capitalize text-[#121212] min-w-[40px] sticky right-[0px] bg-white`,
package/dist/widgets.js CHANGED
@@ -12383,8 +12383,8 @@ var TableHead = (props) => {
12383
12383
  "data-type-co": col?.field?.type_co,
12384
12384
  "data-rtc-resizable": col?.name,
12385
12385
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12386
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12387
- col.title,
12386
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "cursor-pointer flex items-center gap-[4px] w-full group relative", children: [
12387
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
12388
12388
  col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
12389
12389
  (0, import_react_dom2.createPortal)(
12390
12390
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
@@ -12413,6 +12413,8 @@ var TableHead = (props) => {
12413
12413
  style: {
12414
12414
  width: "12px",
12415
12415
  height: "12px",
12416
+ minWidth: "12px",
12417
+ maxHeight: "12px",
12416
12418
  fontSize: "8px"
12417
12419
  },
12418
12420
  "data-tooltip-id": `field-help-${col?.field?.name}`,
@@ -12432,6 +12434,7 @@ var TableHead = (props) => {
12432
12434
  {
12433
12435
  style: {
12434
12436
  maxWidth: "50px",
12437
+ minWidth: "50px",
12435
12438
  right: 0
12436
12439
  },
12437
12440
  className: `column whitespace-nowrap text-left p-3 text-sm font-medium capitalize text-[#121212] min-w-[40px] sticky right-[0px] bg-white`,
package/dist/widgets.mjs CHANGED
@@ -12321,8 +12321,8 @@ var TableHead = (props) => {
12321
12321
  "data-type-co": col?.field?.type_co,
12322
12322
  "data-rtc-resizable": col?.name,
12323
12323
  className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
12324
- children: /* @__PURE__ */ jsxs29("div", { className: "cursor-pointer flex items-center gap-[4px] w-full min-w-max group relative", children: [
12325
- col.title,
12324
+ children: /* @__PURE__ */ jsxs29("div", { className: "cursor-pointer flex items-center gap-[4px] w-full group relative", children: [
12325
+ /* @__PURE__ */ jsx50("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
12326
12326
  col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
12327
12327
  createPortal2(
12328
12328
  /* @__PURE__ */ jsx50(
@@ -12351,6 +12351,8 @@ var TableHead = (props) => {
12351
12351
  style: {
12352
12352
  width: "12px",
12353
12353
  height: "12px",
12354
+ minWidth: "12px",
12355
+ maxHeight: "12px",
12354
12356
  fontSize: "8px"
12355
12357
  },
12356
12358
  "data-tooltip-id": `field-help-${col?.field?.name}`,
@@ -12370,6 +12372,7 @@ var TableHead = (props) => {
12370
12372
  {
12371
12373
  style: {
12372
12374
  maxWidth: "50px",
12375
+ minWidth: "50px",
12373
12376
  right: 0
12374
12377
  },
12375
12378
  className: `column whitespace-nowrap text-left p-3 text-sm font-medium capitalize text-[#121212] min-w-[40px] sticky right-[0px] bg-white`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",