@kitconcept/volto-light-theme 8.0.0-alpha.22 → 8.0.0-alpha.24
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 -6
- package/CHANGELOG.md +13 -0
- package/package.json +4 -4
- package/src/theme/_header.scss +4 -1
- package/vitest.config.mjs +28 -7
package/.changelog.draft
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
## 8.0.0-alpha.
|
|
1
|
+
## 8.0.0-alpha.24 (2026-04-30)
|
|
2
2
|
|
|
3
3
|
### Bugfix
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
### Documentation
|
|
8
|
-
|
|
9
|
-
- Updated docs on how to release the packages. @sneridagh [#842](https://github.com/kitconcept/volto-light-theme/pull/842)
|
|
5
|
+
- Remove the padding added by header-wrapper for search-wrapper and center ther search. @Tishasoumya-02 [#846](https://github.com/kitconcept/volto-light-theme/pull/846)
|
|
10
6
|
|
|
11
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 8.0.0-alpha.24 (2026-04-30)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Remove the padding added by header-wrapper for search-wrapper and center ther search. @Tishasoumya-02 [#846](https://github.com/kitconcept/volto-light-theme/pull/846)
|
|
16
|
+
|
|
17
|
+
## 8.0.0-alpha.23 (2026-04-29)
|
|
18
|
+
|
|
19
|
+
### Breaking
|
|
20
|
+
|
|
21
|
+
- Upgrade to Volto 19a31.
|
|
22
|
+
Forces `react-aria-components` from the catalog in Volto so projects using it have to be updated to at least this Volto version. @sneridagh
|
|
23
|
+
|
|
11
24
|
## 8.0.0-alpha.22 (2026-04-29)
|
|
12
25
|
|
|
13
26
|
### Bugfix
|
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.24",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"release-it": "^19.0.3",
|
|
48
48
|
"typescript": "^5.7.3",
|
|
49
49
|
"vitest": "^3.1.2",
|
|
50
|
-
"@plone/types": "2.0.0-alpha.
|
|
50
|
+
"@plone/types": "2.0.0-alpha.17"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@dnd-kit/core": "6.0.8",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"embla-carousel-autoplay": "^8.0.0",
|
|
57
57
|
"embla-carousel-react": "^8.0.0",
|
|
58
58
|
"react-animate-height": "^3.2.3",
|
|
59
|
-
"react-aria-components": "^1.
|
|
59
|
+
"react-aria-components": "^1.17.0",
|
|
60
60
|
"react-colorful": "^5.6.1",
|
|
61
61
|
"uuid": "^11.0.0",
|
|
62
|
-
"@plone/components": "^4.0.0-alpha.
|
|
62
|
+
"@plone/components": "^4.0.0-alpha.7",
|
|
63
63
|
"@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
package/src/theme/_header.scss
CHANGED
|
@@ -158,6 +158,10 @@
|
|
|
158
158
|
height 600ms ease-in-out;
|
|
159
159
|
transition-property: top, height;
|
|
160
160
|
|
|
161
|
+
@media only screen and (max-width: ($large-monitor-width + 36px)) {
|
|
162
|
+
left: -1em;
|
|
163
|
+
width: calc(100% + 2em);
|
|
164
|
+
}
|
|
161
165
|
&.active {
|
|
162
166
|
top: 0;
|
|
163
167
|
height: 188px;
|
|
@@ -184,7 +188,6 @@
|
|
|
184
188
|
padding-bottom: 0.5rem;
|
|
185
189
|
border-bottom: 2px solid $black;
|
|
186
190
|
border-left: none;
|
|
187
|
-
margin-left: 12.6rem;
|
|
188
191
|
|
|
189
192
|
@media only screen and (max-width: $tablet-breakpoint) {
|
|
190
193
|
padding-top: 2rem;
|
package/vitest.config.mjs
CHANGED
|
@@ -1,21 +1,42 @@
|
|
|
1
1
|
import { defineConfig } from 'vitest/config';
|
|
2
2
|
import voltoVitestConfig from '@plone/volto/vitest.config.mjs';
|
|
3
3
|
import path from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
+
const __dirname = path.dirname(__filename);
|
|
8
|
+
|
|
9
|
+
const localAliases = {
|
|
10
|
+
// Alias for absolute imports within this addon
|
|
11
|
+
'@kitconcept/volto-light-theme': path.resolve(__dirname, './src'),
|
|
12
|
+
'@kitconcept/volto-light-theme/': path.resolve(__dirname, './src/'),
|
|
13
|
+
'semantic-ui-react': path.resolve(
|
|
14
|
+
__dirname,
|
|
15
|
+
'./src/__mocks__/semantic-ui-react.ts',
|
|
16
|
+
),
|
|
17
|
+
};
|
|
4
18
|
|
|
5
19
|
export default defineConfig({
|
|
6
20
|
...voltoVitestConfig,
|
|
7
21
|
resolve: {
|
|
8
22
|
alias: {
|
|
9
23
|
...voltoVitestConfig.resolve.alias,
|
|
10
|
-
|
|
11
|
-
'@kitconcept/volto-light-theme': path.resolve(__dirname, './src'),
|
|
12
|
-
'@kitconcept/volto-light-theme/': path.resolve(__dirname, './src/'),
|
|
13
|
-
'semantic-ui-react': path.resolve(
|
|
14
|
-
__dirname,
|
|
15
|
-
'./src/__mocks__/semantic-ui-react.ts',
|
|
16
|
-
),
|
|
24
|
+
...localAliases,
|
|
17
25
|
},
|
|
18
26
|
},
|
|
27
|
+
test: {
|
|
28
|
+
...voltoVitestConfig.test,
|
|
29
|
+
projects: voltoVitestConfig.test.projects.map((project) => ({
|
|
30
|
+
...project,
|
|
31
|
+
resolve: {
|
|
32
|
+
...project.resolve,
|
|
33
|
+
alias: {
|
|
34
|
+
...project.resolve?.alias,
|
|
35
|
+
...localAliases,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
})),
|
|
39
|
+
},
|
|
19
40
|
server: {
|
|
20
41
|
fs: {
|
|
21
42
|
allow: [
|