@fctc/sme-widget-ui 1.6.7 → 1.6.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
@@ -33169,7 +33169,16 @@ var RenderFile = ({
33169
33169
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
33170
33170
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
33171
33171
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { children: [
33172
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap", children: file?.name || file?.display_name || info?.name }),
33172
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
33173
+ "div",
33174
+ {
33175
+ style: {
33176
+ maxWidth: "100px"
33177
+ },
33178
+ className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap",
33179
+ children: file?.name || file?.display_name || info?.name
33180
+ }
33181
+ ),
33173
33182
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
33174
33183
  ] }),
33175
33184
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
package/dist/index.mjs CHANGED
@@ -33048,7 +33048,16 @@ var RenderFile = ({
33048
33048
  return /* @__PURE__ */ jsxs57("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
33049
33049
  /* @__PURE__ */ jsx86("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
33050
33050
  /* @__PURE__ */ jsxs57("div", { children: [
33051
- /* @__PURE__ */ jsx86("div", { className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap", children: file?.name || file?.display_name || info?.name }),
33051
+ /* @__PURE__ */ jsx86(
33052
+ "div",
33053
+ {
33054
+ style: {
33055
+ maxWidth: "100px"
33056
+ },
33057
+ className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap",
33058
+ children: file?.name || file?.display_name || info?.name
33059
+ }
33060
+ ),
33052
33061
  /* @__PURE__ */ jsx86("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
33053
33062
  ] }),
33054
33063
  /* @__PURE__ */ jsxs57("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
package/dist/widgets.js CHANGED
@@ -32793,7 +32793,16 @@ var RenderFile = ({
32793
32793
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
32794
32794
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
32795
32795
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { children: [
32796
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap", children: file?.name || file?.display_name || info?.name }),
32796
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
32797
+ "div",
32798
+ {
32799
+ style: {
32800
+ maxWidth: "100px"
32801
+ },
32802
+ className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap",
32803
+ children: file?.name || file?.display_name || info?.name
32804
+ }
32805
+ ),
32797
32806
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
32798
32807
  ] }),
32799
32808
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
package/dist/widgets.mjs CHANGED
@@ -32730,7 +32730,16 @@ var RenderFile = ({
32730
32730
  return /* @__PURE__ */ jsxs57("div", { className: "flex gap-2 items-center bg-[#FAFAFA] rounded-[8px] p-[6px]", children: [
32731
32731
  /* @__PURE__ */ jsx86("div", { className: "w-6 h-6 file-icon", children: info?.type && fileTypeIcon?.[info?.type] }),
32732
32732
  /* @__PURE__ */ jsxs57("div", { children: [
32733
- /* @__PURE__ */ jsx86("div", { className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap", children: file?.name || file?.display_name || info?.name }),
32733
+ /* @__PURE__ */ jsx86(
32734
+ "div",
32735
+ {
32736
+ style: {
32737
+ maxWidth: "100px"
32738
+ },
32739
+ className: "max-w-[100px] truncate text-sm overflow-hidden text-ellipsis whitespace-nowrap",
32740
+ children: file?.name || file?.display_name || info?.name
32741
+ }
32742
+ ),
32734
32743
  /* @__PURE__ */ jsx86("div", { className: "text-xs text-[#666] font-semibold", children: isNaN(info?.size) ? "" : formatFileSize(info?.size) })
32735
32744
  ] }),
32736
32745
  /* @__PURE__ */ jsxs57("div", { className: "flex items-center rounded-[8px] p-[8px] gap-2 bg-white shadow-[0_2px_4px_0_rgba(27,28,29,0.04)]", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",