@kitconcept/volto-light-theme 8.0.0-alpha.16 → 8.0.0-alpha.17

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.draft CHANGED
@@ -1,18 +1,28 @@
1
- ## 8.0.0-alpha.16 (2026-02-16)
1
+ ## 8.0.0-alpha.17 (2026-03-03)
2
2
 
3
3
  ### Feature
4
4
 
5
- - Show only two letters of the native language name @iRohitSingh [#785](https://github.com/kitconcept/volto-light-theme/pull/785), [#795](https://github.com/kitconcept/volto-light-theme/pull/795)
5
+ - Improve styles for search results page. @danalvrz
6
+ - Updated several add-ons, for more information:
7
+
8
+ https://github.com/kitconcept/volto-calendar-block/releases/tag/1.0.0-alpha.7
9
+ https://github.com/kitconcept/volto-button-block/releases/tag/5.0.0-alpha.1
10
+ https://github.com/kitconcept/volto-logos-block/releases/tag/4.0.0-alpha.1
11
+ https://github.com/kitconcept/volto-iframe-block/releases/tag/2.4.0
12
+ https://github.com/kitconcept/volto-introduction-block/releases/tag/1.4.0
13
+ https://github.com/kitconcept/volto-carousel-block/releases/tag/3.0.0-alpha.1
14
+ https://github.com/kitconcept/volto-slider-block/releases/tag/7.0.0-alpha.1
6
15
 
7
16
  ### Bugfix
8
17
 
9
- - See https://github.com/plone/volto/releases/tag/19.0.0-alpha.24
10
- https://github.com/plone/volto/releases/tag/19.0.0-alpha.25 @sneridagh [#volto19a24](https://github.com/kitconcept/volto-light-theme/pull/volto19a24)
11
- - Fix social icons color in post-footer. @danalvrz
12
- - Move the head title after the date in NewsView and EventView, making it consistent with the listing view. @iFlameing
18
+ - Fix color in language selector, and remove extra margin between Teaser and Button blocks. @danalvrz
19
+ - Fix hydration errors in mobile navigation. @Tishasoumya-02
20
+ - Fix image size grid-block in editmode. @TimoBroeskamp
21
+ - Fix mobile sticky menu not showing from 768 to 620px. @iFlameing
13
22
 
14
23
  ### Internal
15
24
 
16
- - Remove space after banner block when bg color is not white @Tishasoumya-02 [#761](https://github.com/kitconcept/volto-light-theme/pull/761)
25
+ - Add missing pt_br translations. @humanaice [#804](https://github.com/kitconcept/volto-light-theme/pull/804)
26
+ - Update translation. @iFlameing
17
27
 
18
28
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,33 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 8.0.0-alpha.17 (2026-03-03)
12
+
13
+ ### Feature
14
+
15
+ - Improve styles for search results page. @danalvrz
16
+ - Updated several add-ons, for more information:
17
+
18
+ https://github.com/kitconcept/volto-calendar-block/releases/tag/1.0.0-alpha.7
19
+ https://github.com/kitconcept/volto-button-block/releases/tag/5.0.0-alpha.1
20
+ https://github.com/kitconcept/volto-logos-block/releases/tag/4.0.0-alpha.1
21
+ https://github.com/kitconcept/volto-iframe-block/releases/tag/2.4.0
22
+ https://github.com/kitconcept/volto-introduction-block/releases/tag/1.4.0
23
+ https://github.com/kitconcept/volto-carousel-block/releases/tag/3.0.0-alpha.1
24
+ https://github.com/kitconcept/volto-slider-block/releases/tag/7.0.0-alpha.1
25
+
26
+ ### Bugfix
27
+
28
+ - Fix color in language selector, and remove extra margin between Teaser and Button blocks. @danalvrz
29
+ - Fix hydration errors in mobile navigation. @Tishasoumya-02
30
+ - Fix image size grid-block in editmode. @TimoBroeskamp
31
+ - Fix mobile sticky menu not showing from 768 to 620px. @iFlameing
32
+
33
+ ### Internal
34
+
35
+ - Add missing pt_br translations. @humanaice [#804](https://github.com/kitconcept/volto-light-theme/pull/804)
36
+ - Update translation. @iFlameing
37
+
11
38
  ## 8.0.0-alpha.16 (2026-02-16)
12
39
 
13
40
  ### Feature
@@ -540,6 +540,11 @@ msgstr ""
540
540
  msgid "Start"
541
541
  msgstr "Anfang"
542
542
 
543
+ #. Default: "Switch to"
544
+ #: components/LanguageSelector/LanguageSelector
545
+ msgid "Switch to"
546
+ msgstr ""
547
+
543
548
  #. Default: "Target"
544
549
  #: components/Widgets/schema/footerLinksSchema
545
550
  #: components/Widgets/schema/footerLogosSchema
@@ -535,6 +535,11 @@ msgstr ""
535
535
  msgid "Start"
536
536
  msgstr ""
537
537
 
538
+ #. Default: "Switch to"
539
+ #: components/LanguageSelector/LanguageSelector
540
+ msgid "Switch to"
541
+ msgstr ""
542
+
538
543
  #. Default: "Target"
539
544
  #: components/Widgets/schema/footerLinksSchema
540
545
  #: components/Widgets/schema/footerLogosSchema
@@ -542,6 +542,11 @@ msgstr "Patrocinado por:"
542
542
  msgid "Start"
543
543
  msgstr "Inicio"
544
544
 
545
+ #. Default: "Switch to"
546
+ #: components/LanguageSelector/LanguageSelector
547
+ msgid "Switch to"
548
+ msgstr ""
549
+
545
550
  #. Default: "Target"
546
551
  #: components/Widgets/schema/footerLinksSchema
547
552
  #: components/Widgets/schema/footerLogosSchema
@@ -541,6 +541,11 @@ msgstr "Honek babestuta:"
541
541
  msgid "Start"
542
542
  msgstr "Hasiera"
543
543
 
544
+ #. Default: "Switch to"
545
+ #: components/LanguageSelector/LanguageSelector
546
+ msgid "Switch to"
547
+ msgstr ""
548
+
544
549
  #. Default: "Target"
545
550
  #: components/Widgets/schema/footerLinksSchema
546
551
  #: components/Widgets/schema/footerLogosSchema
@@ -150,7 +150,7 @@ msgstr "Baixar arquivo"
150
150
  #. Default: "E-mail"
151
151
  #: components/Summary/PersonSummary
152
152
  msgid "E-mail"
153
- msgstr ""
153
+ msgstr "E-mail"
154
154
 
155
155
  #. Default: "Empty object list"
156
156
  #: components/Widgets/BlocksObject
@@ -223,7 +223,7 @@ msgstr "Baixar ICS"
223
223
  #. Default: "Icon"
224
224
  #: components/Widgets/schema/iconLinkListSchema
225
225
  msgid "Icon"
226
- msgstr ""
226
+ msgstr "Ícone"
227
227
 
228
228
  #. Default: "Image"
229
229
  #: components/Blocks/Image/ImageSidebar
@@ -304,7 +304,7 @@ msgstr "Mover para cima"
304
304
  #. Default: "Multiple choices?"
305
305
  #: components/Blocks/EventCalendar/Search/schema
306
306
  msgid "Multiple choices?"
307
- msgstr ""
307
+ msgstr "Múltiplas escolhas?"
308
308
 
309
309
  #. Default: "Next Page"
310
310
  #: components/Blocks/Listing/ListingBody
@@ -329,7 +329,7 @@ msgstr "Nenhuma seleção"
329
329
  #. Default: "Open configuration"
330
330
  #: components/Widgets/ModalJSONEditor
331
331
  msgid "Open configuration"
332
- msgstr ""
332
+ msgstr "Abrir configuração"
333
333
 
334
334
  #. Default: "Open in a new tab"
335
335
  #: components/Widgets/schema/footerLinksSchema
@@ -353,12 +353,12 @@ msgstr "Geral"
353
353
  #. Default: "Pagination Navigation"
354
354
  #: components/Blocks/Listing/ListingBody
355
355
  msgid "Pagination Navigation"
356
- msgstr ""
356
+ msgstr "Navegação por página"
357
357
 
358
358
  #. Default: "Pagination Navigation for {headline}"
359
359
  #: components/Blocks/Listing/ListingBody
360
360
  msgid "Pagination Navigation for {headline}"
361
- msgstr ""
361
+ msgstr "Navegação por página para {headline}"
362
362
 
363
363
  #. Default: "Phone"
364
364
  #: components/Blocks/EventMetadata/View
@@ -493,12 +493,12 @@ msgstr "Exibir total de resultados"
493
493
  #. Default: "Simple"
494
494
  #: index
495
495
  msgid "Simple"
496
- msgstr ""
496
+ msgstr "Simples"
497
497
 
498
498
  #. Default: "Site Setup"
499
499
  #: components/Breadcrumbs/Breadcrumbs
500
500
  msgid "Site Setup"
501
- msgstr ""
501
+ msgstr "Configurações do site"
502
502
 
503
503
  #. Default: "Sitemap"
504
504
  #: index
@@ -535,6 +535,11 @@ msgstr "Apoiado por:"
535
535
  msgid "Start"
536
536
  msgstr "Início"
537
537
 
538
+ #. Default: "Switch to"
539
+ #: components/LanguageSelector/LanguageSelector
540
+ msgid "Switch to"
541
+ msgstr "Mudar para"
542
+
538
543
  #. Default: "Target"
539
544
  #: components/Widgets/schema/footerLinksSchema
540
545
  #: components/Widgets/schema/footerLogosSchema
@@ -582,17 +587,17 @@ msgstr "Visões disponíveis"
582
587
  #. Default: "The {type} block with the id {block} has encountered an error.{lineBreak}You can try to undo your changes (via the undo toolbar or pressing {shortcut}), or try to delete the block and recreate it again."
583
588
  #: components/Blocks/Block/ErrorBoundaryMessage
584
589
  msgid "blockErrorBoundaryDescription"
585
- msgstr ""
590
+ msgstr "O bloco {type} com o id {block} encontrou um erro.{lineBreak}Você pode tentar desfazer suas alterações (via barra de desfazer ou pressionando {shortcut}), ou tente excluir o bloco e recriá-lo novamente."
586
591
 
587
592
  #. Default: "Block error:"
588
593
  #: components/Blocks/Block/ErrorBoundaryMessage
589
594
  msgid "blockErrorBoundaryTitle"
590
- msgstr ""
595
+ msgstr "Erro no bloco:"
591
596
 
592
597
  #. Default: "The {type} block with the id {block} errored and cannot be displayed.{lineBreak}Please contact the site administrator for further assistance."
593
598
  #: components/Blocks/Block/ErrorBoundaryMessage
594
599
  msgid "blockErrorBoundaryViewDescription"
595
- msgstr ""
600
+ msgstr "O bloco {type} com o id {block} encontrou um erro e não pode ser exibido.{lineBreak}Por favor, entre em contato com o administrador do site para mais assistência."
596
601
 
597
602
  #. Default: "Delete"
598
603
  #: components/Blocks/Block/Edit
@@ -602,12 +607,12 @@ msgstr "Excluir"
602
607
  #. Default: "delete {type} block"
603
608
  #: components/Blocks/Block/EditBlockWrapper
604
609
  msgid "delete_block"
605
- msgstr ""
610
+ msgstr "Excluir bloco {type}"
606
611
 
607
612
  #. Default: "drag {type} block"
608
613
  #: components/Blocks/Block/EditBlockWrapper
609
614
  msgid "drag_block"
610
- msgstr ""
615
+ msgstr "Arrastar bloco {type}"
611
616
 
612
617
  #. Default: "Clear image"
613
618
  #: components/Blocks/Image/ImageSidebar
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: 2025-12-22T10:37:58.619Z\n"
4
+ "POT-Creation-Date: 2026-02-16T14:21:29.474Z\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
  "Content-Type: text/plain; charset=utf-8\n"
@@ -537,6 +537,11 @@ msgstr ""
537
537
  msgid "Start"
538
538
  msgstr ""
539
539
 
540
+ #. Default: "Switch to"
541
+ #: components/LanguageSelector/LanguageSelector
542
+ msgid "Switch to"
543
+ msgstr ""
544
+
540
545
  #. Default: "Target"
541
546
  #: components/Widgets/schema/footerLinksSchema
542
547
  #: components/Widgets/schema/footerLogosSchema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "8.0.0-alpha.16",
3
+ "version": "8.0.0-alpha.17",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -59,8 +59,8 @@
59
59
  "react-aria-components": "^1.14.0",
60
60
  "react-colorful": "^5.6.1",
61
61
  "uuid": "^11.0.0",
62
- "@plone/components": "^4.0.0-alpha.4",
63
- "@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1"
62
+ "@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1",
63
+ "@plone/components": "^4.0.0-alpha.4"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "classnames": "^2.5.1",
@@ -14,7 +14,7 @@ import arrowRightSVG from '@plone/volto/icons/right-key.svg';
14
14
  import arrowLeftSVG from '@plone/volto/icons/left-key.svg';
15
15
  import { MobileNavigationToggler } from './MobileNavigationToggler';
16
16
  import { MobileToolsFooter } from './MobileToolsFooter';
17
-
17
+ import { useClient } from '@plone/volto/hooks/client/useClient';
18
18
  const messages = defineMessages({
19
19
  closeMobileMenu: {
20
20
  id: 'Close menu',
@@ -43,7 +43,7 @@ const MenuItem = ({
43
43
  pathname,
44
44
  }) => {
45
45
  const [isSubMenuOpen, setSubMenuOpen] = useState(false);
46
-
46
+ const isClient = useClient();
47
47
  const openSubMenu = useCallback((e) => {
48
48
  e.stopPropagation();
49
49
  setSubMenuOpen(true);
@@ -68,9 +68,10 @@ const MenuItem = ({
68
68
  );
69
69
  const formData = useSelector((state) => state.form.global);
70
70
 
71
- const has_intranet_header = !isEmpty(formData)
72
- ? formData.has_intranet_header
73
- : headerSettings?.has_intranet_header;
71
+ const has_intranet_header =
72
+ isClient && !isEmpty(formData)
73
+ ? formData.has_intranet_header
74
+ : headerSettings?.has_intranet_header;
74
75
 
75
76
  return (
76
77
  <li className={section.url === pathname ? 'current' : ''}>
@@ -154,16 +155,17 @@ const MobileNavigation = (props) => {
154
155
  const currentLang = useSelector((state) => state.intl.locale);
155
156
  const items = useSelector((state) => state.navigation.items || []);
156
157
  const history = useHistory();
157
-
158
+ const isClient = useClient();
158
159
  const headerSettings = useSelector(
159
160
  (state) =>
160
161
  state.content.data?.['@components']?.inherit?.['voltolighttheme.header']
161
162
  ?.data,
162
163
  );
163
164
  const formData = useSelector((state) => state.form.global);
164
- const has_intranet_header = !isEmpty(formData)
165
- ? formData.has_intranet_header
166
- : headerSettings?.has_intranet_header;
165
+ const has_intranet_header =
166
+ isClient && !isEmpty(formData)
167
+ ? formData.has_intranet_header
168
+ : headerSettings?.has_intranet_header;
167
169
 
168
170
  const Footer = props.MobileToolsFooter || MobileToolsFooter;
169
171
 
@@ -1278,6 +1278,9 @@
1278
1278
  color: var(--header-foreground);
1279
1279
  }
1280
1280
  }
1281
+ .language-selector a {
1282
+ color: var(--header-foreground);
1283
+ }
1281
1284
  }
1282
1285
 
1283
1286
  // Navigation
@@ -8,7 +8,7 @@
8
8
  height: 100px;
9
9
  flex-direction: column;
10
10
  background-color: var(--sticky-menu-color, #555);
11
- @media only screen and (max-width: $narrow-container-width) {
11
+ @media only screen and (max-width: $largest-mobile-screen) {
12
12
  display: block;
13
13
  }
14
14
 
@@ -0,0 +1,224 @@
1
+ // Styles for kitconcept.solr search page
2
+ .section-search #page-search {
3
+ & > .ui.container {
4
+ max-width: var(--default-container-width) !important;
5
+ padding: 0 !important;
6
+ }
7
+ }
8
+ #page-search {
9
+ .total-bar {
10
+ margin-bottom: 75px;
11
+ h2 {
12
+ margin-top: $spacing-medium;
13
+ font-size: 48px;
14
+ font-weight: 700 !important;
15
+ line-height: 60px; /* 125% */
16
+ }
17
+ }
18
+ .searchTabs.ui.top.attached.tabular.menu {
19
+ --solr-search-facet-tab-inactive-color: var(--accent-color);
20
+
21
+ border-radius: 0;
22
+ .searchTab {
23
+ padding: $spacing-small 10px;
24
+ border: 1px solid var(--accent-color) !important;
25
+ border-radius: 0 !important;
26
+ margin-bottom: 0;
27
+ span {
28
+ font-size: 10px;
29
+ font-weight: 700;
30
+ line-height: 12px; /* 120% */
31
+ text-transform: capitalize;
32
+
33
+ .searchCounter.circular.label {
34
+ min-width: 22px;
35
+ background: color-mix(
36
+ in srgb,
37
+ var(--accent-color) 50%,
38
+ var(--accent-foreground-color)
39
+ );
40
+ color: var(--primary-color, #fff);
41
+ font-weight: 400;
42
+ }
43
+ }
44
+
45
+ &.active {
46
+ .searchCounter.circular.label {
47
+ background-color: var(--primary-foreground-color) !important;
48
+ color: var(--primary-color, #fff) !important;
49
+ }
50
+ }
51
+ svg {
52
+ margin-right: 5px;
53
+ vertical-align: bottom;
54
+ }
55
+ }
56
+ }
57
+ #content {
58
+ #content-core {
59
+ max-width: var(--default-container-width);
60
+ &.layout-grid {
61
+ // Person results
62
+ .tileItem.personResultItem {
63
+ .itemWrapper {
64
+ flex-direction: column;
65
+ .itemImageWrapper {
66
+ width: 125px;
67
+ height: 125px;
68
+ margin-bottom: $spacing-small;
69
+ svg:has(+ img.profileImage) {
70
+ display: none;
71
+ }
72
+ img.profileImage,
73
+ svg.icon {
74
+ width: 125px !important;
75
+ height: 125px !important;
76
+ }
77
+ }
78
+ .itemContent {
79
+ max-width: 90%;
80
+ padding-right: $spacing-medium;
81
+ .tileHeadline {
82
+ margin: 10px 0 15px 0;
83
+ font-size: 18px;
84
+ line-height: 24px; /* 133.333% */
85
+ }
86
+ .jobTitle {
87
+ margin-bottom: 15px;
88
+ color: var(--primary-foreground-color);
89
+ font-size: 18px;
90
+ line-height: 24px; /* 133.333% */
91
+ }
92
+ .tileFooter {
93
+ * {
94
+ vertical-align: unset;
95
+ }
96
+ .itemField {
97
+ display: block;
98
+ padding: 0;
99
+ border: none;
100
+ margin-bottom: 5px;
101
+
102
+ font-size: 18px;
103
+
104
+ line-height: 24px; /* 133.333% */
105
+ svg.icon {
106
+ width: 20px !important;
107
+ margin-right: 10px;
108
+ vertical-align: text-top;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ &.layout-list {
117
+ // Person results
118
+ .tileItem.personResultItem {
119
+ .tileHeadline {
120
+ margin-top: 10px;
121
+ font-size: 18px;
122
+ line-height: 24px;
123
+ }
124
+ .jobTitle {
125
+ margin: 15px 0;
126
+ margin-bottom: 15px;
127
+ color: var(--primary-foreground-color);
128
+ font-size: 18px;
129
+ line-height: 24px; /* 133.333% */
130
+ }
131
+ .tileFooter {
132
+ svg.icon {
133
+ width: 20px !important;
134
+ margin-right: 10px;
135
+ vertical-align: text-top;
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ .pagination.menu {
142
+ border-radius: 0;
143
+ background: var(--accent-color);
144
+ --link-foreground-color: var(--accent-foreground-color);
145
+
146
+ a.item {
147
+ color: var(--accent-foreground-color);
148
+
149
+ &.active {
150
+ background: var(--accent-foreground-color) !important;
151
+ color: var(--accent-color) !important;
152
+ }
153
+
154
+ &.disabled {
155
+ opacity: 0.8;
156
+ }
157
+ }
158
+ }
159
+ }
160
+
161
+ .searchConditions.ui {
162
+ width: 265px;
163
+ margin-right: $spacing-medium;
164
+ .searchConditionsFieldHeader {
165
+ font-size: 18px;
166
+ line-height: 24px; /* 133.333% */
167
+ .searchConditionsFieldSearch {
168
+ margin-top: $spacing-small;
169
+ input {
170
+ height: 60px;
171
+ padding-top: 10px;
172
+ padding-bottom: 10px;
173
+ padding-left: 10px;
174
+ border: none;
175
+ border-radius: 0;
176
+ font-size: 18px;
177
+ line-height: 24px; /* 133.333% */
178
+ }
179
+ i.search.icon {
180
+ opacity: 1;
181
+ &::before {
182
+ transform: scale(2) scaleX(-1);
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+
191
+ // Basic mobile styles
192
+ @media only screen and (max-width: $largest-mobile-screen) {
193
+ #page-search {
194
+ #content {
195
+ .searchContentWrapper {
196
+ flex-direction: column;
197
+ }
198
+ .searchConditions.ui {
199
+ width: 100%;
200
+ margin-right: 0;
201
+ }
202
+ #content-core {
203
+ .search-items {
204
+ grid-template-columns: 100%;
205
+ }
206
+ &.layout-list,
207
+ &.layout-grid {
208
+ .tileItem {
209
+ .itemContent {
210
+ min-width: 0;
211
+ }
212
+ .tileFooter {
213
+ .itemField {
214
+ display: block;
215
+ border: none;
216
+ overflow-wrap: break-word;
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }
@@ -184,6 +184,9 @@
184
184
  .block-editor-image {
185
185
  padding: 0;
186
186
  margin: 0.5rem !important;
187
+ figure {
188
+ max-width: unset;
189
+ }
187
190
  }
188
191
 
189
192
  .block.listing {
@@ -131,6 +131,7 @@
131
131
  border-bottom: none;
132
132
  }
133
133
  &.next--is--__button {
134
+ margin-bottom: 0 !important;
134
135
  .card-inner,
135
136
  .teaser-item.default {
136
137
  padding-bottom: 40px;
@@ -43,6 +43,7 @@
43
43
  @import 'insets';
44
44
  @import 'person';
45
45
  @import 'notfound';
46
+ @import 'search-page';
46
47
 
47
48
  @import 'temp';
48
49