@visitscotland/component-library 5.24.0 → 5.26.0

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 (40) hide show
  1. package/dist/client/manifest.json +80 -74
  2. package/dist/client/scripts/{03be5e7637e3fc5b35f2.js → 1918cd9906bebffe3457.js} +1 -1
  3. package/dist/client/scripts/2a74d3661f1aeb64da2d.js +1 -0
  4. package/dist/client/scripts/{17a86b81ab53210ba3b1.js → 33243d5f6375a35a5b08.js} +1 -1
  5. package/dist/client/scripts/91501cfefb3e9beeffa4.js +1 -0
  6. package/dist/client/scripts/{38efb2b25829632c19c8.js → 92fd03b906450b6f9fb4.js} +1 -1
  7. package/dist/client/scripts/{2fefcc676eaf5c194a88.js → 951faebbaf9131953a9d.js} +1 -1
  8. package/dist/client/scripts/a67dfcc6f9de1ceaf9d9.js +1 -0
  9. package/dist/client/scripts/{c4552846f303aee84135.js → b67e49703dfa94258c7e.js} +1 -1
  10. package/dist/client/scripts/{531fe01149ba3d42eb15.js → bd3814764b1c7e8c5751.js} +1 -1
  11. package/dist/client/scripts/d15b3712f04d6c8972a1.js +1 -0
  12. package/dist/client/scripts/d46534bfd4639ca6592e.js +1 -0
  13. package/dist/client/scripts/e555e6f7c093044467bd.js +1 -0
  14. package/dist/client/scripts/{759c19d24a0142a36400.js → e64ed3126572382cb3b7.js} +1 -1
  15. package/dist/client/scripts/f3adb12e0b611f4ccba4.js +1 -0
  16. package/dist/client/styles/e555e6f7c093044467bd.css +1 -0
  17. package/dist/components/src/components/hero-section/HeroSection.vue.d.ts +37 -330
  18. package/dist/components/src/components/hero-section/components/HeroSectionImage.vue.d.ts +37 -330
  19. package/dist/components/src/components/media-caption/MediaCaption.vue.d.ts +224 -0
  20. package/dist/components/style.css +1 -1
  21. package/dist/components/vs-component-library.js +6 -6
  22. package/dist/components/vs-component-library.mjs +447 -364
  23. package/dist/ssr/index.js +1 -1
  24. package/dist/ssr/manifest.json +1 -1
  25. package/dist/ssr/styles/{6cc3219c77acff32fadd.css → b18704cc69ae88e6a255.css} +1 -1
  26. package/package.json +1 -1
  27. package/dist/client/scripts/1391b44bbf31e0b1501f.js +0 -1
  28. package/dist/client/scripts/34433c129bef8559d83f.js +0 -1
  29. package/dist/client/scripts/52a60d01bd3692b1ce94.js +0 -1
  30. package/dist/client/scripts/5d77baf679acca21e6b1.js +0 -1
  31. package/dist/client/scripts/89abc7e3a5eecf6b6014.js +0 -1
  32. package/dist/client/scripts/99f43c4c4a9704f957a9.js +0 -1
  33. package/dist/client/styles/5d77baf679acca21e6b1.css +0 -1
  34. /package/dist/client/styles/{03be5e7637e3fc5b35f2.css → 1918cd9906bebffe3457.css} +0 -0
  35. /package/dist/client/styles/{99f43c4c4a9704f957a9.css → 2a74d3661f1aeb64da2d.css} +0 -0
  36. /package/dist/client/styles/{52a60d01bd3692b1ce94.css → 91501cfefb3e9beeffa4.css} +0 -0
  37. /package/dist/client/styles/{38efb2b25829632c19c8.css → 92fd03b906450b6f9fb4.css} +0 -0
  38. /package/dist/client/styles/{34433c129bef8559d83f.css → a67dfcc6f9de1ceaf9d9.css} +0 -0
  39. /package/dist/client/styles/{c4552846f303aee84135.css → b67e49703dfa94258c7e.css} +0 -0
  40. /package/dist/client/styles/{89abc7e3a5eecf6b6014.css → f3adb12e0b611f4ccba4.css} +0 -0
@@ -320,293 +320,54 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
320
320
  imgCaption: string;
321
321
  imgCredit: string;
