@zero-library/common 3.0.2 → 3.0.3

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.esm.js CHANGED
@@ -1314,6 +1314,13 @@ var FileIcon_default = ({ suffix, fontSize = 22 }) => {
1314
1314
  const Icon = useMemo(() => {
1315
1315
  switch (suffix?.toUpperCase()) {
1316
1316
  case "TXT":
1317
+ case "LOG":
1318
+ case "JSON":
1319
+ case "XML":
1320
+ case "YML":
1321
+ case "YAML":
1322
+ case "INI":
1323
+ case "CONF":
1317
1324
  return /* @__PURE__ */ jsx(FileTextOutlined, {});
1318
1325
  case "PDF":
1319
1326
  return /* @__PURE__ */ jsx(FilePdfOutlined, {});
@@ -1322,8 +1329,10 @@ var FileIcon_default = ({ suffix, fontSize = 22 }) => {
1322
1329
  return /* @__PURE__ */ jsx(FileWordOutlined, {});
1323
1330
  case "XLS":
1324
1331
  case "XLSX":
1332
+ case "CSV":
1325
1333
  return /* @__PURE__ */ jsx(FileExcelOutlined, {});
1326
1334
  case "PPT":
1335
+ case "PPTX":
1327
1336
  return /* @__PURE__ */ jsx(FilePptOutlined, {});
1328
1337
  case "MP4":
1329
1338
  case "MOV":
@@ -1341,6 +1350,7 @@ var FileIcon_default = ({ suffix, fontSize = 22 }) => {
1341
1350
  case "JPEG":
1342
1351
  return /* @__PURE__ */ jsx(FileJpgOutlined, {});
1343
1352
  case "PNG":
1353
+ case "WEBP":
1344
1354
  return /* @__PURE__ */ jsx(FileImageOutlined, {});
1345
1355
  case "GIF":
1346
1356
  return /* @__PURE__ */ jsx(FileGifOutlined, {});
@@ -1350,6 +1360,8 @@ var FileIcon_default = ({ suffix, fontSize = 22 }) => {
1350
1360
  case "ZIP":
1351
1361
  case "RAR":
1352
1362
  case "7Z":
1363
+ case "TAR":
1364
+ case "GZ":
1353
1365
  return /* @__PURE__ */ jsx(FileZipOutlined, {});
1354
1366
  case "CATALOG":
1355
1367
  return /* @__PURE__ */ jsx("i", { style: styles, className: "iconfont icon-wenjianjia" });