Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1561 commits
Select commit Hold shift + click to select a range
d75faca
Improve setup profiles for demo and acceptance (#522)
sneridagh Apr 4, 2025
1c5b857
Several adjustments - Site flag, help in fields (#524)
sneridagh Apr 9, 2025
c6def86
Fixes and adaptation for VLT 6
sneridagh Apr 15, 2025
aa83385
Add some docs
sneridagh Apr 15, 2025
026c594
Changelog
sneridagh Apr 15, 2025
c119c93
add classnames and better lock
sneridagh Apr 15, 2025
00c8b80
Add Block Style Wrapper
sneridagh Apr 15, 2025
acbb313
Enhance color mapping documentation
sneridagh Apr 22, 2025
e3e6ed5
Minor typo fix in message (#526)
danalvrz Apr 22, 2025
221fdb0
Fix ObjectList widget when data doesn't have a value yet (#528)
davisagli Apr 28, 2025
c8051cc
Enhanced footer (#525)
sneridagh Apr 29, 2025
2a0d4c8
Release 6.0.0a22
sneridagh Apr 29, 2025
beb4d4b
Update to VLT 6a22
sneridagh Apr 30, 2025
df7ac2f
Merge pull request #29 from kitconcept/block-logos-improvements
sneridagh Apr 30, 2025
57597ec
Release 3.0.0-alpha.0
sneridagh Apr 30, 2025
d0e3593
#49-new setup (#50)
Tishasoumya-02 Apr 30, 2025
efc2eb0
Several fixes and footer adjustments (#529)
sneridagh Apr 30, 2025
268ce58
Release 6.0.0a23
sneridagh Apr 30, 2025
a6229c0
Initial commit
sneridagh Apr 30, 2025
63141d4
First working version
sneridagh May 1, 2025
a853966
Fix docs
sneridagh May 1, 2025
e2fc925
Fix tests
sneridagh May 1, 2025
2dfd9b3
Release 1.0.0-alpha.0
sneridagh May 1, 2025
f4793ac
Rename `kitconcept.distributions.footer` to `kitconcept.footer` (#530)
sneridagh May 5, 2025
2bcd8b5
Update compatibility table
sneridagh May 5, 2025
03ab953
Added sticky_menu (#523)
sneridagh May 6, 2025
f3a5014
Use --image-aspect-ratio for all images (#533)
danalvrz May 6, 2025
a46d2b2
Do not show stickymenu in mobile and in edit (#534)
sneridagh May 6, 2025
edd93c7
Release 6.0.0a24
sneridagh May 6, 2025
1840826
Add dependencies (#1)
ericof May 7, 2025
a156337
Fix changelog template
ericof May 7, 2025
c941b61
Fixed props for Summary component in Teaser view (#536)
sneridagh May 8, 2025
1d5c51c
Add --image-aspect-ratio docs & make Slider use it (#535)
danalvrz May 8, 2025
21de512
Use @plone/volto version 18.19.0
ericof May 9, 2025
ec587e5
Release 1.0.0a1
ericof May 9, 2025
971d680
Fix image filename
davisagli May 11, 2025
99c7030
Backend fixes (#7)
ericof May 12, 2025
5e7fd0c
Rename package (Fixes #5) (#8)
ericof May 13, 2025
4ff587c
Release 1.0.0a2
ericof May 13, 2025
2c07d0f
Backend: Upgrade plone.volto to version 5.1.0
ericof May 13, 2025
d4db69d
Color handling improvents for Footer, event metadata & page-document …
danalvrz May 14, 2025
2115973
Integration with the intranet header customization in control panel (…
sneridagh May 14, 2025
02b1343
Release 6.0.0a25
sneridagh May 14, 2025
7a0510c
Release 6.0.0
sneridagh May 14, 2025
236d05e
Fix footer backgroundcolor (#547)
sneridagh May 15, 2025
ba98064
Release 6.0.1
sneridagh May 15, 2025
9c149c5
Small adjustments and upgrade to VLT 6 final (#9)
sneridagh May 15, 2025
fbcaea4
Update vlt to version 6.0.1 (#10)
ericof May 15, 2025
dfe1788
Release 1.0.0a3
ericof May 15, 2025
49cc4b2
Card primitive and storybook: Card, Summary, Teaser and Grid (#537)
sneridagh May 16, 2025
545c451
Release 7.0.0-alpha.0
sneridagh May 16, 2025
f987b92
Added named export in the root of the package.
sneridagh May 16, 2025
9215e30
Release 1.0.0-alpha.1
sneridagh May 16, 2025
b83e170
Fix card placeholder condition (#548)
sneridagh May 16, 2025
4c99ae6
Release 7.0.0-alpha.1
sneridagh May 16, 2025
c995e39
refactor carousel block (#7)
jnptk May 16, 2025
5bee803
Release 2.0.0-alpha.0
sneridagh May 16, 2025
d4f491c
Update to latest Volto and VLT
sneridagh May 16, 2025
9e694d6
typo
sneridagh May 16, 2025
1162b51
Merge pull request #30 from kitconcept/updatelatestvolto
sneridagh May 16, 2025
b746dbb
Update README.md
sneridagh May 16, 2025
9aa76e9
Release 2.4.1
sneridagh May 16, 2025
3e51992
Update versions, update README
sneridagh May 16, 2025
b532375
Remove precommit
sneridagh May 16, 2025
599b478
Fix migration tool exception access without a site hook being set (Fi…
ericof May 16, 2025
cf821c3
Release 1.0.0a4
ericof May 16, 2025
756a363
Update readme (#25)
sneridagh May 16, 2025
6796cfa
Added the logos block and the carousel (#550)
sneridagh May 17, 2025
d1760d6
Fix release script
sneridagh May 19, 2025
71dc034
Release 4.0.0-alpha.0
sneridagh May 19, 2025
9aa6e9c
Udpate to use volto-button-block 4a0 (#553)
sneridagh May 19, 2025
967c7f2
Release 7.0.0-alpha.2
sneridagh May 19, 2025
3571801
Add configurable colophon (#554)
sneridagh May 19, 2025
6fcab35
Added c.person as dependency, move all k.intranet here
sneridagh May 19, 2025
9f67a29
Changelog
sneridagh May 19, 2025
32af472
Added dependency
sneridagh May 19, 2025
9931742
Update README.md (#8)
jnptk May 19, 2025
24645d3
Added all behaviors for `Person`
sneridagh May 20, 2025
019376e
Added the `contact_phone` `contact_email` `contact_room` and `contact…
sneridagh May 20, 2025
c34e894
Improve Footer color handling (#551)
danalvrz May 20, 2025
3854c41
Release 7.0.0-alpha.3
sneridagh May 20, 2025
3c71b47
Added some of Volto's acceptance tests (#540)
sneridagh May 21, 2025
130de11
Avoid GHA warnings about possibly invalid image name
davisagli May 21, 2025
2fe77a7
Release 7.0.0a4
sneridagh May 22, 2025
5bf2f70
Update to Volto 18.22.0 and VLT6.2.0
sneridagh May 22, 2025
46b726d
Fix format
sneridagh May 22, 2025
73af8e1
Added tests for Person. Complete missing behaviors: versioning, locki…
sneridagh May 22, 2025
7377283
Added repositorytool.xml for adding versioning support
sneridagh May 23, 2025
196b199
Added only metadata column to catalog for person fields
sneridagh May 23, 2025
3416538
Added upgrade step
sneridagh May 23, 2025
08c1516
Improve upgrade of kitconcept.core
ericof May 23, 2025
a8b81fa
Customize UpgradeControlPanel to use our VersionOverview component
ericof May 23, 2025
69d7fb2
Simplify upgrade steps
ericof May 23, 2025
bdedddb
Lint codebase
ericof May 23, 2025
9c55dea
Merge pull request #13 from kitconcept/addedc.person
sneridagh May 23, 2025
b903476
Merge pull request #14 from kitconcept/updateV18.22.0VLT6.2.0
sneridagh May 23, 2025
47e5336
Release 1.0.0a5
ericof May 23, 2025
8368842
Add string interpolation {searchTerm} in the custom searchURL in intr…
sneridagh May 24, 2025
c619354
Add catalan translation (#41)
rboixaderg Jun 3, 2025
c65da12
Person Teaser adjustments, storybook story, shadow Body component of …
sneridagh Jun 4, 2025
15219f6
Release 2.4.0
sneridagh Jun 4, 2025
ff9318f
Release 7.0.0a5
sneridagh Jun 4, 2025
d792494
Update README.md
jnptk Jun 4, 2025
473e62b
Update volto-social-media to latest (#565)
sneridagh Jun 4, 2025
9d164d0
Release 7.0.0a6
sneridagh Jun 4, 2025
c4bba4a
Use VLT 7.0.0a6 in core (#15)
sneridagh Jun 4, 2025
b9a9810
Update kitconcept.voltolighttheme
ericof Jun 4, 2025
8126d06
Update pt_BR translations (#566)
ericof Jun 4, 2025
fa24155
Release 7.0.0a7
ericof Jun 4, 2025
1be542b
Fixed summaries on Events and News Items (#567)
sneridagh Jun 5, 2025
1c6407b
Improve Acceptance tests (#569)
sneridagh Jun 5, 2025
e0701a0
Fixes teaser type in block data, compatible with BM3 and VLT last cha…
sneridagh Jun 5, 2025
f14962f
fix items to show not working (#9)
jnptk Jun 5, 2025
60b7edf
Release 2.0.0-alpha.1
sneridagh Jun 5, 2025
85f54de
better tests checking the position of the behavior
sneridagh Jun 5, 2025
086a42b
Improve pagination styles (#558)
danalvrz Jun 5, 2025
394015d
Update to latest carousel (#570)
sneridagh Jun 6, 2025
304efa6
Improve test of behavior order
sneridagh Jun 6, 2025
67f23f3
Add navtitle everywhere too
sneridagh Jun 6, 2025
9f37ced
Plone site missing
sneridagh Jun 6, 2025
97afb4a
Release 7.0.0a8
sneridagh Jun 6, 2025
e2b1c26
Changelog
sneridagh Jun 6, 2025
a466259
Merge pull request #17 from kitconcept/vlt7a8
sneridagh Jun 6, 2025
6fe6e27
Format
sneridagh Jun 6, 2025
201d014
Merge pull request #16 from kitconcept/bettertests
sneridagh Jun 6, 2025
ccf94ba
Release 1.0.0a6
sneridagh Jun 6, 2025
8672063
Fixed person teasers (#573)
sneridagh Jun 9, 2025
35c5ad6
Fix aspect ratio for images in file teaser block (#571)
iRohitSingh Jun 9, 2025
77f436d
Release 7.0.0a9
sneridagh Jun 9, 2025
9944b93
Update to VLT 7a9 and better tests
sneridagh Jun 9, 2025
a53c298
Changelog
sneridagh Jun 9, 2025
d612824
Merge pull request #19 from kitconcept/updatelatestvltbettertests
sneridagh Jun 9, 2025
c3b7730
Release 1.0.0a7
sneridagh Jun 9, 2025
fbe2157
Fixteasertop (#574)
sneridagh Jun 10, 2025
1e377aa
Release 7.0.0a10
sneridagh Jun 10, 2025
933af6d
Update to VLT7a10
sneridagh Jun 10, 2025
67d425b
Merge pull request #20 from kitconcept/vlt7a10
sneridagh Jun 10, 2025
89f727a
Release 1.0.0a8
sneridagh Jun 10, 2025
89559bc
Added new Visual Regression Tests for Storybook (#576)
sneridagh Jun 11, 2025
22b3880
Do not show sticky menu in add form. (#578)
sneridagh Jun 11, 2025
d9b774d
Fix sticky menu position for small screens (#579)
sneridagh Jun 11, 2025
078ff21
Fix aspect ratio for images in file Grid teaser block and Add example…
iRohitSingh Jun 11, 2025
0efee26
Bring back Barceloneta Theme to ClassicUI (#21)
sneridagh Jun 12, 2025
9c07c53
Vitest and upgrade volto (#580)
sneridagh Jun 12, 2025
1b1b92f
Fix release changelog
sneridagh Jun 12, 2025
30cb4d3
Release 7.0.0a11
sneridagh Jun 12, 2025
fe654d3
Update VLT 7a11 and Volto 18.23.0
sneridagh Jun 12, 2025
d9e494e
Merge pull request #22 from kitconcept/update18.23
sneridagh Jun 13, 2025
ffbf0b8
Release 1.0.0a9
sneridagh Jun 13, 2025
5a4e656
Reintroduce an improved Anontools using portal_actions. (#581)
sneridagh Jun 16, 2025
0f67add
Fix sticky menu precedence in z-index with the fat menu (#582)
sneridagh Jun 16, 2025
d9b2598
Set initial focus when the block gets created or edited (#23)
tomschall Jun 16, 2025
f00a5e9
Update a bit infrastructure, remove Storybook
sneridagh Jun 16, 2025
8e88f8b
Release 2.4.2
sneridagh Jun 16, 2025
3b18497
remove banner block from dependencies since its already in VLT
jnptk Jun 17, 2025
6d4691e
add carousel and logos block
jnptk Jun 17, 2025
89a22ee
news
jnptk Jun 17, 2025
bff3ab4
news again
jnptk Jun 17, 2025
7c5e29b
news again again
jnptk Jun 17, 2025
2b07df2
whyyy don't you work
jnptk Jun 17, 2025
d9ef3f6
pls work now
jnptk Jun 17, 2025
a6c15fb
Fixed CSS for Persons in search Block (#584)
sneridagh Jun 17, 2025
4ae4f90
Morevisualregressioninvestigations (#585)
sneridagh Jun 18, 2025
cf19a13
Changelog
sneridagh Jun 18, 2025
0b826df
Release 7.0.0a12
sneridagh Jun 18, 2025
336066f
Fix changelog.
sneridagh Jun 18, 2025
148c33a
Merge pull request #23 from kitconcept/update-addons
sneridagh Jun 18, 2025
88fbb54
Update to VLT7a12
sneridagh Jun 18, 2025
34f962f
Merge pull request #24 from kitconcept/updatevlt7a12
sneridagh Jun 18, 2025
39e9cdf
Release 1.0.0a10
sneridagh Jun 18, 2025
c8a8304
Fixpersonteaserselectionfirsttime (#586)
sneridagh Jun 18, 2025
02123a3
Update to vlt 7a13
sneridagh Jun 18, 2025
9ea1cf1
Merge pull request #25 from kitconcept/vlt7a13
sneridagh Jun 18, 2025
d914df2
Changelog
sneridagh Jun 18, 2025
923dfa2
Release 1.0.0a11
sneridagh Jun 18, 2025
aec753f
Show dates for news item on mobile & show kicker before dates (#589)
danalvrz Jun 24, 2025
4014d98
Adjust margins for narrow center image (#587)
danalvrz Jun 24, 2025
b18dc2d
Fix sticky menu background color problems (#594)
iRohitSingh Jul 8, 2025
13fcb1d
Calendar block for event content type. (#588)
iFlameing Jul 8, 2025
c6b0234
Merge branch 'kitconcept:main' into main
macagua Jul 9, 2025
1e4827a
Moved es locale and new file into the packages/volto-logos-block/ dir…
macagua Jul 10, 2025
2a58ea0
Add new strings to translate #24
macagua Jul 10, 2025
1a28454
Updated Spanish translation #24
macagua Jul 10, 2025
2ffcdc2
Add Spanish translation #16
macagua Jul 10, 2025
fc54417
Updated the 16.feature file #16
macagua Jul 10, 2025
6cb73ef
Added main footer logo inversed version. (#600)
sneridagh Jul 10, 2025
73d5a84
Add acceptance test for grid block(Image and listing ones) (#599)
iFlameing Jul 10, 2025
71cec90
Release 7.0.0a14
sneridagh Jul 10, 2025
cadd2e2
Update to VLT7a14
sneridagh Jul 10, 2025
cc928e7
Merge pull request #27 from kitconcept/vlt7a14
sneridagh Jul 10, 2025
0b9630a
Release 1.0.0a12
sneridagh Jul 10, 2025
eff9a9c
Rename fields in the `kitconcept.footer` behavior (#603)
sneridagh Jul 14, 2025
e0ae9b0
New setup (#42)
Tishasoumya-02 Jul 15, 2025
bf06a80
Changelog
sneridagh Jul 15, 2025
4ef4dfc
Changelog
sneridagh Jul 15, 2025
bd79a77
Release 2.5.0
sneridagh Jul 15, 2025
64aad30
Fixed the use case where the sticky menu item is allowed to not have …
sneridagh Jul 16, 2025
10a4597
Add docs for cypress (#605)
iFlameing Jul 16, 2025
1c317e8
Revert "Add docs for cypress" (#607)
sneridagh Jul 16, 2025
1a3a552
Block Model 3 structural changes as opt-in in VLT6 (#532)
sneridagh Jul 17, 2025
d766ae3
Spanish translations (#598)
macagua Jul 17, 2025
78a1842
Move es locales to the right place
sneridagh Jul 17, 2025
7399910
Update Spanish translation #11 (#12)
macagua Jul 17, 2025
bc7ac33
Merge pull request #25 from plone-ve/main
sneridagh Jul 17, 2025
cd2b3e7
Remove barrel import (#51)
iRohitSingh Jul 17, 2025
bf32946
Simplify text color handling (#14)
danalvrz Jul 17, 2025
833ff46
Merge pull request #17 from plone-ve/main
sneridagh Jul 17, 2025
6fe261d
Move all listing template to use Card component (#601)
iFlameing Jul 17, 2025
e8239c3
Release 7.0.0a15
sneridagh Jul 17, 2025
e21ddee
Amend footer logo field literals. Update VLT 7a15. @sneridagh
sneridagh Jul 17, 2025
1d35170
Merge pull request #28 from kitconcept/updatevlt7a15
sneridagh Jul 17, 2025
9ff4a98
Release 1.0.0a13
sneridagh Jul 17, 2025
2dad2b4
Makefile helper
sneridagh Jul 17, 2025
e88c999
Fixes to Makefile
sneridagh Jul 17, 2025
1272726
Fixes to Makefile 2
sneridagh Jul 17, 2025
b249102
Fixes to Makefile 3
sneridagh Jul 17, 2025
81fb12d
Fixes to Makefile 4
sneridagh Jul 17, 2025
e90b207
Fixes to Makefile 5
sneridagh Jul 17, 2025
c8db236
Merge volto-button-block
sneridagh Jul 17, 2025
01dcb22
Merge volto-dsgvo-banner
sneridagh Jul 17, 2025
c08756d
Fixes to Makefile 6
sneridagh Jul 17, 2025
d311864
Merge volto-heading-block
sneridagh Jul 17, 2025
35493d9
Merge volto-highlight-block
sneridagh Jul 17, 2025
48632e7
Merge volto-introduction-block
sneridagh Jul 17, 2025
26b4fe7
Fixes to Makefile 7
sneridagh Jul 17, 2025
04ee879
Merge volto-separator-block
sneridagh Jul 17, 2025
f960b50
Merge volto-slider-block
sneridagh Jul 17, 2025
f60bb94
Merge volto-banner-block
sneridagh Jul 17, 2025
1e3530a
Merge volto-logos-block
sneridagh Jul 17, 2025
b63030c
Merge volto-carousel-block
sneridagh Jul 17, 2025
e883fa8
Merge volto-bm3-compat
sneridagh Jul 17, 2025
81b1001
Merge branch 'volto-button-block-merge' into merge-addons
sneridagh Jul 17, 2025
edb4d15
Merge branch 'volto-dsgvo-banner-merge' into merge-addons
sneridagh Jul 17, 2025
c7a95a1
Merge branch 'volto-heading-block-merge' into merge-addons
sneridagh Jul 17, 2025
bf98824
Merge branch 'volto-highlight-block-merge' into merge-addons
sneridagh Jul 17, 2025
b841bd6
Merge branch 'volto-introduction-block-merge' into merge-addons
sneridagh Jul 17, 2025
66b2fd1
Merge branch 'volto-separator-block-merge' into merge-addons
sneridagh Jul 17, 2025
45ccfb6
Merge branch 'volto-slider-block-merge' into merge-addons
sneridagh Jul 17, 2025
c9d3eb3
Merge branch 'volto-banner-block-merge' into merge-addons
sneridagh Jul 17, 2025
e5892a0
Merge branch 'volto-logos-block-merge' into merge-addons
sneridagh Jul 17, 2025
b8dd45d
Merge branch 'volto-carousel-block-merge' into merge-addons
sneridagh Jul 17, 2025
aebecab
Merge branch 'volto-bm3-compat-merge' into merge-addons
sneridagh Jul 17, 2025
3ddc105
Merge volto-light-theme
sneridagh Jul 17, 2025
8f9544e
Merge branch 'volto-light-theme-merge' into merge-addons
sneridagh Jul 17, 2025
722d520
PoC merging VLT and all add-ons with history into core
sneridagh Jul 17, 2025
1bbe494
Fix and enhance linting in addons
sneridagh Jul 18, 2025
b6d35d8
Fix tests
sneridagh Jul 18, 2025
a3b3334
Fix tests
sneridagh Jul 18, 2025
2add808
Merge branch 'main' into merge-addons
sneridagh Jul 18, 2025
a416bd3
Enhance README
sneridagh Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,15 @@ i18n: ## Update locales

.PHONY: test
test: backend-test frontend-test ## Test codebase

.PHONY: integrate-addon
integrate-addon: ## Integrates a repo that already as a git remote to this
git remote add $(ADDON) [email protected]:kitconcept/$(ADDON).git || true
git fetch $(ADDON)
git branch --list $(ADDON)-merge | grep -q $(ADDON)-merge && \
git switch $(ADDON)-merge || \
git switch -c $(ADDON)-merge
git reset --hard $(ADDON)/main
mkdir -p frontend/packages/$(ADDON)
git mv -k .github/ frontend/packages/$(ADDON)/
git ls-tree --name-only HEAD | xargs -I{} git mv -k "{}" frontend/packages/$(ADDON)/
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@

Core setup for kitconcept GmbH distributions built on top of Plone

It is composed of the following packages:

- Volto Light Theme ([@kitconcept/volto-light-theme](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-light-theme))
- Button Block ([@kitconcept/volto-button-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-button-block))
- Highlight Block ([@kitconcept/volto-highlight-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-highlight-block))
- Introduction Block ([@kitconcept/volto-introduction-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-introduction-block))
- Logos Block ([@kitconcept/volto-logos-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-logos-block))
- Separator Block ([@kitconcept/volto-separator-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-separator-block))
- Heading Block ([@kitconcept/volto-heading-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-heading-block))
- Banner Block ([@kitconcept/volto-banner-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-banner-block))
- Slider Block ([@kitconcept/volto-slider-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-slider-block))
- Carousel Block ([@kitconcept/volto-carousel-block](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-carousel-block))
- Accordion Block ([@eeacms/volto-accordion-block](https://www.npmjs.com/package/@eeacms/volto-accordion-block))
- DSGVO Banner ([@kitconcept/volto-dsgvo-banner](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-dsgvo-banner))
- Volto BM3 Compatibility Layer ([@kitconcept/volto-bm3-compat](https://github.com/kitconcept/kitconcept-core/tree/main/frontend/packages/volto-bm3-compat))

You will find them in the `frontend/packages` directory.
They are all built on the top of VLT (Volto Light Theme) but they can be used independently if you load the corresponding CSS in the way that VLT does.
They are all released independently on npm.
`@kitconcept/core` is a package that is the aggregator and the glue for all these packages.
It is released on npm as well, and you can use it in your projects to install all the packages at once.

## Quick Start 🏁

### Prerequisites ✅
Expand Down
26 changes: 25 additions & 1 deletion frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,27 @@ module.exports = {
extends: `${coreLocation}/packages/volto/.eslintrc`,
rules: {
'import/no-unresolved': 1,
'import/named': 'error',
'react/jsx-filename-extension': [1, { extensions: ['.tsx', '.jsx'] }],
'no-restricted-imports': [
'error',
{
name: '@plone/volto/components',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
{
name: '@plone/volto/helpers',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
{
name: '@plone/volto/actions',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
],
'react/jsx-key': [2, { checkFragmentShorthand: true }],
},
settings: {
'import/resolver': {
Expand All @@ -28,7 +49,10 @@ module.exports = {
['@plone/volto', `${coreLocation}/packages/volto/src`],
['@plone/volto-slate', `${coreLocation}/packages/volto-slate/src`],
['@plone/registry', `${coreLocation}/packages/registry/src`],
['core', './packages/kitconcept-core/src'],
[
'@kitconcept/core',
`${projectRootPath}/packages/kitconcept-core/src`,
],
...addonAliases,
],
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
Expand Down
4 changes: 2 additions & 2 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ test: ## Run unit tests
.PHONY: ci-test
ci-test: ## Run unit tests in CI
# Unit Tests need the i18n to be built
VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto i18n
CI=1 RAZZLE_JEST_CONFIG=$(CURRENT_DIR)/jest-addon.config.js pnpm --filter @plone/volto test -- --passWithNoTests
pnpm --filter @kitconcept/core i18n && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto i18n
CI=1 pnpm --filter @kitconcept/volto-light-theme --filter @kitconcept/volto-bm3-compat exec vitest

.PHONY: backend-docker-start
backend-docker-start: ## Starts a Docker-based backend for development
Expand Down
17 changes: 14 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"start:prod": "pnpm --filter @plone/volto start:prod",
"build": "VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build",
"build:deps": "pnpm --filter @plone/registry --filter @plone/components build",
"i18n": "pnpm --filter core i18n && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto i18n",
"test": "RAZZLE_JEST_CONFIG=$(pwd)/jest-addon.config.js pnpm --filter @plone/volto test -- --passWithNoTests",
"i18n": "pnpm --filter @kitconcept/core i18n && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto i18n",
"test": "pnpm --filter @kitconcept/volto-light-theme --filter @kitconcept/volto-bm3-compat exec vitest",
"lint": "VOLTOCONFIG=$(pwd)/volto.config.js eslint --max-warnings=0 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "VOLTOCONFIG=$(pwd)/volto.config.js eslint --fix 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"prettier": "prettier --check 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
Expand All @@ -43,7 +43,18 @@
"pnpm": {
"overrides": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"react-refresh": "^0.14.2"
"react-refresh": "^0.14.2",
"@kitconcept/volto-light-theme": "workspace:*",
"@kitconcept/volto-button-block": "workspace:*",
"@kitconcept/volto-dsgvo-banner": "workspace:*",
"@kitconcept/volto-heading-block": "workspace:*",
"@kitconcept/volto-highlight-block": "workspace:*",
"@kitconcept/volto-introduction-block": "workspace:*",
"@kitconcept/volto-separator-block": "workspace:*",
"@kitconcept/volto-banner-block": "workspace:*",
"@kitconcept/volto-logos-block": "workspace:*",
"@kitconcept/volto-carousel-block": "workspace:*",
"@kitconcept/volto-bm3-compat": "workspace:*"
}
},
"packageManager": "[email protected]"
Expand Down
23 changes: 19 additions & 4 deletions frontend/packages/kitconcept-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,23 @@
"@kitconcept/volto-light-theme"
],
"dependencies": {
"@plone/components": "workspace:*",
"@eeacms/volto-accordion-block": "^10.4.6",
"@kitconcept/volto-banner-block": "workspace:*",
"@kitconcept/volto-bm3-compat": "workspace:*",
"@kitconcept/volto-button-block": "workspace:*",
"@kitconcept/volto-carousel-block": "workspace:*",
"@kitconcept/volto-dsgvo-banner": "workspace:*",
"@kitconcept/volto-heading-block": "workspace:*",
"@kitconcept/volto-highlight-block": "workspace:*",
"@kitconcept/volto-introduction-block": "workspace:*",
"@kitconcept/volto-light-theme": "workspace:*",
"@kitconcept/volto-logos-block": "workspace:*",
"@kitconcept/volto-separator-block": "workspace:*",
"@kitconcept/volto-slider-block": "workspace:*",
"@mbarde/volto-image-crop-widget": "^0.5.1",
"@plone-collective/volto-authomatic": "3.0.0-alpha.3",
"@kitconcept/volto-light-theme": "7.0.0-alpha.15",
"@mbarde/volto-image-crop-widget": "^0.5.1"
"@plone/components": "workspace:*",
"@plonegovbr/volto-social-media": "^2.0.0-alpha.6"
},
"peerDependencies": {
"react": "18.2.0",
Expand All @@ -57,6 +70,8 @@
"@plone/types": "workspace:*",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"release-it": "^18.1.2"
"@testing-library/react": "^16.2.0",
"release-it": "^18.1.2",
"vitest": "^3.2.4"
}
}
2 changes: 1 addition & 1 deletion frontend/packages/kitconcept-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jsx": "react-jsx",
"paths": {
"@plone/volto/*": ["../../core/packages/volto/src/*"],
"core/*": ["./src/*"]
"@kitconcept/core/*": ["./src/*"]
}
},
"include": ["**/*.ts", "**/*.tsx"],
Expand Down
13 changes: 13 additions & 0 deletions frontend/packages/kitconcept-core/vitest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { defineConfig } from 'vitest/config';
import voltoVitestConfig from '@plone/volto/vitest.config.mjs';
import path from 'path';

export default defineConfig({
...voltoVitestConfig,
resolve: {
alias: {
'@plone/volto': path.resolve(__dirname, '../../core/packages/volto/src'), // Add paths accordingly
// 'promise-file-reader': require.resolve('promise-file-reader') // Add to identify dependency from package
},
},
});
62 changes: 62 additions & 0 deletions frontend/packages/volto-banner-block/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
const fs = require('fs');
const projectRootPath = __dirname;
const { AddonRegistry } = require('@plone/registry/addon-registry');

let coreLocation;
if (fs.existsSync(`${projectRootPath}/core`))
coreLocation = `${projectRootPath}/core`;
else if (fs.existsSync(`${projectRootPath}/../../core`))
coreLocation = `${projectRootPath}/../../core`;

const { registry } = AddonRegistry.init(`${coreLocation}/packages/volto`);

// Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
const addonAliases = Object.keys(registry.packages).map((o) => [
o,
registry.packages[o].modulePath,
]);

module.exports = {
extends: `${coreLocation}/packages/volto/.eslintrc`,
rules: {
'import/no-unresolved': 1,
'import/named': 'error',
'react/jsx-filename-extension': [1, { extensions: ['.tsx', '.jsx'] }],
'no-restricted-imports': [
'error',
{
name: '@plone/volto/components',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
{
name: '@plone/volto/helpers',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
{
name: '@plone/volto/actions',
message:
'Importing from barrel files is not allowed. Please use direct imports of the modules instead.',
},
],
'react/jsx-key': [2, { checkFragmentShorthand: true }],
},
settings: {
'import/resolver': {
alias: {
map: [
['@plone/volto', `${coreLocation}/packages/volto/src`],
['@plone/volto-slate', `${coreLocation}/packages/volto-slate/src`],
['@plone/registry', `${coreLocation}/packages/registry/src`],
[
'@kitconcept/volto-banner-block',
`${projectRootPath}/packages/volto-banner-block/src`,
],
...addonAliases,
],
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
},
},
},
};
102 changes: 102 additions & 0 deletions frontend/packages/volto-banner-block/.github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Acceptance tests
on:
push:
paths:
- "*.js"
- "*.json"
- "*.yaml"
- "cypress/**"
- "packages/**"
- ".github/workflows/acceptance.yml"

env:
NODE_VERSION: 22.x
CYPRESS_RETRIES: 2

jobs:

acceptance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Enable corepack
run: npm i -g corepack@latest && corepack enable

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Cache Cypress Binary
id: cache-cypress-binary
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: binary-${{ env.NODE_VERSION }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install dependencies
run: make install

- name: Install Cypress if not in cache
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
working-directory: core/packages/volto
run: make cypress-install

- uses: JarvusInnovations/background-action@v1
name: Start Servers
with:
run: |
make ci-acceptance-backend-start &
make acceptance-frontend-prod-start &
# your step-level and job-level environment variables are available to your commands as-is
# npm install will count towards the wait-for timeout
# whenever possible, move unrelated scripts to a different step
# to background multiple processes: add & to the end of the command

wait-on: |
http-get://localhost:55001/plone
http://localhost:3000
# IMPORTANT: to use environment variables in wait-on, you must use this form: ${{ env.VAR }}
# See wait-on section below for all resource types and prefixes

tail: true # true = stderr,stdout
# This will allow you to monitor the progress live

log-output-resume: stderr
# Eliminates previosuly output stderr log entries from post-run output

wait-for: 10m

log-output: stderr,stdout # same as true

log-output-if: failure

- run: make ci-acceptance-test

# Upload Cypress screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-acceptance
path: acceptance/cypress/screenshots

# Upload Cypress videos
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-acceptance
path: acceptance/cypress/videos
Loading
Loading