@net7/boilerplate-arianna 3.2.3 → 3.3.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.
Files changed (30) hide show
  1. package/esm2020/lib/components/aw-facets-wrapper/aw-facets-wrapper.mjs +3 -3
  2. package/esm2020/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +3 -3
  3. package/esm2020/lib/components/chart-tippy/chart-tippy.mjs +3 -3
  4. package/esm2020/lib/components/pdf-viewer/pdf-viewer.mjs +3 -3
  5. package/esm2020/lib/components/scheda-dropdown/scheda-dropdown.mjs +3 -3
  6. package/esm2020/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +3 -3
  7. package/esm2020/lib/data-sources/timeline.ds.mjs +7 -7
  8. package/esm2020/lib/layouts/collection-layout/collection-layout.mjs +3 -3
  9. package/esm2020/lib/layouts/entita-layout/entita-layout.mjs +3 -3
  10. package/esm2020/lib/layouts/gallery-layout/gallery-layout.mjs +3 -3
  11. package/esm2020/lib/layouts/home-layout/home-layout.mjs +3 -3
  12. package/esm2020/lib/layouts/map-layout/map-layout.mjs +3 -3
  13. package/esm2020/lib/layouts/scheda-layout/scheda-layout.mjs +3 -3
  14. package/esm2020/lib/layouts/search-layout/search-layout.mjs +3 -3
  15. package/esm2020/lib/layouts/timeline-layout/timeline-layout.mjs +3 -3
  16. package/esm2020/lib/n7-boilerplate-arianna.module.mjs +4 -4
  17. package/esm2020/lib/search/aw-search.service.mjs +3 -3
  18. package/fesm2015/net7-boilerplate-arianna.mjs +55 -55
  19. package/fesm2015/net7-boilerplate-arianna.mjs.map +1 -1
  20. package/fesm2020/net7-boilerplate-arianna.mjs +55 -55
  21. package/fesm2020/net7-boilerplate-arianna.mjs.map +1 -1
  22. package/package.json +4 -4
  23. package/src/lib/styles/arianna/components/_breadcrumbs.scss +8 -12
  24. package/src/lib/styles/arianna/components/_bubble-popup-menu.scss +7 -7
  25. package/src/lib/styles/arianna/components/_facet.scss +7 -14
  26. package/src/lib/styles/arianna/components/_header.scss +5 -6
  27. package/src/lib/styles/arianna/components/_item-preview.scss +16 -24
  28. package/src/lib/styles/arianna/components/_metadata-viewer.scss +10 -11
  29. package/src/lib/styles/arianna/layouts/_home-layout.scss +68 -63
  30. package/src/lib/styles/arianna/layouts/_scheda-layout.scss +42 -46
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@net7/boilerplate-arianna",
3
- "version": "3.2.3",
3
+ "version": "3.3.2",
4
4
  "peerDependencies": {
5
- "@angular/common": "^13.2.0",
6
- "@angular/core": "^13.2.0"
5
+ "@angular/common": "~13.2.0",
6
+ "@angular/core": "~13.2.0"
7
7
  },
