@zanichelli/zanichelli-it-frontend-kit 0.1.2 → 0.1.3

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 (107) hide show
  1. package/dist/types/components/menubar/menu/menu.d.ts +2 -2
  2. package/dist/types/components/menubar/menubar.d.ts +4 -1
  3. package/dist/types/components/menubar/mobile-menubar/mobile-menubar.d.ts +4 -3
  4. package/dist/types/components.d.ts +8 -8
  5. package/dist/zanichelli-it-frontend-kit/index-BQ_orCyU.js +4170 -0
  6. package/dist/zanichelli-it-frontend-kit/index-BQ_orCyU.js.map +1 -0
  7. package/dist/zanichelli-it-frontend-kit/index.esm.js +10 -0
  8. package/dist/zanichelli-it-frontend-kit/index.esm.js.map +1 -1
  9. package/dist/zanichelli-it-frontend-kit/menu-Cd2leC2L.js +46 -0
  10. package/dist/zanichelli-it-frontend-kit/menu-Cd2leC2L.js.map +1 -0
  11. package/dist/{collection/utils/utils.js → zanichelli-it-frontend-kit/utils-CaxAWyZI.js} +7 -3
  12. package/dist/zanichelli-it-frontend-kit/utils-CaxAWyZI.js.map +1 -0
  13. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.css +993 -1
  14. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js +49 -1
  15. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js.map +1 -1
  16. package/dist/zanichelli-it-frontend-kit/zanit-menubar.entry.esm.js.map +1 -0
  17. package/dist/{components/zanit-menubar.js → zanichelli-it-frontend-kit/zanit-menubar.entry.js} +36 -60
  18. package/dist/zanichelli-it-frontend-kit/zanit-menubar.entry.js.map +1 -0
  19. package/dist/zanichelli-it-frontend-kit/zanit-mobile-menubar.entry.esm.js.map +1 -0
  20. package/dist/{components/p-CWNmI_TK.js → zanichelli-it-frontend-kit/zanit-mobile-menubar.entry.js} +31 -96
  21. package/dist/zanichelli-it-frontend-kit/zanit-mobile-menubar.entry.js.map +1 -0
  22. package/dist/zanichelli-it-frontend-kit/zanit-search-form.entry.esm.js.map +1 -0
  23. package/dist/{components/p-Cphl7FvH.js → zanichelli-it-frontend-kit/zanit-search-form.entry.js} +13 -53
  24. package/dist/zanichelli-it-frontend-kit/zanit-search-form.entry.js.map +1 -0
  25. package/package.json +1 -1
  26. package/www/build/index-BQ_orCyU.js +4170 -0
  27. package/www/build/index-BQ_orCyU.js.map +1 -0
  28. package/www/build/index.esm.js +10 -0
  29. package/www/build/index.esm.js.map +1 -1
  30. package/www/build/menu-Cd2leC2L.js +46 -0
  31. package/www/build/menu-Cd2leC2L.js.map +1 -0
  32. package/www/build/utils-CaxAWyZI.js +21 -0
  33. package/www/build/utils-CaxAWyZI.js.map +1 -0
  34. package/www/build/zanichelli-it-frontend-kit.css +993 -1
  35. package/www/build/zanichelli-it-frontend-kit.esm.js +49 -1
  36. package/www/build/zanichelli-it-frontend-kit.esm.js.map +1 -1
  37. package/www/build/zanit-menubar.entry.esm.js.map +1 -0
  38. package/{dist/collection/components/menubar/menubar.js → www/build/zanit-menubar.entry.js} +46 -177
  39. package/www/build/zanit-menubar.entry.js.map +1 -0
  40. package/www/build/zanit-mobile-menubar.entry.esm.js.map +1 -0
  41. package/www/build/zanit-mobile-menubar.entry.js +159 -0
  42. package/www/build/zanit-mobile-menubar.entry.js.map +1 -0
  43. package/www/build/zanit-search-form.entry.esm.js.map +1 -0
  44. package/{dist/collection/components/menubar/search-form/search-form.js → www/build/zanit-search-form.entry.js} +23 -101
  45. package/www/build/zanit-search-form.entry.js.map +1 -0
  46. package/www/index.html +185 -37
  47. package/dist/cjs/index-C45Wd3rZ.js +0 -1535
  48. package/dist/cjs/index-C45Wd3rZ.js.map +0 -1
  49. package/dist/cjs/index.cjs.js +0 -5
  50. package/dist/cjs/index.cjs.js.map +0 -1
  51. package/dist/cjs/loader.cjs.js +0 -15
  52. package/dist/cjs/loader.cjs.js.map +0 -1
  53. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js +0 -27
  54. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js.map +0 -1
  55. package/dist/cjs/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.cjs.js.map +0 -1
  56. package/dist/cjs/zanit-menubar_3.cjs.entry.js +0 -648
  57. package/dist/cjs/zanit-menubar_3.cjs.entry.js.map +0 -1
  58. package/dist/collection/collection-manifest.json +0 -14
  59. package/dist/collection/components/menubar/menu/menu.css +0 -98
  60. package/dist/collection/components/menubar/menu/menu.js +0 -34
  61. package/dist/collection/components/menubar/menu/menu.js.map +0 -1
  62. package/dist/collection/components/menubar/menubar.css +0 -171
  63. package/dist/collection/components/menubar/menubar.js.map +0 -1
  64. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.css +0 -114
  65. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js +0 -280
  66. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js.map +0 -1
  67. package/dist/collection/components/menubar/search-form/search-form.css +0 -147
  68. package/dist/collection/components/menubar/search-form/search-form.js.map +0 -1
  69. package/dist/collection/index.js +0 -11
  70. package/dist/collection/index.js.map +0 -1
  71. package/dist/collection/utils/types.js +0 -2
  72. package/dist/collection/utils/types.js.map +0 -1
  73. package/dist/collection/utils/utils.js.map +0 -1
  74. package/dist/components/index.js +0 -1293
  75. package/dist/components/index.js.map +0 -1
  76. package/dist/components/p-CWNmI_TK.js.map +0 -1
  77. package/dist/components/p-Cphl7FvH.js.map +0 -1
  78. package/dist/components/zanit-menubar.js.map +0 -1
  79. package/dist/components/zanit-mobile-menubar.js +0 -9
  80. package/dist/components/zanit-mobile-menubar.js.map +0 -1
  81. package/dist/components/zanit-search-form.js +0 -9
  82. package/dist/components/zanit-search-form.js.map +0 -1
  83. package/dist/esm/index-BGwuI2U_.js +0 -1507
  84. package/dist/esm/index-BGwuI2U_.js.map +0 -1
  85. package/dist/esm/index.js +0 -4
  86. package/dist/esm/index.js.map +0 -1
  87. package/dist/esm/loader.js +0 -13
  88. package/dist/esm/loader.js.map +0 -1
  89. package/dist/esm/zanichelli-it-frontend-kit.js +0 -23
  90. package/dist/esm/zanichelli-it-frontend-kit.js.map +0 -1
  91. package/dist/esm/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.js.map +0 -1
  92. package/dist/esm/zanit-menubar_3.entry.js +0 -644
  93. package/dist/esm/zanit-menubar_3.entry.js.map +0 -1
  94. package/dist/index.cjs.js +0 -1
  95. package/dist/index.js +0 -1
  96. package/dist/zanichelli-it-frontend-kit/p-BGwuI2U_.js +0 -3
  97. package/dist/zanichelli-it-frontend-kit/p-BGwuI2U_.js.map +0 -1
  98. package/dist/zanichelli-it-frontend-kit/p-b064a657.entry.js +0 -2
  99. package/dist/zanichelli-it-frontend-kit/p-b064a657.entry.js.map +0 -1
  100. package/dist/zanichelli-it-frontend-kit/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.esm.js.map +0 -1
  101. package/www/build/p-984b8fa6.css +0 -1
  102. package/www/build/p-BGwuI2U_.js +0 -3
  103. package/www/build/p-BGwuI2U_.js.map +0 -1
  104. package/www/build/p-b064a657.entry.js +0 -2
  105. package/www/build/p-b064a657.entry.js.map +0 -1
  106. package/www/build/p-ff7fd122.js +0 -2
  107. package/www/build/zanit-menubar.zanit-mobile-menubar.zanit-search-form.entry.esm.js.map +0 -1
