@eeacms/volto-eea-design-system 1.32.4 → 1.33.1

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 CHANGED
@@ -4,6 +4,27 @@ 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.33.1](https://github.com/eea/volto-eea-design-system/compare/1.33.0...1.33.1) - 19 September 2024
8
+
9
+ #### :house: Internal changes
10
+
11
+ - chore: Fix what's new link on top to open in the same window [alin - [`2e91336`](https://github.com/eea/volto-eea-design-system/commit/2e913366b629e908a27bebe6c6cb58d7ca7aa099)]
12
+ - chore: Cleanup What's new section in docusaurus [alin - [`3e72176`](https://github.com/eea/volto-eea-design-system/commit/3e721768edf8c3ba55c6d6aea4ed04d5323472f5)]
13
+ - chore: Add redmine links in whatsnew [valentinab25 - [`d1ef895`](https://github.com/eea/volto-eea-design-system/commit/d1ef895a2717259914ccc3667959d0398e716348)]
14
+
15
+ ### [1.33.0](https://github.com/eea/volto-eea-design-system/compare/1.32.4...1.33.0) - 13 September 2024
16
+
17
+ #### :bug: Bug Fixes
18
+
19
+ - fix: Update Footer.stories.js to fix the storybook - refs #265857 [dobri1408 - [`b72d24f`](https://github.com/eea/volto-eea-design-system/commit/b72d24f5e053b76e5eb7bd4457de51d71888f160)]
20
+
21
+ #### :house: Documentation changes
22
+
23
+ - docs: Update docusaurus to show the new footer - refs 265857 [dobri1408 - [`182a661`](https://github.com/eea/volto-eea-design-system/commit/182a661e239221bbf6990a7d33074623ac58f698)]
24
+
25
+ #### :hammer_and_wrench: Others
26
+
27
+ - test: use nodejs18 to run jobs [valentinab25 - [`779511c`](https://github.com/eea/volto-eea-design-system/commit/779511cdbf4e9a031ed3dc58ef13f3cf68372273)]
7
28
  ### [1.32.4](https://github.com/eea/volto-eea-design-system/compare/1.32.3...1.32.4) - 29 August 2024
8
29
 
9
30
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.32.4",
3
+ "version": "1.33.1",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -12,6 +12,8 @@ import Industry from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets
12
12
  import Marine from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/marine.svg';
13
13
  import Eionet from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eionet.svg';
14
14
  import EEA from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eea-logo-white.svg';
15
+ import configureStore from 'redux-mock-store';
16
+ import { Provider } from 'react-redux';
15
17
 
16
18
  export default {
17
19
  title: 'Layout/Footer',
@@ -19,14 +21,24 @@ export default {
19
21
  argTypes: {},
20
22
  };
21
23
 
24
+ const mockStore = configureStore();
25
+ const store = mockStore({
26
+ intl: {
27
+ locale: 'en',
28
+ messages: {},
29
+ },
30
+ });
31
+
22
32
  const Template = (args) => (
23
- <Footer>
24
- <Footer.SubFooter {...args} />
25
- <Footer.Header>{args.header}</Footer.Header>
26
- <Footer.SitesButton {...args} />
27
- <Footer.Social {...args} />
28
- <Footer.Actions actions={args.actions} copyright={args.copyright} />
29
- </Footer>
33
+ <Provider store={store}>
34
+ <Footer>
35
+ <Footer.SubFooter {...args} />
36
+ <Footer.Header>{args.header}</Footer.Header>
37
+ <Footer.SitesButton {...args} />
38
+ <Footer.Social {...args} />
39
+ <Footer.Actions actions={args.actions} copyright={args.copyright} />
40
+ </Footer>
41
+ </Provider>
30
42
  );
31
43
 
32
44
  export const Default = Template.bind({});
package/templates/eea.hbs CHANGED
@@ -2,33 +2,7 @@
2
2
  title: What's new
3
3
  ---
4
4
 
5
- ### EEA Design System (1.0)
6
-
7
- #### Components ready to be used
8
-
9
- The following components are ready to be used as Volto `blocks`, `slate` integration, or via the advanced `block styler`:
10
- - Accordion `block`
11
- - Call to Action `block`
12
- - Callout - part of the Description `block`, `slate`
13
- - Card - part of the Teaser `block` and Listing `block`, it includes several variations like round card e.g., used for Avatar
14
- - Divider `block`
15
- - Headings `slate`
16
- - Hero `block`
17
- - Item `block` - used for text with an icon (remixicon or custom SVG/image) on the left/right
18
- - List `slate` - ordered and unordered
19
- - Quote `block`
20
- - Statistic `block`
21
- - Tag `block`
22
- - Table `block`
23
- - Tabs `block`
24
- - Timeline `block`
25
-
26
- #### Future releases
27
-
28
- Below is a non-exhaustive list of the work-in-progress which is planned for future releases:
29
- - Navigation Portlet (used on the left/right hand of content)
30
- - Spacing/padding system. We want to add the ability for editors to consistently apply various spacing/padding on certain components in order to allow a better alignment when components are used together.
31
- - Improve docusaurus and storybook with more components, controls, and variations in order to better reflect what is possible in Volto.
5
+ ### EEA Design System
32
6
 
33
7
  {{#unless options.hideCredit}}
34
8
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
@@ -35,6 +35,13 @@ ul.ui.list li:before {
35
35
  font-size: @bulletSize;
36
36
  }
37
37
 
38
+ /* Ordered list */
39
+
40
+ ol.ui.list,
41
+ .ui.ordered.list {
42
+ padding-left: @orderedDistance;
43
+ }
44
+
38
45
  // Third layer margin fix
39
46
  .ui.ordered.list .list .list > .item:before,
40
47
  .ui.ordered.list .list .list > li:before {
@@ -111,9 +111,7 @@
111
111
  @linkListItemHoverColor: @hoveredTextColor;
112
112
  @linkListItemDownColor: @pressedTextColor;
113
113
  @linkListItemActiveColor: @selectedTextColor;
114
- @linkListTransition:
115
- @defaultDuration color @defaultEasing
116
- ;
114
+ @linkListTransition: @defaultDuration color @defaultEasing;
117
115
 
118
116
  /* Inverted Link List */
119
117
  @invertedLinkListItemColor: @invertedUnselectedTextColor;
@@ -129,8 +127,7 @@
129
127
  @selectionListTransition:
130
128
  @defaultDuration color @defaultEasing,
131
129
  @defaultDuration padding-left @defaultEasing,
132
- @defaultDuration background-color @defaultEasing
133
- ;
130
+ @defaultDuration background-color @defaultEasing;
134
131
 
135
132
  /* Selection List States */
136
133
  @selectionListBackground: transparent;
@@ -158,8 +155,7 @@
158
155
  @animatedListTransition:
159
156
  @animatedDuration color @defaultEasing @animatedDelay,
160
157
  @animatedDuration padding-left @defaultEasing @animatedDelay,
161
- @animatedDuration background-color @defaultEasing @animatedDelay
162
- ;
158
+ @animatedDuration background-color @defaultEasing @animatedDelay;
163
159
  @animatedListIndent: 1em;
164
160
 
165
161
  /* Bulleted */
@@ -181,12 +177,13 @@
181
177
 
182
178
  /* Ordered List */
183
179
  @orderedCountName: ordered;
184
- @orderedCountContent: counters(ordered, ".") " ";
180
+ @orderedCountContent: counters(ordered, '.') ' ';
185
181
  @orderedCountColor: inherit;
186
182
  @orderedCountDistance: 1.25rem;
187
183
  @orderedCountOpacity: 1;
188
184
  @orderedCountTextAlign: right;
189
185
  @orderedCountVerticalAlign: middle;
186
+ @orderedDistance: @bulletDistance;
190
187
 
191
188
  @orderedChildCountDistance: 1em;
192
189
  @orderedChildCountOffset: -2em;
@@ -232,4 +229,3 @@
232
229
  @veryRelaxedChildItemVerticalPadding: @relative4px;
233
230
  @veryRelaxedHeaderMargin: 0.5rem;
234
231
  @veryRelaxedHorizontalPadding: 1.5rem;
235
-