8
8
  "dependencies": {
9
9
  "lodash": "^4.17.15",
10
- "moment": "^2.26.0",
10
+ "dayjs": "^1.11.1",
11
11
  "slugify": "^1.4.0",
12
12
  "tippy.js": "^5.1.2",
13
13
  "ngx-extended-pdf-viewer": "^11.1.2",
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Style for breadcrumbs for desktop and mobile
5
5
  */
6
-
6
+
7
7
  /* ------------------------------------ *\
8
8
  BREADCRUMBS
9
9
  \* ------------------------------------ */
@@ -33,8 +33,8 @@
33
33
 
34
34
  &__item {
35
35
  &:after {
36
- padding-right: calc($space/2);
37
- padding-left: calc($space/2);
36
+ padding-right: calc($space * 0.5);
37
+ padding-left: calc($space * 0.5);
38
38
  }
39
39
 
40
40
  &:last-child {
@@ -45,28 +45,27 @@
45
45
  }
46
46
 
47
47
  &__label {
48
- padding-right: calc($space/2);
48
+ padding-right: calc($space * 0.5);
49
49
  color: $color-text-light;
50
50
  }
51
51
  }
52
52
 
53
-
54
53
  /* ------------------------------------ *\
55
54
  #SMART-BREADCRUMBS-ELLIPSIS
56
55
  \* ------------------------------------ */
57
56
  .n7-breadcrumbs {
58
57
  /* Ellipsis element */
59
58
  &__item-ellipsis {
60
- margin: calc($space/2) 0;
59
+ margin: calc($space * 0.5) 0;
61
60
  list-style: none;
62
61
  cursor: pointer;
63
62
 
64
63
  &:after {
65
64
  content: $breadcrumbs-arrow;
66
- padding-right: calc($space/2);
67
- padding-left: calc($space/2);
65
+ padding-right: calc($space * 0.5);
66
+ padding-left: calc($space * 0.5);
68
67
  color: $breadcrumbs-arrow-color;
69
- font-family: 'n7-icon' !important;
68
+ font-family: "n7-icon" !important;
70
69
  vertical-align: bottom;
71
70
  }
72
71
 
@@ -76,7 +75,6 @@
76
75
  }
77
76
  }
78
77
 
79
-
80
78
  /* ------------------------------------ *\
81
79
  #SMART-BREADCRUMBS-TIPPY
82
80
  \* ------------------------------------ */
@@ -104,14 +102,12 @@
104
102
  margin: 0;
105
103
  cursor: pointer;
106
104
 
107
-
108
105
  &:hover {
109
106
  color: $color-text-link;
110
107
  }
111
108
  }
112
109
  }
113
110
 
114
-
115
111
  /* ------------------------------------ *\
116
112
  #MEDIA-QUERIES
117
113
  \* ------------------------------------ */
@@ -10,8 +10,8 @@
10
10
  .aw-bubble-popup-menu {
11
11
  &__close {
12
12
  position: absolute;
13
- top: $space*1.5;
14
- right: $space*1.5;
13
+ top: $space * 1.5;
14
+ right: $space * 1.5;
15
15
  color: $color-text-light;
16
16
  cursor: pointer;
17
17
  transition: all $transition-durations;
@@ -22,8 +22,8 @@
22
22
  }
23
23
 
24
24
  &__title {
25
- margin-bottom: calc($space/2);
26
- padding-right: $space*3;
25
+ margin-bottom: calc($space * 0.5);
26
+ padding-right: $space * 3;
27
27
  font-weight: $font-weight-black;
28
28
  }
29
29
 
@@ -42,12 +42,12 @@
42
42
  cursor: pointer;
43
43
  transition: all $transition-durations;
44
44
  margin-right: $space;
45
- padding-right: $space*0.8;
45
+ padding-right: $space * 0.8;
46
46
  border-right: 1px solid $color-border-normal;
47
47
 
48
48
  a {
49
49
  color: $color-text;
50
-
50
+
51
51
  &:hover {
52
52
  color: $color-text-link;
53
53
  }
@@ -84,4 +84,4 @@
84
84
 
85
85
  /* Retina */
86
86
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
87
- }
87
+ }
@@ -17,7 +17,6 @@
17
17
  }
18
18
  }
19
19
 
20
-
21
20
  /* ------------------------------------ *\
22
21
  #INPUT TEXT
23
22
  \* ------------------------------------ */
@@ -34,7 +33,7 @@
34
33
  &__input-text[type="text"] {
35
34
  width: 100%;
36
35
  box-sizing: border-box;
37
- padding-right: $space*4;
36
+ padding-right: $space * 4;
38
37
  }
39
38
 
40
39
  &__input-text-icon {
@@ -46,13 +45,12 @@
46
45
  }
47
46
  }
48
47
 
49
-
50
48
  /* ------------------------------------ *\
51
49
  #LIST
52
50
  \* ------------------------------------ */
