@eeacms/volto-tabs-block 5.0.7 → 5.1.0

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,45 @@ 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
+ ### [5.1.0](https://github.com/eea/volto-tabs-block/compare/5.0.8...5.1.0) - 25 August 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(i18n): Add i18n support and pt_BR translation #62 from andreclimaco/develop [ichim-david - [`7c64ce8`](https://github.com/eea/volto-tabs-block/commit/7c64ce8cfc0b83fa76fa59faa5eac11bad6b01be)]
12
+
13
+ #### :bug: Bug Fixes
14
+
15
+ - fix:console error in HorizontalResponsiveView and HorizontalResponsiveEdit [André Clímaco - [`e80acd4`](https://github.com/eea/volto-tabs-block/commit/e80acd436be01560f82d143a1649f6d4e1cd6ae2)]
16
+
17
+ #### :house: Internal changes
18
+
19
+ - chore: restore setting of children instead of items reverting the changes from e80acd [David Ichim - [`d4e8385`](https://github.com/eea/volto-tabs-block/commit/d4e83855c7e62105a74b5e0f77c17e61e4e75e6e)]
20
+ - chore(docs): update README with the correct path to the gif #61 from eea/docs [ichim-david - [`8b75a86`](https://github.com/eea/volto-tabs-block/commit/8b75a869d1d82caa75bf45a15178063e660ec0cf)]
21
+
22
+ #### :house: Documentation changes
23
+
24
+ - docs: update README with the correct path to the gif [ana-oprea - [`53989f7`](https://github.com/eea/volto-tabs-block/commit/53989f7ba9e7fa6657d53ee3b717345d5c13bafd)]
25
+
26
+ #### :hammer_and_wrench: Others
27
+
28
+ - prettier fix [David Ichim - [`ac3e199`](https://github.com/eea/volto-tabs-block/commit/ac3e199a33651d21c003bf87b544c27f32a4638a)]
29
+ - bump package version [David Ichim - [`011a9f0`](https://github.com/eea/volto-tabs-block/commit/011a9f0ef826e3a1367f0ea81a64072f49e239f8)]
30
+ - lint fix after i18n enhancements from community [David Ichim - [`c46f8e1`](https://github.com/eea/volto-tabs-block/commit/c46f8e1096ab7e99b9a98e1c191b27f508e977eb)]
31
+ - test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`21697b3`](https://github.com/eea/volto-tabs-block/commit/21697b3ebe7f52f7753e491ab76733df4004955f)]
32
+ - Add i18n support and pt_BR translation [André Clímaco - [`dfb1e66`](https://github.com/eea/volto-tabs-block/commit/dfb1e667a91e8250ea437a950217c6474771f3e5)]
33
+ ### [5.0.8](https://github.com/eea/volto-tabs-block/compare/5.0.7...5.0.8) - 18 August 2023
34
+
35
+ #### :house: Internal changes
36
+
37
+ - chore: Improve arrows when template is carousel horizontal -refs#256604 [dana-cfc4 - [`36d590a`](https://github.com/eea/volto-tabs-block/commit/36d590a3de9fd3f6410f7b15d026c1706783fbe0)]
38
+
39
+ #### :house: Documentation changes
40
+
41
+ - docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #254894 [valentinab25 - [`ecb7608`](https://github.com/eea/volto-tabs-block/commit/ecb7608f898c128e40c8f6de9dcbb85d9be5889c)]
42
+
43
+ #### :hammer_and_wrench: Others
44
+
45
+ - Merge pull request #64 from eea/improve-carousel-horizontal-template [Andrei Grigore - [`aecd802`](https://github.com/eea/volto-tabs-block/commit/aecd802a5ffc016badd32e6e6e15f88bf580262f)]
7
46
  ### [5.0.7](https://github.com/eea/volto-tabs-block/compare/5.0.6...5.0.7) - 26 July 2023
8
47
 
9
48
  #### :bug: Bug Fixes
@@ -27,7 +66,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
27
66
 
28
67
  #### :house: Internal changes
29
68
 
30
- - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`820aaa9`](https://github.com/eea/volto-tabs-block/commit/820aaa963e978a893a23b77f694bb011f3d768c1)]
31
69
 
32
70
  #### :hammer_and_wrench: Others
33
71
 
@@ -118,7 +156,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
118
156
 
119
157
  #### :hammer_and_wrench: Others
120
158
 
121
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`52bc1b0`](https://github.com/eea/volto-tabs-block/commit/52bc1b0fbd4611173b8ca9dc2cf4033b31474420)]
122
159
  ## [4.0.0](https://github.com/eea/volto-tabs-block/compare/3.0.1...4.0.0) - 10 March 2023
123
160
 
124
161
  #### :house: Internal changes
@@ -129,13 +166,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
129
166
  #### :hammer_and_wrench: Others
130
167
 
131
168
  - Release 4.0.0 [Alin Voinea - [`8fc4cc9`](https://github.com/eea/volto-tabs-block/commit/8fc4cc9d8dc71e623e6586b95871cb3b98dc385f)]
132
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`22d5bdc`](https://github.com/eea/volto-tabs-block/commit/22d5bdc1b3579cc46c73ce855041ca09154eb502)]
133
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`fde4324`](https://github.com/eea/volto-tabs-block/commit/fde4324f962cde8e8de0d76a44bee4b67d216bf8)]
134
- - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9175e47`](https://github.com/eea/volto-tabs-block/commit/9175e470d793edc63b62a99940aed25dd45f3713)]
135
169
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`3348950`](https://github.com/eea/volto-tabs-block/commit/334895036f8e367281abb35a20879c32dfbfc292)]
136
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`39bfb39`](https://github.com/eea/volto-tabs-block/commit/39bfb39fa6e8483e639491ff998293e758ac6384)]
137
- - yarn 3 [Alin Voinea - [`7e98df5`](https://github.com/eea/volto-tabs-block/commit/7e98df59669d71945be461e86e282b913538b805)]
138
- - Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`079d7a4`](https://github.com/eea/volto-tabs-block/commit/079d7a43480e92fe280a9372399ff2d4d28537ae)]
139
170
  ### [3.0.1](https://github.com/eea/volto-tabs-block/compare/3.0.0...3.0.1) - 16 November 2022
140
171
 
141
172
  #### :hammer_and_wrench: Others
@@ -159,9 +190,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
159
190
 
160
191
  #### :hammer_and_wrench: Others
161
192
 
162
- - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`a00e419`](https://github.com/eea/volto-tabs-block/commit/a00e419aef4c82a25f277f5e25e3d512c7838264)]
163
193
  - lint fix [David Ichim - [`c0a898c`](https://github.com/eea/volto-tabs-block/commit/c0a898c54461478baed2ac2f149ae580d4c89aeb)]
164
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3b284e6`](https://github.com/eea/volto-tabs-block/commit/3b284e65e0eafa9b5ad8c92b4cb77628ffcc8103)]
165
194
  ### [2.2.0](https://github.com/eea/volto-tabs-block/compare/2.1.0...2.2.0) - 25 August 2022
166
195
 
167
196
  #### :hammer_and_wrench: Others
@@ -177,7 +206,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
177
206
 
178
207
  - Release 2.1.0 [Alin Voinea - [`3cdfa30`](https://github.com/eea/volto-tabs-block/commit/3cdfa30d4d03d864be8ad63f0648b4717298734a)]
179
208
  - Squashed commit of the following: [Alin Voinea - [`ca241f5`](https://github.com/eea/volto-tabs-block/commit/ca241f56a96817679a1948154e2a8cc0e17b96fe)]
180
- - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`68ea5a6`](https://github.com/eea/volto-tabs-block/commit/68ea5a6b971fc36840cf5716a04f68316b229b2b)]
181
209
  ### [2.0.2](https://github.com/eea/volto-tabs-block/compare/2.0.1...2.0.2) - 16 June 2022
182
210
 
183
211
  ### [2.0.1](https://github.com/eea/volto-tabs-block/compare/2.0.0...2.0.1) - 10 June 2022
@@ -221,8 +249,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
221
249
  - Let theme addon to set default values for default template schema [Miu Razvan - [`55f148d`](https://github.com/eea/volto-tabs-block/commit/55f148d1a95417f8a0b55681ce250acde8463c1c)]
222
250
  - Render pane as container if tabs-block has full-width class [Miu Razvan - [`bbffb96`](https://github.com/eea/volto-tabs-block/commit/bbffb96b908476ddee447af3ce79bafb1a12f9a8)]
223
251
  - Refactor default template [Miu Razvan - [`58eff52`](https://github.com/eea/volto-tabs-block/commit/58eff5281adb08a5f8fe6d21fd43330252012277)]
224
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a6735`](https://github.com/eea/volto-tabs-block/commit/72a6735cbbc0e7d57b4bb7ea83fea9becc317018)]
225
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e928da1`](https://github.com/eea/volto-tabs-block/commit/e928da1df7e4680bd4be9b5d46406800d721b8c5)]
226
252
  ### [1.2.12](https://github.com/eea/volto-tabs-block/compare/1.2.11...1.2.12) - 21 January 2022
227
253
 
228
254
  ### [1.2.11](https://github.com/eea/volto-tabs-block/compare/1.2.10...1.2.11) - 4 January 2022
@@ -237,17 +263,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
237
263
 
238
264
  #### :hammer_and_wrench: Others
239
265
 
240
- - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`cd2e2ac`](https://github.com/eea/volto-tabs-block/commit/cd2e2ac1d127bfc688ecf16e17734603ab727a34)]
241
266
  ### [1.2.8](https://github.com/eea/volto-tabs-block/compare/1.2.7...1.2.8) - 10 December 2021
242
267
 
243
268
  #### :hammer_and_wrench: Others
244
269
 
245
270
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`d10c0b3`](https://github.com/eea/volto-tabs-block/commit/d10c0b3d35d25c530d19eebde38dfe5da8fda01b)]
246
- - Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`1a7187f`](https://github.com/eea/volto-tabs-block/commit/1a7187f10b2bd9e1307dabf51823f63ccd766864)]
247
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`72a7550`](https://github.com/eea/volto-tabs-block/commit/72a755025b38e1d8dd7fe206273a70585e4b9ac8)]
248
- - Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`022b277`](https://github.com/eea/volto-tabs-block/commit/022b2779a5d7fd7217c2d8a559eafab0bd86ce23)]
249
- - Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`84c9bea`](https://github.com/eea/volto-tabs-block/commit/84c9bea7a0aba2fe9ef9713e7131de6da6e0bcce)]
250
- - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`020aa97`](https://github.com/eea/volto-tabs-block/commit/020aa97bc70a643ea3857566c5a1dc3a5200c2be)]
251
271
  ### [1.2.7](https://github.com/eea/volto-tabs-block/compare/1.2.6...1.2.7) - 27 August 2021
252
272
 
253
273
  #### :hammer_and_wrench: Others
@@ -264,8 +284,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
264
284
 
265
285
  - Move less import in View instead of Edit [Tiberiu Ichim - [`84aeff0`](https://github.com/eea/volto-tabs-block/commit/84aeff04a980076f54687c546691d37b6e790478)]
266
286
  - gitignore tweaks [Tiberiu Ichim - [`f4c993d`](https://github.com/eea/volto-tabs-block/commit/f4c993d004b126f08f16651ab9460546fa9e9cad)]
267
- - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`865906a`](https://github.com/eea/volto-tabs-block/commit/865906a0deb261d44cc23e26bfd2d1dd0e319640)]
268
- - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`5383861`](https://github.com/eea/volto-tabs-block/commit/538386100adbc868e693c1c2a5ba13461307ffee)]
269
287
  - Style update [razvanMiu - [`323aaaf`](https://github.com/eea/volto-tabs-block/commit/323aaafcad01d8fdf0e713a1fc254ae9fe319f43)]
270
288
  - Fix 'scroll to' feature on carousel [razvanMiu - [`16c6a08`](https://github.com/eea/volto-tabs-block/commit/16c6a08f6db687542ea38e07a92b265e592f6173)]
271
289
  - Better accesibility [razvanMiu - [`3511611`](https://github.com/eea/volto-tabs-block/commit/351161197270a4807f01d85a7055cbaadae72f8e)]
package/DEVELOP.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  ## Develop
4
4
 
5
+ 1. Make sure you have `docker` and `docker compose` installed and running on your machine:
6
+
7
+ ```Bash
8
+ git clone https://github.com/eea/volto-tabs-block.git
9
+ cd volto-tabs-block
10
+ git checkout -b bugfix-123456 develop
11
+ make
12
+ make start
13
+ ```
14
+
15
+ 1. Wait for `Volto started at 0.0.0.0:3000` meesage
16
+
17
+ 1. Go to http://localhost:3000
18
+
19
+ 1. Happy hacking!
20
+
21
+ ```Bash
22
+ cd src/addons/volto-tabs-block/
23
+ ```
24
+
25
+ ### Or add @eeacms/volto-tabs-block to your Volto project
26
+
5
27
  Before starting make sure your development environment is properly set. See [Volto Developer Documentation](https://docs.voltocms.com/getting-started/install/)
6
28
 
7
29
  1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
@@ -51,3 +73,37 @@ Before starting make sure your development environment is properly set. See [Vol
51
73
  1. Happy hacking!
52
74
 
53
75
  $ cd src/addons/volto-tabs-block/
76
+
77
+ ## Cypress
78
+
79
+ To run cypress locally, first make sure you don't have any Volto/Plone running on ports `8080` and `3000`.
80
+
81
+ You don't have to be in a `clean-volto-project`, you can be in any Volto Frontend
82
+ project where you added `volto-tabs-block` to `mrs.developer.json`
83
+
84
+ Go to:
85
+
86
+ ```BASH
87
+ cd src/addons/volto-tabs-block/
88
+ ```
89
+
90
+ Start:
91
+
92
+ ```Bash
93
+ make
94
+ make start
95
+ ```
96
+
97
+ This will build and start with Docker a clean `Plone backend` and `Volto Frontend` with `volto-tabs-block` block installed.
98
+
99
+ Open Cypress Interface:
100
+
101
+ ```Bash
102
+ make cypress-open
103
+ ```
104
+
105
+ Or run it:
106
+
107
+ ```Bash
108
+ make cypress-run
109
+ ```
package/README.md CHANGED
@@ -18,41 +18,54 @@
18
18
 
19
19
  ## Features
20
20
 
21
- #### IMPORTANT! Because this depends on @eeacms/volto-block-style, you should always load this addon as the last addon in Volto project configuration or after @eeacms/volto-block-style.
21
+ ![Tabs](./docs/volto-tabs-block.gif)
22
22
 
23
- ###
23
+ ## Getting started
24
24
 
25
- ![Tabs](https://github.com/eea/volto-tabs-block/raw/develop/docs/volto-tabs-block.gif)
25
+ ### Try volto-tabs-block with Docker
26
26
 
27
- ## Getting started
27
+ git clone https://github.com/eea/volto-tabs-block.git
28
+ cd volto-tabs-block
29
+ make
30
+ make start
28
31
 
29
- 1. Create new volto project if you don't already have one:
32
+ Go to http://localhost:3000
30
33
 
31
- ```
32
- $ npm install -g yo @plone/generator-volto
33
- $ yo @plone/volto my-volto-project --addon @eeacms/volto-tabs-block
34
+ ### Add volto-tabs-block to your Volto project
35
+
36
+ 1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone
34
37
 
35
- $ cd my-volto-project
36
- $ yarn add -W @eeacms/volto-tabs-block // Not yet available
38
+ ```Bash
39
+ docker compose up backend
37
40
  ```
38
41
 
39
- 1. If you already have a volto project, just update `package.json`:
42
+ 1. Start Volto frontend
40
43
 
41
- ```JSON
42
- "addons": [
44
+ - If you already have a volto project, just update `package.json`:
45
+
46
+ ```JSON
47
+ "addons": [
43
48
  "@eeacms/volto-tabs-block"
44
- ],
49
+ ],
45
50
 
46
- "dependencies": {
47
- "@eeacms/volto-tabs-block": "^1.2.0"
48
- }
49
- ```
51
+ "dependencies": {
52
+ "@eeacms/volto-tabs-block": "*"
53
+ }
54
+ ```
55
+
56
+ - If not, create one:
57
+
58
+ ```
59
+ npm install -g yo @plone/generator-volto
60
+ yo @plone/volto my-volto-project --canary --addon @eeacms/volto-tabs-block
61
+ cd my-volto-project
62
+ ```
50
63
 
51
64
  1. Install new add-ons and restart Volto:
52
65
 
53
66
  ```
54
- $ yarn
55
- $ yarn start
67
+ yarn
68
+ yarn start
56
69
  ```
57
70
 
58
71
  1. Go to http://localhost:3000
@@ -0,0 +1,32 @@
1
+ version: "3"
2
+ services:
3
+ backend:
4
+ image: eeacms/plone-backend
5
+ ports:
6
+ - "8080:8080"
7
+ environment:
8
+ SITE: "Plone"
9
+ PROFILES: "eea.kitkat:testing"
10
+
11
+ frontend:
12
+ build:
13
+ context: ./
14
+ dockerfile: ./Dockerfile
15
+ args:
16
+ ADDON_NAME: "${ADDON_NAME}"
17
+ ADDON_PATH: "${ADDON_PATH}"
18
+ VOLTO_VERSION: ${VOLTO_VERSION:-16}
19
+ ports:
20
+ - "3000:3000"
21
+ - "3001:3001"
22
+ depends_on:
23
+ - backend
24
+ volumes:
25
+ - ./:/app/src/addons/${ADDON_PATH}
26
+ environment:
27
+ CI: "true"
28
+ NODE_ENV: "development"
29
+ RAZZLE_JEST_CONFIG: "src/addons/${ADDON_PATH}/jest-addon.config.js"
30
+ RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone"
31
+ RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone"
32
+ HOST: "0.0.0.0"
@@ -0,0 +1,14 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language: \n"
9
+ "Language-Team: \n"
10
+ "Content-Type: \n"
11
+ "Content-Transfer-Encoding: \n"
12
+ "Plural-Forms: \n"
13
+
14
+