@eeacms/volto-clms-theme 1.0.133 → 1.0.134
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,15 @@ 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.134](https://github.com/eea/volto-clms-theme/compare/1.0.133...1.0.134) - 7 October 2022
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: CLMS-1460 technical library icon [joewdavies - [`cd24b63`](https://github.com/eea/volto-clms-theme/commit/cd24b63fed4954cff46ce7232f3d7b2335b3de58)]
|
|
12
|
+
- fix: CLMS-1424 prevent cart-table from going off the page [joewdavies - [`99679af`](https://github.com/eea/volto-clms-theme/commit/99679af67e1f6f2bb5e238a56f16710b4020de10)]
|
|
13
|
+
- fix: toastify success toast colour changed to app theme (olive green) [joewdavies - [`00ef90d`](https://github.com/eea/volto-clms-theme/commit/00ef90db09c007fec942e5c496408bcbb322bdb6)]
|
|
14
|
+
- fix: email validator handling [Mikel Larreategi - [`80e4bd9`](https://github.com/eea/volto-clms-theme/commit/80e4bd914927787136b7e246c17a61bb3eea396b)]
|
|
15
|
+
|
|
7
16
|
### [1.0.133](https://github.com/eea/volto-clms-theme/compare/1.0.132...1.0.133) - 6 October 2022
|
|
8
17
|
|
|
9
18
|
#### :bug: Bug Fixes
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ const DocCard = ({ card, url, showEditor, children }) => {
|
|
|
58
58
|
<Link to={url}>{card?.title}</Link>
|
|
59
59
|
)}
|
|
60
60
|
{card?.Type === 'TechnicalLibrary' && showEditor && (
|
|
61
|
-
<Link to={`${url}/edit`}>
|
|
61
|
+
<Link to={`${url}/edit`} class="technical-library-edit-link">
|
|
62
62
|
<VoltoIcon
|
|
63
63
|
name={penSVG}
|
|
64
64
|
size="12px"
|
|
@@ -57,12 +57,11 @@ const EmailWidget = (props) => {
|
|
|
57
57
|
// email.addEventListener('input', function (e) {
|
|
58
58
|
React.useEffect(() => {
|
|
59
59
|
if (email !== '') {
|
|
60
|
-
if (validator.isEmail(email)
|
|
60
|
+
if (!validator.isEmail(email)) {
|
|
61
61
|
input.setCustomValidity(intl.formatMessage(messages.invalid_email));
|
|
62
62
|
input.reportValidity();
|
|
63
|
-
} else
|
|
64
|
-
input.setCustomValidity(
|
|
65
|
-
input.reportValidity();
|
|
63
|
+
} else {
|
|
64
|
+
input.setCustomValidity('');
|
|
66
65
|
}
|
|
67
66
|
} else {
|
|
68
67
|
return;
|
|
@@ -1261,4 +1261,17 @@ div#page-document h1.documentFirstHeading {
|
|
|
1261
1261
|
// CLMS-1424
|
|
1262
1262
|
.cart-table td {
|
|
1263
1263
|
word-break: unset !important;
|
|
1264
|
+
}
|
|
1265
|
+
.cart-table .dropdown {
|
|
1266
|
+
min-width: 7rem !important;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.Toastify__toast--success {
|
|
1270
|
+
background-color: #a0b128 !important;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
// CLMS-1460
|
|
1274
|
+
.technical-library-edit-link {
|
|
1275
|
+
vertical-align: middle;
|
|
1276
|
+
margin-left: 5px;
|
|
1264
1277
|
}
|