53
51
  .n7-facet {
54
52
  &__section-input-link {
55
- margin-bottom: calc($space/2);
53
+ margin-bottom: calc($space * 0.5);
56
54
  border-bottom: 1px solid $color-border-normal;
57
55
 
58
56
  &:last-of-type {
@@ -61,7 +59,7 @@
61
59
  }
62
60
 
63
61
  &__input-link {
64
- padding-bottom: calc($space/2);
62
+ padding-bottom: calc($space * 0.5);
65
63
 
66
64
  &[class*="color-"] {
67
65
  .n7-facet__input-link-text {
@@ -82,7 +80,6 @@
82
80
  /* Hover */
83
81
  .n7-facet__input-link:hover {
84
82
  .n7-facet__input-link-text {
85
-
86
83
  }
87
84
  }
88
85
 
@@ -90,24 +87,22 @@
90
87
  .n7-facet__input-link.is-active {
91
88
  &:before {
92
89
  content: "\e93d";
93
- font-family: 'n7-icon';
90
+ font-family: "n7-icon";
94
91
  margin-right: $space;
95
92
  color: $color-success;
96
93
  }
97
94
 
98
95
  .n7-facet__input-link-text {
99
-
100
96
  }
101
97
  }
102
98
  }
103
99
 
104
-
105
100
  /* ------------------------------------ *\
106
101
  #SELECT
107
102
  \* ------------------------------------ */
108
103
  .n7-facet {
109
104
  &__section-input-select {
110
- width: calc(50% - #{$space*2});
105
+ width: calc(50% - #{$space * 2});
111
106
 
112
107
  .n7-facet__section-input,
113
108
  .n7-facet__input-select {
@@ -116,7 +111,6 @@
116
111
  }
117
112
  }
118
113
 
119
-
120
114
  /* ------------------------------------ *\
121
115
  #COLORS
122
116
  \* ------------------------------------ */
@@ -183,7 +177,7 @@
183
177
  .n7-facet__input-link-text {
184
178
  color: $color-organizations;
185
179
  }
186
-
180
+
187
181
  &:hover {
188
182
  .n7-facet__input-link-icon,
189
183
  .n7-facet__input-link-text {
@@ -250,7 +244,6 @@
250
244
  }
251
245
  }
252
246
 
253
-
254
247
  /* ------------------------------------ *\
255
248
  #MEDIA-QUERIES
256
249
  \* ------------------------------------ */
@@ -265,4 +258,4 @@
265
258
 
266
259
  /* Retina */
267
260
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
268
- }
261
+ }
@@ -8,7 +8,7 @@
8
8
  HEADER
9
9
  \* ------------------------------------ */
10
10
  .n7-header {
11
- padding: 0 $space*2;
11
+ padding: 0 $space * 2;
12
12
 
13
13
  // Hide the H1 in the header.
14
14
  &__title-subtitle {
@@ -18,7 +18,7 @@
18
18
  &__nav-item {
19
19
  margin: 0;
20
20
  padding: 0;
21
-
21
+
22
22
  &.is-active {
23
23
  .n7-header__nav-link {
24
24
  background: $header-active-item-color;
@@ -31,7 +31,7 @@
31
31
  flex-flow: column nowrap;
32
32
  justify-content: center;
33
33
  align-items: center;
34
- padding: 0 $space*2.5;
34
+ padding: 0 $space * 2.5;
35
35
  text-transform: uppercase;
36
36
 
37
37
  &:focus {
@@ -41,7 +41,7 @@
41
41
 
42
42
  &__nav-icon {
43
43
  margin-right: 0;
44
- margin-bottom: calc($space/2);
44
+ margin-bottom: calc($space * 0.5);
45
45
  font-size: $font-size-l;
46
46
  }
47
47
 
@@ -50,7 +50,6 @@
50
50
  }
51
51
  }
52
52
 
53
-
54
53
  /* ------------------------------------ *\
55
54
  #MEDIA-QUERIES
56
55
  \* ------------------------------------ */
@@ -58,4 +57,4 @@
58
57
  }
59
58
 
60
59
  @media all and (max-width: $header-breakpoint-mobile-small) {
61
- }
60
+ }
@@ -10,7 +10,7 @@
10
10
  .n7-item-preview {
11
11
  /* Main fields */
12
12
  &__title {
13
- margin-bottom: $space*1.5; // calc($space/2);
13
+ margin-bottom: $space * 1.5;
14
14
  font-weight: $font-weight-bold;
15
15
  font-size: $font-size-m;
16
16
 
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  &__text {
24
- margin-bottom: $space; // calc($space/2);
24
+ margin-bottom: $space;
25
25
  color: $color-gray-04;
26
26
 
27
27
  em {
@@ -32,7 +32,7 @@
32
32
 
33
33
  /* Metadata wrapper */
34
34
  &__metadata {
35
- margin-top: -calc($space/2);
35
+ margin-top: -calc($space * 0.5);
36
36
  }
37
37
 
38
38
  /* Metadata group */
@@ -41,7 +41,6 @@
41
41
  }
42
42
  }
43
43
 
44
-
45
44
  /* ------------------------------------ *\
46
45
  #MAIN-METADATA
47
46
  \* ------------------------------------ */
@@ -74,7 +73,6 @@
74
73
  }
75
74
  }
76
75
 
77
-
78
76
  /* ------------------------------------ *\
79
77
  #ENTITIES-METADATA
80
78
  \* ------------------------------------ */
@@ -83,10 +81,10 @@
83
81
  flex-grow: 0;
84
82
  margin-bottom: 0;
85
83
  background-color: $color-background-light;
86
- padding: calc($space/2) $space;
84
+ padding: calc($space * 0.5) $space;
87
85
  border-radius: $border-radius;
88
- box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
89
-
86
+ box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
87
+
90
88
  .n7-item-preview__metadata-item-icon {
91
89
  font-size: $font-size-m;
92
90
  font-weight: $font-weight-bold;
@@ -105,11 +103,11 @@
105
103
  &.color-concetto {
106
104
  color: $color-concepts;
107
105
  }
108
-
106
+
109
107
  &.color-cosa-notevole {
110
108
  color: $color-things;
111
109
  }
112
-
110
+
113
111
  &.color-organizzazione {
114
112
  color: $color-organizations;
115
113
  }
@@ -121,7 +119,7 @@
121
119
  &.color-evento {
122
120
  color: $color-events;
123
121
  }
124
-
122
+
125
123
  &.has-image {
126
124
  .n7-item-preview__image {
127
125
  width: $item-preview-image-size;
@@ -131,7 +129,6 @@
131
129
  }
132
130
  }
133
131
 
134
-
135
132
  /* ------------------------------------ *\
136
133
  #IS-FULLWIDTH
137
134
  \* ------------------------------------ */
@@ -149,11 +146,10 @@
149
146
  margin-left: auto;
150
147
  flex: 0 0 auto;
151
148
  text-align: right;
152
- margin-top: -calc($space/2);
149
+ margin-top: -calc($space * 0.5);
153
150
  }
154
151
  }
155
152
 
156
-
157
153
  /* ------------------------------------ *\
158
154
  #VERTICAL-WITH-IMAGE
159
155
  \* ------------------------------------ */
@@ -161,7 +157,6 @@
161
157
  border-bottom: 0;
162
158
  }
163
159
 
164
-
165
160
  /* ------------------------------------ *\
166
161
  #ENTITIES-COLOURED-TITLE
167
162
  \* ------------------------------------ */
@@ -207,18 +202,17 @@
207
202
  }
208
203
  }
209
204
 
210
-
211
205
  /* ------------------------------------ *\
212
206
  #RELATION-DESCRIPTION
213
207
  \* ------------------------------------ */
214
208
  /* Description of the relation with an entity, OC or AL */
215
209
  .aw-item-preview-relation {
216
210
  display: inline-block;
217
- margin-top: $space*1.5;
218
- padding: calc($space/2) $space;
211
+ margin-top: $space * 1.5;
212
+ padding: calc($space * 0.5) $space;
219
213
  background-color: $color-background-light;
220
214
  border-radius: $border-radius;
221
- box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
215
+ box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
222
216
 
223
217
  &__description {
224
218
  margin: 0;
@@ -237,20 +231,19 @@
237
231
  }
238
232
  }
239
233
 
240
-
241
234
  /* ------------------------------------ *\
242
235
  #ITEM-PREVIEW-WRAPPER
243
236
  \* ------------------------------------ */
244
237
  /* When the item preview needs to be wrapped with other elements
245
238
  like breadcrumbs or relation description */
246
239
  .aw-item-preview-wrapper {
247
- margin-bottom: $space*1.8;
248
- padding-bottom: $space*2.5;
240
+ margin-bottom: $space * 1.8;
241
+ padding-bottom: $space * 2.5;
249
242
  border-bottom: 1px solid $color-border-light;
250
243
  cursor: pointer;
251
244
 
252
245
  .n7-breadcrumbs {
253
- padding: 0 0 $space*1.2 0;
246
+ padding: 0 0 $space * 1.2 0;
254
247
  background-color: transparent;
255
248
  cursor: pointer;
256
249
 
@@ -260,7 +253,6 @@ like breadcrumbs or relation description */
260
253
  }
261
254
  }
262
255
 
263
-
264
256
  /* ------------------------------------ *\
265
257
  #MEDIA-QUERIES
266
258
  \* ------------------------------------ */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Component to display metadata organized and nested in groups.
5
5
  */
6
-
6
+
7
7
  /* ------------------------------------ *\
8
8
  #METADATA-VIEWER
9
9
  \* ------------------------------------ */
@@ -11,19 +11,19 @@
11
11
  &__group-wrapper {
12
12
  break-inside: avoid;
13
13
  }
14
-
14
+
15
15
  &__group {
16
16
  break-inside: auto;
17
17
  }
18
18
 
19
19
  &__item {
20
- margin-bottom: $space*2;
20
+ margin-bottom: $space * 2;
21
21
  break-inside: avoid;
22
22
  }
23
23
 
24
24
  &__item-label {
25
25
  display: block;
26
- margin-bottom: calc($space/2);
26
+ margin-bottom: calc($space * 0.5);
27
27
  font-size: $font-size-m;
28
28
  }
29
29
 
@@ -41,18 +41,18 @@
41
41
  &__item-value {
42
42
  dl {
43
43
  display: block;
44
- margin: $space*1.5 0 $space*1.5 $space*4;
45
- padding-bottom: $space*1;
44
+ margin: $space * 1.5 0 $space * 1.5 $space * 4;
45
+ padding-bottom: $space * 1;
46
46
  border-bottom: 1px solid $color-border-light;
47
47
 
48
48
  &:last-child {
49
- margin-bottom: $space*3;
49
+ margin-bottom: $space * 3;
50
50
  padding-bottom: 0;
51
51
  border-bottom: 0;
52
52
  }
53
53
 
54
54
  &:first-child {
55
- margin-top: $space*2.5;
55
+ margin-top: $space * 2.5;
56
56
  }
57
57
 
58
58
  div {
@@ -77,7 +77,7 @@
77
77
  margin-left: auto;
78
78
  font-size: $font-size-s;
79
79
  vertical-align: top;
80
-
80
+
81
81
  p {
82
82
  display: inline;
83
83
  margin: 0;
@@ -88,7 +88,6 @@
88
88
  }
89
89
  }
90
90
 
91
-
92
91
  /* ------------------------------------ *\
93
92
  #MEDIA-QUERIES
94
93
  \* ------------------------------------ */
@@ -103,4 +102,4 @@
103
102
 
104
103
  /* Retina */
105
104
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
106
- }
105
+ }