@eeacms/volto-eea-design-system 1.18.1 → 1.18.3
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.md +13 -0
- package/DEVELOP.md +6 -7
- package/README.md +33 -33
- package/package.json +1 -1
- package/theme/themes/eea/modules/accordion.overrides +10 -0
- package/theme/themes/eea/modules/accordion.variables +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.18.3](https://github.com/eea/volto-eea-design-system/compare/1.18.2...1.18.3) - 29 September 2023
|
|
8
|
+
|
|
9
|
+
#### :house: Documentation changes
|
|
10
|
+
|
|
11
|
+
- docs: Update README and DEVELOP [Alin Voinea - [`efbc670`](https://github.com/eea/volto-eea-design-system/commit/efbc67072601e42203ea6314fb65ebe16df64954)]
|
|
12
|
+
- docs: Update README and DEVELOP [Alin Voinea - [`d3b4ba8`](https://github.com/eea/volto-eea-design-system/commit/d3b4ba83a045e0fc51642b07e029c7a4f2ea8f5d)]
|
|
13
|
+
|
|
14
|
+
### [1.18.2](https://github.com/eea/volto-eea-design-system/compare/1.18.1...1.18.2) - 25 September 2023
|
|
15
|
+
|
|
16
|
+
#### :bug: Bug Fixes
|
|
17
|
+
|
|
18
|
+
- fix: Clear filters in Search Block font-size - refs #258029 [Alin Voinea - [`3cbcebb`](https://github.com/eea/volto-eea-design-system/commit/3cbcebbc8021bb4b9dc0cec38fa371eff798543a)]
|
|
19
|
+
|
|
7
20
|
### [1.18.1](https://github.com/eea/volto-eea-design-system/compare/1.18.0...1.18.1) - 7 September 2023
|
|
8
21
|
|
|
9
22
|
#### :bug: Bug Fixes
|
package/DEVELOP.md
CHANGED
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
|
|
17
17
|
1. Go to http://localhost:3000
|
|
18
18
|
|
|
19
|
-
1.
|
|
19
|
+
1. Initialize git hooks
|
|
20
20
|
|
|
21
21
|
```Bash
|
|
22
|
-
|
|
22
|
+
yarn prepare
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
1. Happy hacking!
|
|
26
|
+
|
|
25
27
|
### Or add @eeacms/volto-eea-design-system to your Volto project
|
|
26
28
|
|
|
27
29
|
Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
|
|
@@ -48,18 +50,15 @@ Before starting make sure your development environment is properly set. See [Vol
|
|
|
48
50
|
|
|
49
51
|
1. Install
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
make develop
|
|
52
54
|
yarn
|
|
53
55
|
|
|
54
56
|
1. Start backend
|
|
55
57
|
|
|
56
|
-
docker pull plone
|
|
57
|
-
docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
|
|
58
|
+
docker run --pull always -it --rm --name plone -p 8080:8080 -e SITE=Plone plone/plone-backend
|
|
58
59
|
|
|
59
60
|
...wait for backend to setup and start - `Ready to handle requests`:
|
|
60
61
|
|
|
61
|
-
docker logs -f plone
|
|
62
|
-
|
|
63
62
|
...you can also check http://localhost:8080/Plone
|
|
64
63
|
|
|
65
64
|
1. Start frontend
|
package/README.md
CHANGED
|
@@ -25,6 +25,19 @@ This package provides the following features:
|
|
|
25
25
|
2. A repository for the design system source files and mockups
|
|
26
26
|
3. A website to showcase the design system
|
|
27
27
|
|
|
28
|
+
### Try the design system website
|
|
29
|
+
|
|
30
|
+
Checkout the docs found within the [website](https://github.com/eea/volto-eea-design-system/blob/develop/website/README.md) folder
|
|
31
|
+
|
|
32
|
+
### Try the design system mockups
|
|
33
|
+
|
|
34
|
+
Checkout the docs found within the [mockups](https://github.com/eea/volto-eea-design-system/blob/develop/mockups/README.md) folder
|
|
35
|
+
|
|
36
|
+
## Docusaurus and Storybook
|
|
37
|
+
|
|
38
|
+
See [Docusaurus](https://eea.github.io/).
|
|
39
|
+
See [Storybook](https://eea.github.io/eea-storybook/).
|
|
40
|
+
|
|
28
41
|
## Getting started
|
|
29
42
|
|
|
30
43
|
### Try volto-eea-design-system with Docker
|
|
@@ -46,64 +59,51 @@ Go to http://localhost:3000
|
|
|
46
59
|
|
|
47
60
|
1. Start Volto frontend
|
|
48
61
|
|
|
49
|
-
|
|
62
|
+
* If you already have a volto project, just update `package.json`:
|
|
50
63
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
64
|
+
```JSON
|
|
65
|
+
"addons": [
|
|
66
|
+
"@eeacms/volto-eea-design-system"
|
|
67
|
+
],
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@eeacms/volto-eea-design-system": "*"
|
|
71
|
+
}
|
|
72
|
+
```
|
|
60
73
|
|
|
61
|
-
|
|
74
|
+
* If not, create one:
|
|
62
75
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
76
|
+
```
|
|
77
|
+
npm install -g yo @plone/generator-volto
|
|
78
|
+
yo @plone/volto my-volto-project --canary --addon @eeacms/volto-eea-design-system
|
|
79
|
+
cd my-volto-project
|
|
80
|
+
```
|
|
68
81
|
|
|
69
|
-
1. Install
|
|
82
|
+
1. Install new add-ons and restart Volto:
|
|
70
83
|
|
|
71
84
|
```
|
|
72
85
|
yarn
|
|
73
86
|
yarn start
|
|
74
87
|
```
|
|
75
88
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
3. Happy editing!
|
|
79
|
-
|
|
80
|
-
### Try the design system website
|
|
81
|
-
|
|
82
|
-
Checkout the docs found within the [website](https://github.com/eea/volto-eea-design-system/blob/develop/website/README.md) folder
|
|
83
|
-
|
|
84
|
-
### Try the design system mockups
|
|
89
|
+
1. Go to http://localhost:3000
|
|
85
90
|
|
|
86
|
-
|
|
91
|
+
1. Happy editing!
|
|
87
92
|
|
|
88
93
|
## Release
|
|
89
94
|
|
|
90
95
|
See [RELEASE.md](https://github.com/eea/volto-eea-design-system/blob/master/RELEASE.md).
|
|
91
96
|
|
|
92
|
-
## Docusaurus and Storybook
|
|
93
|
-
|
|
94
|
-
See [Docusaurus](https://eea.github.io/).
|
|
95
|
-
See [Storybook](https://eea.github.io/eea-storybook/).
|
|
96
|
-
|
|
97
97
|
## How to contribute
|
|
98
98
|
|
|
99
|
-
See [DEVELOP.md](https://github.com/eea/volto-eea-design-system/blob/
|
|
99
|
+
See [DEVELOP.md](https://github.com/eea/volto-eea-design-system/blob/master/DEVELOP.md).
|
|
100
100
|
|
|
101
101
|
## Copyright and license
|
|
102
102
|
|
|
103
103
|
The Initial Owner of the Original Code is European Environment Agency (EEA).
|
|
104
104
|
All Rights Reserved.
|
|
105
105
|
|
|
106
|
-
See [LICENSE.md](https://github.com/eea/volto-eea-design-system/blob/
|
|
106
|
+
See [LICENSE.md](https://github.com/eea/volto-eea-design-system/blob/master/LICENSE.md) for details.
|
|
107
107
|
|
|
108
108
|
## Funding
|
|
109
109
|
|
package/package.json
CHANGED
|
@@ -90,6 +90,16 @@
|
|
|
90
90
|
background: @contentBackground;
|
|
91
91
|
color: @contentColor;
|
|
92
92
|
}
|
|
93
|
+
|
|
94
|
+
&.filter-listing {
|
|
95
|
+
.title {
|
|
96
|
+
.icon {
|
|
97
|
+
font-size: @filterListingIconFontSize;
|
|
98
|
+
line-height: @filterListingIconLineHeight;
|
|
99
|
+
margin-left: @filterListingIconMarginLeft !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
93
103
|
}
|
|
94
104
|
|
|
95
105
|
/* All content padding are equal including last child */
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
@filterIconMargin: 0 10px;
|
|
40
40
|
@filterTextColor: @grey-4;
|
|
41
41
|
|
|
42
|
+
@filterListingIconFontSize: 1rem;
|
|
43
|
+
@filterListingIconLineHeight: 1rem;
|
|
44
|
+
@filterListingIconMarginLeft: 0.5rem;
|
|
45
|
+
|
|
42
46
|
/* Child Accordion */
|
|
43
47
|
@childAccordionMargin: 1em 0em 0em;
|
|
44
48
|
@childAccordionPadding: 0em;
|