design-comuni-plone-theme 10.4.3 → 10.5.0

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,24 @@
1
1
 
2
2
 
3
+ ## [10.5.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.4.3...v10.5.0) (2023-12-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * added volto-querywidget-with-browser addon ([#426](https://github.com/RedTurtle/design-comuni-plone-theme/issues/426)) ([d1a6502](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d1a65021fe594eb15bc56b76207de7d74f8f1cca))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * calendar block header size ([#425](https://github.com/RedTurtle/design-comuni-plone-theme/issues/425)) ([2ab1035](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2ab1035bb3bdc3da18726445009ddd37ef9c7288))
14
+ * centered image in genericcard with image for related content ([#429](https://github.com/RedTurtle/design-comuni-plone-theme/issues/429)) ([38ffb45](https://github.com/RedTurtle/design-comuni-plone-theme/commit/38ffb452d903c2d39a9fe3d355f69cf9c220d2f2))
15
+ * feedback form con risposta obbligatoria ([#430](https://github.com/RedTurtle/design-comuni-plone-theme/issues/430)) ([f653419](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f653419ae76e9cdf46edce1c9ad5b7d80e0506d7))
16
+
17
+
18
+ ### Documentation
19
+
20
+ * updated publiccode and release log ([05312b4](https://github.com/RedTurtle/design-comuni-plone-theme/commit/05312b4f8705bc4805beee9b6b2ba98e9f399e62))
21
+
3
22
  ## [10.4.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.4.2...v10.4.3) (2023-11-28)
4
23
 
5
24
 
package/RELEASE.md CHANGED
@@ -41,6 +41,18 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 10.5.0 (06/12/2023)
45
+
46
+ ### Novità
47
+
48
+ - Nel blocco elenco, nel criterio di configurazione 'Posizione', è ora presente uno strumento per facilitare la ricerca dei contenuti nel sito, senza dover scrivere il percorso a mano.
49
+
50
+ ### Fix
51
+
52
+ - Le immagini nelle card dei contenuti correlati sono centrate verticalmente.
53
+ - Il feedback form ora richiede necessariamente una risposta oltre al voto in stelle.
54
+ - Dimensione del titolo del blocco calendario uniformata ai titoli degli altri blocchi elenco.
55
+
44
56
  ## Versione 10.4.3 (28/11/2023)
45
57
 
46
58
  ### Migliorie
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": "10.4.3",
5
+ "version": "10.5.0",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
@@ -29,6 +29,7 @@
29
29
  "volto-subfooter",
30
30
  "volto-gdpr-privacy",
31
31
  "volto-data-grid-widget",
32
+ "volto-querywidget-with-browser",
32
33
  "@eeacms/volto-taxonomy",
33
34
  "volto-feedback"
34
35
  ],
@@ -148,6 +149,7 @@
148
149
  "volto-gdpr-privacy": "2.1.0",
149
150
  "volto-google-analytics": "2.0.0",
150
151
  "volto-multilingual-widget": "3.0.0",
152
+ "volto-querywidget-with-browser": "0.4.0",
151
153
  "volto-rss-block": "3.0.0",
152
154
  "volto-secondarymenu": "4.0.0",
153
155
  "volto-social-settings": "3.0.0",
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: '2023-11-28'
230
+ releaseDate: '2023-12-06'
231
231
  softwareType: standalone/web
232
- softwareVersion: 10.4.3
232
+ softwareVersion: 10.5.0
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -119,7 +119,7 @@ const FeedbackForm = ({ contentType, pathname }) => {
119
119
  const dispatch = useDispatch();
120
120
  const [satisfaction, setSatisfaction] = useState(null);
121
121
  const [step, setStep] = useState(0);
122
- const [invalidForm, setInvalidForm] = useState(false);
122
+ const [invalidForm, setInvalidForm] = useState(true);
123
123
  const [formData, setFormData] = useState({});
124
124
  const captcha = !!process.env.RAZZLE_RECAPTCHA_KEY ? 'GoogleReCaptcha' : null;
125
125
  const submitResults = useSelector((state) => state.submitFeedback);
@@ -140,6 +140,10 @@ const FeedbackForm = ({ contentType, pathname }) => {
140
140
  if (value?.length > 200) setInvalidForm(true);
141
141
  else setInvalidForm(false);
142
142
  }
143
+ if (field === 'answer') {
144
+ if (!value) setInvalidForm(true);
145
+ else setInvalidForm(false);
146
+ }
143
147
  setFormData({
144
148
  ...formData,
145
149
  [field]: value,
@@ -312,6 +316,7 @@ const FeedbackForm = ({ contentType, pathname }) => {
312
316
  color="primary"
313
317
  onClick={nextStep}
314
318
  className="next-action fw-bold"
319
+ disabled={invalidForm}
315
320
  type="button"
316
321
  >
317
322
  {intl.formatMessage(messages.next)}
@@ -6,6 +6,11 @@
6
6
  }
7
7
 
8
8
  .template-header {
9
+ h2 {
10
+ @include rem-size(font-size, 32);
11
+ @include rem-size(line-height, 32);
12
+ }
13
+
9
14
  &.with-filters {
10
15
  /* border-bottom: 1px solid $neutral-1-a2;*/
11
16
  margin-bottom: 1em;
@@ -102,6 +102,11 @@ picture.volto-image.responsive img.full-width {
102
102
  }
103
103
 
104
104
  .genericcard {
105
+ .img-wrapper {
106
+ display: flex;
107
+ // align-items: center;
108
+ }
109
+
105
110
  .card-title {
106
111
  margin: 0 !important;
107
112
  margin-bottom: 0.625rem !important;