design-comuni-plone-theme 11.2.0 → 11.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
 
2
2
 
3
+ ## [11.2.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.2.0...v11.2.1) (2024-01-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * callout style in draftJs ([#481](https://github.com/redturtle/design-comuni-plone-theme/issues/481)) ([34b8de7](https://github.com/redturtle/design-comuni-plone-theme/commit/34b8de7ead0c2639ddd131f2cbb530833546101e))
9
+ * recurrence string and edit recurrence ([#482](https://github.com/redturtle/design-comuni-plone-theme/issues/482)) ([276cbef](https://github.com/redturtle/design-comuni-plone-theme/commit/276cbef5fea86942173e5ba556bbae2cc47bd7a1))
10
+
11
+
12
+ ### Documentation
13
+
14
+ * updated publiccode and release log ([01eb885](https://github.com/redturtle/design-comuni-plone-theme/commit/01eb885524bcd54c21edfcdaf56a1a156bfea54a))
15
+
3
16
  ## [11.2.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.1.4...v11.2.0) (2024-01-11)
4
17
 
5
18
 
package/RELEASE.md CHANGED
@@ -41,7 +41,18 @@
41
41
  - ...
42
42
  -->
43
43
 
44
- ## Versione 11.2.0 (11/01/2023)
44
+ ## Versione 11.2.1 (15/01/2024)
45
+
46
+ ### Migliorie
47
+
48
+ - Migliorata il testo della ricorrenza di un evento.
49
+
50
+ ### Fix
51
+
52
+ - Risolto un problema nell'edit della ricorrenza di un evento.
53
+ - Risolto problema con lo stile "callout", icona megafono dell'editor di testo con sfondo bianco e bordo grigio
54
+
55
+ ## Versione 11.2.0 (11/01/2024)
45
56
 
46
57
  ### Migliorie
47
58
 
@@ -2919,6 +2919,36 @@ msgstr ""
2919
2919
  msgid "risultati_indagini_customer_satisfaction"
2920
2920
  msgstr ""
2921
2921
 
2922
+ #: overrideTranslations
2923
+ # defaultMessage: il giorno
2924
+ msgid "rrule_in"
2925
+ msgstr ""
2926
+
2927
+ #: overrideTranslations
2928
+ # defaultMessage: _
2929
+ msgid "rrule_nd"
2930
+ msgstr ""
2931
+
2932
+ #: overrideTranslations
2933
+ # defaultMessage: il
2934
+ msgid "rrule_on the"
2935
+ msgstr ""
2936
+
2937
+ #: overrideTranslations
2938
+ # defaultMessage: _
2939
+ msgid "rrule_rd"
2940
+ msgstr ""
2941
+
2942
+ #: overrideTranslations
2943
+ # defaultMessage: _
2944
+ msgid "rrule_st"
2945
+ msgstr ""
2946
+
2947
+ #: overrideTranslations
2948
+ # defaultMessage: _
2949
+ msgid "rrule_th"
2950
+ msgstr ""
2951
+
2922
2952
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2923
2953
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2924
2954
  # defaultMessage: No results from RSS feed.
@@ -2904,6 +2904,36 @@ msgstr "Rights"
2904
2904
  msgid "risultati_indagini_customer_satisfaction"
2905
2905
  msgstr "Customer satisfaction survey results"
2906
2906
 
2907
+ #: overrideTranslations
2908
+ # defaultMessage: il giorno
2909
+ msgid "rrule_in"
2910
+ msgstr "in"
2911
+
2912
+ #: overrideTranslations
2913
+ # defaultMessage: _
2914
+ msgid "rrule_nd"
2915
+ msgstr "nd"
2916
+
2917
+ #: overrideTranslations
2918
+ # defaultMessage: il
2919
+ msgid "rrule_on the"
2920
+ msgstr "on the"
2921
+
2922
+ #: overrideTranslations
2923
+ # defaultMessage: _
2924
+ msgid "rrule_rd"
2925
+ msgstr "rd"
2926
+
2927
+ #: overrideTranslations
2928
+ # defaultMessage: _
2929
+ msgid "rrule_st"
2930
+ msgstr "st"
2931
+
2932
+ #: overrideTranslations
2933
+ # defaultMessage: _
2934
+ msgid "rrule_th"
2935
+ msgstr "th"
2936
+
2907
2937
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2908
2938
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2909
2939
  # defaultMessage: No results from RSS feed.
@@ -2913,6 +2913,36 @@ msgstr "Derechos"
2913
2913
  msgid "risultati_indagini_customer_satisfaction"
2914
2914
  msgstr "Resultados de la encuesta de satisfacción del cliente"
2915
2915
 
2916
+ #: overrideTranslations
2917
+ # defaultMessage: il giorno
2918
+ msgid "rrule_in"
2919
+ msgstr ""
2920
+
2921
+ #: overrideTranslations
2922
+ # defaultMessage: _
2923
+ msgid "rrule_nd"
2924
+ msgstr ""
2925
+
2926
+ #: overrideTranslations
2927
+ # defaultMessage: il
2928
+ msgid "rrule_on the"
2929
+ msgstr ""
2930
+
2931
+ #: overrideTranslations
2932
+ # defaultMessage: _
2933
+ msgid "rrule_rd"
2934
+ msgstr ""
2935
+
2936
+ #: overrideTranslations
2937
+ # defaultMessage: _
2938
+ msgid "rrule_st"
2939
+ msgstr ""
2940
+
2941
+ #: overrideTranslations
2942
+ # defaultMessage: _
2943
+ msgid "rrule_th"
2944
+ msgstr ""
2945
+
2916
2946
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2917
2947
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2918
2948
  # defaultMessage: No results from RSS feed.
@@ -2921,6 +2921,36 @@ msgstr "Droits"
2921
2921
  msgid "risultati_indagini_customer_satisfaction"
2922
2922
  msgstr "Résultats des enquêtes de satisfaction clients"
2923
2923
 
2924
+ #: overrideTranslations
2925
+ # defaultMessage: il giorno
2926
+ msgid "rrule_in"
2927
+ msgstr ""
2928
+
2929
+ #: overrideTranslations
2930
+ # defaultMessage: _
2931
+ msgid "rrule_nd"
2932
+ msgstr ""
2933
+
2934
+ #: overrideTranslations
2935
+ # defaultMessage: il
2936
+ msgid "rrule_on the"
2937
+ msgstr ""
2938
+
2939
+ #: overrideTranslations
2940
+ # defaultMessage: _
2941
+ msgid "rrule_rd"
2942
+ msgstr ""
2943
+
2944
+ #: overrideTranslations
2945
+ # defaultMessage: _
2946
+ msgid "rrule_st"
2947
+ msgstr ""
2948
+
2949
+ #: overrideTranslations
2950
+ # defaultMessage: _
2951
+ msgid "rrule_th"
2952
+ msgstr ""
2953
+
2924
2954
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2925
2955
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2926
2956
  # defaultMessage: No results from RSS feed.
@@ -2904,6 +2904,36 @@ msgstr "Diritti"
2904
2904
  msgid "risultati_indagini_customer_satisfaction"
2905
2905
  msgstr "Risultati indagini di customer satisfaction"
2906
2906
 
2907
+ #: overrideTranslations
2908
+ # defaultMessage: il giorno
2909
+ msgid "rrule_in"
2910
+ msgstr "il giorno"
2911
+
2912
+ #: overrideTranslations
2913
+ # defaultMessage: _
2914
+ msgid "rrule_nd"
2915
+ msgstr " "
2916
+
2917
+ #: overrideTranslations
2918
+ # defaultMessage: il
2919
+ msgid "rrule_on the"
2920
+ msgstr "il giorno"
2921
+
2922
+ #: overrideTranslations
2923
+ # defaultMessage: _
2924
+ msgid "rrule_rd"
2925
+ msgstr " "
2926
+
2927
+ #: overrideTranslations
2928
+ # defaultMessage: _
2929
+ msgid "rrule_st"
2930
+ msgstr " "
2931
+
2932
+ #: overrideTranslations
2933
+ # defaultMessage: _
2934
+ msgid "rrule_th"
2935
+ msgstr " "
2936
+
2907
2937
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2908
2938
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2909
2939
  # defaultMessage: No results from RSS feed.
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2024-01-11T11:04:31.849Z\n"
4
+ "POT-Creation-Date: 2024-01-11T13:44:40.490Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "MIME-Version: 1.0\n"
@@ -2906,6 +2906,36 @@ msgstr ""
2906
2906
  msgid "risultati_indagini_customer_satisfaction"
2907
2907
  msgstr ""
2908
2908
 
2909
+ #: overrideTranslations
2910
+ # defaultMessage: il giorno
2911
+ msgid "rrule_in"
2912
+ msgstr ""
2913
+
2914
+ #: overrideTranslations
2915
+ # defaultMessage: _
2916
+ msgid "rrule_nd"
2917
+ msgstr ""
2918
+
2919
+ #: overrideTranslations
2920
+ # defaultMessage: il
2921
+ msgid "rrule_on the"
2922
+ msgstr ""
2923
+
2924
+ #: overrideTranslations
2925
+ # defaultMessage: _
2926
+ msgid "rrule_rd"
2927
+ msgstr ""
2928
+
2929
+ #: overrideTranslations
2930
+ # defaultMessage: _
2931
+ msgid "rrule_st"
2932
+ msgstr ""
2933
+
2934
+ #: overrideTranslations
2935
+ # defaultMessage: _
2936
+ msgid "rrule_th"
2937
+ msgstr ""
2938
+
2909
2939
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate
2910
2940
  #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate
2911
2941
  # defaultMessage: No results from RSS feed.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "11.2.0",
5
+ "version": "11.2.1",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
package/publiccode.yml CHANGED
@@ -227,9 +227,9 @@ maintenance:
227
227
  name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
228
228
  platforms:
229
229
  - web
230
- releaseDate: '2024-01-11'
230
+ releaseDate: '2024-01-15'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.2.0
232
+ softwareVersion: 11.2.1
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -37,7 +37,6 @@ import {
37
37
  FREQUENCES,
38
38
  WEEKLY_DAYS,
39
39
  MONDAYFRIDAY_DAYS,
40
- toISOString,
41
40
  rrulei18n,
42
41
  } from '@plone/volto/components/manage/Widgets/RecurrenceWidget/Utils';
43
42
 
@@ -437,17 +436,17 @@ class RecurrenceWidget extends Component {
437
436
  case 'until':
438
437
  let mDate = null;
439
438
  if (value) {
440
- mDate = this.moment(new Date(value));
439
+ mDate = moment(new Date(value));
441
440
  if (typeof value === 'string') {
442
- mDate = this.moment(new Date(value));
441
+ mDate = moment(new Date(value));
443
442
  } else {
444
443
  //object-->Date()
445
- mDate = this.moment(value);
444
+ mDate = moment(value);
446
445
  }
447
446
 
448
447
  if (this.props.formData.end) {
449
448
  //set time from formData.end
450
- const mEnd = this.moment(new Date(this.props.formData.end));
449
+ const mEnd = moment(new Date(this.props.formData.end));
451
450
  mDate.set('hour', mEnd.get('hour'));
452
451
  mDate.set('minute', mEnd.get('minute'));
453
452
  }
@@ -476,8 +475,8 @@ class RecurrenceWidget extends Component {
476
475
  field === 'dtstart'
477
476
  ? value
478
477
  : rruleSet.dtstart()
479
- ? rruleSet.dtstart()
480
- : new Date();
478
+ ? rruleSet.dtstart()
479
+ : new Date();
481
480
  var exdates =
482
481
  field === 'exdates' ? value : Object.assign([], rruleSet.exdates());
483
482
 
@@ -0,0 +1,28 @@
1
+ import { defineMessages } from 'react-intl';
2
+
3
+ defineMessages({
4
+ rrule_st: {
5
+ id: 'rrule_st',
6
+ defaultMessage: '_', //in italiano non si traduce
7
+ },
8
+ rrule_nd: {
9
+ id: 'rrule_nd',
10
+ defaultMessage: '_', //in italiano non si traduce
11
+ },
12
+ rrule_rd: {
13
+ id: 'rrule_rd',
14
+ defaultMessage: '_', //in italiano non si traduce
15
+ },
16
+ rrule_th: {
17
+ id: 'rrule_th',
18
+ defaultMessage: '_', //in italiano non si traduce
19
+ },
20
+ rrule_in: {
21
+ id: 'rrule_in',
22
+ defaultMessage: 'il giorno',
23
+ },
24
+ rrule_on_the: {
25
+ id: 'rrule_on the',
26
+ defaultMessage: 'il',
27
+ },
28
+ });
@@ -101,7 +101,10 @@ iframe {
101
101
  }
102
102
  }
103
103
 
104
- .callout {
104
+ p.callout {
105
+ max-width: none;
106
+ border-left-width: 0.4rem;
107
+
105
108
  p,
106
109
  .public-DraftStyleDefault-block {
107
110
  &:last-of-type {
@@ -1,8 +1,8 @@
1
- .callout {
1
+ div.callout {
2
+ max-width: none;
2
3
  padding: 0; //override volto's style
3
4
  border: none;
4
5
  border-radius: unset;
5
6
  margin: 0;
6
7
  box-shadow: none;
7
- max-width: none;
8
8
  }