Skip to content

Commit

Permalink
Merge branch 'csv_file_icon' into slate
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Feb 1, 2024
2 parents 700df69 + 4663192 commit ca7627e
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
## [11.0.0-alpha.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.0.0-alpha.1...v11.0.0-alpha.2) (2023-11-29)

## [11.3.4](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.3...v11.3.4) (2024-01-31)


### Bug Fixes

* focus when editing image blocks ([#500](https://github.com/redturtle/design-comuni-plone-theme/issues/500)) ([bdb53b9](https://github.com/redturtle/design-comuni-plone-theme/commit/bdb53b95b89a9f42a88b942434fce8d01cf45af0))
* set height for DocumentBody images ([#507](https://github.com/redturtle/design-comuni-plone-theme/issues/507)) ([80479ce](https://github.com/redturtle/design-comuni-plone-theme/commit/80479ce919da07bf6147fe2bd3038c875a5ff63f))
* updated volto-querywidget-with-browser ([#508](https://github.com/redturtle/design-comuni-plone-theme/issues/508)) ([a4285a9](https://github.com/redturtle/design-comuni-plone-theme/commit/a4285a9aef4cb832a17af1c906efb79caf129425))


### Documentation

* updated publiccode ([c427aa4](https://github.com/redturtle/design-comuni-plone-theme/commit/c427aa42fed453e60cdd422b4d7f7ac1358834cf))

## [11.3.3](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.2...v11.3.3) (2024-01-30)


Expand Down
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
- ...
-->
## Versione x.x.x (xx/xx/xxxx)

### Novità

- Aggiunta l'icona per il formato di file CSV


## Versione 12.0.0 (dd/mm/yyyy)

Expand Down
4 changes: 2 additions & 2 deletions publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ maintenance:
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
platforms:
- web
releaseDate: '2024-01-30'
releaseDate: '2024-01-31'
softwareType: standalone/web
softwareVersion: 11.3.3
softwareVersion: 11.3.4
url: 'https://github.com/italia/design-comuni-plone-theme'
usedBy:
- ASP Comuni Modenesi Area Nord
Expand Down
5 changes: 5 additions & 0 deletions src/helpers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down Expand Up @@ -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',
Expand Down
15 changes: 15 additions & 0 deletions src/icons/file-csv.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca7627e

Please sign in to comment.