@kashifd/jwero-components 0.8.42 → 0.8.43

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.es.js CHANGED
@@ -62581,7 +62581,7 @@ const iW = ({
62581
62581
  var c;
62582
62582
  const t = (c = e == null ? void 0 : e.split(".").pop()) == null ? void 0 : c.toLowerCase();
62583
62583
  console.log(">>>", e, t);
62584
- const r = ["jpg", "jpeg", "png", "svg"], a = ["mp4", "avi", "mov"], s = ["pdf", "doc", "docx", "csv", "xls", "xlsx"];
62584
+ const r = ["jpg", "jpeg", "png", "svg", "webp"], a = ["mp4", "avi", "mov"], s = ["pdf", "doc", "docx", "csv", "xls", "xlsx"];
62585
62585
  return t && r.includes(t) ? "image" : t && a.includes(t) ? "video" : t && s.includes(t) ? "document" : "file";
62586
62586
  }, cW = ({
62587
62587
  customHeight: e = "3.5rem",