@eeacms/volto-tabs-block 6.0.3 → 7.0.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 +115 -3
- package/README.md +17 -0
- package/cypress.config.js +2 -2
- package/locales/de/LC_MESSAGES/volto.po +76 -29
- package/locales/en/LC_MESSAGES/volto.po +76 -29
- package/locales/es/LC_MESSAGES/volto.po +77 -30
- package/locales/it/LC_MESSAGES/volto.po +76 -29
- package/locales/pt_BR/LC_MESSAGES/volto.po +77 -30
- package/locales/ro/LC_MESSAGES/volto.po +76 -29
- package/locales/volto.pot +77 -30
- package/package.json +1 -1
- package/src/components/Edit.jsx +119 -102
- package/src/components/View.jsx +6 -4
- package/src/components/index.js +1 -0
- package/src/components/layoutSchema.js +3 -1
- package/src/components/schema.js +169 -70
- package/src/components/templates/accordion/Edit.jsx +28 -199
- package/src/components/templates/accordion/View.jsx +42 -64
- package/src/components/templates/accordion/index.js +1 -2
- package/src/components/templates/accordion/schema.js +33 -40
- package/src/components/templates/carousel/HorizontalView.jsx +3 -0
- package/src/components/templates/carousel/VerticalView.jsx +3 -0
- package/src/components/templates/carousel/index.js +1 -2
- package/src/components/templates/carousel/schema.js +19 -25
- package/src/components/templates/default/Edit.jsx +90 -50
- package/src/components/templates/default/View.jsx +112 -42
- package/src/components/templates/default/index.js +2 -2
- package/src/components/templates/default/schema.js +69 -77
- package/src/components/templates/horizontal-responsive/Edit.jsx +63 -46
- package/src/components/templates/horizontal-responsive/View.jsx +33 -37
- package/src/components/templates/horizontal-responsive/index.js +1 -6
- package/src/components/templates/horizontal-responsive/schema.js +6 -5
- package/src/helpers.js +14 -10
- package/src/helpers.test.js +14 -8
- package/src/index.js +34 -22
- package/src/less/carousel.less +9 -0
- package/src/less/edit.less +26 -0
- package/src/less/menu.less +118 -4
- package/src/less/menu.variables +16 -0
- package/src/less/tabs.less +53 -23
- package/src/less/tabs.variables +3 -0
- package/src/widgets/TabsWidget.jsx +158 -68
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,103 @@ 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
|
-
### [
|
|
7
|
+
### [7.0.1](https://github.com/eea/volto-tabs-block/compare/7.0.0...7.0.1) - 9 November 2023
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(tabs): added missing tabs-secondary-variant class to default tab view template [David Ichim - [`a122359`](https://github.com/eea/volto-tabs-block/commit/a122359601d548d7577e7f978b5025a92469d1dd)]
|
|
8
12
|
|
|
9
13
|
#### :hammer_and_wrench: Others
|
|
10
14
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
15
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`bd6ffd4`](https://github.com/eea/volto-tabs-block/commit/bd6ffd42a00a2d77ff59545d9adaab7a45361446)]
|
|
16
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`d481e25`](https://github.com/eea/volto-tabs-block/commit/d481e25c4d61d7ff6ea11ff75c99fbdd730ecd82)]
|
|
17
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`6c39efc`](https://github.com/eea/volto-tabs-block/commit/6c39efcc30bddfebb6c61f8a8cd714f61828ec69)]
|
|
18
|
+
## [7.0.0](https://github.com/eea/volto-tabs-block/compare/6.0.3...7.0.0) - 31 October 2023
|
|
19
|
+
|
|
20
|
+
#### :house: Internal changes
|
|
21
|
+
|
|
22
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`f2e3d39`](https://github.com/eea/volto-tabs-block/commit/f2e3d3973c026f0331b82e0f691ec9bdc5899672)]
|
|
23
|
+
|
|
24
|
+
#### :hammer_and_wrench: Others
|
|
25
|
+
|
|
26
|
+
- Release 7.0.0 with variation support, icons for titles and i18n improvements #74 from eea/develop [ichim-david - [`a48175f`](https://github.com/eea/volto-tabs-block/commit/a48175fa3bc76650a76f993f0a3f4a3b43d14a9a)]
|
|
27
|
+
- Added a few upgrade notes regarding 7.0.0 release within README.md [David Ichim - [`6c13da1`](https://github.com/eea/volto-tabs-block/commit/6c13da188f3b30a31cd21fa2553e57a3f601cc3d)]
|
|
28
|
+
- Added tablist role for the menu section of default and accordion template [David Ichim - [`6af71e3`](https://github.com/eea/volto-tabs-block/commit/6af71e315e5122f982f0564fe73ae73e716d94e1)]
|
|
29
|
+
- Speed up animation by making max height of accordion to 1000px [David Ichim - [`beb741a`](https://github.com/eea/volto-tabs-block/commit/beb741a70fac223791868c41369201894e7710cd)]
|
|
30
|
+
- lint :( [David Ichim - [`cae4d48`](https://github.com/eea/volto-tabs-block/commit/cae4d4842415792c726d66a6e36d2c1b88324bd9)]
|
|
31
|
+
- Don't add background when using pointing option [David Ichim - [`69d3dfe`](https://github.com/eea/volto-tabs-block/commit/69d3dfe35042faab81c7b025c87dcce286ae6c06)]
|
|
32
|
+
- modified variable names for clearer context [David Ichim - [`8cb0444`](https://github.com/eea/volto-tabs-block/commit/8cb0444cb0d4ea64c0760b8e4745a369ca0a6d01)]
|
|
33
|
+
- Removed extra border when using inverted pointing secondary [David Ichim - [`5fab8f1`](https://github.com/eea/volto-tabs-block/commit/5fab8f1c00839dc8ce08b2237f847c4a7c9483db)]
|
|
34
|
+
- Add important to menuItemInvertedTextColor item color [David Ichim - [`45a5e75`](https://github.com/eea/volto-tabs-block/commit/45a5e7594d1319b65b3cb5d12570951c87e04493)]
|
|
35
|
+
- Add cursor to any .ui.item from tabs-block [David Ichim - [`1fea949`](https://github.com/eea/volto-tabs-block/commit/1fea9492660f749273f843d5c5c94e69b4829eca)]
|
|
36
|
+
- Make selectors more specific due to semantic ui styling [David Ichim - [`1b3e1b5`](https://github.com/eea/volto-tabs-block/commit/1b3e1b5aae6744cfb5ff97175c99e3ab5fbbbcd2)]
|
|
37
|
+
- Set grey bg with text color on inverted secondary menu [David Ichim - [`f2635a5`](https://github.com/eea/volto-tabs-block/commit/f2635a5ae39a07d63f51e4e421c4d76a0f57a1ea)]
|
|
38
|
+
- Set hover color to white for inverted menu from tabs [David Ichim - [`5fcad8e`](https://github.com/eea/volto-tabs-block/commit/5fcad8e53489e7c73f787c15d702a778836d4760)]
|
|
39
|
+
- Fixed space key blocking when tab turns into input after double click [David Ichim - [`361fe59`](https://github.com/eea/volto-tabs-block/commit/361fe59bf5abeb3ed412d99e8a37b5a300355d26)]
|
|
40
|
+
- lint fix [David Ichim - [`9b6a2b8`](https://github.com/eea/volto-tabs-block/commit/9b6a2b80aa9779e58e647a64d48531fa092477ca)]
|
|
41
|
+
- Re-organize imports, vs code auto import sucks [David Ichim - [`1320e92`](https://github.com/eea/volto-tabs-block/commit/1320e92fd2c47f549c0a904e4f4925383a64f6cf)]
|
|
42
|
+
- Use css animation for accordion from tab [David Ichim - [`adcbc36`](https://github.com/eea/volto-tabs-block/commit/adcbc36a75055a9431ed031690b8b9bc5a1350cc)]
|
|
43
|
+
- Variations support, tabs can have an icon besides title using Semantic or Image icons #73 from eea/menu-icons [ichim-david - [`263dd99`](https://github.com/eea/volto-tabs-block/commit/263dd99dde56fde1faeb31b90d76833c4494b22b)]
|
|
44
|
+
- Updated Default Tab test to also check for space key and toggling over menu position [David Ichim - [`cb3a576`](https://github.com/eea/volto-tabs-block/commit/cb3a57692b2c1b01ef359bef9d88140fad7e92b7)]
|
|
45
|
+
- Ensure slick slide is accessible by hiding the visibility on non active slides [David Ichim - [`e0afc97`](https://github.com/eea/volto-tabs-block/commit/e0afc9700eb0bb523a5747d60b969d0ea23a7c5d)]
|
|
46
|
+
- Use role presentation for tab-container to avoid the double tab mention while still pleasing eslint-jsx-a11y [David Ichim - [`6e29125`](https://github.com/eea/volto-tabs-block/commit/6e29125c8aaf0bdb399302a01260a6fcf3ab9ff6)]
|
|
47
|
+
- Use a negative tab index for responsive tab container [David Ichim - [`771997d`](https://github.com/eea/volto-tabs-block/commit/771997d56c0f0956ea4597688ec0797b77a7c268)]
|
|
48
|
+
- Removed focus color change for tabs, let site or browser settings affect the focus styles [David Ichim - [`196c38f`](https://github.com/eea/volto-tabs-block/commit/196c38f0bc6c28a92a02f8478075bb7cd48749a7)]
|
|
49
|
+
- Removed .text selector from horizontal responsive since text option isn't on by default anymore [David Ichim - [`b3adcce`](https://github.com/eea/volto-tabs-block/commit/b3adcced57a2cb0e45021c997e21ad8ebe4699c1)]
|
|
50
|
+
- Removed default menuCompact, menuFluid and MenuText [David Ichim - [`250551a`](https://github.com/eea/volto-tabs-block/commit/250551ae10e4cb0437b9d6ab771fdf144024d61b)]
|
|
51
|
+
- Tweak defaults to use fluid secondary pointing class for all templates [David Ichim - [`b040268`](https://github.com/eea/volto-tabs-block/commit/b040268abee7ecab0e2b2388591a218f8fd50926)]
|
|
52
|
+
- Use default instead of defaultValue in order for options to also appear as checked or unchecked in stock Volto [David Ichim - [`dadb61f`](https://github.com/eea/volto-tabs-block/commit/dadb61ffe1295a7f85de0b3ef8058261a591476c)]
|
|
53
|
+
- updated translations with latest additions [David Ichim - [`d962caa`](https://github.com/eea/volto-tabs-block/commit/d962caae022cdcdb0a536ee15eab43e9c1bdb37c)]
|
|
54
|
+
- bring back accordion schema as an enhancer that contained translations [David Ichim - [`c9b8823`](https://github.com/eea/volto-tabs-block/commit/c9b8823c2ca23d4162087a0f8949f55111b16382)]
|
|
55
|
+
- Use full path imports to avoid silent circular imports [David Ichim - [`3ae2a73`](https://github.com/eea/volto-tabs-block/commit/3ae2a73cfd4d8628d4f565a36e4444b1bfd4c4be)]
|
|
56
|
+
- code cleanup and suggestion fixes given by Pycharm [David Ichim - [`599b72e`](https://github.com/eea/volto-tabs-block/commit/599b72e342a76489a98707f2fdd789a5f87108b8)]
|
|
57
|
+
- Export carouselSchemaExtender used for carousel templates [David Ichim - [`035a43f`](https://github.com/eea/volto-tabs-block/commit/035a43fefafdf4a0f16c9aa097cb1d688de20081)]
|
|
58
|
+
- Modify default schema to act as default schema extender [David Ichim - [`1c9eb7f`](https://github.com/eea/volto-tabs-block/commit/1c9eb7f503e724c5b16f0f9ce0cfaf443958b357)]
|
|
59
|
+
- Tabs can now be navigated with tab on edit [David Ichim - [`1165b6a`](https://github.com/eea/volto-tabs-block/commit/1165b6ad55175fa75eb51daaa1e62d32e1c8402b)]
|
|
60
|
+
- Accordion Edit now uses the MenuItem from Default Edit.jsx [David Ichim - [`3d0454a`](https://github.com/eea/volto-tabs-block/commit/3d0454afa9853523eaf18fb5453e00dbf3d3450f)]
|
|
61
|
+
- fixed typo instrunctions [David Ichim - [`67af0fe`](https://github.com/eea/volto-tabs-block/commit/67af0feb381964bd7244bc326b73e7e6481cdfa6)]
|
|
62
|
+
- insert a wait on carousel test since there is a slide in on content [David Ichim - [`5018c47`](https://github.com/eea/volto-tabs-block/commit/5018c4765af173a3b101efedbbc7abf4c8548f23)]
|
|
63
|
+
- Bump package to 7 [David Ichim - [`cb24695`](https://github.com/eea/volto-tabs-block/commit/cb24695282566d5a27cdd603707712c433176223)]
|
|
64
|
+
- Fixed description referencing in Default Edit Template [David Ichim - [`b0daf12`](https://github.com/eea/volto-tabs-block/commit/b0daf12609e6a127bf21b3da37d406f0026037d2)]
|
|
65
|
+
- Linting :( [David Ichim - [`ac76173`](https://github.com/eea/volto-tabs-block/commit/ac76173c7aef1aa5919e04d68f712a0634ea55c1)]
|
|
66
|
+
- Modified icon sizes to use small, medium and large and style image and icon sizes to be the same [David Ichim - [`78a6eb2`](https://github.com/eea/volto-tabs-block/commit/78a6eb2c5b05c29c24799066fe1beed6c7b425e4)]
|
|
67
|
+
- Removed AnimateHeight from accordion Edit template [David Ichim - [`eaa5e00`](https://github.com/eea/volto-tabs-block/commit/eaa5e003da9880afaef508c70d341fac4854526d)]
|
|
68
|
+
- Use object_browser instead of attached image for image asset type [David Ichim - [`29fdb67`](https://github.com/eea/volto-tabs-block/commit/29fdb6775e5ec56cab0a6aaa36e5456c43c56d17)]
|
|
69
|
+
- lint fix [David Ichim - [`18903fb`](https://github.com/eea/volto-tabs-block/commit/18903fb93ea20b9819c147b805e46153bead230c)]
|
|
70
|
+
- Fixed missing Tab creation when adding new tab [David Ichim - [`4adace2`](https://github.com/eea/volto-tabs-block/commit/4adace2d7af3a81bfc687875d95a7d72caf5f9da)]
|
|
71
|
+
- Set blockSchema in config instead of in Edit.jsx and removed icon description that is eea only [David Ichim - [`f10230c`](https://github.com/eea/volto-tabs-block/commit/f10230cec2dd59276d4b1e9f9e33e9eb104b9b43)]
|
|
72
|
+
- Remove duplication of Asset Tab logic by refactoring into own Component [David Ichim - [`52d0514`](https://github.com/eea/volto-tabs-block/commit/52d05140aa676d03498b8ccc62d9e286b3eec711)]
|
|
73
|
+
- Removed static alt title for image and set tab title to image when hideTitle is enabled [David Ichim - [`724f7ff`](https://github.com/eea/volto-tabs-block/commit/724f7fffb07b2679dd7135644e79c04aabdbf5f1)]
|
|
74
|
+
- fix test by having proper variation name that was accordion and not accordionResponsive [David Ichim - [`7c47ee0`](https://github.com/eea/volto-tabs-block/commit/7c47ee0e8666360b6df4597d00397fe1b00aa861)]
|
|
75
|
+
- Added format messages to the default tab schema [David Ichim - [`d1503e3`](https://github.com/eea/volto-tabs-block/commit/d1503e31f394208d6fc8afb07b1232dc65e68c04)]
|
|
76
|
+
- Use Volto 16 for Jenkins tests until we are compatible with 17 [David Ichim - [`2b67e55`](https://github.com/eea/volto-tabs-block/commit/2b67e55745f815544ea462220a27193f13173e5c)]
|
|
77
|
+
- updated test to also handle double click on edit and clicking around tabs [David Ichim - [`843f44b`](https://github.com/eea/volto-tabs-block/commit/843f44ba797355987a5a439d741dc947de21afce)]
|
|
78
|
+
- enable pointing and secondary option and added some basic styling for tabs transformed into accordions [David Ichim - [`31baef7`](https://github.com/eea/volto-tabs-block/commit/31baef71e8765ad44f4c605954edd0995a996ab9)]
|
|
79
|
+
- avoid double title if icon is enabled and removed rrt styles [David Ichim - [`b29941f`](https://github.com/eea/volto-tabs-block/commit/b29941f37b9b2131fd1b0e021351dd64bdff5237)]
|
|
80
|
+
- removed unused parameter variation for linting purposes [David Ichim - [`9b4f03e`](https://github.com/eea/volto-tabs-block/commit/9b4f03ee9d07bc8a698083f7929808d55af84790)]
|
|
81
|
+
- removed theme set for color and test also enter for horizontal template [David Ichim - [`d9e846b`](https://github.com/eea/volto-tabs-block/commit/d9e846b819baa7727d12f5e3fc70ae353489ad09)]
|
|
82
|
+
- lint fix [David Ichim - [`8a9f2f8`](https://github.com/eea/volto-tabs-block/commit/8a9f2f813a81106718018dc77b997d2ddc664ac5)]
|
|
83
|
+
- preserve default markup if we have no icons to renamed accordion template back to Accordion responsive [David Ichim - [`c5b22cf`](https://github.com/eea/volto-tabs-block/commit/c5b22cf317fc6cf1c86aff1356b59e611c8ac357)]
|
|
84
|
+
- fixed merge errors from previous commit and ensured that for schema we have no anonymous defaults [David Ichim - [`78eb088`](https://github.com/eea/volto-tabs-block/commit/78eb08885e4c050b71433c86a9038d5b18c5ee12)]
|
|
85
|
+
- Tests [Tiberiu Ichim - [`7ed9a35`](https://github.com/eea/volto-tabs-block/commit/7ed9a35badd6d3be6602756b5bc83d9ec5acaf5c)]
|
|
86
|
+
- Tests [Tiberiu Ichim - [`d6aea51`](https://github.com/eea/volto-tabs-block/commit/d6aea513ccf19dc4fb209d8a994439a614bc4034)]
|
|
87
|
+
- Wrong type [Tiberiu Ichim - [`4fc0cb1`](https://github.com/eea/volto-tabs-block/commit/4fc0cb1145689ba887e15c012cf7166e728c2f73)]
|
|
88
|
+
- Merge from develop [Tiberiu Ichim - [`9583965`](https://github.com/eea/volto-tabs-block/commit/9583965b44a74f8583a24c426268d5439e552d19)]
|
|
89
|
+
- CSS cleanup [kreafox - [`b4129b4`](https://github.com/eea/volto-tabs-block/commit/b4129b40bd4e30e7fa656183134e8755e2fd5330)]
|
|
90
|
+
- Remove default value for asset type [kreafox - [`7e4a4c6`](https://github.com/eea/volto-tabs-block/commit/7e4a4c65a1f50a2a4b7b278f21816073ece63670)]
|
|
91
|
+
- Fix cypress tests [kreafox - [`ed5485b`](https://github.com/eea/volto-tabs-block/commit/ed5485bbb1135baf80b66f29b575a5eb4e174a34)]
|
|
92
|
+
- Improve menu icons [kreafox - [`ed8467e`](https://github.com/eea/volto-tabs-block/commit/ed8467ee9374a3d4f8cc8a47db9190a8e098dea8)]
|
|
93
|
+
- Menu asset improvements [kreafox - [`5d93b2e`](https://github.com/eea/volto-tabs-block/commit/5d93b2eef267d60b0aea63e704a2c2efec2335c5)]
|
|
94
|
+
- Fix default values on templates [kreafox - [`a3c6a78`](https://github.com/eea/volto-tabs-block/commit/a3c6a78553817f7a76e883dbabe4f3681a2dba03)]
|
|
95
|
+
- Update tab schema fields [kreafox - [`257aaca`](https://github.com/eea/volto-tabs-block/commit/257aaca460138fc91711b3f4f0b4463cdc95333a)]
|
|
96
|
+
- Use cloneDeepSchema helper from volto [kreafox - [`d28f571`](https://github.com/eea/volto-tabs-block/commit/d28f571b67537134042abffb4595ac51e1d26a35)]
|
|
97
|
+
- WIP on schema defaults [Tiberiu Ichim - [`351ccd6`](https://github.com/eea/volto-tabs-block/commit/351ccd6cf8647010ad54f3d45ece37f23e5cf011)]
|
|
98
|
+
- WIP on schema defaults [Tiberiu Ichim - [`f7e344d`](https://github.com/eea/volto-tabs-block/commit/f7e344d055c481504c61ff2017f84908f50504b7)]
|
|
99
|
+
- WIP: icon/image in menu items [kreafox - [`69c35e6`](https://github.com/eea/volto-tabs-block/commit/69c35e67097b777aba1f7eae271a431ead051648)]
|
|
100
|
+
- Update block extension mechanism by using variations [kreafox - [`8dd2fae`](https://github.com/eea/volto-tabs-block/commit/8dd2fae660f5cba07c343da39864f37d40ca78d1)]
|
|
101
|
+
- WIP: Tabs block improvements [kreafox - [`fb7cad8`](https://github.com/eea/volto-tabs-block/commit/fb7cad821df54bee219c15e8f697283ff25a4fb0)]
|
|
102
|
+
### [6.0.3](https://github.com/eea/volto-tabs-block/compare/6.0.2...6.0.3) - 19 October 2023
|
|
103
|
+
|
|
13
104
|
### [6.0.2](https://github.com/eea/volto-tabs-block/compare/6.0.1...6.0.2) - 17 October 2023
|
|
14
105
|
|
|
15
106
|
#### :house: Internal changes
|
|
@@ -141,6 +232,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
141
232
|
|
|
142
233
|
#### :house: Internal changes
|
|
143
234
|
|
|
235
|
+
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`820aaa9`](https://github.com/eea/volto-tabs-block/commit/820aaa963e978a893a23b77f694bb011f3d768c1)]
|
|
144
236
|
|
|
145
237
|
#### :hammer_and_wrench: Others
|
|
146
238
|
|
|
@@ -231,6 +323,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
231
323
|
|
|
232
324
|
#### :hammer_and_wrench: Others
|
|
233
325
|
|
|
326
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`52bc1b0`](https://github.com/eea/volto-tabs-block/commit/52bc1b0fbd4611173b8ca9dc2cf4033b31474420)]
|
|
234
327
|
## [4.0.0](https://github.com/eea/volto-tabs-block/compare/3.0.1...4.0.0) - 10 March 2023
|
|
235
328
|
|
|
236
329
|
#### :house: Internal changes
|
|
@@ -241,7 +334,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
241
334
|
#### :hammer_and_wrench: Others
|
|
242
335
|
|
|
243
336
|
- Release 4.0.0 [Alin Voinea - [`8fc4cc9`](https://github.com/eea/volto-tabs-block/commit/8fc4cc9d8dc71e623e6586b95871cb3b98dc385f)]
|
|
337
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`22d5bdc`](https://github.com/eea/volto-tabs-block/commit/22d5bdc1b3579cc46c73ce855041ca09154eb502)]
|
|
338
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`fde4324`](https://github.com/eea/volto-tabs-block/commit/fde4324f962cde8e8de0d76a44bee4b67d216bf8)]
|
|
339
|
+
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9175e47`](https://github.com/eea/volto-tabs-block/commit/9175e470d793edc63b62a99940aed25dd45f3713)]
|
|
244
340
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`3348950`](https://github.com/eea/volto-tabs-block/commit/334895036f8e367281abb35a20879c32dfbfc292)]
|
|
341
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`39bfb39`](https://github.com/eea/volto-tabs-block/commit/39bfb39fa6e8483e639491ff998293e758ac6384)]
|
|
342
|
+
- yarn 3 [Alin Voinea - [`7e98df5`](https://github.com/eea/volto-tabs-block/commit/7e98df59669d71945be461e86e282b913538b805)]
|
|
343
|
+
- Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`079d7a4`](https://github.com/eea/volto-tabs-block/commit/079d7a43480e92fe280a9372399ff2d4d28537ae)]
|
|
245
344
|
### [3.0.1](https://github.com/eea/volto-tabs-block/compare/3.0.0...3.0.1) - 16 November 2022
|
|
246
345
|
|
|
247
346
|
#### :hammer_and_wrench: Others
|
|
@@ -265,7 +364,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
265
364
|
|
|
266
365
|
#### :hammer_and_wrench: Others
|
|
267
366
|
|
|
367
|
+
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`a00e419`](https://github.com/eea/volto-tabs-block/commit/a00e419aef4c82a25f277f5e25e3d512c7838264)]
|
|
268
368
|
- lint fix [David Ichim - [`c0a898c`](https://github.com/eea/volto-tabs-block/commit/c0a898c54461478baed2ac2f149ae580d4c89aeb)]
|
|
369
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3b284e6`](https://github.com/eea/volto-tabs-block/commit/3b284e65e0eafa9b5ad8c92b4cb77628ffcc8103)]
|
|
269
370
|
### [2.2.0](https://github.com/eea/volto-tabs-block/compare/2.1.0...2.2.0) - 25 August 2022
|
|
270
371
|
|
|
271
372
|
#### :hammer_and_wrench: Others
|
|
@@ -281,6 +382,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
281
382
|
|
|
282
383
|
- Release 2.1.0 [Alin Voinea - [`3cdfa30`](https://github.com/eea/volto-tabs-block/commit/3cdfa30d4d03d864be8ad63f0648b4717298734a)]
|
|
283
384
|
- Squashed commit of the following: [Alin Voinea - [`ca241f5`](https://github.com/eea/volto-tabs-block/commit/ca241f56a96817679a1948154e2a8cc0e17b96fe)]
|
|
385
|
+
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`68ea5a6`](https://github.com/eea/volto-tabs-block/commit/68ea5a6b971fc36840cf5716a04f68316b229b2b)]
|
|
284
386
|
### [2.0.2](https://github.com/eea/volto-tabs-block/compare/2.0.1...2.0.2) - 16 June 2022
|
|
285
387
|
|
|
286
388
|
### [2.0.1](https://github.com/eea/volto-tabs-block/compare/2.0.0...2.0.1) - 10 June 2022
|
|
@@ -324,6 +426,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
324
426
|
- Let theme addon to set default values for default template schema [Miu Razvan - [`55f148d`](https://github.com/eea/volto-tabs-block/commit/55f148d1a95417f8a0b55681ce250acde8463c1c)]
|
|
325
427
|
- Render pane as container if tabs-block has full-width class [Miu Razvan - [`bbffb96`](https://github.com/eea/volto-tabs-block/commit/bbffb96b908476ddee447af3ce79bafb1a12f9a8)]
|
|
326
428
|
- Refactor default template [Miu Razvan - [`58eff52`](https://github.com/eea/volto-tabs-block/commit/58eff5281adb08a5f8fe6d21fd43330252012277)]
|
|
429
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a6735`](https://github.com/eea/volto-tabs-block/commit/72a6735cbbc0e7d57b4bb7ea83fea9becc317018)]
|
|
430
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e928da1`](https://github.com/eea/volto-tabs-block/commit/e928da1df7e4680bd4be9b5d46406800d721b8c5)]
|
|
327
431
|
### [1.2.12](https://github.com/eea/volto-tabs-block/compare/1.2.11...1.2.12) - 21 January 2022
|
|
328
432
|
|
|
329
433
|
### [1.2.11](https://github.com/eea/volto-tabs-block/compare/1.2.10...1.2.11) - 4 January 2022
|
|
@@ -338,11 +442,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
338
442
|
|
|
339
443
|
#### :hammer_and_wrench: Others
|
|
340
444
|
|
|
445
|
+
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`cd2e2ac`](https://github.com/eea/volto-tabs-block/commit/cd2e2ac1d127bfc688ecf16e17734603ab727a34)]
|
|
341
446
|
### [1.2.8](https://github.com/eea/volto-tabs-block/compare/1.2.7...1.2.8) - 10 December 2021
|
|
342
447
|
|
|
343
448
|
#### :hammer_and_wrench: Others
|
|
344
449
|
|
|
345
450
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`d10c0b3`](https://github.com/eea/volto-tabs-block/commit/d10c0b3d35d25c530d19eebde38dfe5da8fda01b)]
|
|
451
|
+
- Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`1a7187f`](https://github.com/eea/volto-tabs-block/commit/1a7187f10b2bd9e1307dabf51823f63ccd766864)]
|
|
452
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a7550`](https://github.com/eea/volto-tabs-block/commit/72a755025b38e1d8dd7fe206273a70585e4b9ac8)]
|
|
453
|
+
- Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`022b277`](https://github.com/eea/volto-tabs-block/commit/022b2779a5d7fd7217c2d8a559eafab0bd86ce23)]
|
|
454
|
+
- Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`84c9bea`](https://github.com/eea/volto-tabs-block/commit/84c9bea7a0aba2fe9ef9713e7131de6da6e0bcce)]
|
|
455
|
+
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`020aa97`](https://github.com/eea/volto-tabs-block/commit/020aa97bc70a643ea3857566c5a1dc3a5200c2be)]
|
|
346
456
|
### [1.2.7](https://github.com/eea/volto-tabs-block/compare/1.2.6...1.2.7) - 27 August 2021
|
|
347
457
|
|
|
348
458
|
#### :hammer_and_wrench: Others
|
|
@@ -359,6 +469,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
359
469
|
|
|
360
470
|
- Move less import in View instead of Edit [Tiberiu Ichim - [`84aeff0`](https://github.com/eea/volto-tabs-block/commit/84aeff04a980076f54687c546691d37b6e790478)]
|
|
361
471
|
- gitignore tweaks [Tiberiu Ichim - [`f4c993d`](https://github.com/eea/volto-tabs-block/commit/f4c993d004b126f08f16651ab9460546fa9e9cad)]
|
|
472
|
+
- Add Sonarqube tag using frontend addons list [EEA Jenkins - [`865906a`](https://github.com/eea/volto-tabs-block/commit/865906a0deb261d44cc23e26bfd2d1dd0e319640)]
|
|
473
|
+
- Add Sonarqube tag using frontend addons list [EEA Jenkins - [`5383861`](https://github.com/eea/volto-tabs-block/commit/538386100adbc868e693c1c2a5ba13461307ffee)]
|
|
362
474
|
- Style update [razvanMiu - [`323aaaf`](https://github.com/eea/volto-tabs-block/commit/323aaafcad01d8fdf0e713a1fc254ae9fe319f43)]
|
|
363
475
|
- Fix 'scroll to' feature on carousel [razvanMiu - [`16c6a08`](https://github.com/eea/volto-tabs-block/commit/16c6a08f6db687542ea38e07a92b265e592f6173)]
|
|
364
476
|
- Better accesibility [razvanMiu - [`3511611`](https://github.com/eea/volto-tabs-block/commit/351161197270a4807f01d85a7055cbaadae72f8e)]
|
package/README.md
CHANGED
|
@@ -76,6 +76,23 @@ Go to http://localhost:3000
|
|
|
76
76
|
|
|
77
77
|
1. Happy editing!
|
|
78
78
|
|
|
79
|
+
## Upgrade
|
|
80
|
+
### Upgrading to 7.0.0
|
|
81
|
+
Version 7 introduces the following breaking changes:
|
|
82
|
+
- The templates are now `variations` of the default template, so if you have custom templates,
|
|
83
|
+
you need to update them to be variations of the default template.
|
|
84
|
+
- All variations have `schema enhancers`, see https://github.com/eea/volto-eea-website-theme/blob/develop/src/index.js#L40
|
|
85
|
+
for example on how to customize the variation schema.
|
|
86
|
+
- Some defaults have been changed, see the `schema.js` files for any default values.
|
|
87
|
+
- Tabs now have the ability to reference an `Image` or use a `Semantic UI` icon within the tab title, even allowing the hiding
|
|
88
|
+
of the text title.
|
|
89
|
+
- Responsive template no longer uses `react-responsive-tabs` styles but use `accordion` classes when it's transformed into
|
|
90
|
+
accordion.
|
|
91
|
+
Bring your own style for the accordion if you want to customize it.
|
|
92
|
+
- Cleaned up styling in favor of `Semantic UI` styling and to bring your own styling.
|
|
93
|
+
- Better `i18n` support for the block especially in edit mode.
|
|
94
|
+
|
|
95
|
+
|
|
79
96
|
## Release
|
|
80
97
|
|
|
81
98
|
See [RELEASE.md](https://github.com/eea/volto-tabs-block/blob/master/RELEASE.md).
|
package/cypress.config.js
CHANGED
|
@@ -16,11 +16,31 @@ msgstr ""
|
|
|
16
16
|
msgid "Accordion responsive"
|
|
17
17
|
msgstr ""
|
|
18
18
|
|
|
19
|
+
#: index
|
|
20
|
+
# defaultMessage: Carousel horizontal
|
|
21
|
+
msgid "Carousel horizontal"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
#: index
|
|
25
|
+
# defaultMessage: Carousel vertical (prototype)
|
|
26
|
+
msgid "Carousel vertical (prototype)"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
19
29
|
#: index
|
|
20
30
|
# defaultMessage: Default
|
|
21
31
|
msgid "Default"
|
|
22
32
|
msgstr ""
|
|
23
33
|
|
|
34
|
+
#: index
|
|
35
|
+
# defaultMessage: Horizontal responsive
|
|
36
|
+
msgid "Horizontal responsive"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
#: components/schema
|
|
40
|
+
# defaultMessage: Medium
|
|
41
|
+
msgid "Medium"
|
|
42
|
+
msgstr ""
|
|
43
|
+
|
|
24
44
|
#: components/EditBlockWrapper
|
|
25
45
|
# defaultMessage: Unknown Block {block}
|
|
26
46
|
msgid "Unknown Block"
|
|
@@ -31,9 +51,9 @@ msgstr ""
|
|
|
31
51
|
msgid "accordion-tabs-block"
|
|
32
52
|
msgstr ""
|
|
33
53
|
|
|
34
|
-
#:
|
|
35
|
-
# defaultMessage:
|
|
36
|
-
msgid "
|
|
54
|
+
#: widgets/TabsWidget
|
|
55
|
+
# defaultMessage: Add Tab
|
|
56
|
+
msgid "addTab"
|
|
37
57
|
msgstr ""
|
|
38
58
|
|
|
39
59
|
#: components/templates/default/schema
|
|
@@ -42,6 +62,21 @@ msgstr ""
|
|
|
42
62
|
msgid "alignment"
|
|
43
63
|
msgstr ""
|
|
44
64
|
|
|
65
|
+
#: components/schema
|
|
66
|
+
# defaultMessage: Asset position
|
|
67
|
+
msgid "assetPosition"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
#: components/schema
|
|
71
|
+
# defaultMessage: Asset size
|
|
72
|
+
msgid "assetSize"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
#: components/schema
|
|
76
|
+
# defaultMessage: Asset type
|
|
77
|
+
msgid "assetType"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
45
80
|
#: components/templates/default/schema
|
|
46
81
|
#: components/templates/horizontal-responsive/schema
|
|
47
82
|
# defaultMessage: Black
|
|
@@ -67,21 +102,6 @@ msgstr ""
|
|
|
67
102
|
msgid "brown"
|
|
68
103
|
msgstr ""
|
|
69
104
|
|
|
70
|
-
#: components/templates/carousel/schema
|
|
71
|
-
# defaultMessage: Carousel block
|
|
72
|
-
msgid "carousel-tabs-block"
|
|
73
|
-
msgstr ""
|
|
74
|
-
|
|
75
|
-
#: components/schema
|
|
76
|
-
# defaultMessage: Carousel horizontal
|
|
77
|
-
msgid "carouselHorizontal"
|
|
78
|
-
msgstr ""
|
|
79
|
-
|
|
80
|
-
#: components/schema
|
|
81
|
-
# defaultMessage: Carousel vertical (prototype)
|
|
82
|
-
msgid "carouselVerticalPrototype"
|
|
83
|
-
msgstr ""
|
|
84
|
-
|
|
85
105
|
#: components/templates/default/schema
|
|
86
106
|
#: components/templates/horizontal-responsive/schema
|
|
87
107
|
# defaultMessage: Center
|
|
@@ -101,7 +121,6 @@ msgstr ""
|
|
|
101
121
|
|
|
102
122
|
#: components/schema
|
|
103
123
|
#: components/templates/accordion/schema
|
|
104
|
-
#: components/templates/carousel/schema
|
|
105
124
|
#: components/templates/default/schema
|
|
106
125
|
#: components/templates/horizontal-responsive/schema
|
|
107
126
|
# defaultMessage: Default
|
|
@@ -118,6 +137,7 @@ msgstr ""
|
|
|
118
137
|
msgid "delete"
|
|
119
138
|
msgstr ""
|
|
120
139
|
|
|
140
|
+
#: components/schema
|
|
121
141
|
#: components/templates/accordion/schema
|
|
122
142
|
#: components/templates/default/schema
|
|
123
143
|
#: components/templates/horizontal-responsive/schema
|
|
@@ -138,32 +158,48 @@ msgstr ""
|
|
|
138
158
|
msgid "grey"
|
|
139
159
|
msgstr ""
|
|
140
160
|
|
|
161
|
+
#: components/schema
|
|
162
|
+
# defaultMessage: Hide tab title?
|
|
163
|
+
msgid "hideTitle"
|
|
164
|
+
msgstr ""
|
|
165
|
+
|
|
141
166
|
#: components/templates/horizontal-responsive/schema
|
|
142
167
|
# defaultMessage: Horizontal tabs block
|
|
143
168
|
msgid "horizontal-tabs-block"
|
|
144
169
|
msgstr ""
|
|
145
170
|
|
|
146
|
-
#: components/schema
|
|
147
|
-
# defaultMessage: Horizontal responsive
|
|
148
|
-
msgid "horizontalResponsive"
|
|
149
|
-
msgstr ""
|
|
150
|
-
|
|
151
171
|
#: components/templates/default/schema
|
|
152
172
|
#: components/templates/horizontal-responsive/schema
|
|
153
173
|
# defaultMessage: Huge
|
|
154
174
|
msgid "huge"
|
|
155
175
|
msgstr ""
|
|
156
176
|
|
|
177
|
+
#: components/schema
|
|
178
|
+
# defaultMessage: Icon
|
|
179
|
+
msgid "icon"
|
|
180
|
+
msgstr ""
|
|
181
|
+
|
|
157
182
|
#: components/templates/accordion/schema
|
|
158
183
|
# defaultMessage: Icon position on the right
|
|
159
184
|
msgid "icon-position-on-the-right"
|
|
160
185
|
msgstr ""
|
|
161
186
|
|
|
187
|
+
#: components/schema
|
|
188
|
+
# defaultMessage: Icon name
|
|
189
|
+
msgid "iconName"
|
|
190
|
+
msgstr ""
|
|
191
|
+
|
|
192
|
+
#: components/schema
|
|
193
|
+
# defaultMessage: Image
|
|
194
|
+
msgid "image"
|
|
195
|
+
msgstr ""
|
|
196
|
+
|
|
162
197
|
#: components/templates/accordion/schema
|
|
163
198
|
# defaultMessage: Inverted
|
|
164
199
|
msgid "inverted"
|
|
165
200
|
msgstr ""
|
|
166
201
|
|
|
202
|
+
#: components/schema
|
|
167
203
|
#: components/templates/default/schema
|
|
168
204
|
#: components/templates/horizontal-responsive/schema
|
|
169
205
|
# defaultMessage: Large
|
|
@@ -176,6 +212,7 @@ msgstr ""
|
|
|
176
212
|
msgid "left"
|
|
177
213
|
msgstr ""
|
|
178
214
|
|
|
215
|
+
#: components/schema
|
|
179
216
|
#: components/templates/default/schema
|
|
180
217
|
#: components/templates/horizontal-responsive/schema
|
|
181
218
|
# defaultMessage: Left side
|
|
@@ -224,12 +261,14 @@ msgstr ""
|
|
|
224
261
|
msgid "menu-inverted"
|
|
225
262
|
msgstr ""
|
|
226
263
|
|
|
264
|
+
#: components/templates/accordion/schema
|
|
227
265
|
#: components/templates/default/schema
|
|
228
266
|
#: components/templates/horizontal-responsive/schema
|
|
229
267
|
# defaultMessage: Pointing
|
|
230
268
|
msgid "menu-pointing"
|
|
231
269
|
msgstr ""
|
|
232
270
|
|
|
271
|
+
#: components/templates/accordion/schema
|
|
233
272
|
#: components/templates/default/schema
|
|
234
273
|
#: components/templates/horizontal-responsive/schema
|
|
235
274
|
# defaultMessage: Secondary
|
|
@@ -312,6 +351,7 @@ msgstr ""
|
|
|
312
351
|
msgid "right"
|
|
313
352
|
msgstr ""
|
|
314
353
|
|
|
354
|
+
#: components/schema
|
|
315
355
|
#: components/templates/default/schema
|
|
316
356
|
#: components/templates/horizontal-responsive/schema
|
|
317
357
|
# defaultMessage: Right side
|
|
@@ -329,6 +369,7 @@ msgstr ""
|
|
|
329
369
|
msgid "size"
|
|
330
370
|
msgstr ""
|
|
331
371
|
|
|
372
|
+
#: components/schema
|
|
332
373
|
#: components/templates/default/schema
|
|
333
374
|
#: components/templates/horizontal-responsive/schema
|
|
334
375
|
# defaultMessage: Small
|
|
@@ -342,10 +383,21 @@ msgid "space-between"
|
|
|
342
383
|
msgstr ""
|
|
343
384
|
|
|
344
385
|
#: components/templates/accordion/schema
|
|
386
|
+
#: components/templates/carousel/schema
|
|
345
387
|
# defaultMessage: Style
|
|
346
388
|
msgid "style"
|
|
347
389
|
msgstr ""
|
|
348
390
|
|
|
391
|
+
#: components/schema
|
|
392
|
+
# defaultMessage: Tab
|
|
393
|
+
msgid "tab"
|
|
394
|
+
msgstr ""
|
|
395
|
+
|
|
396
|
+
#: components/schema
|
|
397
|
+
# defaultMessage: Tab title
|
|
398
|
+
msgid "tabTitle"
|
|
399
|
+
msgstr ""
|
|
400
|
+
|
|
349
401
|
#: components/schema
|
|
350
402
|
# defaultMessage: Tabs
|
|
351
403
|
msgid "tabs"
|
|
@@ -362,11 +414,6 @@ msgstr ""
|
|
|
362
414
|
msgid "teal"
|
|
363
415
|
msgstr ""
|
|
364
416
|
|
|
365
|
-
#: components/schema
|
|
366
|
-
# defaultMessage: Template
|
|
367
|
-
msgid "template"
|
|
368
|
-
msgstr ""
|
|
369
|
-
|
|
370
417
|
#: components/templates/accordion/schema
|
|
371
418
|
#: components/templates/carousel/schema
|
|
372
419
|
# defaultMessage: Theme
|