@eeacms/volto-eea-design-system 0.9.0 → 0.9.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 +13 -8
- package/package.json +1 -1
- package/theme/themes/eea/elements/image.overrides +3 -0
- package/theme/themes/eea/elements/loader.overrides +1 -1
- package/theme/themes/eea/extras/banner.less +1 -1
- package/theme/themes/eea/globals/site.variables +1 -1
- package/theme/themes/eea/globals/utilities.less +9 -0
- package/theme/themes/eea/modules/checkbox.variables +1 -0
- package/theme/themes/eea/views/card.overrides +7 -3
- package/theme/themes/eea/views/card.variables +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,18 @@ 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
|
-
### [0.
|
|
7
|
+
### [0.9.1](https://github.com/eea/volto-eea-design-system/compare/0.9.0...0.9.1) - 27 September 2022
|
|
8
|
+
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- change(styles): use flex-end values only instead of end to avoid babel warning [David Ichim - [`24244b2`](https://github.com/eea/volto-eea-design-system/commit/24244b22ea69b9f4dc3006597c7836f814b74cf2)]
|
|
12
|
+
- change(rounded): image size, border radius to ensure more image are turned into rounded options [David Ichim - [`51e23c1`](https://github.com/eea/volto-eea-design-system/commit/51e23c1bb38f277b2bfbad5d814925eb61d17668)]
|
|
13
|
+
- change(cards): added ability to change the text alignment using css variables [David Ichim - [`ed532ac`](https://github.com/eea/volto-eea-design-system/commit/ed532ac20c82a6933c4f12613c80ce92eec78405)]
|
|
14
|
+
|
|
15
|
+
#### :hammer_and_wrench: Others
|
|
16
|
+
|
|
17
|
+
- Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
|
|
18
|
+
### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
|
|
8
19
|
|
|
9
20
|
#### :rocket: New Features
|
|
10
21
|
|
|
@@ -64,6 +75,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
64
75
|
|
|
65
76
|
#### :hammer_and_wrench: Others
|
|
66
77
|
|
|
78
|
+
- Release 0.9.0 [Alin Voinea - [`eb7e2e5`](https://github.com/eea/volto-eea-design-system/commit/eb7e2e57b5f2778e709b67deee3624f6e9f9e716)]
|
|
67
79
|
- Update Header.stories.js [ichim-david - [`9036c74`](https://github.com/eea/volto-eea-design-system/commit/9036c74d54640df2ccfcfdea9ddcdb29787d8ae2)]
|
|
68
80
|
- Move text fragments style to site.overrides [kreafox - [`8368cbe`](https://github.com/eea/volto-eea-design-system/commit/8368cbe2cecfc296a2fc81dd0bb49cb9e9a9314c)]
|
|
69
81
|
- stylelint fix [David Ichim - [`114e3f9`](https://github.com/eea/volto-eea-design-system/commit/114e3f97c6209f100aae2d6e24c595b7ba0a6500)]
|
|
@@ -757,10 +769,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
757
769
|
#### :hammer_and_wrench: Others
|
|
758
770
|
|
|
759
771
|
- prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
|
|
760
|
-
- [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
|
|
761
|
-
- [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
|
|
762
|
-
- [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
|
|
763
|
-
- [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
|
|
764
772
|
### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
|
|
765
773
|
|
|
766
774
|
#### :rocket: New Features
|
|
@@ -1185,7 +1193,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1185
1193
|
- set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
|
|
1186
1194
|
- remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
|
|
1187
1195
|
- fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
|
|
1188
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
|
|
1189
1196
|
- fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
|
|
1190
1197
|
- removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
|
|
1191
1198
|
- update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
|
|
@@ -1272,7 +1279,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1272
1279
|
- remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
|
|
1273
1280
|
- Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
|
|
1274
1281
|
- fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
|
|
1275
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
|
|
1276
1282
|
- fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
|
|
1277
1283
|
- refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
|
|
1278
1284
|
- removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
|
|
@@ -1841,7 +1847,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1841
1847
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
|
|
1842
1848
|
- Refs #140454 updated eea-design-system readme with extra info on package contents [David Ichim - [`d2efc3d`](https://github.com/eea/volto-eea-design-system/commit/d2efc3ddae7b91efc82cf3bce8fb8e42d696a780)]
|
|
1843
1849
|
- Refs #140454 add h1 to the list of elements that are max 800px and centered [David Ichim - [`7d3c30f`](https://github.com/eea/volto-eea-design-system/commit/7d3c30f409aa4cb43810839f8960589456cc1b2e)]
|
|
1844
|
-
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
|
|
1845
1850
|
### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
|
|
1846
1851
|
|
|
1847
1852
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -39,6 +39,15 @@ h1, h2, h3, h4, h5, h6, p, span, .header {
|
|
|
39
39
|
.text-right { text-align: right !important; }
|
|
40
40
|
.bold { font-weight: bold !important; }
|
|
41
41
|
|
|
42
|
+
.align_left {
|
|
43
|
+
--text-align: left;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.align_center {
|
|
47
|
+
--text-align: center;
|
|
48
|
+
--justify-content: space-evenly;
|
|
49
|
+
}
|
|
50
|
+
|
|
42
51
|
// Text utilities
|
|
43
52
|
.bold { font-weight: @bold !important; }
|
|
44
53
|
.underline { text-decoration: underline !important; }
|
|
@@ -7,11 +7,15 @@
|
|
|
7
7
|
.ui.card > .extra {
|
|
8
8
|
font-size: @extraLinkFontSize;
|
|
9
9
|
word-break: @extraLinkWordBreak;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
justify-content: var(--text-align, @extraJustifyContent);
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
/* Cards must have same height */
|
|
13
16
|
.ui.card {
|
|
14
17
|
height: 100%;
|
|
18
|
+
text-align: var(--text-align, @cardTextAlign);
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
.ui.cards > .card:not(.rounded) > .image,
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
|
|
42
46
|
.ui.card .meta {
|
|
43
47
|
display: flex;
|
|
44
|
-
justify-content:
|
|
48
|
+
justify-content: var(--justify-content, @metaJustifyContent);
|
|
45
49
|
width: 100%;
|
|
46
50
|
}
|
|
47
51
|
|
|
@@ -259,11 +263,11 @@
|
|
|
259
263
|
margin-bottom: @roundedContentTitleMarginBottom;
|
|
260
264
|
font-size: @roundedContentTitleFontSize;
|
|
261
265
|
font-weight: @roundedContentTitleFontWeight;
|
|
262
|
-
text-align: @roundedContentTitleTextAlign;
|
|
266
|
+
//text-align: @roundedContentTitleTextAlign;
|
|
263
267
|
}
|
|
264
268
|
|
|
265
269
|
.description {
|
|
266
|
-
text-align: @roundedContentTitleTextAlign;
|
|
270
|
+
//text-align: @roundedContentTitleTextAlign;
|
|
267
271
|
font-size: @roundedMetadataFontSize;
|
|
268
272
|
font-weight: @roundedMetadataFontWeight;
|
|
269
273
|
}
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
Content
|
|
50
50
|
--------------------*/
|
|
51
51
|
|
|
52
|
+
@cardTextAlign: left;
|
|
53
|
+
|
|
52
54
|
|
|
53
55
|
/* Image */
|
|
54
56
|
@cardImageHeight: 200px;
|
|
@@ -84,6 +86,7 @@
|
|
|
84
86
|
@headerColor: @tertiaryColor;
|
|
85
87
|
|
|
86
88
|
/* Metadata */
|
|
89
|
+
@metaJustifyContent: space-between;
|
|
87
90
|
@metaFontSize: @relativeMedium;
|
|
88
91
|
@metaSpacing: 0.3em;
|
|
89
92
|
@metaColor: @tertiaryColor;
|
|
@@ -135,6 +138,7 @@
|
|
|
135
138
|
/* Additional Content */
|
|
136
139
|
@extraDivider: none;
|
|
137
140
|
@extraBackground: none;
|
|
141
|
+
@extraJustifyContent: right;
|
|
138
142
|
@extraPosition: static;
|
|
139
143
|
@extraWidth: auto;
|
|
140
144
|
@extraTop: 0em;
|
|
@@ -278,8 +282,8 @@
|
|
|
278
282
|
@roundedContentTitleFontWeight : @bold;
|
|
279
283
|
@roundedContentTitleFontSize : @font-size-3;
|
|
280
284
|
@roundedImageJustifyContent : center;
|
|
281
|
-
@roundedImageHeight :
|
|
282
|
-
@roundedImageWidth :
|
|
285
|
+
@roundedImageHeight : 176px;
|
|
286
|
+
@roundedImageWidth : 176px;
|
|
283
287
|
@roundedMetadataFontSize : @font-size-1;
|
|
284
288
|
@roundedMetadataFontWeight : @normal;
|
|
285
289
|
|