@kitconcept/volto-light-theme 8.0.0-alpha.19 → 8.0.0-alpha.20
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 +2 -10
- package/CHANGELOG.md +6 -0
- package/package.json +15 -15
- package/src/components/Footer/ColumnLinks.tsx +2 -2
- package/src/components/Footer/slots/CoreFooter.tsx +4 -2
- package/src/icons/block_icn_accordion.svg +0 -0
- package/src/icons/block_icn_grid.svg +0 -0
- package/src/theme/_footer.scss +36 -18
package/.changelog.draft
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
## 8.0.0-alpha.
|
|
2
|
-
|
|
3
|
-
### Breaking
|
|
4
|
-
|
|
5
|
-
- Improve Card component link handling by using a CSS stretched-link pattern & other minor style fixes for consistency. Breaking: custom `Summary` components must now accept and use the `LinkToItem` prop; category labels changed from heading tags to `<ul>` elements. See the upgrade guide for migration steps. @danalvrz
|
|
1
|
+
## 8.0.0-alpha.20 (2026-04-21)
|
|
6
2
|
|
|
7
3
|
### Bugfix
|
|
8
4
|
|
|
9
|
-
-
|
|
10
|
-
- + display footer links with an underline, remove gap between seperate lines in footer colophon text and fixed richtext-editor combinations to work together. @TimoBroeskamp
|
|
11
|
-
- Fix navigation text color not loading on hard reload. @iFlameing
|
|
12
|
-
- Fix spacings for navigation items when using the Intranet header. @danlavrz
|
|
13
|
-
- Fix styles for text in colophon. @danalvrz
|
|
5
|
+
- Allow address in Footer to take all available space based on number of links columns. @danalvrz
|
|
14
6
|
|
|
15
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 8.0.0-alpha.20 (2026-04-21)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Allow address in Footer to take all available space based on number of links columns. @danalvrz
|
|
16
|
+
|
|
11
17
|
## 8.0.0-alpha.19 (2026-04-17)
|
|
12
18
|
|
|
13
19
|
### Breaking
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitconcept/volto-light-theme",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.20",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -26,11 +26,20 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
|
|
31
|
+
"dry-release": "release-it --dry-run",
|
|
32
|
+
"release": "release-it",
|
|
33
|
+
"release-major-alpha": "release-it major --preRelease=alpha",
|
|
34
|
+
"release-alpha": "release-it --preRelease=alpha",
|
|
35
|
+
"release-rc": "release-it --preRelease=rc"
|
|
36
|
+
},
|
|
29
37
|
"addons": [
|
|
30
38
|
"@kitconcept/volto-bm3-compat"
|
|
31
39
|
],
|
|
32
40
|
"devDependencies": {
|
|
33
41
|
"@plone/scripts": "^3.6.2",
|
|
42
|
+
"@plone/types": "workspace:*",
|
|
34
43
|
"@storybook/react": "^8.6.12",
|
|
35
44
|
"@testing-library/cypress": "10.0.3",
|
|
36
45
|
"@testing-library/jest-dom": "^6.8.0",
|
|
@@ -46,21 +55,20 @@
|
|
|
46
55
|
"redux-mock-store": "1.5.4",
|
|
47
56
|
"release-it": "^19.0.3",
|
|
48
57
|
"typescript": "^5.7.3",
|
|
49
|
-
"vitest": "^3.1.2"
|
|
50
|
-
"@plone/types": "2.0.0-alpha.14"
|
|
58
|
+
"vitest": "^3.1.2"
|
|
51
59
|
},
|
|
52
60
|
"dependencies": {
|
|
53
61
|
"@dnd-kit/core": "6.0.8",
|
|
54
62
|
"@dnd-kit/sortable": "7.0.2",
|
|
55
63
|
"@dnd-kit/utilities": "3.2.2",
|
|
64
|
+
"@kitconcept/volto-bm3-compat": "workspace:^",
|
|
65
|
+
"@plone/components": "workspace:^",
|
|
56
66
|
"embla-carousel-autoplay": "^8.0.0",
|
|
57
67
|
"embla-carousel-react": "^8.0.0",
|
|
58
68
|
"react-animate-height": "^3.2.3",
|
|
59
69
|
"react-aria-components": "^1.14.0",
|
|
60
70
|
"react-colorful": "^5.6.1",
|
|
61
|
-
"uuid": "^11.0.0"
|
|
62
|
-
"@plone/components": "^4.0.0-alpha.4",
|
|
63
|
-
"@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1"
|
|
71
|
+
"uuid": "^11.0.0"
|
|
64
72
|
},
|
|
65
73
|
"peerDependencies": {
|
|
66
74
|
"classnames": "^2.5.1",
|
|
@@ -70,13 +78,5 @@
|
|
|
70
78
|
"react-intl": "^3.12.1",
|
|
71
79
|
"react-redux": "^8.1.2",
|
|
72
80
|
"react-router-dom": "^5.2.0"
|
|
73
|
-
},
|
|
74
|
-
"scripts": {
|
|
75
|
-
"i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
|
|
76
|
-
"dry-release": "release-it --dry-run",
|
|
77
|
-
"release": "release-it",
|
|
78
|
-
"release-major-alpha": "release-it major --preRelease=alpha",
|
|
79
|
-
"release-alpha": "release-it --preRelease=alpha",
|
|
80
|
-
"release-rc": "release-it --preRelease=rc"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
}
|
|
@@ -14,8 +14,8 @@ const ColumnLinks = (props: ColumnLinksProps) => {
|
|
|
14
14
|
? links.map((link) => {
|
|
15
15
|
if (isEmpty(link) || !link.href) return null;
|
|
16
16
|
|
|
17
|
-
const title = link
|
|
18
|
-
const href = flattenToAppURL(link
|
|
17
|
+
const title = link?.title || link?.href[0]?.['title'];
|
|
18
|
+
const href = flattenToAppURL(link?.href[0]?.['@id']);
|
|
19
19
|
|
|
20
20
|
if (!href) return null;
|
|
21
21
|
|
|
@@ -38,8 +38,10 @@ const CoreFooter = ({ content }: { content: Content }) => {
|
|
|
38
38
|
<Container className="default">
|
|
39
39
|
<div className="footer-grid">
|
|
40
40
|
<div className="address-column">
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
<div className="logo">
|
|
42
|
+
{/* @ts-ignore the Logo definition is different from the Volto one */}
|
|
43
|
+
<Logo isFooterLogo />
|
|
44
|
+
</div>
|
|
43
45
|
<p
|
|
44
46
|
style={{ whiteSpace: 'pre-line' }}
|
|
45
47
|
dangerouslySetInnerHTML={{
|
|
File without changes
|
|
File without changes
|
package/src/theme/_footer.scss
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--footer-foreground: var(--primary-foreground-color, #{$black});
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.container {
|
|
16
|
+
.container:not(> .container) {
|
|
17
17
|
padding: 0 1rem;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
--footer-background: var(--secondary-color, #{$white});
|
|
36
36
|
--footer-foreground: var(--secondary-foreground-color, #{$black});
|
|
37
37
|
|
|
38
|
-
padding: $spacing-xlarge 2rem;
|
|
38
|
+
padding: $spacing-xlarge 2rem 100px 2rem;
|
|
39
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
40
|
+
padding: $spacing-xlarge $spacing-small;
|
|
41
|
+
}
|
|
39
42
|
background: var(--footer-background);
|
|
40
43
|
color: var(--footer-foreground, $black);
|
|
41
44
|
|
|
@@ -94,13 +97,12 @@
|
|
|
94
97
|
|
|
95
98
|
.logo {
|
|
96
99
|
display: flex;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
max-width: 300px;
|
|
101
|
+
max-height: 90px;
|
|
102
|
+
margin-bottom: $spacing-medium;
|
|
100
103
|
a {
|
|
101
104
|
display: block;
|
|
102
|
-
max-width:
|
|
103
|
-
max-height: 80px;
|
|
105
|
+
max-width: 100%;
|
|
104
106
|
|
|
105
107
|
img {
|
|
106
108
|
max-width: 100%;
|
|
@@ -111,8 +113,10 @@
|
|
|
111
113
|
|
|
112
114
|
.footer-grid {
|
|
113
115
|
display: grid;
|
|
114
|
-
gap:
|
|
115
|
-
grid-
|
|
116
|
+
gap: $spacing-small;
|
|
117
|
+
grid-auto-columns: 1fr;
|
|
118
|
+
grid-auto-flow: column;
|
|
119
|
+
grid-template-columns: auto;
|
|
116
120
|
text-align: left;
|
|
117
121
|
|
|
118
122
|
h2 {
|
|
@@ -128,8 +132,8 @@
|
|
|
128
132
|
list-style: none;
|
|
129
133
|
|
|
130
134
|
li {
|
|
131
|
-
padding: 0 7px;
|
|
132
135
|
font-size: 18px;
|
|
136
|
+
line-height: 30px;
|
|
133
137
|
|
|
134
138
|
a {
|
|
135
139
|
text-decoration: underline;
|
|
@@ -141,34 +145,48 @@
|
|
|
141
145
|
justify-self: start;
|
|
142
146
|
@include body-text();
|
|
143
147
|
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
&:has(~ div li),
|
|
149
|
+
&:has(~ div h2) {
|
|
150
|
+
width: 380px;
|
|
151
|
+
.logo ~ * {
|
|
152
|
+
padding-right: $spacing-xlarge;
|
|
153
|
+
}
|
|
146
154
|
}
|
|
147
155
|
}
|
|
148
156
|
|
|
149
|
-
|
|
150
|
-
|
|
157
|
+
.column-left,
|
|
158
|
+
.column-middle,
|
|
159
|
+
.column-right {
|
|
160
|
+
&:has(ul:empty):not(:has(h2)) {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
151
164
|
|
|
152
|
-
|
|
165
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
166
|
+
gap: $spacing-medium;
|
|
167
|
+
grid-auto-flow: row;
|
|
168
|
+
grid-template-columns: 1fr;
|
|
153
169
|
|
|
154
170
|
.address-column {
|
|
155
171
|
display: flex;
|
|
172
|
+
width: 100% !important;
|
|
156
173
|
flex-direction: column;
|
|
157
|
-
align-items:
|
|
174
|
+
align-items: flex-start;
|
|
175
|
+
margin-bottom: $spacing-medium;
|
|
158
176
|
}
|
|
159
177
|
|
|
160
178
|
.address-column,
|
|
161
179
|
.column-left,
|
|
162
180
|
.column-middle,
|
|
163
181
|
.column-right {
|
|
164
|
-
justify-self:
|
|
182
|
+
justify-self: start;
|
|
165
183
|
}
|
|
166
184
|
}
|
|
167
185
|
}
|
|
168
186
|
}
|
|
169
187
|
|
|
170
188
|
.post-footer {
|
|
171
|
-
padding: $spacing-xlarge
|
|
189
|
+
padding: $spacing-xlarge $spacing-small;
|
|
172
190
|
background: var(--footer-background);
|
|
173
191
|
color: var(--footer-foreground, $black);
|
|
174
192
|
font-size: 18px;
|