@epam/ai-dial-ui-kit 0.5.0-rc.78 → 0.5.0-rc.79

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.
@@ -49349,7 +49349,7 @@ const rL = ({
49349
49349
  }, [e, i, s])
49350
49350
  };
49351
49351
  }, uL = (e) => {
49352
- if (!e || e <= 0) return "-";
49352
+ if (!e || e <= 0) return "";
49353
49353
  const t = 1024, s = t * 1024;
49354
49354
  return e >= s ? `${(e / s).toFixed(1)} MB` : e >= t ? `${(e / t).toFixed(0)} KB` : `${e} bytes`;
49355
49355
  }, hL = ({
@@ -49532,7 +49532,7 @@ const rL = ({
49532
49532
  id: tt.id ?? tt.path,
49533
49533
  name: tt.name ?? tt.path.split("/").pop() ?? "",
49534
49534
  updatedAt: tt.updatedAt,
49535
- size: tt.nodeType === We.ITEM ? uL(tt.contentLength) : "-",
49535
+ size: tt.nodeType === We.ITEM ? uL(tt.contentLength) : "",
49536
49536
  author: tt.author,
49537
49537
  path: tt.path,
49538
49538
  nodeType: tt.nodeType,
@@ -49543,7 +49543,7 @@ const rL = ({
49543
49543
  id: Fs,
49544
49544
  name: "",
49545
49545
  updatedAt: void 0,
49546
- size: "-",
49546
+ size: "",
49547
49547
  author: void 0,
49548
49548
  path: Fs,
49549
49549
  nodeType: We.FOLDER,
@@ -49726,7 +49726,7 @@ const bC = ({
49726
49726
  value: e,
49727
49727
  locale: t = pL,
49728
49728
  options: s = fL,
49729
- emptyPlaceholder: i = "—",
49729
+ emptyPlaceholder: i,
49730
49730
  className: o
49731
49731
  }) => {
49732
49732
  const n = wC(e), r = B(() => n ? new Intl.DateTimeFormat(t, s).format(n) : i, [n, i, t, s]), a = n ? n.toISOString() : void 0;
@@ -50301,8 +50301,8 @@ const bC = ({
50301
50301
  iconSize: Ls,
50302
50302
  details: /* @__PURE__ */ z("div", { className: "flex items-center gap-1 dial-tiny text-secondary", children: [
50303
50303
  /* @__PURE__ */ v("span", { children: i }),
50304
- /* @__PURE__ */ v(Yn, { size: 2, className: "text-secondary" }),
50305
- /* @__PURE__ */ v("span", { children: /* @__PURE__ */ v(
50304
+ o && i && /* @__PURE__ */ v(Yn, { size: 2, className: "text-secondary" }),
50305
+ o ? /* @__PURE__ */ v("span", { children: /* @__PURE__ */ v(
50306
50306
  bC,
50307
50307
  {
50308
50308
  value: o,
@@ -50310,7 +50310,7 @@ const bC = ({
50310
50310
  options: r,
50311
50311
  className: "dial-tiny text-secondary"
50312
50312
  }
50313
- ) })
50313
+ ) }) : null
50314
50314
  ] })
50315
50315
  }
50316
50316
  ) }) });
@@ -50548,7 +50548,6 @@ const xL = ({
50548
50548
  cellRenderer: bC,
50549
50549
  cellRendererParams: {
50550
50550
  locale: fo,
50551
- emptyPlaceholder: "—",
50552
50551
  options: mo
50553
50552
  }
50554
50553
  },
@@ -50565,7 +50564,7 @@ const xL = ({
50565
50564
  headerName: "Author",
50566
50565
  width: 200,
50567
50566
  suppressSizeToFit: !0,
50568
- cellRenderer: (J) => J.data.author || "—"
50567
+ cellRenderer: (J) => J.data.author
50569
50568
  }
50570
50569
  ], [
50571
50570
  fo,
@@ -26,7 +26,7 @@ export interface DialDateCellRendererProps extends Partial<ICellRendererParams<R
26
26
  *
27
27
  * @param [locale='en-US'] - Locale fixed to U.S. English by default to enforce "Jul 20, 2025".
28
28
  * @param [options={ year: 'numeric', month: 'numeric', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', timeZone: 'UTC' }] - Options for date formatting (e.g., timeZone).
29
- * @param [emptyPlaceholder='—'] - Placeholder when value is empty/invalid.
29
+ * @param [emptyPlaceholder] - Placeholder when value is empty/invalid.
30
30
  * @param [className] - Additional classes merged into the wrapper.
31
31
  */
32
32
  export declare const DialDateCellRenderer: FC<DialDateCellRendererProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.5.0-rc.78",
3
+ "version": "0.5.0-rc.79",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",