package/www/index.html CHANGED
@@ -1,114 +1,253 @@
1
- <!doctype html><html dir="ltr" lang="it"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Zanichelli.it frontend kit</title> <link rel="stylesheet" type="text/css" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css"> <link rel="stylesheet" type="text/css" href="/build/p-984b8fa6.css"> <link rel="modulepreload" href="/build/p-ff7fd122.js"><link rel="modulepreload" href="/build/p-BGwuI2U_.js"><script type="module" src="https://unpkg.com/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script> <script type="module" src="/build/p-ff7fd122.js" data-stencil data-resources-url="/build/" data-stencil-namespace="zanichelli-it-frontend-kit"></script> <script nomodule="" src="/build/zanichelli-it-frontend-kit.js" data-stencil></script> </head> <body> <header> <zanit-menubar current="per-chi-insegna"></zanit-menubar> <script>
1
+ <!doctype html><html dir="ltr" lang="it"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Zanichelli.it frontend kit</title> <link rel="stylesheet" type="text/css" href="https://unpkg.com/@zanichelli/albe-web-components/www/build/web-components-library.css"> <link rel="stylesheet" type="text/css" href="/build/zanichelli-it-frontend-kit.css"> <script type="module" src="https://unpkg.com/@zanichelli/albe-web-components/dist/web-components-library/web-components-library.esm.js"></script> <script type="module" src="/build/zanichelli-it-frontend-kit.esm.js" data-stencil></script> <script nomodule="" src="/build/zanichelli-it-frontend-kit.js" data-stencil></script> </head> <body> <header> <zanit-menubar current="scuola/per-chi-studia-4457ef/ciao-manuel"></zanit-menubar> <script>
2
2
  document.addEventListener('DOMContentLoaded', function () {
3
3
  document.querySelector('zanit-menubar')?.setAttribute(
4
4
  'data',
5
5
  JSON.stringify([
6
6
  {
7
7
  label: 'Scuola',
8
- href: 'https://localhost.zanichelli.it:3000/scuola',
8
+ href: 'https://test-www.aglebert.zanichelli.it/scuola',
9
9
  id: 'scuola',
10
+ highlight: false,
10
11
  navbarItems: [
11
12
  {
12
13
  label: 'Per chi insegna',
13
- href: 'https://localhost.zanichelli.it:3000/per-chi-insegna',
14
- id: 'per-chi-insegna',
14
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna',
15
+ id: 'per-chi-insegna-fb74aa',
16
+ highlight: false,
15
17
  menuItems: [
18
+ {
19
+ label: 'laZ',
20
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/laz',
21
+ id: 'laz',
22
+ group: {
23
+ label: 'In evidenza',
24
+ id: 'in-evidenza',
25
+ },
26
+ highlight: true,
27
+ },
28
+ {
29
+ label: 'Obiettivi formativi',
30
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/obiettivi-formativi',
31
+ id: 'obiettivi-formativi',
32
+ highlight: false,
33
+ },
34
+ {
35
+ label: 'cacciatori',
36
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/cacciatori-di-bufale-si-diventa',
37
+ id: 'cacciatori-di-bufale-si-diventa',
38
+ group: {
39
+ label: '6 Acqua pulita e servizi igienico-sanitari',
40
+ id: 'agenda2030-acqua-pulita-servizi-igienico-sanitari',
41
+ },
42
+ highlight: false,
43
+ },
16
44
  {
17
45
  label: 'Perché è difficile riconoscere le fake news in Rete?',
18
- href: 'https://localhost.zanichelli.it:3000/perche-e-difficile-riconoscere-le-fake-news-in-rete',
46
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/perche-e-difficile-riconoscere-le-fake-news-in-rete',
19
47
  id: 'perche-e-difficile-riconoscere-le-fake-news-in-rete',
20
- highlight: true,
21
- group: { id: 'in-evidenza', label: 'In evidenza' },
48
+ group: {
49
+ label: '4 Istruzione di qualità',
50
+ id: 'agenda2030-istruzione-di-qualita',
51
+ },
52
+ highlight: false,
22
53
  },
23
54
  {
24
55
  label: 'Dalla correlazione alla causalita applicazione al caso del global warming',
25
- href: 'https://localhost.zanichelli.it:3000/dalla-correlazione-alla-causalita-applicazione-al-caso-del-global-warming',
56
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/dalla-correlazione-alla-causalita-applicazione-al-caso-del-global-warming',
26
57
  id: 'dalla-correlazione-alla-causalita-applicazione-al-caso-del-global-warming',
27
- highlight: true,
28
- group: { id: 'in-evidenza', label: 'In evidenza' },
58
+ group: {
59
+ label: '4 Istruzione di qualità',
60
+ id: 'agenda2030-istruzione-di-qualita',
61
+ },
62
+ highlight: false,
29
63
  },
30
64
  {
31
- label: 'esplora, crea, connetti con laZ',
32
- href: 'https://localhost.zanichelli.it:3000/laz',
33
- id: 'laz',
65
+ label: 'Documento con copertina',
66
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/documento-con-copertina',
67
+ id: 'documento-con-copertina',
68
+ highlight: false,
34
69
  },
35
70
  {
36
- label: 'Obiettivi formativi',
37
- href: 'https://localhost.zanichelli.it:3000/obiettivi-formativi',
38
- id: 'obiettivi-formativi',
71
+ label: 'Offerta per Bisogni Educativi Speciali',
72
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/offerta-per-bisogni-educativi-speciali',
73
+ id: 'offerta-per-bisogni-educativi-speciali',
74
+ highlight: false,
39
75
  },
40
76
  {
41
- label: 'Cacciatori di bufale (si diventa)',
42
- href: 'https://localhost.zanichelli.it:3000/cacciatori-di-bufale-si-diventa',
43
- id: 'cacciatori-di-bufale-si-diventa',
77
+ label: 'Filiali & Filiali',
78
+ href: 'https://test-www.aglebert.zanichelli.it/contatti/filiali-e-agenzie/',
79
+ id: 'filiali-e-filiali',
80
+ highlight: false,
81
+ },
82
+ {
83
+ label: 'Servizi',
84
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/servizi',
85
+ id: 'servizi',
86
+ highlight: false,
87
+ },
88
+ {
89
+ label: 'prova manuel',
90
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/prova-manuel',
91
+ id: 'prova-manuel',
92
+ highlight: false,
93
+ },
94
+ {
95
+ label: 'Collezioni',
96
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/collezioni-64748c',
97
+ id: 'collezioni-64748c',
98
+ highlight: false,
99
+ },
100
+ {
101
+ label: 'Ciao manuel',
102
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/ciao-manuel',
103
+ id: 'ciao-manuel',
44
104
  group: {
45
- id: '6-acqua-pulita-e-servizi-igienico-sanitari',
46
- label: '6 Acqua pulita e servizi igienico-sanitari',
105
+ label: 'Proposta editorale',
106
+ id: 'proposta-editoriale',
47
107
  },
108
+ highlight: false,
48
109
  },
49
110
  {
50
- label: 'Documento con copertina',
51
- href: 'https://localhost.zanichelli.it:3000/documento-con-copertina',
52
- id: 'documento-con-copertina',
111
+ label: 'Prova di Paolo di Prova',
112
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-insegna/pdpdp',
113
+ id: 'pdpdp',
114
+ highlight: false,
53
115
  },
54
116
  ],
55
117
  },
56
118
  {
57
119
  label: 'Per chi studia',
58
- href: 'https://localhost.zanichelli.it:3000/per-chi-studia-4457ef',
120
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-studia',
59
121
  id: 'per-chi-studia-4457ef',
60
- menuItems: [],
122
+ highlight: false,
123
+ menuItems: [
124
+ {
125
+ label: 'PNRR 2023-2024',
126
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-studia/pnrr-2023-2024',
127
+ id: 'pnrr-2023-2024',
128
+ highlight: false,
129
+ },
130
+ {
131
+ label: 'Siti LaZ',
132
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-studia/laz',
133
+ id: 'siti-laz',
134
+ highlight: false,
135
+ },
136
+ {
137
+ label: 'Ciao manuel',
138
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-chi-studia/ciao-manuel',
139
+ id: 'ciao-manuel',
140
+ group: {
141
+ label: 'Proposta editorale',
142
+ id: 'proposta-editoriale',
143
+ },
144
+ highlight: false,
145
+ },
146
+ ],
61
147
  },
62
148
  {
63
149
  label: 'Per le scuole',
64
- href: 'https://localhost.zanichelli.it:3000/per-le-scuole',
150
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-le-scuole',
65
151
  id: 'per-le-scuole',
152
+ highlight: false,
66
153
  menuItems: [
67
154
  {
68
155
  label: 'La nostra proposta per i Bisogni Educativi Speciali',
69
- href: 'https://localhost.zanichelli.it:3000/longformtestfrappa',
156
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-le-scuole/longformtestfrappa',
70
157
  id: 'longformtestfrappa',
158
+ highlight: false,
71
159
  },
72
160
  ],
73
161
  },
74
162
  {
75
163
  label: 'Per le librerie',
76
- href: 'https://localhost.zanichelli.it:3000/per-le-librerie',
164
+ href: 'https://test-www.aglebert.zanichelli.it/scuola/per-le-librerie',
77
165
  id: 'per-le-librerie',
166
+ highlight: false,
78
167
  menuItems: [],
79
168
  },
80
169
  ],
81
170
  },
82
171
  {
83
172
  label: 'Università',
84
- href: 'https://localhost.zanichelli.it:3000/universita',
173
+ href: 'https://test-www.aglebert.zanichelli.it/universita',
85
174
  id: 'universita',
86
- menuItems: [],
175
+ highlight: false,
176
+ navbarItems: [
177
+ {
178
+ label: 'Per chi insegna',
179
+ href: 'https://test-www.aglebert.zanichelli.it/universita/per-chi-insegna',
180
+ id: 'per-chi-insegna-5b3787',
181
+ highlight: false,
182
+ menuItems: [],
183
+ },
184
+ {
185
+ label: 'Per chi studia',
186
+ href: 'https://test-www.aglebert.zanichelli.it/universita/per-chi-studia',
187
+ id: 'per-chi-studia-86b006',
188
+ highlight: false,
189
+ menuItems: [
190
+ {
191
+ label: 'Ciao manuel',
192
+ href: 'https://test-www.aglebert.zanichelli.it/universita/per-chi-studia/ciao-manuel',
193
+ id: 'ciao-manuel',
194
+ group: {
195
+ label: 'Proposta editorale',
196
+ id: 'proposta-editoriale',
197
+ },
198
+ highlight: false,
199
+ },
200
+ ],
201
+ },
202
+ ],
87
203
  },
88
204
  {
89
205
  label: 'Giuridico',
90
- href: 'https://localhost.zanichelli.it:3000/giuridico',
206
+ href: 'https://test-www.aglebert.zanichelli.it/giuridico',
91
207
  id: 'giuridico',
208
+ highlight: false,
92
209
  menuItems: [
210
+ {
211
+ label: 'Contatti',
212
+ href: 'https://test-www.aglebert.zanichelli.it/giuridico/contatti-c0b9ed',
213
+ id: 'contatti-c0b9ed',
214
+ group: {
215
+ label: 'In evidenza',
216
+ id: 'in-evidenza',
217
+ },
218
+ highlight: true,
219
+ },
93
220
  {
94
221
  label: 'Manuali universitari',
95
- href: 'https://localhost.zanichelli.it:3000/manuali-universitari',
222
+ href: 'https://test-www.aglebert.zanichelli.it/giuridico/manuali-universitari',
96
223
  id: 'manuali-universitari',
97
- group: { id: 'gruppo-1', label: 'gruppo 1' },
224
+ group: {
225
+ label: 'Primo biennio',
226
+ id: 'secondaria-2-grado-biennio',
227
+ },
228
+ highlight: false,
98
229
  navbarItems: [],
99
230
  },
100
231
  {
101
232
  label: 'Notiziario zanichelli',
102
- href: 'https://localhost.zanichelli.it:3000/notiziario-zanichelli-ea8873',
233
+ href: 'https://test-www.aglebert.zanichelli.it/giuridico/notiziario-zanichelli-ea8873',
103
234
  id: 'notiziario-zanichelli-ea8873',
235
+ highlight: false,
104
236
  navbarItems: [],
105
237
  },
238
+ {
239
+ label: 'Sostenibilità ambientale - 7',
240
+ href: 'https://test-www.aglebert.zanichelli.it/giuridico/sostenibilita-ambientale-7-9881c1',
241
+ id: 'sostenibilita-ambientale-7-9881c1',
242
+ highlight: false,
243
+ },
106
244
  ],
107
245
  },
108
246
  {
109
247
  label: 'Saggistica',
110
- href: 'https://localhost.zanichelli.it:3000/saggistica',
248
+ href: 'https://test-www.aglebert.zanichelli.it/saggistica',
111
249
  id: 'saggistica',
250
+ highlight: false,
112
251
  menuItems: [],
113
252
  },
114
253
  ])
@@ -164,4 +303,13 @@
164
303
  .inverse-link-container {
165
304
  background-color: var(--gray950);
166
305
  padding: 1rem 0.5rem;
167
- }</style> </body></html>
306
+ }</style> <script>
307
+ if ('serviceWorker' in navigator && location.protocol !== 'file:') {
308
+ // auto-unregister service worker during dev mode
309
+ navigator.serviceWorker.getRegistration().then(function(registration) {
310
+ if (registration) {
311
+ registration.unregister().then(function() { location.reload(true) });
312
+ }
313
+ });
314
+ }
315
+ </script></body></html>