322
322
  }, {}, {
323
- VsCaption: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
324
- variant: {
325
- type: StringConstructor;
326
- default: string;
327
- validator: (value: unknown) => any;
328
- };
329
- theme: {
330
- type: StringConstructor;
331
- default: string;
332
- validator: (value: unknown) => any;
333
- };
334
- latitude: {
323
+ VsMediaCaption: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
324
+ videoId: {
335
325
  type: StringConstructor;
336
326
  default: string;
337
327
  };
338
- longitude: {
339
- type: StringConstructor;
340
- default: string;
341
- };
342
- textAlign: {
343
- type: StringConstructor;
344
- default: string;
345
- validator: (value: unknown) => any;
328
+ rightAlign: {
329
+ type: BooleanConstructor;
330
+ default: boolean;
346
331
  };
347
- }>, {}, {
348
- tokens: {
349
- "vs-color-background-primary": string;
350
- "vs-color-background-secondary": string;
351
- "vs-color-background-bold": string;
352
- "vs-color-background-brand": string;
353
- "vs-color-background-inverse": string;
354
- "vs-color-background-highlight": string;
355
- "vs-color-background-information": string;
356
- "vs-color-background-success": string;
357
- "vs-color-background-warning": string;
358
- "vs-color-background-error": string;
359
- "vs-color-background-accent-heather-80": string;
360
- "vs-color-background-accent-heather-30": string;
361
- "vs-color-background-accent-tolsta-40": string;
362
- "vs-color-background-accent-gorse-05": string;
363
- "vs-color-border-primary": string;
364
- "vs-color-border-secondary": string;
365
- "vs-color-border-inverse": string;
366
- "vs-color-border-input": string;
367
- "vs-color-border-highlight": string;
368
- "vs-color-border-bold": string;
369
- "vs-color-border-success": string;
370
- "vs-color-border-warning": string;
371
- "vs-color-border-error": string;
372
- "vs-color-border-disabled": string;
373
- "vs-color-icon-primary": string;
374
- "vs-color-icon-secondary": string;
375
- "vs-color-icon-tertiary": string;
376
- "vs-color-icon-inverse": string;
377
- "vs-color-icon-cta-on-light": string;
378
- "vs-color-icon-highlight": string;
379
- "vs-color-icon-success": string;
380
- "vs-color-icon-warning": string;
381
- "vs-color-icon-error": string;
382
- "vs-color-icon-disabled": string;
383
- "vs-color-icon-accent-saltire-30": string;
384
- "vs-color-icon-ski-easy": string;
385
- "vs-color-icon-ski-intermediate": string;
386
- "vs-color-icon-ski-difficult": string;
387
- "vs-color-icon-ski-very-difficult": string;
388
- "vs-color-icon-ski-itineraries": string;
389
- "vs-color-icon-ski-other": string;
390
- "vs-color-icon-accent-loch-ness": string;
391
- "vs-color-icon-accent-grey-02": string;
392
- "vs-color-icon-accent-saltire": string;
393
- "vs-color-icon-accent-bramble": string;
394
- "vs-color-icon-accent-heather": string;
395
- "vs-color-icon-accent-whisky": string;
396
- "vs-color-icon-accent-cranachan": string;
397
- "vs-color-icon-accent-buachaille": string;
398
- "vs-color-interaction-focus": string;
399
- "vs-color-interaction-focus-on-bold": string;
400
- "vs-color-interaction-cta-primary": string;
401
- "vs-color-interaction-cta-secondary": string;
402
- "vs-color-interaction-cta-hover": string;
403
- "vs-color-interaction-cta-pressed": string;
404
- "vs-color-interaction-cta-disabled": string;
405
- "vs-color-interaction-cta-subtle-hover": string;
406
- "vs-color-interaction-cta-subtle-pressed": string;
407
- "vs-color-interaction-cta-subtle": string;
408
- "vs-color-interaction-link-primary": string;
409
- "vs-color-interaction-link-secondary": string;
410
- "vs-color-interaction-link-active": string;
411
- "vs-color-interaction-link-visited": string;
412
- "vs-color-interaction-link-disabled": string;
413
- "vs-color-interaction-link-visited-on-bold": string;
414
- "vs-color-text-primary": string;
415
- "vs-color-text-secondary": string;
416
- "vs-color-text-tertiary": string;
417
- "vs-color-text-inverse": string;
418
- "vs-color-text-cta-on-light": string;
419
- "vs-color-text-highlight": string;
420
- "vs-color-text-brand": string;
421
- "vs-color-text-error": string;
422
- "vs-color-text-success": string;
423
- "vs-color-text-disabled": string;
424
- breakpoint_xl: string;
425
- grid_container_width_xl: string;
426
- breakpoint_md: string;
427
- max_container_width_xl: string;
428
- grid_container_width_md: string;
429
- breakpoint_sm: string;
430
- breakpoint_lg: string;
431
- breakpoint_xs: string;
432
- max_container_width_md: string;
433
- grid_container_width_sm: string;
434
- grid_container_width_lg: string;
435
- max_container_width_sm: string;
436
- max_container_width_lg: string;
437
- max_container_width_xxl: string;
438
- grid_container_width_xxl: string;
439
- breakpoint_xxl: string;
440
- grid_columns: string;
441
- grid_gutter_width: string;
442
- "vs-spacer-0": string;
443
- "vs-spacer-0125": string;
444
- "vs-spacer-025": string;
445
- "vs-spacer-050": string;
446
- "vs-spacer-075": string;
447
- "vs-spacer-100": string;
448
- "vs-spacer-125": string;
449
- "vs-spacer-150": string;
450
- "vs-spacer-175": string;
451
- "vs-spacer-200": string;
452
- "vs-spacer-250": string;
453
- "vs-spacer-300": string;
454
- "vs-spacer-400": string;
455
- "vs-spacer-500": string;
456
- "vs-spacer-600": string;
457
- "vs-spacer-700": string;
458
- "vs-radius-medium": string;
459
- "vs-radius-none": string;
460
- "vs-radius-large-increased": string;
461
- "vs-radius-extra-large-increased": string;
462
- "vs-radius-tiny": string;
463
- "vs-radius-large": string;
464
- "vs-radius-extra-large": string;
465
- "vs-radius-extra-extra-large": string;
466
- "vs-radius-huge": string;
467
- "vs-radius-full": string;
468
- "vs-radius-small": string;
469
- "vs-elevation-shadow-raised": string;
470
- "vs-elevation-shadow-overlay": string;
471
- "vs-elevation-surface": string;
472
- "vs-elevation-surface-section": string;
473
- "vs-elevation-surface-raised": string;
474
- "vs-elevation-surface-overlay": string;
475
- "vs-focus-shadow": string;
476
- "vs-focus-shadow-on-dark": string;
477
- "vs-border-width-sm": string;
478
- "vs-border-width-md": string;
479
- "vs-font-size-display-m": string;
480
- "vs-font-size-display-s": string;
481
- "vs-font-size-heading-xl": string;
482
- "vs-font-size-heading-l": string;
483
- "vs-font-size-heading-m": string;
484
- "vs-font-size-heading-s": string;
485
- "vs-font-size-heading-xs": string;
486
- "vs-font-size-heading-xxs": string;
487
- "vs-font-size-heading-xxxs": string;
488
- "vs-font-size-detail-l": string;
489
- "vs-font-size-detail-m": string;
490
- "vs-font-size-detail-s": string;
491
- "vs-font-size-body-l": string;
492
- "vs-font-size-body-m": string;
493
- "vs-font-size-body-s": string;
494
- "vs-font-weight-strong": string;
495
- "vs-font-weight-medium": string;
496
- "vs-font-weight-regular": string;
497
- "vs-font-weight-subtle": string;
498
- "vs-font-weight-heading": string;
499
- "vs-font-weight-body": string;
500
- "vs-font-weight-detail": string;
501
- "vs-font-family-sans-serif": string;
502
- "vs-font-family-display": string;
503
- "vs-line-height-heading": number;
504
- "vs-line-height-detail": number;
505
- "vs-line-height-body": number;
506
- "vs-letter-spacing-display": string;
507
- "vs-letter-spacing-heading": string;
508
- "vs-letter-spacing-detail": string;
509
- "vs-letter-spacing-body": string;
510
- icon_size_xxs: string;
511
- icon_size_xs: string;
512
- icon_size_sm: string;
513
- icon_size_md: string;
514
- icon_size_lg: string;
515
- icon_size_xl: string;
516
- "vs-icon-facility-audio-loop": string;
517
- "vs-icon-control-collapse": string;
518
- "vs-icon-facility-wheelchair-access": string;
519
- "vs-icon-control-pause": string;
520
- "vs-icon-facility-cafe": string;
521
- "vs-icon-feedback-error": string;
522
- "vs-icon-facility-accessible-parking": string;
523
- "vs-icon-control-filters": string;
524
- "vs-icon-feedback-information": string;
525
- "vs-icon-control-external-link": string;
526
- "vs-icon-control-play": string;
527
- "vs-icon-facility-accessible-dining": string;
528
- "vs-icon-facility-public-transport": string;
529
- "vs-icon-season-winter": string;
530
- "vs-icon-control-expand": string;
531
- "vs-icon-facility-pets-welcome": string;
532
- "vs-icon-facility-parking": string;
533
- "vs-icon-control-menu": string;
534
- "vs-icon-season-spring": string;
535
- "vs-icon-season-summer": string;
536
- "vs-icon-facility-breakfast": string;
537
- "vs-icon-control-back-to-top": string;
538
- "vs-icon-control-dismiss": string;
539
- "vs-icon-feedback-warning": string;
540
- "vs-icon-facility-accessible-shower": string;
541
- "vs-icon-facility-wifi": string;
542
- "vs-icon-control-search": string;
543
- "vs-icon-control-download": string;
544
- "vs-icon-season-autumn": string;
545
- "vs-icon-facility-accessible-toilet": string;
546
- "vs-icon-feedback-success": string;
547
- "vs-icon-facility-vegan": string;
548
- "font-size-1": string;
549
- "font-size-2": string;
550
- "font-size-3": string;
551
- "font-size-4": string;
552
- "font-size-5": string;
553
- "font-size-6": string;
554
- "font-size-7": string;
555
- "font-size-8": string;
556
- "font-size-9": string;
557
- "font-size-10": string;
558
- "font-size-body": string;
559
- "font-size-body-md": string;
560
- "font-size-lead": string;
561
- "font-size-lead-md": string;
562
- "font-size-teaser": string;
563
- opacity_100: string;
564
- opacity_50: string;
565
- opacity_0: string;
566
- duration_quickly: string;
567
- duration_base: string;
568
- duration_slowly: string;
569
- no_javascript: string;
570
- theme_dark: string;
571
- theme_grey: string;
332
+ }>, {
333
+ videoStore: import('pinia').Store<"video", import('../../stores/video.store').IVideosState, {}, {
334
+ addVideo(newVideo: {
335
+ videoId: string;
336
+ videoDurationMsg: string;
337
+ videoDuration: number;
338
+ videoFullDuration: {
339
+ minutes: number;
340
+ seconds: number;
341
+ roundedMinutes: string;
342
+ };
343
+ }): void;
344
+ }>;
345
+ }, {}, {
346
+ videoDetails(): {
347
+ videoId: string;
348
+ videoDurationMsg: string;
349
+ videoDuration: number;
350
+ videoFullDuration: {
351
+ minutes: number;
352
+ seconds: number;
353
+ roundedMinutes: string;
354
+ };
572
355
  };
573
- }, {
574
- showMap(): boolean;
575
- isLargeCaption(): boolean;
576
- captionClasses(): (string | {
577
- 'vs-caption--large': boolean;
578
- 'vs-caption--fullwidth': boolean;
579
- })[];
356
+ captionClasses(): {
357
+ 'text-end': boolean;
358
+ }[];
580
359
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
581
- variant: {
582
- type: StringConstructor;
583
- default: string;
584
- validator: (value: unknown) => any;
585
- };
586
- theme: {
587
- type: StringConstructor;
588
- default: string;
589
- validator: (value: unknown) => any;
590
- };
591
- latitude: {
592
- type: StringConstructor;
593
- default: string;
594
- };
595
- longitude: {
360
+ videoId: {
596
361
  type: StringConstructor;
597
362
  default: string;
598
363
  };
599
- textAlign: {
600
- type: StringConstructor;
601
- default: string;
602
- validator: (value: unknown) => any;
364
+ rightAlign: {
365
+ type: BooleanConstructor;
366
+ default: boolean;
603
367
  };
604
368
  }>> & Readonly<{}>, {
605
- variant: string;
606
- theme: string;
607
- latitude: string;
608
- longitude: string;
609
- textAlign: string;
369
+ videoId: string;
370
+ rightAlign: boolean;
610
371
  }, {}, {
611
372
  VsRow: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
612
373
  VsCol: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
@@ -767,60 +528,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
767
528
  };
768
529
  });
769
530
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
770
- VsCaptionImageMap: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
771
- latitude: {
772
- type: StringConstructor;
773
- default: string;
774
- };
775
- longitude: {
776
- type: StringConstructor;
777
- default: string;
778
- };
779
- mapOutlineColor: {
780
- type: StringConstructor;
781
- default: string;
782
- };
783
- mapMarkerColor: {
784
- type: StringConstructor;
785
- default: string;
786
- };
787
- }>, {}, {
788
- cornerCoordinates: {
789
- NE: number;
790
- NW: number;
791
- SE: number;
792
- SW: number;
793
- };
794
- mapWidth: number;
795
- mapHeight: number;
796
- }, {
797
- positionY(): number;
798
- positionX(): number;
799
- }, {
800
- calculateAxisPosition(scaleStart: any, scaleEnd: any, coord: any, axisLength: any): number;
801
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
802
- latitude: {
803
- type: StringConstructor;
804
- default: string;
805
- };
806
- longitude: {
807
- type: StringConstructor;
808
- default: string;
809
- };
810
- mapOutlineColor: {
811
- type: StringConstructor;
812
- default: string;
813
- };
814
- mapMarkerColor: {
815
- type: StringConstructor;
816
- default: string;
817
- };
818
- }>> & Readonly<{}>, {
819
- latitude: string;
820
- longitude: string;
821
- mapOutlineColor: string;
822
- mapMarkerColor: string;
823
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
824
531
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
825
532
  VsImg: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
826
533
  src: {