@eeacms/volto-eea-design-system 1.0.0-alpha.3 → 1.0.0-alpha.4
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/.github/workflows/node.js.yml +1 -6
- package/CHANGELOG.md +26 -0
- package/package.json +2 -1
- package/src/ui/Card/Card.stories.jsx +3 -0
- package/theme/theme.config +0 -1
- package/theme/themes/eea/globals/site.overrides +2 -2
- package/theme/themes/eea/globals/utilities.less +6 -4
- package/theme/themes/eea/views/card.overrides +42 -138
- package/theme/themes/eea/views/card.variables +17 -28
- package/website/docs/2-whatsnew.md +30 -3
- package/mockups/EEA component library.fig +0 -0
- package/mockups/README.md +0 -1
- package/mockups/page-templates/R1 R3 templates.fig +0 -0
- package/mockups/page-templates/WISE BISE FISE.fig +0 -0
- package/mockups/page-templates/datahub/Data hub updated proposal.fig +0 -0
- package/mockups/page-templates/homepage_selected_upd1.fig +0 -0
- package/mockups/special-designs/Mega Menu.fig +0 -0
- package/mockups/special-designs/New footer.fig +0 -0
- package/mockups/special-designs/Search (Final).fig +0 -0
- package/mockups/special-designs/Side Navigation.fig +0 -0
|
@@ -6,11 +6,6 @@ name: Storybook & Docusaurus CI deployment
|
|
|
6
6
|
on:
|
|
7
7
|
push:
|
|
8
8
|
branches: [ develop ]
|
|
9
|
-
paths:
|
|
10
|
-
- src/**
|
|
11
|
-
- theme/**
|
|
12
|
-
- website/**
|
|
13
|
-
- templates/**
|
|
14
9
|
|
|
15
10
|
jobs:
|
|
16
11
|
build:
|
|
@@ -46,7 +41,7 @@ jobs:
|
|
|
46
41
|
git commit -m "Autobuild of docusaurus docs"
|
|
47
42
|
git push
|
|
48
43
|
|
|
49
|
-
- uses: convictional/trigger-workflow-and-wait@v1.
|
|
44
|
+
- uses: convictional/trigger-workflow-and-wait@v1.6.5
|
|
50
45
|
with:
|
|
51
46
|
github_token: ${{ secrets.PAT_TOKEN }}
|
|
52
47
|
owner: 'eea'
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ 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.0.0-alpha.4](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.3...1.0.0-alpha.4) - 22 November 2022
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(cards-storybook): load slick carousel css for arrow and pagination styles [David Ichim - [`1159b1b`](https://github.com/eea/volto-eea-design-system/commit/1159b1beea0d7f7e026f1f1181fea91b7ac38ffa)]
|
|
12
|
+
|
|
13
|
+
#### :nail_care: Enhancements
|
|
14
|
+
|
|
15
|
+
- change(utilities): added has text classes to the text alignment utilities [David Ichim - [`e6974c6`](https://github.com/eea/volto-eea-design-system/commit/e6974c634551fe0d19a9c9da269f5c6fbaefab7a)]
|
|
16
|
+
- change(build): upgrade action to trigger workflow and wait to latest version [David Ichim - [`c63ad3f`](https://github.com/eea/volto-eea-design-system/commit/c63ad3fdae7972bb2c722dea3d046861fa0ac086)]
|
|
17
|
+
- refactor(card): theming implementation to allow has theming classes #265 from eea/card-refactoring [ichim-david - [`24edc99`](https://github.com/eea/volto-eea-design-system/commit/24edc99d85c0c619fc763a8774a96f7208f529a5)]
|
|
18
|
+
- change(utilities): modified class name for text align using has naming [David Ichim - [`579a0cb`](https://github.com/eea/volto-eea-design-system/commit/579a0cbe0f704eb9305119fdd162f4f29c8086d5)]
|
|
19
|
+
- change(theme): ensure that only direct children of container have a default top and bottom margin [David Ichim - [`7f8b8dc`](https://github.com/eea/volto-eea-design-system/commit/7f8b8dcc72827004d366e1c531311cf8734053fc)]
|
|
20
|
+
- change(theme): add slick-carousel dependency [David Ichim - [`f2eec7d`](https://github.com/eea/volto-eea-design-system/commit/f2eec7d7233adf86b9c4f61670eb87d9754ff94c)]
|
|
21
|
+
- change(card): expect has classes on the card directly [David Ichim - [`6a9e38b`](https://github.com/eea/volto-eea-design-system/commit/6a9e38bcae0656685a99b47800d556813663d2ee)]
|
|
22
|
+
- change(cards): allow rounded, inverted and theme parameter to be set by has classes [David Ichim - [`4b4ad89`](https://github.com/eea/volto-eea-design-system/commit/4b4ad893fc5d39629b4e8d874327f31ea2e7d885)]
|
|
23
|
+
- change(cards): refactor cards theming implementation [David Ichim - [`d4e4542`](https://github.com/eea/volto-eea-design-system/commit/d4e454238d540ef306f4c1a4f8e9a94c7aa10189)]
|
|
24
|
+
|
|
25
|
+
#### :hammer_and_wrench: Others
|
|
26
|
+
|
|
27
|
+
- Release 1.0.0-alpha.4 [Alin Voinea - [`ec8938b`](https://github.com/eea/volto-eea-design-system/commit/ec8938b4847a2973c7a853896d609d2de0041019)]
|
|
28
|
+
- Exclude mockups from npm package [Alin Voinea - [`634af8e`](https://github.com/eea/volto-eea-design-system/commit/634af8e3ddabec36a18597d8d7638888269875fc)]
|
|
29
|
+
- Update eea.github.io on all commits in develop branch [Alin Voinea - [`3d0b8d7`](https://github.com/eea/volto-eea-design-system/commit/3d0b8d745138bd2e0219560c8c895ce2c56dbf04)]
|
|
30
|
+
- Trigger re-build [Alin Voinea - [`3566dd2`](https://github.com/eea/volto-eea-design-system/commit/3566dd2b4d2cd12496e05b792c85a78de550dd50)]
|
|
31
|
+
- fix rounded selector [David Ichim - [`1fa1544`](https://github.com/eea/volto-eea-design-system/commit/1fa15442f03d3f3d9ef59afa14075b061483cf3a)]
|
|
32
|
+
- Back to dev. [Alin Voinea - [`ea47f6f`](https://github.com/eea/volto-eea-design-system/commit/ea47f6f10097f23f635d98f0c5483bebf8378fc4)]
|
|
7
33
|
### [1.0.0-alpha.3](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.2...1.0.0-alpha.3) - 16 November 2022
|
|
8
34
|
|
|
9
35
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-design-system",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
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",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"@eeacms/volto-corsproxy": "*",
|
|
24
24
|
"remixicon": "2.5.0",
|
|
25
25
|
"react-slick": "^0.28.1",
|
|
26
|
+
"slick-carousel": "^1.8.1",
|
|
26
27
|
"react-countup": "^6.3.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
@@ -2,6 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { Card, Image, Grid, Container, Icon, Button } from 'semantic-ui-react';
|
|
3
3
|
import Slider from 'react-slick';
|
|
4
4
|
|
|
5
|
+
import 'slick-carousel/slick/slick.css';
|
|
6
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
7
|
+
|
|
5
8
|
const tabletBreakpoint = 835;
|
|
6
9
|
const mobileBreakpoint = 480;
|
|
7
10
|
|
package/theme/theme.config
CHANGED
|
@@ -63,8 +63,8 @@ h2, h3, h4, h5, h6 {
|
|
|
63
63
|
--layout-max-width: @wideWidth;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
// add a 1rem margin top and bottom on all styled classes
|
|
67
|
-
[class*="styled-"] {
|
|
66
|
+
// add a 1rem margin top and bottom on all direct styled classes from container
|
|
67
|
+
[class~="container"] > [class*="styled-"] {
|
|
68
68
|
margin-top: @rem-space-4;
|
|
69
69
|
margin-bottom: @rem-space-4;
|
|
70
70
|
}
|
|
@@ -34,16 +34,18 @@ h1, h2, h3, h4, h5, h6, p, span, .header {
|
|
|
34
34
|
.flex-items-center { align-items: center !important; }
|
|
35
35
|
|
|
36
36
|
// Text
|
|
37
|
-
.text-left
|
|
38
|
-
.text
|
|
37
|
+
.text-left,
|
|
38
|
+
.has--text--left { text-align: left !important; }
|
|
39
|
+
.text-center,
|
|
40
|
+
.has--text--center { text-align: center !important;}
|
|
39
41
|
.text-right { text-align: right !important; }
|
|
40
42
|
.bold { font-weight: bold !important; }
|
|
41
43
|
|
|
42
|
-
.
|
|
44
|
+
.has--text--left {
|
|
43
45
|
--text-align: left;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
.
|
|
48
|
+
.has--text--center {
|
|
47
49
|
--text-align: center;
|
|
48
50
|
--justify-content: space-evenly;
|
|
49
51
|
}
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
.ui.card {
|
|
17
17
|
height: 100%;
|
|
18
18
|
text-align: var(--text-align, @cardTextAlign);
|
|
19
|
+
background-color: var(--card-background-color, @background);
|
|
20
|
+
color: var(--card-text-color, @cardColor);
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
.card .meta .date {
|
|
@@ -28,19 +30,13 @@
|
|
|
28
30
|
height: @cardImageHeight;
|
|
29
31
|
|
|
30
32
|
img {
|
|
31
|
-
width: @imageWidth;
|
|
32
|
-
height: @imageHeight;
|
|
33
|
+
width: var(--card-image-width, @imageWidth);
|
|
34
|
+
height: var(--card-image-width, @imageHeight);
|
|
33
35
|
object-fit: @imageObjectFit;
|
|
34
36
|
object-position: @imageObjectPosition;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
|
|
38
|
-
.ui.cards > .card > i.icon,
|
|
39
|
-
.ui.cards > .card > a:not(.ui) > i.icon,
|
|
40
|
-
.ui.card > i.icon,
|
|
41
|
-
.ui.card > a:not(.ui) > i.icon {
|
|
42
|
-
color: @iconColor;
|
|
43
|
-
}
|
|
44
40
|
|
|
45
41
|
.ui.cards > .card > .content > *:not(:last-child),
|
|
46
42
|
.ui.card > .content > *:not(:last-child) {
|
|
@@ -87,151 +83,46 @@
|
|
|
87
83
|
/*******************************
|
|
88
84
|
Primary
|
|
89
85
|
*******************************/
|
|
90
|
-
|
|
91
|
-
.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ui.card.primary > .content > .header {
|
|
97
|
-
color: @primaryHeaderColor;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ui.card.primary > i.icon,
|
|
101
|
-
.ui.card.primary > a:not(.ui) > i.icon,
|
|
102
|
-
.ui.card.primary > .content a:not(.ui),
|
|
103
|
-
.ui.card.primary > .content a:not(.ui):hover,
|
|
104
|
-
.ui.card.primary > .content > .description {
|
|
105
|
-
color: @primaryDescriptionColor;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ui.card.primary > .extra.content a:not(.ui) {
|
|
109
|
-
color: @primaryExtraLinkColor;
|
|
110
|
-
|
|
111
|
-
&:hover {
|
|
112
|
-
color: @primaryExtraLinkHoverColor;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.ui.card.primary > .content > .meta,
|
|
117
|
-
.ui.card.primary > .content > .meta a:not(.ui) {
|
|
118
|
-
color: @primaryMetaColor;
|
|
86
|
+
.card.has--theme--primary,
|
|
87
|
+
.card.primary {
|
|
88
|
+
--card-background-color: @primaryCardBackground;
|
|
89
|
+
--card-text-color: @primaryCardColor;
|
|
119
90
|
}
|
|
120
|
-
|
|
121
91
|
/* Inverted */
|
|
122
|
-
.
|
|
123
|
-
.
|
|
124
|
-
color: @
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.ui.card.primary.inverted > a:not(.ui) > i.icon,
|
|
128
|
-
.ui.card.primary.inverted > .content a:not(.ui),
|
|
129
|
-
.ui.card.primary.inverted > .extra.content a:not(.ui) {
|
|
130
|
-
color: @invertedPrimaryContentColor;
|
|
131
|
-
|
|
132
|
-
&:hover {
|
|
133
|
-
color: @invertedPrimaryColorHover;
|
|
134
|
-
}
|
|
92
|
+
.card.has--theme--primary.has--inverted--true,
|
|
93
|
+
.card.primary.inverted {
|
|
94
|
+
--card-background-color: @invertedPrimaryCardBackgroundColor;
|
|
95
|
+
--card-text-color: @invertedPrimaryCardColor;
|
|
135
96
|
}
|
|
136
97
|
|
|
137
98
|
/*******************************
|
|
138
99
|
Secondary
|
|
139
100
|
*******************************/
|
|
140
|
-
|
|
141
|
-
.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.ui.card.secondary > i.icon,
|
|
147
|
-
.ui.card.secondary > a:not(.ui) > i.icon,
|
|
148
|
-
.ui.card.secondary > .content a:not(.ui),
|
|
149
|
-
.ui.card.secondary > .content a:not(.ui):hover,
|
|
150
|
-
.ui.card.secondary > .content > .header {
|
|
151
|
-
color: @secondaryHeaderColor;
|
|
101
|
+
.card.has--theme--secondary,
|
|
102
|
+
.card.secondary {
|
|
103
|
+
--card-background-color: @secondaryCardBackground;
|
|
104
|
+
--card-text-color: @secondaryCardColor;
|
|
152
105
|
}
|
|
153
|
-
|
|
154
|
-
.ui.card.secondary > .content > .description {
|
|
155
|
-
color: @secondaryDescriptionColor;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.ui.card.secondary > .extra.content a:not(.ui) {
|
|
159
|
-
color: @secondaryExtraLinkColor;
|
|
160
|
-
|
|
161
|
-
&:hover {
|
|
162
|
-
color: @secondaryExtraLinkHoverColor;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.ui.card.secondary > .content > .meta,
|
|
167
|
-
.ui.card.secondary > .content > .meta a:not(.ui) {
|
|
168
|
-
color: @secondaryMetaColor;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
106
|
/* Inverted */
|
|
172
|
-
.
|
|
173
|
-
.
|
|
174
|
-
color: @
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
.ui.card.secondary.inverted > a:not(.ui) > i.icon,
|
|
178
|
-
.ui.card.secondary.inverted > .content a:not(.ui),
|
|
179
|
-
.ui.card.secondary.inverted > .extra.content a:not(.ui) {
|
|
180
|
-
color: @invertedSecondaryContentColor;
|
|
181
|
-
|
|
182
|
-
&:hover {
|
|
183
|
-
color: @invertedSecondaryColorHover;
|
|
184
|
-
}
|
|
107
|
+
.card.has--theme--secondary.has--inverted--true,
|
|
108
|
+
.card.secondary.inverted {
|
|
109
|
+
background-color: @invertedSecondaryCardBackgroundColor;
|
|
110
|
+
color: @invertedSecondaryCardColor;
|
|
185
111
|
}
|
|
186
112
|
|
|
187
113
|
/*******************************
|
|
188
114
|
Tertiary
|
|
189
115
|
*******************************/
|
|
190
|
-
|
|
191
|
-
.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.ui.card.tertiary > i.icon,
|
|
197
|
-
.ui.card.tertiary > a:not(.ui) > i.icon,
|
|
198
|
-
.ui.card.tertiary > .content a:not(.ui),
|
|
199
|
-
.ui.card.tertiary > .content a:not(.ui):hover,
|
|
200
|
-
.ui.card.tertiary > .content > .header {
|
|
201
|
-
color: @tertiaryHeaderColor;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.ui.card.tertiary > .content > .description {
|
|
205
|
-
color: @tertiaryDescriptionColor;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.ui.card.tertiary > .extra.content a:not(.ui) {
|
|
209
|
-
color: @tertiaryExtraLinkColor;
|
|
210
|
-
|
|
211
|
-
&:hover {
|
|
212
|
-
color: @tertiaryExtraLinkHoverColor;
|
|
213
|
-
}
|
|
116
|
+
.card.has--theme--tertiary,
|
|
117
|
+
.card.tertiary {
|
|
118
|
+
--card-background-color: @tertiaryCardBackground;
|
|
119
|
+
--card-text-color: @tertiaryCardColor;
|
|
214
120
|
}
|
|
215
|
-
|
|
216
|
-
.ui.card.tertiary > .content > .meta,
|
|
217
|
-
.ui.card.tertiary > .content > .meta a:not(.ui) {
|
|
218
|
-
color: @tertiaryMetaColor;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
121
|
/* Inverted */
|
|
222
|
-
.
|
|
223
|
-
.
|
|
224
|
-
color:
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
.ui.card.tertiary.inverted > a:not(.ui) > i.icon,
|
|
228
|
-
.ui.card.tertiary.inverted > .content a:not(.ui),
|
|
229
|
-
.ui.card.tertiary.inverted > .extra.content a:not(.ui) {
|
|
230
|
-
color: @invertedTertiaryContentColor;
|
|
231
|
-
|
|
232
|
-
&:hover {
|
|
233
|
-
color: @invertedTertiaryColorHover;
|
|
234
|
-
}
|
|
122
|
+
.card.has--theme--tertiary.has--inverted--true,
|
|
123
|
+
.card.tertiary.inverted {
|
|
124
|
+
--card-background-color: @invertedTertiaryCardBackgroundColor;
|
|
125
|
+
--card-text-color: @invertedTertiaryCardColor;
|
|
235
126
|
}
|
|
236
127
|
|
|
237
128
|
/*******************************
|
|
@@ -239,11 +130,17 @@
|
|
|
239
130
|
*******************************/
|
|
240
131
|
|
|
241
132
|
.ui.cards > .ui.card.rounded > .image,
|
|
133
|
+
.ui.card.has--rounded--true > .image,
|
|
242
134
|
.ui.card.rounded > .image {
|
|
243
135
|
height: auto;
|
|
244
136
|
}
|
|
245
137
|
|
|
138
|
+
.card.has--rounded--true {
|
|
139
|
+
--card-image-width: @roundedImageWidth;
|
|
140
|
+
--card-image-height: @roundedImageHeight;
|
|
141
|
+
}
|
|
246
142
|
.ui.cards .ui.card.rounded,
|
|
143
|
+
.ui.card.has--rounded--true,
|
|
247
144
|
.ui.card.rounded {
|
|
248
145
|
padding-top: @iconCardPaddingTop;
|
|
249
146
|
border: none;
|
|
@@ -479,4 +376,11 @@
|
|
|
479
376
|
.icon {
|
|
480
377
|
margin: auto;
|
|
481
378
|
}
|
|
482
|
-
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.ui.cards > .card > i.icon,
|
|
382
|
+
.ui.cards > .card > a:not(.ui) > i.icon,
|
|
383
|
+
.ui.card > i.icon,
|
|
384
|
+
.ui.card > a:not(.ui) > i.icon {
|
|
385
|
+
color: @iconColor;
|
|
386
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--------------------*/
|
|
8
8
|
|
|
9
9
|
@cardBorder: 1px solid @midGray;
|
|
10
|
+
@cardColor: @tertiaryColor;
|
|
10
11
|
@background: @white;
|
|
11
12
|
|
|
12
13
|
/* Shadow */
|
|
@@ -84,13 +85,13 @@
|
|
|
84
85
|
@headerFontWeight: @bold;
|
|
85
86
|
@headerFontSize: 1.125rem;
|
|
86
87
|
@headerLineHeightOffset: -(@lineHeight - 1em) / 2;
|
|
87
|
-
@headerColor:
|
|
88
|
+
@headerColor: inherit;
|
|
88
89
|
|
|
89
90
|
/* Metadata */
|
|
90
91
|
@metaJustifyContent: space-between;
|
|
91
92
|
@metaFontSize: @absoluteMedium;
|
|
92
93
|
@metaSpacing: 0.3em;
|
|
93
|
-
@metaColor:
|
|
94
|
+
@metaColor: inherit;
|
|
94
95
|
|
|
95
96
|
/* Icons */
|
|
96
97
|
@iconCardPaddingTop: @rem-space-4;
|
|
@@ -105,8 +106,8 @@
|
|
|
105
106
|
@likeActiveColor: #FF2733;
|
|
106
107
|
|
|
107
108
|
/* Links */
|
|
108
|
-
@contentLinkColor:
|
|
109
|
-
@contentLinkHoverColor:
|
|
109
|
+
@contentLinkColor: inherit;
|
|
110
|
+
@contentLinkHoverColor: inherit;
|
|
110
111
|
@contentLinkFontWeight: @bold;
|
|
111
112
|
@contentLinkTransition: color @defaultDuration @defaultEasing;
|
|
112
113
|
@contentLinkTextDecoration: underline;
|
|
@@ -240,38 +241,26 @@
|
|
|
240
241
|
/*******************************
|
|
241
242
|
Primary
|
|
242
243
|
*******************************/
|
|
243
|
-
@
|
|
244
|
-
@
|
|
245
|
-
@
|
|
246
|
-
@
|
|
247
|
-
@primaryExtraLinkHoverColor: @white;
|
|
248
|
-
@primaryMetaColor: @white;
|
|
249
|
-
@invertedPrimaryContentColor: @primaryColor;
|
|
250
|
-
@invertedPrimaryColorHover: @primaryColorHover;
|
|
244
|
+
@primaryCardBackground: @primaryColor;
|
|
245
|
+
@primaryCardColor: @white;
|
|
246
|
+
@invertedPrimaryCardColor: @primaryColor;
|
|
247
|
+
@invertedPrimaryCardBackgroundColor: @white;
|
|
251
248
|
|
|
252
249
|
/*******************************
|
|
253
250
|
Secondary
|
|
254
251
|
*******************************/
|
|
255
|
-
@
|
|
256
|
-
@
|
|
257
|
-
@
|
|
258
|
-
@
|
|
259
|
-
@secondaryExtraLinkHoverColor: @white;
|
|
260
|
-
@secondaryMetaColor: @white;
|
|
261
|
-
@invertedSecondaryContentColor: @secondaryColor;
|
|
262
|
-
@invertedSecondaryColorHover: @secondaryColorHover;
|
|
252
|
+
@secondaryCardBackground: @secondaryColor;
|
|
253
|
+
@secondaryCardColor: @white;
|
|
254
|
+
@invertedSecondaryCardColor: @secondaryColor;
|
|
255
|
+
@invertedSecondaryCardBackgroundColor: @white;
|
|
263
256
|
|
|
264
257
|
/*******************************
|
|
265
258
|
Tertiary
|
|
266
259
|
*******************************/
|
|
267
|
-
@
|
|
268
|
-
@
|
|
269
|
-
@
|
|
270
|
-
@
|
|
271
|
-
@tertiaryExtraLinkHoverColor: @white;
|
|
272
|
-
@tertiaryMetaColor: @white;
|
|
273
|
-
@invertedTertiaryContentColor: @tertiaryColor;
|
|
274
|
-
@invertedTertiaryColorHover: @tertiaryColorHover;
|
|
260
|
+
@tertiaryCardBackground: @tertiaryColor;
|
|
261
|
+
@tertiaryCardColor: @white;
|
|
262
|
+
@invertedTertiaryCardColor: @tertiaryColor;
|
|
263
|
+
@invertedTertiaryCardBackgroundColor: @white;
|
|
275
264
|
|
|
276
265
|
/*******************************
|
|
277
266
|
Rounded Card
|
|
@@ -38,7 +38,34 @@ Below is a non-exhaustive list of the work-in-progress which is planned for futu
|
|
|
38
38
|
|
|
39
39
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
40
40
|
|
|
41
|
-
### [Unreleased](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.
|
|
41
|
+
### [Unreleased](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.3...HEAD) - 2022-11-22T16:23:09.522Z
|
|
42
|
+
|
|
43
|
+
#### :bug: Bug Fixes
|
|
44
|
+
|
|
45
|
+
- fix(cards-storybook): load slick carousel css for arrow and pagination styles [`1159b1b`](https://github.com/eea/volto-eea-design-system/commit/1159b1beea0d7f7e026f1f1181fea91b7ac38ffa)
|
|
46
|
+
|
|
47
|
+
#### :nail_care: Enhancements
|
|
48
|
+
|
|
49
|
+
- change(cards): refactor cards theming implementation [`d4e4542`](https://github.com/eea/volto-eea-design-system/commit/d4e454238d540ef306f4c1a4f8e9a94c7aa10189)
|
|
50
|
+
- change(cards): allow rounded, inverted and theme parameter to be set by has classes [`4b4ad89`](https://github.com/eea/volto-eea-design-system/commit/4b4ad893fc5d39629b4e8d874327f31ea2e7d885)
|
|
51
|
+
- change(card): expect has classes on the card directly [`6a9e38b`](https://github.com/eea/volto-eea-design-system/commit/6a9e38bcae0656685a99b47800d556813663d2ee)
|
|
52
|
+
- change(utilities): added has text classes to the text alignment utilities [`e6974c6`](https://github.com/eea/volto-eea-design-system/commit/e6974c634551fe0d19a9c9da269f5c6fbaefab7a)
|
|
53
|
+
- change(utilities): modified class name for text align using has naming [`579a0cb`](https://github.com/eea/volto-eea-design-system/commit/579a0cbe0f704eb9305119fdd162f4f29c8086d5)
|
|
54
|
+
- change(theme): ensure that only direct children of container have a default top and bottom margin [`7f8b8dc`](https://github.com/eea/volto-eea-design-system/commit/7f8b8dcc72827004d366e1c531311cf8734053fc)
|
|
55
|
+
- change(build): upgrade action to trigger workflow and wait to latest version [`c63ad3f`](https://github.com/eea/volto-eea-design-system/commit/c63ad3fdae7972bb2c722dea3d046861fa0ac086)
|
|
56
|
+
- refactor(card): theming implementation to allow has theming classes #265 from eea/card-refactoring [`24edc99`](https://github.com/eea/volto-eea-design-system/commit/24edc99d85c0c619fc763a8774a96f7208f529a5)
|
|
57
|
+
- change(theme): add slick-carousel dependency [`f2eec7d`](https://github.com/eea/volto-eea-design-system/commit/f2eec7d7233adf86b9c4f61670eb87d9754ff94c)
|
|
58
|
+
|
|
59
|
+
#### :hammer_and_wrench: Others
|
|
60
|
+
|
|
61
|
+
- Update eea.github.io on all commits in develop branch [`3d0b8d7`](https://github.com/eea/volto-eea-design-system/commit/3d0b8d745138bd2e0219560c8c895ce2c56dbf04)
|
|
62
|
+
- Release 1.0.0-alpha.4 [`ec8938b`](https://github.com/eea/volto-eea-design-system/commit/ec8938b4847a2973c7a853896d609d2de0041019)
|
|
63
|
+
- Exclude mockups from npm package [`634af8e`](https://github.com/eea/volto-eea-design-system/commit/634af8e3ddabec36a18597d8d7638888269875fc)
|
|
64
|
+
- fix rounded selector [`1fa1544`](https://github.com/eea/volto-eea-design-system/commit/1fa15442f03d3f3d9ef59afa14075b061483cf3a)
|
|
65
|
+
- Trigger re-build [`3566dd2`](https://github.com/eea/volto-eea-design-system/commit/3566dd2b4d2cd12496e05b792c85a78de550dd50)
|
|
66
|
+
- Back to dev. [`ea47f6f`](https://github.com/eea/volto-eea-design-system/commit/ea47f6f10097f23f635d98f0c5483bebf8378fc4)
|
|
67
|
+
|
|
68
|
+
### [1.0.0-alpha.3](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.2...1.0.0-alpha.3) - 2022-11-16
|
|
42
69
|
|
|
43
70
|
#### :rocket: New Features
|
|
44
71
|
|
|
@@ -69,9 +96,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
69
96
|
- change(containers): modified class names after layout checks [`1dc3689`](https://github.com/eea/volto-eea-design-system/commit/1dc3689509001031f0afd30422f517de5316e47a)
|
|
70
97
|
- refactor(sidemenu): add is_in_path and is_current attributes for an active example [`a3fe7fd`](https://github.com/eea/volto-eea-design-system/commit/a3fe7fd8da93db0a065d4408ce154c9d8c26b568)
|
|
71
98
|
- change(container): story to avoid adding containerwidth property to container div [`c13d83c`](https://github.com/eea/volto-eea-design-system/commit/c13d83cdbc8741bf4075cdfcd884f39f3f71d73c)
|
|
72
|
-
- change(views): moved narrow style bellow the default container width styles [`72fa58d`](https://github.com/eea/volto-eea-design-system/commit/72fa58dce9ea03a1e4f409a9f9aab21b01efbfc8)
|
|
73
99
|
- refactor(megaMenu): mobile - use buttons for menu section titles [`a7b632f`](https://github.com/eea/volto-eea-design-system/commit/a7b632fd29a8ac815d2e590509baa51f1279e659)
|
|
74
100
|
- refactor(megaMenu): update padding variables [`c5f2583`](https://github.com/eea/volto-eea-design-system/commit/c5f25838ba9ec367a58c98c929921ebf09cd8ad8)
|
|
101
|
+
- change(views): moved narrow style bellow the default container width styles [`72fa58d`](https://github.com/eea/volto-eea-design-system/commit/72fa58dce9ea03a1e4f409a9f9aab21b01efbfc8)
|
|
75
102
|
- change(listing): removed container from default view page-document area [`69f3d8f`](https://github.com/eea/volto-eea-design-system/commit/69f3d8f422e3cb95e89937929aaef48b5569bcdf)
|
|
76
103
|
- change(views): rename classes names to width_view and added app extras layout component [`745b772`](https://github.com/eea/volto-eea-design-system/commit/745b7720839754d1e248795cb1263f8c02f5f3c2)
|
|
77
104
|
- change(container): use important flag for left and right margin [`a49c83a`](https://github.com/eea/volto-eea-design-system/commit/a49c83abe9a045d28118a680558de5416a0516a3)
|
|
@@ -103,9 +130,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
103
130
|
- test(estlint): Fix .project.eslintrc.js [`aaeaa07`](https://github.com/eea/volto-eea-design-system/commit/aaeaa07b27491551daba29bbfdd7cab4a54b6bec)
|
|
104
131
|
- modified left value of full width classes with toolbars [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)
|
|
105
132
|
- Release 1.0.0-alpha.3 [`8fc86a7`](https://github.com/eea/volto-eea-design-system/commit/8fc86a7d0bf4ad06ab339b3066ff56ea61d48878)
|
|
106
|
-
- Feature(container): flexible container size #260 from eea/feature-flexible-container [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)
|
|
107
133
|
- feature(content): added NarrowView useful for modifying the containers from content-area [`d937df7`](https://github.com/eea/volto-eea-design-system/commit/d937df7c262e8d8cc6e78eebec736e28263fc657)
|
|
108
134
|
- jslint fix [`9846159`](https://github.com/eea/volto-eea-design-system/commit/98461593605344d0b6d8cba81f91d1cafc2653cd)
|
|
135
|
+
- Feature(container): flexible container size #260 from eea/feature-flexible-container [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)
|
|
109
136
|
- Add Sonarqube tag using circularity-frontend addons list [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)
|
|
110
137
|
- fix broken variable call for contentBox.variables introduced in previous commit by mistake [`d249c11`](https://github.com/eea/volto-eea-design-system/commit/d249c1160d19bedb174a2fde3fdab48d9ce297d4)
|
|
111
138
|
- clean up [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)
|
|
Binary file
|
package/mockups/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
### EEA Design mockups
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|