@eeacms/volto-tabs-block 2.0.0 → 2.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 CHANGED
@@ -4,8 +4,17 @@ 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
- #### [2.0.0](https://github.com/eea/volto-tabs-block/compare/1.3.2...2.0.0)
7
+ #### [2.0.1](https://github.com/eea/volto-tabs-block/compare/2.0.0...2.0.1)
8
8
 
9
+ - stylelint [`267fbdb`](https://github.com/eea/volto-tabs-block/commit/267fbdb72f69715690d281498d1fd0837c18fc0d)
10
+ - Prettier fix [`5ac20a8`](https://github.com/eea/volto-tabs-block/commit/5ac20a8352f00618dae1623ac200ea1779342e8d)
11
+ - Apply menu item style on tabs-block only [`fec62b2`](https://github.com/eea/volto-tabs-block/commit/fec62b222bcc07bc102f6d73b89369f57f49512d)
12
+
13
+ ### [2.0.0](https://github.com/eea/volto-tabs-block/compare/1.3.2...2.0.0)
14
+
15
+ > 8 June 2022
16
+
17
+ - Add accordion template for mobile [`#23`](https://github.com/eea/volto-tabs-block/pull/23)
9
18
  - Update [`525551e`](https://github.com/eea/volto-tabs-block/commit/525551e151d469f71e3ecbae9af994cf1dc61644)
10
19
  - Improve accordion variation [`e95977e`](https://github.com/eea/volto-tabs-block/commit/e95977e2b06178dd820ea1b1983d74b4fd3f38f5)
11
20
  - Release 2.0.0 [`1206ab1`](https://github.com/eea/volto-tabs-block/commit/1206ab1c22346761aacb9c5aba7c536e7407526e)
@@ -14,7 +23,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
14
23
  - stylelint [`d29ff73`](https://github.com/eea/volto-tabs-block/commit/d29ff739e17fe398373c289b01f57328543e333d)
15
24
  - stylelint [`73195f6`](https://github.com/eea/volto-tabs-block/commit/73195f60362fffe12ae13f685a9c349cbe486118)
16
25
  - prettier [`8308f52`](https://github.com/eea/volto-tabs-block/commit/8308f52c296f39da416c927d807f33741ecf66aa)
17
- - Add accordion template for mobile [`92e99cf`](https://github.com/eea/volto-tabs-block/commit/92e99cf538983164426ad82b0e71e5ba6532e419)
18
26
  - Remove useless from block title [`4ab8b58`](https://github.com/eea/volto-tabs-block/commit/4ab8b58b9266d2937fd033865e52100f0a6333b2)
19
27
 
20
28
  #### [1.3.2](https://github.com/eea/volto-tabs-block/compare/1.3.1...1.3.2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tabs-block",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "volto-tabs-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -118,143 +118,143 @@
118
118
  }
119
119
  }
120
120
  }
121
- }
122
121
 
123
- .ui.menu:not(.RRT__accordion) {
124
- .ui.item .icon {
125
- display: none;
122
+ .ui.menu:not(.RRT__accordion) {
123
+ .ui.item .icon {
124
+ display: none;
125
+ }
126
126
  }
127
- }
128
127
 
129
- .RRT__container {
130
- > .ui.tab .rah-animating {
131
- transition: height 0ms ease 0ms !important;
128
+ .RRT__container {
129
+ > .ui.tab .rah-animating {
130
+ transition: height 0ms ease 0ms !important;
132
131
 
133
- > div {
134
- transition: opacity 0ms ease 0ms !important;
132
+ > div {
133
+ transition: opacity 0ms ease 0ms !important;
134
+ }
135
135
  }
136
136
  }
137
- }
138
137
 
139
- .ui.menu.RRT__accordion {
140
- &::before {
141
- display: none;
142
- }
143
-
144
- border-bottom: none !important;
138
+ .ui.menu.RRT__accordion {
139
+ &::before {
140
+ display: none;
141
+ }
145
142
 
146
- .ui.item {
147
- display: flex;
148
- width: 100%;
149
- padding: 0.75rem 1rem !important;
150
- border-width: 0 !important;
151
143
  border-bottom: none !important;
152
- margin: 0 !important;
153
- background-color: @accordionMenuItemBackground;
154
144
 
155
- .icon {
145
+ .ui.item {
146
+ display: flex;
147
+ width: 100%;
148
+ padding: 0.75rem 1rem !important;
149
+ border-width: 0 !important;
150
+ border-bottom: none !important;
156
151
  margin: 0 !important;
157
- }
152
+ background-color: @accordionMenuItemBackground;
158
153
 
159
- .dropdown.icon {
160
- transform: rotate(-90deg);
161
- }
154
+ .icon {
155
+ margin: 0 !important;
156
+ }
162
157
 
163
- &.active {
164
158
  .dropdown.icon {
165
- transform: rotate(0);
159
+ transform: rotate(-90deg);
160
+ }
161
+
162
+ &.active {
163
+ .dropdown.icon {
164
+ transform: rotate(0);
165
+ }
166
166
  }
167
167
  }
168
- }
169
168
 
170
- &.red {
171
- .ui.item.active {
172
- background-color: @red !important;
173
- color: #fff !important;
169
+ &.red {
170
+ .ui.item.active {
171
+ background-color: @red !important;
172
+ color: #fff !important;
173
+ }
174
174
  }
175
- }
176
175
 
177
- &.orange {
178
- .ui.item.active {
179
- background-color: @orange !important;
180
- color: #fff !important;
176
+ &.orange {
177
+ .ui.item.active {
178
+ background-color: @orange !important;
179
+ color: #fff !important;
180
+ }
181
181
  }
182
- }
183
182
 
184
- &.yellow {
185
- .ui.item.active {
186
- background-color: @yellow !important;
187
- color: #fff !important;
183
+ &.yellow {
184
+ .ui.item.active {
185
+ background-color: @yellow !important;
186
+ color: #fff !important;
187
+ }
188
188
  }
189
- }
190
189
 
191
- &.olive {
192
- .ui.item.active {
193
- background-color: @olive !important;
194
- color: #fff !important;
190
+ &.olive {
191
+ .ui.item.active {
192
+ background-color: @olive !important;
193
+ color: #fff !important;
194
+ }
195
195
  }
196
- }
197
196
 
198
- &.green {
199
- .ui.item.active {
200
- background-color: @green !important;
201
- color: #fff !important;
197
+ &.green {
198
+ .ui.item.active {
199
+ background-color: @green !important;
200
+ color: #fff !important;
201
+ }
202
202
  }
203
- }
204
203
 
205
- &.teal {
206
- .ui.item.active {
207
- background-color: @teal !important;
208
- color: #fff !important;
204
+ &.teal {
205
+ .ui.item.active {
206
+ background-color: @teal !important;
207
+ color: #fff !important;
208
+ }
209
209
  }
210
- }
211
210
 
212
- &.blue {
213
- .ui.item.active {
214
- background-color: @blue !important;
215
- color: #fff !important;
211
+ &.blue {
212
+ .ui.item.active {
213
+ background-color: @blue !important;
214
+ color: #fff !important;
215
+ }
216
216
  }
217
- }
218
217
 
219
- &.violet {
220
- .ui.item.active {
221
- background-color: @violet !important;
222
- color: #fff !important;
218
+ &.violet {
219
+ .ui.item.active {
220
+ background-color: @violet !important;
221
+ color: #fff !important;
222
+ }
223
223
  }
224
- }
225
224
 
226
- &.purple {
227
- .ui.item.active {
228
- background-color: @purple !important;
229
- color: #fff !important;
225
+ &.purple {
226
+ .ui.item.active {
227
+ background-color: @purple !important;
228
+ color: #fff !important;
229
+ }
230
230
  }
231
- }
232
231
 
233
- &.brown {
234
- .ui.item.active {
235
- background-color: @brown !important;
236
- color: #fff !important;
232
+ &.brown {
233
+ .ui.item.active {
234
+ background-color: @brown !important;
235
+ color: #fff !important;
236
+ }
237
237
  }
238
- }
239
238
 
240
- &.grey {
241
- .ui.item.active {
242
- background-color: @grey !important;
243
- color: #fff !important;
239
+ &.grey {
240
+ .ui.item.active {
241
+ background-color: @grey !important;
242
+ color: #fff !important;
243
+ }
244
244
  }
245
- }
246
245
 
247
- &.black {
248
- .ui.item.active {
249
- background-color: @black !important;
250
- color: #fff !important;
246
+ &.black {
247
+ .ui.item.active {
248
+ background-color: @black !important;
249
+ color: #fff !important;
250
+ }
251
251
  }
252
- }
253
252
 
254
- .ui.tab {
255
- padding: 1rem;
256
- margin-bottom: 0;
257
- background-color: @accordionTabBackground !important;
253
+ .ui.tab {
254
+ padding: 1rem;
255
+ margin-bottom: 0;
256
+ background-color: @accordionTabBackground !important;
257
+ }
258
258
  }
259
259
  }
260
260