@italia/carousel 1.0.0-alpha.7

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.
@@ -0,0 +1,716 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/constants.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "CONFIGS",
12
+ "type": {
13
+ "text": "Record<string, Options>"
14
+ },
15
+ "default": "{ 'it-carousel-landscape-abstract-three-cols': { type: 'slide', perPage: 3, gap: 24, padding: { left: 0, right: 0 }, arrows: false, breakpoints: { 768: { perPage: 1, gap: 24, padding: { left: 0, right: 0 }, arrows: false, }, 992: { perPage: 2, gap: 24, padding: { left: 40, right: 40 }, arrows: false, }, }, }, 'it-carousel-landscape-abstract-three-cols-arrow-visible': { type: 'slide', perPage: 3, gap: 24, padding: { left: 0, right: 0 }, arrows: true, breakpoints: { 768: { perPage: 1, gap: 24, padding: { left: 40, right: 40 }, arrows: true, }, 992: { perPage: 2, gap: 24, padding: { left: 40, right: 40 }, arrows: true, }, }, }, 'it-big-img': { type: 'loop', perPage: 1, gap: 48, padding: { left: 320, right: 320 }, arrows: false, breakpoints: { 768: { perPage: 1, gap: 0, padding: { left: 0, right: 0 }, arrows: false, }, 992: { perPage: 1, gap: 24, padding: { left: 160, right: 160 }, arrows: false, }, }, }, 'it-standard-image': { type: 'loop', perPage: 3, gap: 24, padding: { left: 48, right: 48 }, arrows: false, breakpoints: { 768: { perPage: 1, gap: 24, padding: { left: 40, right: 40 }, arrows: false, }, 992: { perPage: 2, gap: 24, padding: { left: 48, right: 48 }, arrows: false, }, }, }, 'it-carousel-landscape-abstract': { type: 'slide', perPage: 1, gap: 24, padding: { left: 0, right: 0 }, arrows: false, breakpoints: { 768: { perPage: 1, gap: 24, padding: { left: 0, right: 0 }, arrows: false, }, 992: { perPage: 1, gap: 24, padding: { left: 24, right: 24 }, arrows: false, }, }, }, 'it-calendar-wrapper': { type: 'slide', perPage: 4, gap: 0, padding: { left: 0, right: 0 }, arrows: false, breakpoints: { 560: { perPage: 1, gap: 0, padding: { left: 24, right: 24 }, arrows: false, }, 768: { perPage: 2, gap: 0, padding: { left: 0, right: 0 }, arrows: false, }, 992: { perPage: 3, gap: 0, padding: { left: 0, right: 0 }, arrows: false, }, }, }, }"
16
+ },
17
+ {
18
+ "kind": "variable",
19
+ "name": "VARIANT_MAP",
20
+ "type": {
21
+ "text": "Record<\n CarouselVariants,\n { wrapperClass: string; imageClass?: string; configKey: keyof typeof CONFIGS }\n>"
22
+ },
23
+ "default": "{ /** Card editoriali inline (orizzontali), 1 colonna */ single: { wrapperClass: 'it-carousel-landscape-abstract', configKey: 'it-carousel-landscape-abstract', }, /** Card base solo testo, 3 colonne */ columns: { wrapperClass: 'it-carousel-landscape-abstract-three-cols', configKey: 'it-carousel-landscape-abstract-three-cols', }, /** * Fullscreen immagini grandi. * BSI richiede: it-carousel-landscape-abstract-three-cols + it-full-carousel + it-big-img */ 'gallery-lg': { wrapperClass: 'it-carousel-landscape-abstract-three-cols', imageClass: 'it-big-img', configKey: 'it-big-img', }, /** * Fullscreen immagini standard. * BSI richiede: it-carousel-landscape-abstract-three-cols + it-full-carousel + it-standard-image */ 'gallery-sm': { wrapperClass: 'it-carousel-landscape-abstract-three-cols', imageClass: 'it-standard-image', configKey: 'it-standard-image', }, }",
24
+ "description": "Maps a CarouselVariant to its BSI wrapper class and Splide config key."
25
+ }
26
+ ],
27
+ "exports": [
28
+ {
29
+ "kind": "js",
30
+ "name": "CONFIGS",
31
+ "declaration": {
32
+ "name": "CONFIGS",
33
+ "module": "src/constants.ts"
34
+ }
35
+ },
36
+ {
37
+ "kind": "js",
38
+ "name": "VARIANT_MAP",
39
+ "declaration": {
40
+ "name": "VARIANT_MAP",
41
+ "module": "src/constants.ts"
42
+ }
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "kind": "javascript-module",
48
+ "path": "src/index.ts",
49
+ "declarations": [],
50
+ "exports": [
51
+ {
52
+ "kind": "js",
53
+ "name": "ItCarousel",
54
+ "declaration": {
55
+ "name": "ItCarousel",
56
+ "module": "./it-carousel.js"
57
+ }
58
+ },
59
+ {
60
+ "kind": "js",
61
+ "name": "ItCarouselSlide",
62
+ "declaration": {
63
+ "name": "ItCarouselSlide",
64
+ "module": "./it-carousel-slide.js"
65
+ }
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "kind": "javascript-module",
71
+ "path": "src/it-carousel-slide.ts",
72
+ "declarations": [
73
+ {
74
+ "kind": "class",
75
+ "description": "",
76
+ "name": "ItCarouselSlide",
77
+ "members": [],
78
+ "superclass": {
79
+ "name": "BaseComponent",
80
+ "package": "@italia/globals"
81
+ },
82
+ "tagName": "it-carousel-slide",
83
+ "customElement": true
84
+ }
85
+ ],
86
+ "exports": [
87
+ {
88
+ "kind": "js",
89
+ "name": "ItCarouselSlide",
90
+ "declaration": {
91
+ "name": "ItCarouselSlide",
92
+ "module": "src/it-carousel-slide.ts"
93
+ }
94
+ },
95
+ {
96
+ "kind": "custom-element-definition",
97
+ "name": "it-carousel-slide",
98
+ "declaration": {
99
+ "name": "ItCarouselSlide",
100
+ "module": "src/it-carousel-slide.ts"
101
+ }
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "kind": "javascript-module",
107
+ "path": "src/it-carousel.ts",
108
+ "declarations": [
109
+ {
110
+ "kind": "class",
111
+ "description": "",
112
+ "name": "ItCarousel",
113
+ "cssParts": [
114
+ {
115
+ "description": "Wrapper element containing the prev/next arrow buttons.",
116
+ "name": "arrows"
117
+ },
118
+ {
119
+ "description": "The \"previous\" arrow button.",
120
+ "name": "arrow-prev"
121
+ },
122
+ {
123
+ "description": "The \"next\" arrow button.",
124
+ "name": "arrow-next"
125
+ },
126
+ {
127
+ "description": "The pagination list element (dots). When autoplay is enabled it lives inside the controls wrapper; otherwise Splide appends it to the carousel root.",
128
+ "name": "pagination-track"
129
+ },
130
+ {
131
+ "description": "Each individual pagination dot button.",
132
+ "name": "pagination-dot"
133
+ },
134
+ {
135
+ "description": "The play/pause toggle button (rendered when `autoplay` prop is true or `config.autoplay` is set).",
136
+ "name": "autoplay-toggle"
137
+ },
138
+ {
139
+ "description": "The play SVG icon inside the toggle button.",
140
+ "name": "autoplay-play"
141
+ },
142
+ {
143
+ "description": "The pause SVG icon inside the toggle button.",
144
+ "name": "autoplay-pause"
145
+ }
146
+ ],
147
+ "members": [
148
+ {
149
+ "kind": "field",
150
+ "name": "config",
151
+ "type": {
152
+ "text": "Options | undefined"
153
+ },
154
+ "default": "{}",
155
+ "attribute": "config",
156
+ "reflects": true
157
+ },
158
+ {
159
+ "kind": "field",
160
+ "name": "variant",
161
+ "type": {
162
+ "text": "CarouselVariants"
163
+ },
164
+ "default": "'single'",
165
+ "attribute": "variant",
166
+ "reflects": true
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "fullscreen",
171
+ "type": {
172
+ "text": "boolean | undefined"
173
+ },
174
+ "default": "false",
175
+ "attribute": "fullscreen",
176
+ "reflects": true
177
+ },
178
+ {
179
+ "kind": "field",
180
+ "name": "arrows",
181
+ "type": {
182
+ "text": "boolean"
183
+ },
184
+ "default": "false",
185
+ "attribute": "arrows",
186
+ "reflects": true
187
+ },
188
+ {
189
+ "kind": "field",
190
+ "name": "separator",
191
+ "type": {
192
+ "text": "boolean"
193
+ },
194
+ "default": "false",
195
+ "attribute": "separator",
196
+ "reflects": true
197
+ },
198
+ {
199
+ "kind": "field",
200
+ "name": "type",
201
+ "type": {
202
+ "text": "CarouselType | undefined"
203
+ },
204
+ "description": "Splide movement type. Overrides the variant's default type.\n- `slide` (default for most variants) — linear slide\n- `loop` — infinite loop\n- `fade` — crossfade",
205
+ "attribute": "type",
206
+ "reflects": true
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "autoplay",
211
+ "type": {
212
+ "text": "boolean"
213
+ },
214
+ "default": "false",
215
+ "description": "If true, enables Splide autoplay in `'pause'` mode: the carousel\nauto-advances but starts paused so the user must explicitly press Play.\nA play/pause toggle button is rendered automatically.\nTo customise the interval or other autoplay options use `config.autoplay`.",
216
+ "attribute": "autoplay",
217
+ "reflects": true
218
+ },
219
+ {
220
+ "kind": "field",
221
+ "name": "titleElements",
222
+ "type": {
223
+ "text": "HTMLElement[]"
224
+ }
225
+ },
226
+ {
227
+ "kind": "field",
228
+ "name": "mainSlot",
229
+ "type": {
230
+ "text": "HTMLSlotElement"
231
+ }
232
+ },
233
+ {
234
+ "kind": "field",
235
+ "name": "wrapper",
236
+ "type": {
237
+ "text": "HTMLElement"
238
+ }
239
+ },
240
+ {
241
+ "kind": "field",
242
+ "name": "list",
243
+ "type": {
244
+ "text": "HTMLElement"
245
+ }
246
+ },
247
+ {
248
+ "kind": "field",
249
+ "name": "_isInitialized",
250
+ "type": {
251
+ "text": "boolean"
252
+ },
253
+ "privacy": "private",
254
+ "default": "false"
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "_splide",
259
+ "type": {
260
+ "text": "Splide | undefined"
261
+ },
262
+ "privacy": "private"
263
+ },
264
+ {
265
+ "kind": "method",
266
+ "name": "pauseAutoplay",
267
+ "privacy": "public"
268
+ },
269
+ {
270
+ "kind": "method",
271
+ "name": "playAutoplay",
272
+ "privacy": "public"
273
+ },
274
+ {
275
+ "kind": "method",
276
+ "name": "_handleSlotChange",
277
+ "privacy": "private",
278
+ "parameters": [
279
+ {
280
+ "name": "e",
281
+ "type": {
282
+ "text": "Event"
283
+ }
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "kind": "method",
289
+ "name": "_initSplide",
290
+ "privacy": "private",
291
+ "parameters": [
292
+ {
293
+ "name": "slides",
294
+ "optional": true,
295
+ "type": {
296
+ "text": "Element[]"
297
+ }
298
+ }
299
+ ]
300
+ },
301
+ {
302
+ "kind": "method",
303
+ "name": "_updateInert",
304
+ "privacy": "private",
305
+ "description": "Adds `inert` to every slide that Splide has not marked as visible,\nand removes it from the ones that are. Called after mount and on every\n`moved` event so the tab order always reflects what is on screen.\nClone slides (loop mode) are always inert per splide docs."
306
+ },
307
+ {
308
+ "kind": "method",
309
+ "name": "_applyParts",
310
+ "privacy": "private",
311
+ "description": "After Splide mounts it injects elements (arrows, pagination) directly into\nthe shadow DOM. We annotate each one with a CSS `part` so that consumers\ncan reach them from outside the shadow root with `::part()`.\n\nExposed parts:\n- `arrows` – the arrows wrapper element\n- `arrow-prev` – the \"previous\" button\n- `arrow-next` – the \"next\" button\n- `pagination-track` – the pagination `<ul>` (dots)\n- `pagination-dot` – each individual dot `<button>`"
312
+ },
313
+ {
314
+ "kind": "method",
315
+ "name": "handleTitleSlotChange",
316
+ "privacy": "private"
317
+ },
318
+ {
319
+ "kind": "method",
320
+ "name": "_sectionClass",
321
+ "privacy": "private",
322
+ "return": {
323
+ "type": {
324
+ "text": "string"
325
+ }
326
+ }
327
+ }
328
+ ],
329
+ "events": [
330
+ {
331
+ "name": "it-carousel-play",
332
+ "type": {
333
+ "text": "CustomEvent"
334
+ }
335
+ },
336
+ {
337
+ "name": "it-carousel-pause",
338
+ "type": {
339
+ "text": "CustomEvent"
340
+ }
341
+ }
342
+ ],
343
+ "attributes": [
344
+ {
345
+ "name": "config",
346
+ "type": {
347
+ "text": "Options | undefined"
348
+ },
349
+ "default": "{}",
350
+ "fieldName": "config"
351
+ },
352
+ {
353
+ "name": "variant",
354
+ "type": {
355
+ "text": "CarouselVariants"
356
+ },
357
+ "default": "'single'",
358
+ "fieldName": "variant"
359
+ },
360
+ {
361
+ "name": "fullscreen",
362
+ "type": {
363
+ "text": "boolean | undefined"
364
+ },
365
+ "default": "false",
366
+ "fieldName": "fullscreen"
367
+ },
368
+ {
369
+ "name": "arrows",
370
+ "type": {
371
+ "text": "boolean"
372
+ },
373
+ "default": "false",
374
+ "fieldName": "arrows"
375
+ },
376
+ {
377
+ "name": "separator",
378
+ "type": {
379
+ "text": "boolean"
380
+ },
381
+ "default": "false",
382
+ "fieldName": "separator"
383
+ },
384
+ {
385
+ "name": "type",
386
+ "type": {
387
+ "text": "CarouselType | undefined"
388
+ },
389
+ "description": "Splide movement type. Overrides the variant's default type.\n- `slide` (default for most variants) — linear slide\n- `loop` — infinite loop\n- `fade` — crossfade",
390
+ "fieldName": "type"
391
+ },
392
+ {
393
+ "name": "autoplay",
394
+ "type": {
395
+ "text": "boolean"
396
+ },
397
+ "default": "false",
398
+ "description": "If true, enables Splide autoplay in `'pause'` mode: the carousel\nauto-advances but starts paused so the user must explicitly press Play.\nA play/pause toggle button is rendered automatically.\nTo customise the interval or other autoplay options use `config.autoplay`.",
399
+ "fieldName": "autoplay"
400
+ }
401
+ ],
402
+ "superclass": {
403
+ "name": "BaseLocalizedComponent",
404
+ "package": "@italia/globals"
405
+ },
406
+ "tagName": "it-carousel",
407
+ "customElement": true
408
+ }
409
+ ],
410
+ "exports": [
411
+ {
412
+ "kind": "js",
413
+ "name": "ItCarousel",
414
+ "declaration": {
415
+ "name": "ItCarousel",
416
+ "module": "src/it-carousel.ts"
417
+ }
418
+ },
419
+ {
420
+ "kind": "custom-element-definition",
421
+ "name": "it-carousel",
422
+ "declaration": {
423
+ "name": "ItCarousel",
424
+ "module": "src/it-carousel.ts"
425
+ }
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ "kind": "javascript-module",
431
+ "path": "src/types.ts",
432
+ "declarations": [],
433
+ "exports": []
434
+ },
435
+ {
436
+ "kind": "javascript-module",
437
+ "path": "stories/it-carousel.stories.ts",
438
+ "declarations": [
439
+ {
440
+ "kind": "variable",
441
+ "name": "meta",
442
+ "type": {
443
+ "text": "Meta<any>"
444
+ },
445
+ "default": "{ title: 'Componenti/Carousel', tags: ['alpha', 'web-component', 'a11y-ok'], component: 'it-carousel', args: { arrows: false, autoplay: false, fullscreen: false, separator: false, type: undefined, variant: 'single', config: undefined, title: 'Titolo carousel', }, argTypes: { fullscreen: { control: 'boolean', description: 'Se true, il carousel occupa tutta la larghezza disponibile.', table: { defaultValue: { summary: 'false' } }, }, arrows: { control: 'boolean', description: 'Se true, mostra le frecce di navigazione del carousel.', table: { defaultValue: { summary: 'false' } }, }, separator: { control: 'boolean', description: 'Se true, mostra un separatore verticale tra le slide.', table: { defaultValue: { summary: 'false' } }, }, variant: { control: 'select', description: 'Variante di layout del carousel.', options: VARIANTS, type: 'string', table: { defaultValue: { summary: 'single' } }, }, type: { control: 'select', description: 'Tipo di scorrimento del carousel. Se non specificato, viene usato il default della variante.', options: ['slide', 'loop', 'fade'], type: 'string', table: { defaultValue: { summary: '-' } }, }, autoplay: { control: 'boolean', description: \"Se true, abilita l'autoplay del carousel con modalità \\\"pause\\\" (il carousel avanza automaticamente ma parte in pausa, l'utente deve premere play per avviarlo). Viene renderizzato automaticamente un pulsante di toggle play/pause. Per personalizzare l'intervallo o altre opzioni dell'autoplay, usa config.autoplay.\", table: { defaultValue: { summary: 'false' } }, }, config: { control: false, description: 'Oggetto di configurazione avanzata da passare a Splide. Consulta la documentazione del componente Carousel e quella di Splide v4.x per conoscere le opzioni disponibili.', table: { defaultValue: { summary: '-' } }, }, cardOptions: { table: { disable: true }, }, title: { table: { disable: true }, }, }, parameters: { docs: { source: { excludeDecorators: true, }, }, layout: 'padded', a11y: { config: { rules: [ { id: 'aria-valid-attr-value', // La regola che sta urlando enabled: false, }, ], }, }, }, decorators: [(story) => html`<div style=\"padding:2rem\">${story()}</div>`], }"
446
+ },
447
+ {
448
+ "kind": "variable",
449
+ "name": "EsempioInterattivo",
450
+ "type": {
451
+ "text": "Story"
452
+ },
453
+ "default": "{ name: 'Esempio interattivo', tags: ['!autodocs', '!dev'], parameters: { docs: { canvas: { sourceState: 'hidden', }, }, }, args: { cardOptions: { type: 'simpleCard', }, }, render: (args) => renderComponent(args), }"
454
+ },
455
+ {
456
+ "kind": "variable",
457
+ "name": "VarianteSingola",
458
+ "type": {
459
+ "text": "Story"
460
+ },
461
+ "default": "{ name: 'Variante singola', args: { cardOptions: { type: 'inline', }, }, parameters: { docs: { description: { story: 'La variante `single` mostra una sola card alla volta.', }, }, }, render: (args) => renderComponent(args), }"
462
+ },
463
+ {
464
+ "kind": "variable",
465
+ "name": "Variante3Colonne",
466
+ "type": {
467
+ "text": "Story"
468
+ },
469
+ "default": "{ name: 'Variante 3 colonne', args: { variant: 'columns', arrows: false, cardOptions: { type: 'simpleCard', }, }, render: (args) => renderComponent(args), }"
470
+ },
471
+ {
472
+ "kind": "variable",
473
+ "name": "VarianteGallerySM",
474
+ "type": {
475
+ "text": "Story"
476
+ },
477
+ "default": "{ name: 'Variante gallery small', args: { variant: 'gallery-sm', arrows: false, cardOptions: { type: 'image', }, title: 'Variante gallery small', }, render: (args) => renderComponent(args), }"
478
+ },
479
+ {
480
+ "kind": "variable",
481
+ "name": "VarianteGalleryLG",
482
+ "type": {
483
+ "text": "Story"
484
+ },
485
+ "default": "{ name: 'Variante gallery large', args: { variant: 'gallery-lg', arrows: false, cardOptions: { type: 'image', }, title: 'Variante gallery large', }, render: (args) => renderComponent(args), }"
486
+ },
487
+ {
488
+ "kind": "variable",
489
+ "name": "ConFrecce1",
490
+ "type": {
491
+ "text": "Story"
492
+ },
493
+ "default": "{ name: 'Con frecce di navigazione', args: { variant: 'columns', arrows: true, cardOptions: { type: 'cardWithImage', }, }, render: (args) => html` <div style=\"display: flex; flex-direction: column; gap: 4rem;\"> ${renderComponent(args)} ${renderComponent({ ...args, variant: 'single' })} </div> `, }"
494
+ },
495
+ {
496
+ "kind": "variable",
497
+ "name": "Fullscreen",
498
+ "type": {
499
+ "text": "Story"
500
+ },
501
+ "default": "{ args: { variant: 'single', arrows: true, fullscreen: true, cardOptions: { type: 'inline', }, }, render: (args) => renderComponent(args), }"
502
+ },
503
+ {
504
+ "kind": "variable",
505
+ "name": "Separator",
506
+ "type": {
507
+ "text": "Story"
508
+ },
509
+ "default": "{ name: 'Con separatore tra le slide', args: { variant: 'columns', separator: true, cardOptions: { type: 'inline', }, }, render: (args) => renderComponent(args), }"
510
+ },
511
+ {
512
+ "kind": "variable",
513
+ "name": "TipoScorrimento",
514
+ "type": {
515
+ "text": "Story"
516
+ },
517
+ "default": "{ name: 'Modalità di scorrimento custom del Carousel', args: { variant: 'single', type: 'loop', cardOptions: { type: 'cardWithImage', }, title: 'Carousel con scorrimento in loop', }, render: (args) => html` <div style=\"display: flex; flex-direction: column; gap: 4rem;\"> ${renderComponent(args)} ${renderComponent({ ...args, type: 'fade', title: 'Carousel con scorrimento fade' })} ${renderComponent({ ...args, type: 'slide', title: 'Carousel con scorrimento slide' })} </div> `, }"
518
+ },
519
+ {
520
+ "kind": "variable",
521
+ "name": "Autoplay",
522
+ "type": {
523
+ "text": "Story"
524
+ },
525
+ "default": "{ args: { variant: 'single', autoplay: true, cardOptions: { type: 'inline', }, title: 'Carousel con autoplay', }, parameters: { docs: { description: { story: \"Esempio che mostra il pulsante Play/Pausa e l'autoplay abilitato (modalità 'pause').\", }, }, }, render: (args) => renderComponent(args), }"
526
+ },
527
+ {
528
+ "kind": "variable",
529
+ "name": "ConfigurazioneAvanzata",
530
+ "type": {
531
+ "text": "Story"
532
+ },
533
+ "default": "{ name: 'Configurazione avanzata di Splide', args: { variant: 'columns', cardOptions: { type: 'cardWithImage', }, config: { type: 'loop', autoplay: 'pause', interval: 3000, pauseOnHover: true, resetProgress: false, perPage: 2, arrows: true, gap: 16, padding: { left: 8, right: 8 }, breakpoints: { 560: { perPage: 1, gap: 0, padding: { left: 24, right: 24 }, arrows: false, }, 768: { perPage: 2, gap: 0, padding: { left: 0, right: 0 }, arrows: false, }, 992: { perPage: 3, gap: 0, padding: { left: 0, right: 0 }, arrows: false, }, }, }, }, render: (args) => renderComponent(args), }"
534
+ },
535
+ {
536
+ "kind": "variable",
537
+ "name": "VideoTest",
538
+ "type": {
539
+ "text": "Story"
540
+ },
541
+ "default": "{ name: 'VideoTest', tags: ['!dev'], args: { variant: 'single', arrows: true, fullscreen: true, cardOptions: { type: 'video', }, }, render: (args) => renderComponent(args), }"
542
+ },
543
+ {
544
+ "kind": "variable",
545
+ "name": "I18n",
546
+ "type": {
547
+ "text": "Story"
548
+ },
549
+ "default": "{ name: 'i18n', tags: ['!dev'], render: () => html`<div class=\"hide-preview\"></div>`, parameters: { viewMode: 'docs', docs: { description: { story: ` Per questo componente sono disponibili alcune stringhe traducibili tramite l'[utility di internazionalizzazione](/docs/i18n-internazionalizzazione--documentazione). \\`\\`\\`js const translation = ${JSON.stringify(i18nIT, null, 2)} \\`\\`\\` `, }, }, }, }"
550
+ }
551
+ ],
552
+ "exports": [
553
+ {
554
+ "kind": "js",
555
+ "name": "default",
556
+ "declaration": {
557
+ "name": "meta",
558
+ "module": "stories/it-carousel.stories.ts"
559
+ }
560
+ },
561
+ {
562
+ "kind": "js",
563
+ "name": "EsempioInterattivo",
564
+ "declaration": {
565
+ "name": "EsempioInterattivo",
566
+ "module": "stories/it-carousel.stories.ts"
567
+ }
568
+ },
569
+ {
570
+ "kind": "js",
571
+ "name": "VarianteSingola",
572
+ "declaration": {
573
+ "name": "VarianteSingola",
574
+ "module": "stories/it-carousel.stories.ts"
575
+ }
576
+ },
577
+ {
578
+ "kind": "js",
579
+ "name": "Variante3Colonne",
580
+ "declaration": {
581
+ "name": "Variante3Colonne",
582
+ "module": "stories/it-carousel.stories.ts"
583
+ }
584
+ },
585
+ {
586
+ "kind": "js",
587
+ "name": "VarianteGallerySM",
588
+ "declaration": {
589
+ "name": "VarianteGallerySM",
590
+ "module": "stories/it-carousel.stories.ts"
591
+ }
592
+ },
593
+ {
594
+ "kind": "js",
595
+ "name": "VarianteGalleryLG",
596
+ "declaration": {
597
+ "name": "VarianteGalleryLG",
598
+ "module": "stories/it-carousel.stories.ts"
599
+ }
600
+ },
601
+ {
602
+ "kind": "js",
603
+ "name": "ConFrecce1",
604
+ "declaration": {
605
+ "name": "ConFrecce1",
606
+ "module": "stories/it-carousel.stories.ts"
607
+ }
608
+ },
609
+ {
610
+ "kind": "js",
611
+ "name": "Fullscreen",
612
+ "declaration": {
613
+ "name": "Fullscreen",
614
+ "module": "stories/it-carousel.stories.ts"
615
+ }
616
+ },
617
+ {
618
+ "kind": "js",
619
+ "name": "Separator",
620
+ "declaration": {
621
+ "name": "Separator",
622
+ "module": "stories/it-carousel.stories.ts"
623
+ }
624
+ },
625
+ {
626
+ "kind": "js",
627
+ "name": "TipoScorrimento",
628
+ "declaration": {
629
+ "name": "TipoScorrimento",
630
+ "module": "stories/it-carousel.stories.ts"
631
+ }
632
+ },
633
+ {
634
+ "kind": "js",
635
+ "name": "Autoplay",
636
+ "declaration": {
637
+ "name": "Autoplay",
638
+ "module": "stories/it-carousel.stories.ts"
639
+ }
640
+ },
641
+ {
642
+ "kind": "js",
643
+ "name": "ConfigurazioneAvanzata",
644
+ "declaration": {
645
+ "name": "ConfigurazioneAvanzata",
646
+ "module": "stories/it-carousel.stories.ts"
647
+ }
648
+ },
649
+ {
650
+ "kind": "js",
651
+ "name": "VideoTest",
652
+ "declaration": {
653
+ "name": "VideoTest",
654
+ "module": "stories/it-carousel.stories.ts"
655
+ }
656
+ },
657
+ {
658
+ "kind": "js",
659
+ "name": "I18n",
660
+ "declaration": {
661
+ "name": "I18n",
662
+ "module": "stories/it-carousel.stories.ts"
663
+ }
664
+ }
665
+ ]
666
+ },
667
+ {
668
+ "kind": "javascript-module",
669
+ "path": "src/locales/en.ts",
670
+ "declarations": [
671
+ {
672
+ "kind": "variable",
673
+ "name": "translation",
674
+ "type": {
675
+ "text": "DefaultTranslation"
676
+ },
677
+ "default": "{ $code: 'en', $name: 'English', $dir: 'ltr', // splide i18n — English defaults carousel_prev: 'Previous slide', carousel_next: 'Next slide', carousel_first: 'Go to first slide', carousel_last: 'Go to last slide', carousel_slideX: 'Go to slide %s', carousel_pageX: 'Go to page %s', carousel_play: 'Start autoplay', carousel_pause: 'Pause autoplay', carousel_carousel: 'carousel', carousel_select: 'Select a slide to show', carousel_slide: 'slide', carousel_slideLabel: '%s of %s', carousel_startautoplay: 'Start autoplay', carousel_stopautoplay: 'Stop autoplay', }"
678
+ }
679
+ ],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "default",
684
+ "declaration": {
685
+ "name": "translation",
686
+ "module": "src/locales/en.ts"
687
+ }
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "kind": "javascript-module",
693
+ "path": "src/locales/it.ts",
694
+ "declarations": [
695
+ {
696
+ "kind": "variable",
697
+ "name": "translation",
698
+ "type": {
699
+ "text": "DefaultTranslation"
700
+ },
701
+ "default": "{ $code: 'it', $name: 'Italiano', $dir: 'ltr', // splide i18n — fonte: bsi docs carousel_prev: 'Slide precedente', carousel_next: 'Slide successiva', carousel_first: 'Vai alla prima slide', carousel_last: \"Vai all'ultima slide\", carousel_slideX: 'Vai alla slide %s', carousel_pageX: 'Vai a pagina %s', carousel_play: 'Attiva autoplay', carousel_pause: 'Pausa autoplay', carousel_carousel: 'carosello', carousel_select: 'Seleziona una slide da mostrare', carousel_slide: 'slide', carousel_slideLabel: '%s di %s', carousel_startautoplay: 'Attiva autoplay', carousel_stopautoplay: 'Spegni autoplay', }"
702
+ }
703
+ ],
704
+ "exports": [
705
+ {
706
+ "kind": "js",
707
+ "name": "default",
708
+ "declaration": {
709
+ "name": "translation",
710
+ "module": "src/locales/it.ts"
711
+ }
712
+ }
713
+ ]
714
+ }
715
+ ]
716
+ }