@kitconcept/volto-light-theme 1.0.0-rc.13 → 1.0.0-rc.15
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/.github/workflows/acceptance.yml +1 -1
- package/.github/workflows/deploy.yml +1 -1
- package/CHANGELOG.md +24 -0
- package/Makefile +1 -1
- package/README.md +1 -1
- package/babel.config.js +1 -0
- package/locales/de/LC_MESSAGES/volto.po +19 -54
- package/locales/en/LC_MESSAGES/volto.po +0 -35
- package/locales/volto.pot +1 -36
- package/package.json +3 -3
- package/src/components/Blocks/Search/TopSideFacets.jsx +31 -29
- package/src/components/Blocks/Search/schema.js +6 -0
- package/src/components/Blocks/Toc/schema.js +2 -0
- package/src/index.js +17 -9
- package/src/theme/_content.scss +8 -0
- package/src/theme/_layout.scss +3 -1
- package/src/theme/blocks/_search.scss +19 -0
- package/src/theme/blocks/_teaser.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,30 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 1.0.0-rc.15 (2023-08-09)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Update the recommended version of volto-separator-block to 4.0.0. @davisagli [#211](https://github.com/kitconcept/volto-light-theme/pull/211)
|
|
16
|
+
- ToC block fixes (remove most fields from the block, add default styling
|
|
17
|
+
schema, fix width in edit mode). @davisagli [#212](https://github.com/kitconcept/volto-light-theme/pull/212)
|
|
18
|
+
- Hide unnecessary Search block fields. @danalvrz [#213](https://github.com/kitconcept/volto-light-theme/pull/213)
|
|
19
|
+
- Upgrade to Volto 17-0.0-alpha.24. @davisagli [#214](https://github.com/kitconcept/volto-light-theme/pull/214)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 1.0.0-rc.14 (2023-08-08)
|
|
23
|
+
|
|
24
|
+
### Feature
|
|
25
|
+
|
|
26
|
+
- Hide change note field. @davisagli [#206](https://github.com/kitconcept/volto-light-theme/pull/206)
|
|
27
|
+
|
|
28
|
+
### Bugfix
|
|
29
|
+
|
|
30
|
+
- Remove external link icon from ICS download button event content type @iRohitSingh [#201](https://github.com/kitconcept/volto-light-theme/pull/201)
|
|
31
|
+
- Fix teaser right align is not aligned to right side of page @iFlameing. [#202](https://github.com/kitconcept/volto-light-theme/pull/202)
|
|
32
|
+
- Add missing german translations @steffenri [#205](https://github.com/kitconcept/volto-light-theme/pull/205)
|
|
33
|
+
|
|
34
|
+
|
|
11
35
|
## 1.0.0-rc.13 (2023-08-03)
|
|
12
36
|
|
|
13
37
|
### Bugfix
|
package/Makefile
CHANGED
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ It is recommended that your project or policy add-on `package.json` include the
|
|
|
126
126
|
"@kitconcept/volto-heading-block": "2.2.0",
|
|
127
127
|
"@kitconcept/volto-introduction-block": "1.0.0",
|
|
128
128
|
"@kitconcept/volto-light-theme": "1.0.0",
|
|
129
|
-
"@kitconcept/volto-separator-block": "
|
|
129
|
+
"@kitconcept/volto-separator-block": "4.0.0",
|
|
130
130
|
}
|
|
131
131
|
```
|
|
132
132
|
|
package/babel.config.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@plone/volto/babel');
|
|
@@ -37,35 +37,25 @@ msgstr ""
|
|
|
37
37
|
msgid "Browse the site, drop an image, or type an URL"
|
|
38
38
|
msgstr "Bild auswählen, hochladen oder URL angeben"
|
|
39
39
|
|
|
40
|
-
#: components/Blocks/Slider/schema
|
|
41
|
-
# defaultMessage: Button text
|
|
42
|
-
msgid "Button text"
|
|
43
|
-
msgstr ""
|
|
44
|
-
|
|
45
40
|
#: components/Widgets/AlignWidget
|
|
46
41
|
# defaultMessage: Center
|
|
47
42
|
msgid "Center"
|
|
48
|
-
msgstr ""
|
|
43
|
+
msgstr "Mittig"
|
|
49
44
|
|
|
50
45
|
#: components/Navigation/Navigation
|
|
51
46
|
# defaultMessage: Close menu
|
|
52
47
|
msgid "Close menu"
|
|
53
|
-
msgstr ""
|
|
48
|
+
msgstr "Menü schließen"
|
|
54
49
|
|
|
55
50
|
#: components/Theme/EventView
|
|
56
51
|
# defaultMessage: Contact
|
|
57
52
|
msgid "Contact"
|
|
58
|
-
msgstr ""
|
|
59
|
-
|
|
60
|
-
#: components/Blocks/Slider/DefaultBody
|
|
61
|
-
# defaultMessage: Continue reading
|
|
62
|
-
msgid "Continue reading"
|
|
63
|
-
msgstr "mehr erfahren"
|
|
53
|
+
msgstr "Kontakt"
|
|
64
54
|
|
|
65
55
|
#: components/Footer/Footer
|
|
66
56
|
# defaultMessage: Copyright
|
|
67
57
|
msgid "Copyright"
|
|
68
|
-
msgstr ""
|
|
58
|
+
msgstr "Urheberrechte"
|
|
69
59
|
|
|
70
60
|
#: components/Blocks/Image/schema
|
|
71
61
|
# defaultMessage: Description
|
|
@@ -82,26 +72,16 @@ msgstr ""
|
|
|
82
72
|
msgid "End"
|
|
83
73
|
msgstr "ende"
|
|
84
74
|
|
|
85
|
-
#: components/Blocks/Slider/schema
|
|
86
|
-
# defaultMessage: Flag align
|
|
87
|
-
msgid "Flag align"
|
|
88
|
-
msgstr "Flagge Ausrichtung"
|
|
89
|
-
|
|
90
75
|
#: components/Widgets/AlignWidget
|
|
91
76
|
# defaultMessage: Full
|
|
92
77
|
msgid "Full"
|
|
93
|
-
msgstr ""
|
|
78
|
+
msgstr "Volle Breite"
|
|
94
79
|
|
|
95
80
|
#: components/Footer/Footer
|
|
96
81
|
# defaultMessage: GNU GPL license
|
|
97
82
|
msgid "GNU GPL license"
|
|
98
83
|
msgstr ""
|
|
99
84
|
|
|
100
|
-
#: components/Blocks/Slider/schema
|
|
101
|
-
# defaultMessage: Hide Button
|
|
102
|
-
msgid "Hide Button"
|
|
103
|
-
msgstr ""
|
|
104
|
-
|
|
105
85
|
#: components/Breadcrumbs/Breadcrumbs
|
|
106
86
|
# defaultMessage: Home
|
|
107
87
|
msgid "Home"
|
|
@@ -120,7 +100,7 @@ msgstr "Bild"
|
|
|
120
100
|
#: components/Widgets/AlignWidget
|
|
121
101
|
# defaultMessage: Left
|
|
122
102
|
msgid "Left"
|
|
123
|
-
msgstr ""
|
|
103
|
+
msgstr "Links"
|
|
124
104
|
|
|
125
105
|
#: components/Theme/EventView
|
|
126
106
|
# defaultMessage: Location
|
|
@@ -130,7 +110,7 @@ msgstr "Veranstaltungsort"
|
|
|
130
110
|
#: components/Anontools/Anontools
|
|
131
111
|
# defaultMessage: Log in
|
|
132
112
|
msgid "Log in"
|
|
133
|
-
msgstr ""
|
|
113
|
+
msgstr "Anmelden"
|
|
134
114
|
|
|
135
115
|
#: components/Blocks/Listing/ListingBody
|
|
136
116
|
# defaultMessage: Next Page
|
|
@@ -140,7 +120,7 @@ msgstr "Nächste Seite"
|
|
|
140
120
|
#: components/Theme/EventView
|
|
141
121
|
# defaultMessage: No date
|
|
142
122
|
msgid "No date"
|
|
143
|
-
msgstr ""
|
|
123
|
+
msgstr "Kein Datum"
|
|
144
124
|
|
|
145
125
|
#: components/Blocks/Image/ImageSidebar
|
|
146
126
|
# defaultMessage: No image selected
|
|
@@ -155,17 +135,12 @@ msgstr "Keine Elemente im Ordner gefunden."
|
|
|
155
135
|
#: components/Navigation/Navigation
|
|
156
136
|
# defaultMessage: Open menu
|
|
157
137
|
msgid "Open menu"
|
|
158
|
-
msgstr ""
|
|
138
|
+
msgstr "Menü öffnen"
|
|
159
139
|
|
|
160
140
|
#: components/Theme/EventView
|
|
161
141
|
# defaultMessage: Phone
|
|
162
142
|
msgid "Phone"
|
|
163
|
-
msgstr ""
|
|
164
|
-
|
|
165
|
-
#: components/Blocks/Slider/DefaultBody
|
|
166
|
-
# defaultMessage: Please choose an existing content as source for this element
|
|
167
|
-
msgid "Please choose an existing content as source for this element"
|
|
168
|
-
msgstr "Bitte wählen Sie einen bestehenden Inhalt als Quelle für dieses Element"
|
|
143
|
+
msgstr "Telefon"
|
|
169
144
|
|
|
170
145
|
#: components/Footer/Footer
|
|
171
146
|
# defaultMessage: Plone Foundation
|
|
@@ -201,7 +176,7 @@ msgstr "Vorherige Seite"
|
|
|
201
176
|
#: components/Header/Header
|
|
202
177
|
# defaultMessage: Register
|
|
203
178
|
msgid "Register"
|
|
204
|
-
msgstr ""
|
|
179
|
+
msgstr "Registrieren"
|
|
205
180
|
|
|
206
181
|
#: components/Blocks/Listing/ListingBody
|
|
207
182
|
# defaultMessage: Result
|
|
@@ -211,19 +186,19 @@ msgstr "Ergebnis"
|
|
|
211
186
|
#: components/Widgets/AlignWidget
|
|
212
187
|
# defaultMessage: Right
|
|
213
188
|
msgid "Right"
|
|
214
|
-
msgstr ""
|
|
189
|
+
msgstr "Rechts"
|
|
215
190
|
|
|
216
191
|
#: components/Blocks/Search/components/SearchInput
|
|
217
192
|
#: components/Blocks/Search/TopSideFacets
|
|
218
193
|
#: components/SearchWidget/SearchWidget
|
|
219
194
|
# defaultMessage: Search
|
|
220
195
|
msgid "Search"
|
|
221
|
-
msgstr ""
|
|
196
|
+
msgstr "Suche"
|
|
222
197
|
|
|
223
198
|
#: components/SearchWidget/SearchWidget
|
|
224
199
|
# defaultMessage: Search Site
|
|
225
200
|
msgid "Search Site"
|
|
226
|
-
msgstr ""
|
|
201
|
+
msgstr "Seite durchsuchen"
|
|
227
202
|
|
|
228
203
|
#: components/Blocks/Search/components/SearchDetails
|
|
229
204
|
# defaultMessage: Search results
|
|
@@ -233,12 +208,12 @@ msgstr "Ergebnisse"
|
|
|
233
208
|
#: components/Blocks/Search/components/SearchDetails
|
|
234
209
|
# defaultMessage: Searched for
|
|
235
210
|
msgid "Searched for"
|
|
236
|
-
msgstr ""
|
|
211
|
+
msgstr "Gesucht für"
|
|
237
212
|
|
|
238
213
|
#: components/Logo/Logo
|
|
239
214
|
# defaultMessage: Site
|
|
240
215
|
msgid "Site"
|
|
241
|
-
msgstr ""
|
|
216
|
+
msgstr "Seite"
|
|
242
217
|
|
|
243
218
|
#: components/Header/Header
|
|
244
219
|
#: index
|
|
@@ -249,12 +224,7 @@ msgstr "Übersicht"
|
|
|
249
224
|
#: components/Blocks/Search/TopSideFacets
|
|
250
225
|
# defaultMessage: Sorting
|
|
251
226
|
msgid "Sorting"
|
|
252
|
-
msgstr ""
|
|
253
|
-
|
|
254
|
-
#: components/Blocks/Slider/DefaultBody
|
|
255
|
-
# defaultMessage: Source
|
|
256
|
-
msgid "Source"
|
|
257
|
-
msgstr "Quelle"
|
|
227
|
+
msgstr "Sortierung"
|
|
258
228
|
|
|
259
229
|
#: components/Theme/EventView
|
|
260
230
|
# defaultMessage: Start
|
|
@@ -279,12 +249,12 @@ msgstr "Bild hochladen"
|
|
|
279
249
|
#: components/Theme/EventView
|
|
280
250
|
# defaultMessage: Website
|
|
281
251
|
msgid "Website"
|
|
282
|
-
msgstr ""
|
|
252
|
+
msgstr "Webseite"
|
|
283
253
|
|
|
284
254
|
#: components/Widgets/AlignWidget
|
|
285
255
|
# defaultMessage: Wide
|
|
286
256
|
msgid "Wide"
|
|
287
|
-
msgstr ""
|
|
257
|
+
msgstr "Breit"
|
|
288
258
|
|
|
289
259
|
#: components/Blocks/Image/ImageSidebar
|
|
290
260
|
# defaultMessage: Clear image
|
|
@@ -301,11 +271,6 @@ msgstr ""
|
|
|
301
271
|
msgid "loading"
|
|
302
272
|
msgstr "laden"
|
|
303
273
|
|
|
304
|
-
#: components/Blocks/Slider/DefaultBody
|
|
305
|
-
# defaultMessage: More info
|
|
306
|
-
msgid "moreInfo"
|
|
307
|
-
msgstr "mehr Information"
|
|
308
|
-
|
|
309
274
|
#: components/Blocks/Listing/ListingBody
|
|
310
275
|
# defaultMessage: of
|
|
311
276
|
msgid "of"
|
|
@@ -31,11 +31,6 @@ msgstr ""
|
|
|
31
31
|
msgid "Browse the site, drop an image, or type an URL"
|
|
32
32
|
msgstr ""
|
|
33
33
|
|
|
34
|
-
#: components/Blocks/Slider/schema
|
|
35
|
-
# defaultMessage: Button text
|
|
36
|
-
msgid "Button text"
|
|
37
|
-
msgstr ""
|
|
38
|
-
|
|
39
34
|
#: components/Widgets/AlignWidget
|
|
40
35
|
# defaultMessage: Center
|
|
41
36
|
msgid "Center"
|
|
@@ -51,11 +46,6 @@ msgstr ""
|
|
|
51
46
|
msgid "Contact"
|
|
52
47
|
msgstr ""
|
|
53
48
|
|
|
54
|
-
#: components/Blocks/Slider/DefaultBody
|
|
55
|
-
# defaultMessage: Continue reading
|
|
56
|
-
msgid "Continue reading"
|
|
57
|
-
msgstr ""
|
|
58
|
-
|
|
59
49
|
#: components/Footer/Footer
|
|
60
50
|
# defaultMessage: Copyright
|
|
61
51
|
msgid "Copyright"
|
|
@@ -76,11 +66,6 @@ msgstr ""
|
|
|
76
66
|
msgid "End"
|
|
77
67
|
msgstr ""
|
|
78
68
|
|
|
79
|
-
#: components/Blocks/Slider/schema
|
|
80
|
-
# defaultMessage: Flag align
|
|
81
|
-
msgid "Flag align"
|
|
82
|
-
msgstr ""
|
|
83
|
-
|
|
84
69
|
#: components/Widgets/AlignWidget
|
|
85
70
|
# defaultMessage: Full
|
|
86
71
|
msgid "Full"
|
|
@@ -91,11 +76,6 @@ msgstr ""
|
|
|
91
76
|
msgid "GNU GPL license"
|
|
92
77
|
msgstr ""
|
|
93
78
|
|
|
94
|
-
#: components/Blocks/Slider/schema
|
|
95
|
-
# defaultMessage: Hide Button
|
|
96
|
-
msgid "Hide Button"
|
|
97
|
-
msgstr ""
|
|
98
|
-
|
|
99
79
|
#: components/Breadcrumbs/Breadcrumbs
|
|
100
80
|
# defaultMessage: Home
|
|
101
81
|
msgid "Home"
|
|
@@ -156,11 +136,6 @@ msgstr ""
|
|
|
156
136
|
msgid "Phone"
|
|
157
137
|
msgstr ""
|
|
158
138
|
|
|
159
|
-
#: components/Blocks/Slider/DefaultBody
|
|
160
|
-
# defaultMessage: Please choose an existing content as source for this element
|
|
161
|
-
msgid "Please choose an existing content as source for this element"
|
|
162
|
-
msgstr ""
|
|
163
|
-
|
|
164
139
|
#: components/Footer/Footer
|
|
165
140
|
# defaultMessage: Plone Foundation
|
|
166
141
|
msgid "Plone Foundation"
|
|
@@ -245,11 +220,6 @@ msgstr ""
|
|
|
245
220
|
msgid "Sorting"
|
|
246
221
|
msgstr ""
|
|
247
222
|
|
|
248
|
-
#: components/Blocks/Slider/DefaultBody
|
|
249
|
-
# defaultMessage: Source
|
|
250
|
-
msgid "Source"
|
|
251
|
-
msgstr ""
|
|
252
|
-
|
|
253
223
|
#: components/Theme/EventView
|
|
254
224
|
# defaultMessage: Start
|
|
255
225
|
msgid "Start"
|
|
@@ -295,11 +265,6 @@ msgstr ""
|
|
|
295
265
|
msgid "loading"
|
|
296
266
|
msgstr ""
|
|
297
267
|
|
|
298
|
-
#: components/Blocks/Slider/DefaultBody
|
|
299
|
-
# defaultMessage: More info
|
|
300
|
-
msgid "moreInfo"
|
|
301
|
-
msgstr ""
|
|
302
|
-
|
|
303
268
|
#: components/Blocks/Listing/ListingBody
|
|
304
269
|
# defaultMessage: of
|
|
305
270
|
msgid "of"
|
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: 2023-08-
|
|
4
|
+
"POT-Creation-Date: 2023-08-08T18:05:10.206Z\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"
|
|
@@ -33,11 +33,6 @@ msgstr ""
|
|
|
33
33
|
msgid "Browse the site, drop an image, or type an URL"
|
|
34
34
|
msgstr ""
|
|
35
35
|
|
|
36
|
-
#: components/Blocks/Slider/schema
|
|
37
|
-
# defaultMessage: Button text
|
|
38
|
-
msgid "Button text"
|
|
39
|
-
msgstr ""
|
|
40
|
-
|
|
41
36
|
#: components/Widgets/AlignWidget
|
|
42
37
|
# defaultMessage: Center
|
|
43
38
|
msgid "Center"
|
|
@@ -53,11 +48,6 @@ msgstr ""
|
|
|
53
48
|
msgid "Contact"
|
|
54
49
|
msgstr ""
|
|
55
50
|
|
|
56
|
-
#: components/Blocks/Slider/DefaultBody
|
|
57
|
-
# defaultMessage: Continue reading
|
|
58
|
-
msgid "Continue reading"
|
|
59
|
-
msgstr ""
|
|
60
|
-
|
|
61
51
|
#: components/Footer/Footer
|
|
62
52
|
# defaultMessage: Copyright
|
|
63
53
|
msgid "Copyright"
|
|
@@ -78,11 +68,6 @@ msgstr ""
|
|
|
78
68
|
msgid "End"
|
|
79
69
|
msgstr ""
|
|
80
70
|
|
|
81
|
-
#: components/Blocks/Slider/schema
|
|
82
|
-
# defaultMessage: Flag align
|
|
83
|
-
msgid "Flag align"
|
|
84
|
-
msgstr ""
|
|
85
|
-
|
|
86
71
|
#: components/Widgets/AlignWidget
|
|
87
72
|
# defaultMessage: Full
|
|
88
73
|
msgid "Full"
|
|
@@ -93,11 +78,6 @@ msgstr ""
|
|
|
93
78
|
msgid "GNU GPL license"
|
|
94
79
|
msgstr ""
|
|
95
80
|
|
|
96
|
-
#: components/Blocks/Slider/schema
|
|
97
|
-
# defaultMessage: Hide Button
|
|
98
|
-
msgid "Hide Button"
|
|
99
|
-
msgstr ""
|
|
100
|
-
|
|
101
81
|
#: components/Breadcrumbs/Breadcrumbs
|
|
102
82
|
# defaultMessage: Home
|
|
103
83
|
msgid "Home"
|
|
@@ -158,11 +138,6 @@ msgstr ""
|
|
|
158
138
|
msgid "Phone"
|
|
159
139
|
msgstr ""
|
|
160
140
|
|
|
161
|
-
#: components/Blocks/Slider/DefaultBody
|
|
162
|
-
# defaultMessage: Please choose an existing content as source for this element
|
|
163
|
-
msgid "Please choose an existing content as source for this element"
|
|
164
|
-
msgstr ""
|
|
165
|
-
|
|
166
141
|
#: components/Footer/Footer
|
|
167
142
|
# defaultMessage: Plone Foundation
|
|
168
143
|
msgid "Plone Foundation"
|
|
@@ -247,11 +222,6 @@ msgstr ""
|
|
|
247
222
|
msgid "Sorting"
|
|
248
223
|
msgstr ""
|
|
249
224
|
|
|
250
|
-
#: components/Blocks/Slider/DefaultBody
|
|
251
|
-
# defaultMessage: Source
|
|
252
|
-
msgid "Source"
|
|
253
|
-
msgstr ""
|
|
254
|
-
|
|
255
225
|
#: components/Theme/EventView
|
|
256
226
|
# defaultMessage: Start
|
|
257
227
|
msgid "Start"
|
|
@@ -297,11 +267,6 @@ msgstr ""
|
|
|
297
267
|
msgid "loading"
|
|
298
268
|
msgstr ""
|
|
299
269
|
|
|
300
|
-
#: components/Blocks/Slider/DefaultBody
|
|
301
|
-
# defaultMessage: More info
|
|
302
|
-
msgid "moreInfo"
|
|
303
|
-
msgstr ""
|
|
304
|
-
|
|
305
270
|
#: components/Blocks/Listing/ListingBody
|
|
306
271
|
# defaultMessage: of
|
|
307
272
|
msgid "of"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitconcept/volto-light-theme",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.15",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@kitconcept/volto-dsgvo-banner": "^1.3.0",
|
|
67
67
|
"@kitconcept/volto-heading-block": "^2.2.0",
|
|
68
68
|
"@kitconcept/volto-introduction-block": "^1.0.0",
|
|
69
|
-
"@kitconcept/volto-separator-block": "^
|
|
69
|
+
"@kitconcept/volto-separator-block": "^4.0.0",
|
|
70
70
|
"@kitconcept/volto-slider-block": "^4.2.0",
|
|
71
|
-
"@plone/volto": "^17.0.0-alpha.
|
|
71
|
+
"@plone/volto": "^17.0.0-alpha.24"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -81,35 +81,37 @@ const TopSideFacets = (props) => {
|
|
|
81
81
|
total={totalItems}
|
|
82
82
|
as="h5"
|
|
83
83
|
/>
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
84
|
+
{data.sortOnOptions && data.sortOnOptions.length > 0 && (
|
|
85
|
+
<div className="sort-on-wrapper">
|
|
86
|
+
<span className="sort-label">
|
|
87
|
+
{intl.formatMessage(messages.sort)}
|
|
88
|
+
</span>
|
|
89
|
+
<SortOn
|
|
90
|
+
data={data}
|
|
91
|
+
querystring={querystring}
|
|
92
|
+
isEditMode={isEditMode}
|
|
93
|
+
sortOn={sortOn}
|
|
94
|
+
sortOrder={sortOrder}
|
|
95
|
+
setSortOn={(sortOn) => {
|
|
96
|
+
flushSync(() => {
|
|
97
|
+
setSortOn(sortOn);
|
|
98
|
+
onTriggerSearch(searchedText || '', facets, sortOn);
|
|
99
|
+
});
|
|
100
|
+
}}
|
|
101
|
+
setSortOrder={(sortOrder) => {
|
|
102
|
+
flushSync(() => {
|
|
103
|
+
setSortOrder(sortOrder);
|
|
104
|
+
onTriggerSearch(
|
|
105
|
+
searchedText || '',
|
|
106
|
+
facets,
|
|
107
|
+
sortOn,
|
|
108
|
+
sortOrder,
|
|
109
|
+
);
|
|
110
|
+
});
|
|
111
|
+
}}
|
|
112
|
+
/>
|
|
113
|
+
</div>
|
|
114
|
+
)}
|
|
113
115
|
</div>
|
|
114
116
|
</div>
|
|
115
117
|
)}
|
package/src/index.js
CHANGED
|
@@ -20,6 +20,8 @@ import { ImageBlockDataAdapter } from './components/Blocks/Image/adapter';
|
|
|
20
20
|
|
|
21
21
|
import { AccordionSchemaEnhancer } from './components/Blocks/Accordion/schema';
|
|
22
22
|
|
|
23
|
+
import { searchBlockSchemaEnhancer } from './components/Blocks/Search/schema';
|
|
24
|
+
|
|
23
25
|
import gridSVG from './icons/block_icn_grid.svg';
|
|
24
26
|
import accordionSVG from './icons/block_icn_accordion.svg';
|
|
25
27
|
import EventView from './components/Theme/EventView';
|
|
@@ -264,14 +266,18 @@ const applyConfig = (config) => {
|
|
|
264
266
|
schemaEnhancer: defaultStylingSchema,
|
|
265
267
|
};
|
|
266
268
|
|
|
267
|
-
config.blocks.blocksConfig.search
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
269
|
+
config.blocks.blocksConfig.search = {
|
|
270
|
+
...config.blocks.blocksConfig.search,
|
|
271
|
+
schemaEnhancer: searchBlockSchemaEnhancer,
|
|
272
|
+
variations: [
|
|
273
|
+
{
|
|
274
|
+
id: 'facetsTopSide',
|
|
275
|
+
title: 'Facets on top',
|
|
276
|
+
view: TopSideFacets,
|
|
277
|
+
isDefault: true,
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
};
|
|
275
281
|
|
|
276
282
|
config.blocks.blocksConfig.__button = {
|
|
277
283
|
...config.blocks.blocksConfig.__button,
|
|
@@ -296,7 +302,9 @@ const applyConfig = (config) => {
|
|
|
296
302
|
// TOC Block
|
|
297
303
|
config.blocks.blocksConfig.toc = {
|
|
298
304
|
...config.blocks.blocksConfig.toc,
|
|
299
|
-
schemaEnhancer: tocBlockSchemaEnhancer,
|
|
305
|
+
schemaEnhancer: composeSchema(tocBlockSchemaEnhancer, defaultStylingSchema),
|
|
306
|
+
// remove horizontal variation
|
|
307
|
+
variations: [config.blocks.blocksConfig.toc.variations[0]],
|
|
300
308
|
};
|
|
301
309
|
|
|
302
310
|
return config;
|
package/src/theme/_content.scss
CHANGED
|
@@ -117,6 +117,9 @@
|
|
|
117
117
|
|
|
118
118
|
.event-button {
|
|
119
119
|
padding-top: 50px;
|
|
120
|
+
a:after {
|
|
121
|
+
display: none !important;
|
|
122
|
+
}
|
|
120
123
|
.button.event-btn {
|
|
121
124
|
padding: 8px 20px;
|
|
122
125
|
border: 1px solid #000;
|
|
@@ -233,3 +236,8 @@
|
|
|
233
236
|
white-space: nowrap;
|
|
234
237
|
}
|
|
235
238
|
}
|
|
239
|
+
|
|
240
|
+
// hide some fields from edit & add forms
|
|
241
|
+
.field-wrapper-changeNote {
|
|
242
|
+
display: none;
|
|
243
|
+
}
|
package/src/theme/_layout.scss
CHANGED
|
@@ -266,12 +266,14 @@ footer {
|
|
|
266
266
|
.block.heading .heading-wrapper,
|
|
267
267
|
.block-editor-listing .items,
|
|
268
268
|
.block-editor-listing .listing.message,
|
|
269
|
+
.block-editor-search .listing-item,
|
|
270
|
+
.block-editor-search .search-input-resultscount-sort,
|
|
269
271
|
.block-editor-separator.has--align--full .block.separator,
|
|
270
272
|
.block-editor-separator .block.separator.has--align--full,
|
|
271
273
|
.block.teaser.has--align--center,
|
|
272
274
|
.block-editor-teaser .teaser-item.default,
|
|
273
275
|
.block-editor-slateTable .block.table,
|
|
274
|
-
.block-editor-toc {
|
|
276
|
+
.block-editor-toc .table-of-contents {
|
|
275
277
|
@include default-container-width();
|
|
276
278
|
@include adjustMarginsToEditContainer($default-container-width);
|
|
277
279
|
}
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
.card-container > img {
|
|
7
7
|
width: 100% !important;
|
|
8
8
|
}
|
|
9
|
+
|
|
10
|
+
.listing-item:last-child {
|
|
11
|
+
padding-bottom: 0;
|
|
12
|
+
border-bottom: none;
|
|
13
|
+
}
|
|
9
14
|
}
|
|
10
15
|
.items {
|
|
11
16
|
padding: 0 !important;
|
|
@@ -23,6 +28,10 @@
|
|
|
23
28
|
color: $black;
|
|
24
29
|
@include text-heading-h2();
|
|
25
30
|
}
|
|
31
|
+
&:last-child {
|
|
32
|
+
padding-bottom: 40px;
|
|
33
|
+
border-bottom: 1px solid $black;
|
|
34
|
+
}
|
|
26
35
|
|
|
27
36
|
&:not(.grid) {
|
|
28
37
|
img {
|
|
@@ -240,3 +249,13 @@
|
|
|
240
249
|
}
|
|
241
250
|
}
|
|
242
251
|
}
|
|
252
|
+
|
|
253
|
+
// Hidden fields
|
|
254
|
+
.inline.field {
|
|
255
|
+
&.field-wrapper-showSearchInput,
|
|
256
|
+
&.field-wrapper-showSearchButton,
|
|
257
|
+
&.field-wrapper-showTotalResults,
|
|
258
|
+
&.field-wrapper-showSortOn {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
}
|