@net7/components 3.3.0 → 3.5.2
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/esm2020/lib/components/footer/footer.mjs +5 -4
- package/esm2020/lib/components/footer/footer.mock.mjs +11 -1
- package/esm2020/lib/components/header/header.mjs +5 -4
- package/esm2020/lib/components/header/header.mock.mjs +11 -1
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +3 -3
- package/fesm2015/net7-components.mjs +45 -25
- package/fesm2015/net7-components.mjs.map +1 -1
- package/fesm2020/net7-components.mjs +45 -25
- package/fesm2020/net7-components.mjs.map +1 -1
- package/lib/components/footer/footer.d.ts +5 -0
- package/lib/components/header/header.d.ts +6 -0
- package/package.json +1 -1
- package/src/lib/styles/components/_footer.scss +39 -10
- package/src/lib/styles/components/_header.scss +33 -13
- package/src/lib/styles/components/_image-viewer-tools.scss +1 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InputSelectData } from '../input-select/input-select';
|
|
1
2
|
import { Anchor } from '../../shared-interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -75,6 +76,10 @@ export interface FooterColumn {
|
|
|
75
76
|
* column's images
|
|
76
77
|
*/
|
|
77
78
|
images?: FooterImage[];
|
|
79
|
+
/**
|
|
80
|
+
* HTMLSelect with some options
|
|
81
|
+
*/
|
|
82
|
+
selects?: InputSelectData[];
|
|
78
83
|
/**
|
|
79
84
|
* column's text
|
|
80
85
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InputSelectData } from '../input-select/input-select';
|
|
1
2
|
import { Anchor } from '../../shared-interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -202,6 +203,11 @@ export interface HeaderData {
|
|
|
202
203
|
* buttons items
|
|
203
204
|
*/
|
|
204
205
|
buttons?: ButtonItem[];
|
|
206
|
+
/**
|
|
207
|
+
* Select elements with some options
|
|
208
|
+
* useful for the header's language selector
|
|
209
|
+
*/
|
|
210
|
+
selects?: InputSelectData[];
|
|
205
211
|
/**
|
|
206
212
|
* user parameters
|
|
207
213
|
*/
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
max-width: $page-max-width;
|
|
16
16
|
margin-right: auto;
|
|
17
17
|
margin-left: auto;
|
|
18
|
-
padding: $space*
|
|
18
|
+
padding: $space * 4 0 $space * 2 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&__column {
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
&__column-nav {
|
|
35
|
+
margin-bottom: $space * 2;
|
|
36
|
+
}
|
|
37
|
+
|
|
34
38
|
&__column-nav-list {
|
|
35
39
|
padding-left: 0;
|
|
36
40
|
list-style: none;
|
|
@@ -41,27 +45,55 @@
|
|
|
41
45
|
margin-bottom: calc($space/2);
|
|
42
46
|
}
|
|
43
47
|
|
|
44
|
-
&__column-nav-
|
|
48
|
+
&__column-nav-list {
|
|
49
|
+
margin: 0;
|
|
45
50
|
text-decoration: underline;
|
|
46
51
|
cursor: pointer;
|
|
47
52
|
}
|
|
48
53
|
|
|
49
|
-
&__column-title
|
|
54
|
+
&__column-title {
|
|
55
|
+
margin-bottom: $space;
|
|
56
|
+
font-size: $font-size-s;
|
|
57
|
+
}
|
|
58
|
+
|
|
50
59
|
&__column-text {
|
|
60
|
+
margin-bottom: $space * 2;
|
|
51
61
|
font-size: $font-size-xs;
|
|
52
62
|
}
|
|
53
63
|
|
|
54
64
|
&__column-images {
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
margin-bottom: $space * 2;
|
|
66
|
+
|
|
57
67
|
img {
|
|
58
68
|
width: auto;
|
|
59
69
|
height: $footer-image-height;
|
|
60
70
|
margin-right: calc($space/2);
|
|
61
71
|
}
|
|
62
72
|
}
|
|
63
|
-
}
|
|
64
73
|
|
|
74
|
+
/* Select */
|
|
75
|
+
&__column-selects {
|
|
76
|
+
margin-bottom: $space * 2;
|
|
77
|
+
|
|
78
|
+
> * {
|
|
79
|
+
display: block;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
> *:not(:last-child) {
|
|
83
|
+
margin-bottom: $space;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
label {
|
|
87
|
+
display: block;
|
|
88
|
+
margin-bottom: $space * 0.5;
|
|
89
|
+
font-size: $font-size-s;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.n7-facet__input-select {
|
|
93
|
+
font-size: $font-size-s;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
65
97
|
|
|
66
98
|
/* ------------------------------------ *\
|
|
67
99
|
#MEDIA-QUERIES
|
|
@@ -69,7 +101,6 @@
|
|
|
69
101
|
@media all and (max-width: $footer-breakpoint-desktop) {
|
|
70
102
|
.n7-footer {
|
|
71
103
|
&__column {
|
|
72
|
-
|
|
73
104
|
&:first-of-type {
|
|
74
105
|
padding-left: calc($grid-gutter-h/2);
|
|
75
106
|
}
|
|
@@ -85,7 +116,6 @@
|
|
|
85
116
|
}
|
|
86
117
|
|
|
87
118
|
@media all and (max-width: $footer-breakpoint-mobile) {
|
|
88
|
-
|
|
89
119
|
.n7-footer {
|
|
90
120
|
&__content {
|
|
91
121
|
flex-flow: column nowrap;
|
|
@@ -93,7 +123,7 @@
|
|
|
93
123
|
|
|
94
124
|
&__column {
|
|
95
125
|
padding-bottom: calc($grid-gutter-h/2);
|
|
96
|
-
|
|
126
|
+
|
|
97
127
|
&:last-of-type {
|
|
98
128
|
padding-bottom: 0;
|
|
99
129
|
}
|
|
@@ -108,7 +138,6 @@
|
|
|
108
138
|
margin-top: 0;
|
|
109
139
|
}
|
|
110
140
|
}
|
|
111
|
-
|
|
112
141
|
}
|
|
113
142
|
|
|
114
143
|
/* Retina */
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
|
|
137
137
|
&__subnav-link {
|
|
138
138
|
display: block;
|
|
139
|
-
padding: $space*1.5;
|
|
139
|
+
padding: $space * 1.5;
|
|
140
140
|
border-bottom: 1px solid $color-border-light;
|
|
141
141
|
color: $color-text;
|
|
142
142
|
}
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
justify-content: flex-end;
|
|
159
159
|
height: 100%;
|
|
160
160
|
margin-left: auto;
|
|
161
|
-
padding: 0 0 0 $space*2;
|
|
161
|
+
padding: 0 0 0 $space * 2;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/* Search */
|
|
@@ -235,6 +235,31 @@
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
/* Selects */
|
|
239
|
+
&__selects {
|
|
240
|
+
margin-left: $space;
|
|
241
|
+
flex-shrink: 0;
|
|
242
|
+
|
|
243
|
+
> *:not(:last-child) {
|
|
244
|
+
margin-right: $space;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.n7-input-select {
|
|
248
|
+
margin: 0;
|
|
249
|
+
|
|
250
|
+
label {
|
|
251
|
+
margin-right: $space * 0.5;
|
|
252
|
+
color: $color-text;
|
|
253
|
+
font-size: $font-size-s;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.n7-facet__input-select {
|
|
258
|
+
height: $button-normal-height;
|
|
259
|
+
font-size: $font-size-s;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
238
263
|
/* Buttons */
|
|
239
264
|
&__buttons {
|
|
240
265
|
flex-shrink: 0;
|
|
@@ -306,8 +331,8 @@
|
|
|
306
331
|
z-index: 2;
|
|
307
332
|
width: 30px;
|
|
308
333
|
height: 30px;
|
|
309
|
-
top: $space*3;
|
|
310
|
-
right: $space*3;
|
|
334
|
+
top: $space * 3;
|
|
335
|
+
right: $space * 3;
|
|
311
336
|
font-size: $font-size-xl;
|
|
312
337
|
color: $color-text;
|
|
313
338
|
cursor: pointer;
|
|
@@ -318,12 +343,10 @@
|
|
|
318
343
|
}
|
|
319
344
|
}
|
|
320
345
|
|
|
321
|
-
|
|
322
346
|
/* ------------------------------------ *\
|
|
323
347
|
#MEDIA-QUERIES
|
|
324
348
|
\* ------------------------------------ */
|
|
325
349
|
@media all and (max-width: $header-breakpoint-mobile) {
|
|
326
|
-
|
|
327
350
|
.n7-header {
|
|
328
351
|
&__nav-content {
|
|
329
352
|
display: none;
|
|
@@ -382,7 +405,7 @@
|
|
|
382
405
|
&__nav-item {
|
|
383
406
|
display: block;
|
|
384
407
|
height: auto;
|
|
385
|
-
padding: $space*2 0;
|
|
408
|
+
padding: $space * 2 0;
|
|
386
409
|
}
|
|
387
410
|
|
|
388
411
|
&__nav-link {
|
|
@@ -404,7 +427,7 @@
|
|
|
404
427
|
display: block;
|
|
405
428
|
position: relative;
|
|
406
429
|
left: auto;
|
|
407
|
-
margin-top: $space*2;
|
|
430
|
+
margin-top: $space * 2;
|
|
408
431
|
background-color: transparent;
|
|
409
432
|
text-align: center;
|
|
410
433
|
}
|
|
@@ -419,7 +442,7 @@
|
|
|
419
442
|
|
|
420
443
|
&__subnav-link {
|
|
421
444
|
border-bottom: 0;
|
|
422
|
-
padding: $space*2;
|
|
445
|
+
padding: $space * 2;
|
|
423
446
|
}
|
|
424
447
|
|
|
425
448
|
&__subnav-icon {
|
|
@@ -430,11 +453,9 @@
|
|
|
430
453
|
font-size: $font-size-l;
|
|
431
454
|
}
|
|
432
455
|
}
|
|
433
|
-
|
|
434
456
|
}
|
|
435
457
|
|
|
436
458
|
@media all and (max-width: $header-breakpoint-mobile-small) {
|
|
437
|
-
|
|
438
459
|
.n7-header {
|
|
439
460
|
height: $header-height-mobile;
|
|
440
461
|
|
|
@@ -470,5 +491,4 @@
|
|
|
470
491
|
height: $header-height-mobile;
|
|
471
492
|
}
|
|
472
493
|
}
|
|
473
|
-
|
|
474
|
-
}
|
|
494
|
+
}
|