diff --git a/RELEASE.md b/RELEASE.md index a8edf225c..0e1d6ee21 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -40,6 +40,12 @@ - ... --> +## Versione x.x.x (xx/xx/xxxx) + +### Novità + +- Aggiunta l'icona per il formato di file CSV + ## Versione 11.3.3 (30/01/2024) diff --git a/src/helpers/files.js b/src/helpers/files.js index 5162bf41b..da2a5b510 100644 --- a/src/helpers/files.js +++ b/src/helpers/files.js @@ -3,6 +3,7 @@ import faFileXsd from 'design-comuni-plone-theme/icons/file-xsd.svg'; import faFileOdp from 'design-comuni-plone-theme/icons/file-odp.svg'; import faFileOds from 'design-comuni-plone-theme/icons/file-ods.svg'; import faFileOdt from 'design-comuni-plone-theme/icons/file-odt.svg'; +import faFileCSV from 'design-comuni-plone-theme/icons/file-csv.svg'; export const FILE_FORMATS = { 'text/rtf': { icon: { lib: 'far', name: 'file-alt' }, format_name: 'rtf' }, @@ -87,6 +88,10 @@ export const FILE_FORMATS = { icon: { lib: '', name: faFileXml, svg_format: true }, format_name: 'XML', }, + 'text/csv': { + icon: { lib: '', name: faFileCSV, svg_format: true }, + format_name: 'CSV', + }, 'application/xml': { icon: { lib: '', name: faFileXml, svg_format: true }, format_name: 'XML', diff --git a/src/icons/file-csv.svg b/src/icons/file-csv.svg new file mode 100644 index 000000000..02010c367 --- /dev/null +++ b/src/icons/file-csv.svg @@ -0,0 +1 @@ +