@visitscotland/component-library 4.12.1 → 4.12.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 (54) hide show
  1. package/CHANGELOG.md +3027 -0
  2. package/dist/client/manifest.json +54 -93
  3. package/dist/client/scripts/{ebae7cda3ef35b5ef619.js → 0e50c2c3a74862e7449a.js} +1 -1
  4. package/dist/client/scripts/{6e7520d815f5c8568575.js → 0f67b5eb07bd337752f2.js} +1 -1
  5. package/dist/client/scripts/{1c793f94b5b5eebb96ae.js → 1a36b4136263bab2df9d.js} +1 -1
  6. package/dist/client/scripts/34744838db5660cddf56.js +1 -0
  7. package/dist/client/scripts/{2f332174174c32ab702d.js → 34ed79e8238d0bf3fc62.js} +1 -1
  8. package/dist/client/scripts/{93c7da4477c0235064e1.js → 392b742726ae953cecc1.js} +1 -1
  9. package/dist/client/scripts/{a5ebc01b63f005414edb.js → 39e54c41740b01bf6be8.js} +1 -1
  10. package/dist/client/scripts/{9aeea75098e9627f7c22.js → 4dc2feef01d7e495a7c2.js} +1 -1
  11. package/dist/client/scripts/{437ff926d713e601fab7.js → 5122fd98cac3b9518f3f.js} +1 -1
  12. package/dist/client/scripts/{3bd8d4ba3d920bb1433d.js → 9c03e2da038545efa1b4.js} +1 -1
  13. package/dist/client/scripts/{1bc384500a813618908d.js → aedda2ac024d9fdb3745.js} +1 -1
  14. package/dist/client/scripts/{f872849c7ce918f02155.js → b54fa069ff3253bcc94b.js} +1 -1
  15. package/dist/client/scripts/{2d10ac82630143ff1075.js → bb0bc6d8b34dd9993a87.js} +1 -1
  16. package/dist/client/scripts/{39cc995d21686586f6fa.js → bef055047342a5728b4b.js} +1 -1
  17. package/dist/client/scripts/{5dcf971e77fe98f4ff7c.js → d5ee2a24ae0edc488b2d.js} +1 -1
  18. package/dist/client/scripts/{7a0a47af01dc9555f5a5.js → dc3f24502d7b9b1efc72.js} +1 -1
  19. package/dist/client/scripts/{aa837d298afb1ff263dc.js → dee3f365942bb3b36070.js} +1 -1
  20. package/dist/client/scripts/f1fd205863461e1e9a31.js +1 -0
  21. package/dist/client/scripts/{005c44021982625bb7c0.js → fc611497322360797621.js} +1 -1
  22. package/dist/client/styles/34744838db5660cddf56.css +1 -0
  23. package/dist/components/components/filter/VsFilter.vue.d.ts +6 -4
  24. package/dist/components/components/filter/index.d.ts +7 -45
  25. package/dist/components/components/index.d.ts +0 -1
  26. package/dist/components/vs-component-library.css +1 -1
  27. package/dist/components/vs-component-library.js +165 -165
  28. package/dist/components/vs-component-library.mjs +8675 -8730
  29. package/dist/ssr/index.js +1 -1
  30. package/dist/ssr/manifest.json +1 -1
  31. package/dist/ssr/styles/{db1a00f5f041d9dcc7e0.css → 37a77b7eb561cbd27527.css} +2 -2
  32. package/package.json +231 -231
  33. package/dist/client/scripts/00651c731db1ef87216d.js +0 -1
  34. package/dist/client/scripts/41ce13cac3857a52a8e4.js +0 -1
  35. package/dist/client/scripts/837c541cd7af0ae0812e.js +0 -1
  36. package/dist/client/scripts/edfacb376b15dcbffd61.js +0 -1
  37. package/dist/client/styles/41ce13cac3857a52a8e4.css +0 -1
  38. package/dist/components/components/filter/components/VsFilterPanel.vue.d.ts +0 -18
  39. /package/dist/client/styles/{ebae7cda3ef35b5ef619.css → 0e50c2c3a74862e7449a.css} +0 -0
  40. /package/dist/client/styles/{6e7520d815f5c8568575.css → 0f67b5eb07bd337752f2.css} +0 -0
  41. /package/dist/client/styles/{2f332174174c32ab702d.css → 34ed79e8238d0bf3fc62.css} +0 -0
  42. /package/dist/client/styles/{93c7da4477c0235064e1.css → 392b742726ae953cecc1.css} +0 -0
  43. /package/dist/client/styles/{a5ebc01b63f005414edb.css → 39e54c41740b01bf6be8.css} +0 -0
  44. /package/dist/client/styles/{9aeea75098e9627f7c22.css → 4dc2feef01d7e495a7c2.css} +0 -0
  45. /package/dist/client/styles/{437ff926d713e601fab7.css → 5122fd98cac3b9518f3f.css} +0 -0
  46. /package/dist/client/styles/{1bc384500a813618908d.css → aedda2ac024d9fdb3745.css} +0 -0
  47. /package/dist/client/styles/{f872849c7ce918f02155.css → b54fa069ff3253bcc94b.css} +0 -0
  48. /package/dist/client/styles/{2d10ac82630143ff1075.css → bb0bc6d8b34dd9993a87.css} +0 -0
  49. /package/dist/client/styles/{39cc995d21686586f6fa.css → bef055047342a5728b4b.css} +0 -0
  50. /package/dist/client/styles/{5dcf971e77fe98f4ff7c.css → d5ee2a24ae0edc488b2d.css} +0 -0
  51. /package/dist/client/styles/{7a0a47af01dc9555f5a5.css → dc3f24502d7b9b1efc72.css} +0 -0
  52. /package/dist/client/styles/{aa837d298afb1ff263dc.css → dee3f365942bb3b36070.css} +0 -0
  53. /package/dist/client/styles/{00651c731db1ef87216d.css → f1fd205863461e1e9a31.css} +0 -0
  54. /package/dist/client/styles/{005c44021982625bb7c0.css → fc611497322360797621.css} +0 -0
@@ -20,7 +20,7 @@
20
20
  "index.js"
21
21
  ],
22
22
  "styles": [
23
- "styles/db1a00f5f041d9dcc7e0.css"
23
+ "styles/37a77b7eb561cbd27527.css"
24
24
  ]
25
25
  }
26
26
  }
@@ -55,8 +55,7 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
55
55
  .vs-embed-wrapper__error-image{max-width:100%}.vs-embed-wrapper .vs-embed-wrapper__no-js,.vs-embed-wrapper .vs-embed-wrapper__no-cookies{display:none}.vs-embed-wrapper__error--no-js{display:none}.no-js .vs-embed-wrapper__container{display:none}.no-js .vs-embed-wrapper__intro{display:none}.no-js .vs-embed-wrapper__error{display:none}.no-js .vs-embed-wrapper__error--no-js{display:block}
56
56
  .card.vs-event-card{border:none}.card.vs-event-card .card-body{padding:1rem;width:100%;border-bottom:1px solid #e9e9e9}.card.vs-event-card .vs-event-card__date{margin:auto 0;font-size:1.25rem;font-weight:600}.card.vs-event-card .vs-event-card__heading{margin:0}.card.vs-event-card .vs-event-card__header{margin:.5rem 0}.card.vs-event-card .vs-event-card__cta{margin-bottom:.5rem}@media(max-width: 767.98px){.card.vs-event-card .vs-event-card__cta{margin-top:1.5rem}}@media(min-width: 768px){.card.vs-event-card .vs-event-card__header{margin:0 0 0 0}.card.vs-event-card .vs-event-card__heading{margin:.5rem 0}.card.vs-event-card .vs-event-card__date{text-align:right;align-self:middle}.card.vs-event-card .vs-event-card__cta{position:relative;right:0;bottom:3rem;float:right;margin-bottom:-3rem}}
57
57
  .vs-filter-section{padding:.75rem 1.25rem}.vs-filter-section:not(:last-child){border-bottom:solid 1px #a3a3cc}.vs-filter-section--inline .vs-filter-section__section{display:flex;gap:1rem}.vs-filter-section--inline .vs-filter-section__section label{font-size:1rem}.vs-filter-section__details[open] .vs-filter-section__summary{margin-bottom:.75rem}.vs-filter-section__details[open] .vs-filter-section__summary .vs-icon{transform:scale(1, 1)}.vs-filter-section__summary{align-items:baseline;display:flex;font-size:1rem;font-weight:600;justify-content:space-between}.vs-filter-section__summary .vs-icon{transform:scale(-1, -1)}.vs-filter-section input[type=date]{width:125px}
58
- .vs-modal{display:block}.vs-modal .modal-dialog{margin:2rem auto;z-index:1100}@media(min-width: 576px){.vs-modal .modal-dialog{max-width:none;width:100%}}.vs-modal .modal-body{padding:1.25rem 0}@media(min-width: 576px){.vs-modal .modal-body{padding:1.25rem .5rem}}.vs-modal .modal-body .vs-video{width:100%}@media(min-width: 992px){.vs-modal .modal-lg,.vs-modal .modal-xl{max-width:924px}}@media(min-width: 1200px){.vs-modal .modal-xl{max-width:1140px}}.vs-modal .row>[class*=col-]{display:block}.b-overlay .bg-dark{background-color:rgba(0,0,0,.5)}
59
- .vs-filter__panel:not(.vs-modal .vs-filter__panel){background-color:#fff;border:solid 1px #a3a3cc;border-radius:.25rem;overflow:auto}@media(max-width: 575.98px){.vs-filter__panel:not(.vs-modal .vs-filter__panel){display:none}}.vs-filter__legend{align-items:baseline;background-color:#f2f2f8;border-bottom:solid 1px #a3a3cc;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;margin-bottom:0;padding:.75rem 1.25rem}.vs-filter__toggle,.vs-filter__apply{margin:3rem 0;width:100%}@media(min-width: 576px){.vs-filter__toggle.vs-button{display:none}}.vs-modal .vs-filter__legend{background-color:#fff}.no-js .vs-filter{display:none}.no-js .vs-filter__wrapper .vs-warning{display:block}
58
+ .vs-filter__panel{background-color:#fff;border:solid 1px #a3a3cc;border-radius:.25rem;overflow:auto}.vs-filter__legend{align-items:baseline;background-color:#f2f2f8;border-bottom:solid 1px #a3a3cc;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;margin-bottom:0;padding:.75rem 1.25rem}.no-js .vs-filter{display:none}.no-js .vs-filter__wrapper .vs-warning{display:block}
60
59
  .vs-footer-accordion-item.vs-accordion-item.card{border-bottom:1px solid #fff;border-top:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__card-header{background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title.vs-heading{margin:.75rem 0;background-color:#200f2e;color:#fff;padding:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{background-color:#200f2e;color:#fff;border-top:1px solid #fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle{text-transform:none !important;letter-spacing:initial;padding:.75rem;font-size:1rem;line-height:1;font-weight:600;text-align:left;color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active .vs-icon,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{text-decoration:underline}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .icon.icon-xs{right:.75rem}@media(min-width: 576px){.vs-footer-accordion-item.vs-accordion-item.card .btn.vs-accordion-toggle{padding:.75rem 1.5rem}}@media(min-width: 768px){.vs-footer-accordion-item.vs-accordion-item.card{border:0;border-left:1px solid #fff;padding:0 .75rem;background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title{margin-top:.25rem}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{padding:0;background-color:#200f2e;border-top:0}}
61
60
  .vs-footer-copyright .vs-footer-copyright__logo.vs-link:focus{outline:2px solid #fffa99}.vs-footer-copyright{border-top:1px solid #fff;padding:1.5rem 0}.vs-footer-copyright .vs-footer-copyright__logo{display:inline-block}.vs-footer-copyright .vs-footer-copyright__logo svg{width:166px}.vs-footer-copyright .vs-footer-copyright__text{color:#fff;margin:0;font-size:.75rem}@media(min-width: 992px){.vs-footer-copyright .vs-footer-copyright__text{font-size:.875rem}}@media(min-width: 1200px){.vs-footer-copyright .vs-footer-copyright__text{font-size:1rem}}
62
61
  @media(max-width: 767.98px){.vs-footer-nav-list.container{max-width:100%;padding:0}.vs-footer-nav-list.container .row{margin-right:0;margin-left:0}.vs-footer-nav-list.container .row>.col,.vs-footer-nav-list.container .row>[class*=col-]{padding-right:0;padding-left:0}}
@@ -123,6 +122,7 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
123
122
  .vs-megalink-multi-image-card.card{border:none;background:rgba(0,0,0,0);position:relative;margin-bottom:2rem}.vs-megalink-multi-image-card.card:hover .vs-megalink-multi-image-card__title{text-decoration:underline}.vs-megalink-multi-image-card.card .vs-megalink-multi-image-card__img{max-width:100%}.vs-megalink-multi-image-card.card .card-title{margin-bottom:0;margin-top:0}.vs-megalink-multi-image-card.card .vs-stretched-link-card__video-button{position:absolute;bottom:100%;left:0}.vs-megalink-multi-image-card.card .vs-stretched-link-card__video-button{padding:.75rem 1rem .5rem;flex-direction:column}.vs-megalink-multi-image-card.card .vs-stretched-link-card__video-button .vs-icon{margin-right:0;margin-top:0;margin-bottom:.25rem}.vs-megalink-multi-image-card.card .vs-stretched-link-card__video-btn-text{display:none}@media(min-width: 1200px){.vs-megalink-multi-image-card.card.vs-megalink-multi-image-card--featured .vs-stretched-link-card__video-button{bottom:100%;left:0}.vs-megalink-multi-image-card.card.vs-megalink-multi-image-card--featured .vs-stretched-link-card__video-button{padding:.75rem calc(2rem + 0.5rem);flex-direction:row}.vs-megalink-multi-image-card.card.vs-megalink-multi-image-card--featured .vs-stretched-link-card__video-button .vs-icon{margin-right:.5rem;margin-top:-0.05rem;margin-bottom:0}.vs-megalink-multi-image-card.card.vs-megalink-multi-image-card--featured .vs-stretched-link-card__video-btn-text{display:inline-block}}@media(min-width: 1200px){.vs-megalink-multi-image-card.card.vs-megalink-multi-image-card--featured .vs-stretched-link-card__video-button{bottom:.5rem;left:.5rem;z-index:2}}@media(min-width: 1200px){.vs-megalinks--multi-image .vs-megalinks__links-wrapper{width:calc(100% + 4rem + 0.75rem);margin-left:-2rem}.vs-megalinks--multi-image .vs-megalinks__links-wrapper .vs-megalink-multi-image{padding-left:1.25rem;padding-right:1.25rem}.vs-megalink-multi-image-card.card{margin-bottom:5rem}.vs-megalink-multi-image-card.card .card-body{padding-bottom:1.25rem}.vs-megalink-multi-image-card--featured.card{display:flex;flex-direction:row;justify-content:flex-start;width:100%;transform:rotate(0deg)}.vs-megalink-multi-image-card--featured.card .vs-link__icon{font-size:16px}.vs-megalink-multi-image-card--featured.card .vs-stretched-link-card__img-container{width:75%}.vs-megalink-multi-image-card--featured.card .megalink-multi-image__content{font-size:1.125rem;margin-top:2rem;line-height:1.6}.vs-megalink-multi-image-card--featured.card .card-body{position:absolute !important;background-color:#fff;width:40%;right:0;top:4rem;padding:2rem;z-index:10;box-shadow:0px 1px 2px 0px rgba(0,0,0,.3),0px 1px 3px 1px rgba(0,0,0,.15)}.vs-megalink-multi-image-card--featured.card .vs-stretched-link-card__video-button{position:fixed}.vs-megalink-multi-image-card--featured.card .stretched-link:after{position:fixed;left:0;top:0;width:100%;height:100%}.vs-megalink-multi-image-card--featured.card .vs-stretched-link-panels{left:1.25rem;top:1.25rem}.vs-megalink-multi-image-card--featured.card .vs-stretched-link-panels__panel:first-of-type{margin-left:0}.vs-megalink-multi-image-card--featured.card.vs-megalink-multi-image-card--featured-last{flex-direction:row-reverse}.vs-megalink-multi-image-card--featured.card.vs-megalink-multi-image-card--featured-last .vs-stretched-link-panels{left:auto;right:1.25rem}.vs-megalink-multi-image-card--featured.card.vs-megalink-multi-image-card--featured-last .card-body{left:0;right:auto}.vs-megalink-multi-image-card--featured.card.vs-megalink-multi-image-card--featured-last .vs-stretched-link-card__video-button{left:auto;right:.5rem}}
124
123
  .vs-megalink-single-image{--negative-margin: -200px;--image-height: 400px;min-width:100%}.vs-megalink-single-image .vs-megalink-single-image__title{margin-bottom:2rem;margin-top:0}.vs-megalink-single-image .vs-megalink-single-image__content{position:relative;z-index:10;background-color:#fff;box-shadow:0px 1px 2px 0px rgba(0,0,0,.3),0px 1px 3px 1px rgba(0,0,0,.15);margin:0 .75rem;padding:2rem 1.5rem;clear:both}.vs-megalink-single-image .vs-megalink-single-image__content p{margin-bottom:1rem}@media(min-width: 576px){.vs-megalink-single-image .vs-megalink-single-image__content{background-color:#fff;box-shadow:none}}@media(min-width: 992px){.vs-megalink-single-image .vs-megalink-single-image__content{background-color:#fff;box-shadow:0px 1px 2px 0px rgba(0,0,0,.3),0px 1px 3px 1px rgba(0,0,0,.15)}}.vs-megalink-single-image .vs-megalink-single-image__link-list{list-style:none;padding:0;margin:0}.vs-megalink-single-image .vs-megalink-single-image__link-list-item{margin-top:1rem;font-size:1.125rem}.vs-megalink-single-image .vs-megalink-single-image__link-list-item:first-of-type{margin-bottom:0}.vs-megalink-single-image .vs-image-with-caption{overflow:hidden;margin:0 -12px -2rem}.vs-megalink-single-image .vs-megalink-single-image__button{margin-top:1.75rem}@media(min-width: 576px){.vs-megalink-single-image{margin:0}.vs-megalink-single-image .vs-image-with-caption{margin-bottom:0}.vs-megalink-single-image .vs-megalink-single-image__content{background:rgba(0,0,0,0)}}@media(min-width: 992px){.vs-megalink-single-image{width:100%;margin:0 0 5rem;display:flex;flex-direction:column}.vs-megalink-single-image .vs-megalink-single-image__text-container{min-height:calc(var(--image-height)/2 + 4rem)}.vs-megalink-single-image .vs-megalink-single-image__content{min-height:100%;padding:3rem 3rem 3rem 3rem;margin:0;background:#fff}.vs-megalink-single-image .vs-megalink-single-image__image-container{width:66%;align-self:flex-end}.vs-megalink-single-image .vs-image-with-caption{width:100%;margin:0 0 calc(var(--negative-margin) - 4rem)}.vs-megalink-single-image--alternate .vs-megalink-single-image__image-container{align-self:flex-start}.vs-megalink-single-image--alternate .vs-megalink-single-image__content{align-self:flex-end}}@media(min-width: 1200px){.vs-megalink-single-image .vs-megalink-single-image__content{padding:3rem 6rem 3rem 3rem}}
125
124
  .vs-megalinks{padding:3rem 0 3rem}.vs-megalinks .row{display:flex;min-width:100%}.vs-megalinks .vs-megalinks__intro{width:100%;text-align:center;margin-bottom:2rem}.vs-megalinks .vs-megalinks__intro .vs-heading__sub-heading{margin:0}.vs-megalinks .vs-megalinks__intro p:first-of-type{margin-top:1.5rem}.vs-megalinks .vs-megalinks__intro p:last-of-type{margin-bottom:0}.vs-megalinks .vs-megalinks__heading{margin-bottom:0 !important}.vs-megalinks .vs-megalinks__heading .heading__sub-heading{display:none}.vs-megalinks .vs-megalinks__button{width:100%;text-align:center}.vs-megalinks--multi-image{padding-bottom:0}.vs-megalinks--multi-image .vs-megalinks__button{margin-bottom:3rem}.vs-megalinks--link-list .vs-megalinks__button{margin-top:2rem}@media(min-width: 992px){.vs-megalinks{padding:6rem 0 6rem}.vs-megalinks .vs-megalinks__intro{text-align:center;margin-bottom:3rem}.vs-megalinks--multi-image{padding-bottom:2rem}.vs-megalinks--multi-image .vs-megalinks__button{margin-bottom:4rem}.vs-megalinks--single-image{padding-bottom:0}}.vs-megalinks--light+.vs-megalinks--light{padding-top:0}.vs-megalinks--grey{background:#f2f2f8}.vs-megalinks--grey+.vs-megalinks--grey{padding-top:0}.has-edit-button.theme-light+.has-edit-button.theme-light .vs-megalinks{padding-top:0}.has-edit-button.theme-grey+.has-edit-button.theme-grey .vs-megalinks{padding-top:0}
125
+ .vs-modal{display:block}.vs-modal .modal-dialog{margin:2rem auto;z-index:1100}@media(min-width: 576px){.vs-modal .modal-dialog{max-width:none;width:100%}}.vs-modal .modal-body{padding:1.25rem 0}@media(min-width: 576px){.vs-modal .modal-body{padding:1.25rem .5rem}}.vs-modal .modal-body .vs-video{width:100%}@media(min-width: 992px){.vs-modal .modal-lg,.vs-modal .modal-xl{max-width:924px}}@media(min-width: 1200px){.vs-modal .modal-xl{max-width:1140px}}.vs-modal .row>[class*=col-]{display:block}.b-overlay .bg-dark{background-color:rgba(0,0,0,.5)}
126
126
  .vs-page-intro__wrapper{position:relative;background:#fff}@media(min-width: 992px){.vs-page-intro__wrapper{background:rgba(0,0,0,0);width:100%;max-width:960px;margin-right:auto;margin-left:auto}}@media(min-width: 1200px){.vs-page-intro__wrapper{max-width:1140px}}@media(min-width: 1400px){.vs-page-intro__wrapper{max-width:1340px}}.vs-page-intro__wrapper>.container{background:#fff;padding-bottom:2rem}@media(min-width: 992px){.vs-page-intro__wrapper>.container{padding-bottom:3rem}}.vs-page-intro__fullscreen-mobile-header{position:relative}.vs-page-intro__fullscreen-mobile-header .vs-page-intro__fs-mobile-heading-wrapper{position:relative;height:4rem}@media(min-width: 992px){.vs-page-intro__fullscreen-mobile-header .vs-page-intro__fs-mobile-heading-wrapper{display:none}}.vs-page-intro__fullscreen-mobile-header .vs-page-intro__fs-mobile-heading-wrapper .breadcrumb{margin-bottom:0}.vs-page-intro__fullscreen-mobile-header .vs-page-intro__share{width:auto;top:calc(-100vh + 6rem + .5rem)}.vs-page-intro__fullscreen-mobile-header .vs-image-with-caption--hero .vs-image-with-caption__image-wrapper{height:calc(100vh - 4rem - 6rem - .5rem);width:calc(100% + 1rem);margin-left:-1rem}.vs-page-intro__fullscreen-mobile-header .vs-image-with-caption--hero .vs-image-with-caption__captions{width:calc(100% + 1rem)}.vs-page-intro__fullscreen-mobile-header .vs-page-intro__wrapper{margin-top:.5rem}.vs-page-intro__fullscreen-mobile-header .vs-image-with-caption__captions{padding:0 1rem}.vs-page-intro__share{position:absolute;top:.75rem;right:.25rem}@media(min-width: 576px){.vs-page-intro__share{top:1rem;right:1rem}}@media(min-width: 992px){.vs-page-intro__share{top:7.2rem}}@media(min-width: 992px){.vs-page-intro--hero .vs-page-intro__share{top:4rem}}@media(min-width: 992px){.vs-page-intro--hero .vs-page-intro__wrapper{margin-top:-240px}}.vs-page-intro--hero .vs-hero{margin-bottom:0}@media(min-width: 992px){.vs-page-intro--hero .vs-hero .vs-caption{bottom:200px}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.vs-page-intro--hero .vs-hero .vs-caption{min-width:200px}}@media(min-width: 992px){.vs-page-intro--hero .vs-image-with-caption--hero img{min-height:101%;position:absolute;transform:translateY(-50%);top:50%}}.vs-page-intro__breadcrumb{margin-top:.75rem}.vs-page-intro__lower,.vs-page-intro__lower .row{background-color:#f2f2f8}.vs-page-intro--grey{background:#f2f2f8}
127
127
  .vs-pagination{align-items:center;display:flex;flex-direction:column;font-size:1rem}.vs-pagination__count{display:flex}@media(min-width: 576px){.vs-pagination__count{display:none}}.vs-pagination__controls{display:flex;justify-content:center;width:100%}@media(max-width: 767.98px){.vs-pagination__controls{justify-content:space-between}}.vs-pagination__list{display:flex;flex-direction:row;list-style:none;padding-left:0}@media(max-width: 767.98px){.vs-pagination__list{display:none}}.vs-pagination__item{margin-right:.5rem}.vs-pagination__item:first-child{margin-left:.5rem}.vs-pagination__item .vs-button{color:#200f2e;background-color:#fff;border-color:#fff;padding:.25rem .75rem}.vs-pagination__item .vs-button .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#200f2e}.vs-pagination__item .vs-button:hover{color:#200f2e;background-color:#fff;border-color:#fff}.vs-pagination__item .vs-button:hover .vs-icon{color:#200f2e}.vs-pagination__item .vs-button:active,.vs-pagination__item .vs-button:active:focus{color:#fff;background-color:#1f49d6;border-color:#fff}.vs-pagination__item .vs-button:active .vs-icon,.vs-pagination__item .vs-button:active:focus .vs-icon{color:#fff}.vs-pagination__item .vs-button:hover{text-decoration:underline}.vs-pagination__item .vs-button.disabled{background-color:#fff !important}.vs-pagination__item--active .vs-button{background-color:#1f49d6;color:#fff;border-radius:50rem;line-height:1;padding:.5rem .75rem}.vs-pagination__item--ellipses{align-items:flex-end;display:flex}.vs-pagination__prev .vs-button,.vs-pagination__next .vs-button{border:none;margin-top:.25rem}.vs-pagination__prev .vs-button.disabled,.vs-pagination__next .vs-button.disabled{background-color:#fff !important}.vs-pagination__prev .vs-button:hover,.vs-pagination__next .vs-button:hover{background-color:#fff !important;text-decoration:underline}
128
128
  .vs-panel.card{background-color:#e5e5f0;border-color:#e9e9e9;padding:3rem 1rem 3rem}.vs-panel.card .card-body{padding:1.25rem}@media(min-width: 768px){.vs-panel.card{padding:3rem 2rem 4rem}}@media(min-width: 992px){.vs-panel.card{padding:3rem 5rem 4rem}}@media(min-width: 1400px){.vs-panel.card{padding:3rem 6rem 4rem}}.vs-panel.card .vs-panel__title{display:block;text-align:center}@media(max-width: 575.98px){.vs-panel.card .vs-panel__text .vs-rich-text-wrapper--lead{font-size:1rem;line-height:1.6}}.vs-panel.card .card-header{text-align:center;background:none;border-bottom-width:0;padding:0}
package/package.json CHANGED
@@ -1,231 +1,231 @@
1
- {
2
- "name": "@visitscotland/component-library",
3
- "version": "4.12.1",
4
- "description": "VisitScotland Component Library",
5
- "author": "VisitScotland",
6
- "homepage": "https://github.com/visitscotland/vs-component-library#readme",
7
- "files": [
8
- "dist"
9
- ],
10
- "exports": {
11
- ".": {
12
- "require": "./dist/ssr/index.js"
13
- },
14
- "./components": {
15
- "import": "./dist/components/vs-component-library.mjs",
16
- "require": "./dist/components/vs-component-library.umd.js",
17
- "types": "./dist/components/component-entry.d.ts"
18
- },
19
- "./maps": {
20
- "import": "./dist/components/maps.mjs"
21
- },
22
- "./components/style.css": "./dist/components/vs-component-library.css",
23
- "./components/fonts.css": "./dist/components/fonts.css",
24
- "./components/icons.css": "./dist/components/icons.css"
25
- },
26
- "license": "MIT",
27
- "scripts": {
28
- "storybook": "yarn theo && storybook dev -p 6006",
29
- "build-storybook": "yarn theo && storybook build",
30
- "build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite-no-theo",
31
- "build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
32
- "build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
33
- "build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
34
- "build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
35
- "build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
36
- "build:vite": "yarn theo && vite build",
37
- "build:vite-no-theo": "vite build",
38
- "test": "yarn theo && jest --config ./test/unit/jest.conf.js",
39
- "test:no-theo": "jest --config ./test/unit/jest.conf.js",
40
- "lint": "eslint",
41
- "lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
42
- "lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
43
- "lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
44
- "lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
45
- "lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
46
- "prettier": "prettier . --list-different",
47
- "theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
48
- "third-party": "webpack --config ./build/third-party.webpack.conf.js",
49
- "commit": "cz",
50
- "prepare": "husky install",
51
- "prepack": "yarn && yarn build",
52
- "release:patch": "standard-version --release-as patch",
53
- "release:minor": "standard-version --release-as minor",
54
- "release:major": "standard-version --release-as major"
55
- },
56
- "lint-staged": {
57
- "*.{js,vue,ts}": "eslint"
58
- },
59
- "repository": {
60
- "type": "git",
61
- "url": "https://github.com/visitscotland/vs-component-library.git"
62
- },
63
- "keywords": [
64
- "vue.js",
65
- "visit scotland",
66
- "vue",
67
- "design system",
68
- "design",
69
- "system"
70
- ],
71
- "devDependencies": {
72
- "@babel/core": "^7.23.2",
73
- "@babel/eslint-parser": "^7.21.8",
74
- "@babel/plugin-proposal-class-properties": "^7.10.4",
75
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
76
- "@babel/plugin-syntax-dynamic-import": "^7.0.0",
77
- "@babel/plugin-transform-runtime": "^7.23.2",
78
- "@babel/polyfill": "^7.10.4",
79
- "@babel/preset-env": "^7.23.2",
80
- "@babel/preset-react": "7.12.13",
81
- "@chromatic-com/storybook": "^3.2.2",
82
- "@originjs/vite-plugin-require-context": "^1.0.9",
83
- "@rushstack/eslint-patch": "^1.3.0",
84
- "@semantic-release/npm": "^12.0.1",
85
- "@storybook/addon-a11y": "^8.4.6",
86
- "@storybook/addon-essentials": "^8.4.6",
87
- "@storybook/addon-interactions": "^8.4.6",
88
- "@storybook/addon-links": "^8.4.6",
89
- "@storybook/blocks": "^8.4.6",
90
- "@storybook/vue3": "^8.4.6",
91
- "@storybook/vue3-vite": "^8.4.6",
92
- "@typescript-eslint/eslint-plugin": "^5.59.8",
93
- "@typescript-eslint/parser": "^5.59.8",
94
- "@vitejs/plugin-vue": "^5.0.4",
95
- "@vue/eslint-config-airbnb": "^7.0.0",
96
- "@vue/test-utils": "^2.3.2",
97
- "@vue/vue3-jest": "^29.2.4",
98
- "babel-jest": "^29.5.0",
99
- "babel-loader": "^9.1.2",
100
- "babel-plugin-macros": "^2.4.2",
101
- "bootstrap": "^5.3.2",
102
- "chromatic": "^6.17.3",
103
- "clean-webpack-plugin": "^4.0.0",
104
- "commitizen": "^4.3.0",
105
- "cross-env": "^7.0.3",
106
- "css-loader": "^6.7.3",
107
- "cz-conventional-changelog": "^3.3.0",
108
- "dotenv-webpack": "^8.0.1",
109
- "eslint": "^8.2.0",
110
- "eslint-import-resolver-webpack": "^0.13.2",
111
- "eslint-plugin-import": "^2.25.2",
112
- "eslint-plugin-storybook": "^0.11.1",
113
- "eslint-plugin-vue": "^9.11.1",
114
- "eslint-webpack-plugin": "^4.0.1",
115
- "file-loader": "^6.2.0",
116
- "husky": "^8.0.3",
117
- "jest": "^29.5.0",
118
- "jest-axe": "^8.0.0",
119
- "jest-environment-jsdom": "^29.5.0",
120
- "jest-serializer-vue": "^3.1.0",
121
- "lint-staged": "^15.2.2",
122
- "mini-css-extract-plugin": "^2.7.5",
123
- "moxios": "^0.4.0",
124
- "node-polyfill-webpack-plugin": "^2.0.1",
125
- "npm-run-all": "^4.1.5",
126
- "optimist": "^0.6.1",
127
- "path": "^0.12.7",
128
- "postcss-safe-parser": "^6.0.0",
129
- "prettier": "^3.2.5",
130
- "require-context.macro": "^1.2.2",
131
- "sass": "^1.62.1",
132
- "sass-loader": "^13.2.2",
133
- "semantic-release": "^24.2.0",
134
- "speed-measure-webpack-plugin": "^1.5.0",
135
- "standard-version": "^9.5.0",
136
- "storybook": "^8.4.6",
137
- "storybook-addon-datalayer-watcher": "^1.0.2",
138
- "storybook-addon-mock": "^5.0.0",
139
- "style-loader": "^3.3.2",
140
- "svgo-loader": "^4.0.0",
141
- "theo": "^8.1.5",
142
- "time-analytics-webpack-plugin": "^0.1.20",
143
- "ts-jest": "^29.1.0",
144
- "ts-loader": "^9.4.3",
145
- "typescript": "^5.0.4",
146
- "upgrade": "^1.1.0",
147
- "vite": "^5.2.10",
148
- "vite-plugin-dts": "^3.7.2",
149
- "vite-plugin-turbosnap": "^1.0.2",
150
- "vue": "^3.4.19",
151
- "vue-loader": "^17.1.0",
152
- "vue-style-loader": "^4.1.3",
153
- "webpack": "^5.81.0",
154
- "webpack-cli": "^5.0.2",
155
- "webpack-manifest-plugin": "^5.0.0",
156
- "webpack-merge": "^5.1.4",
157
- "webpack-node-externals": "^3.0.0"
158
- },
159
- "dependencies": {
160
- "@mapbox/geojson-extent": "^1.0.1",
161
- "@pinia/testing": "^0.1.3",
162
- "@semantic-release/exec": "^6.0.3",
163
- "@storybook/addon-a11y": "^8.4.6",
164
- "@storybook/test": "^8.4.6",
165
- "@vuelidate/core": "^2.0.2",
166
- "@vuelidate/validators": "^2.0.2",
167
- "axios": "^1.4.0",
168
- "bootstrap-vue-next": "^0.17.0",
169
- "glob": "^8.1.0",
170
- "lodash": "^4.17.21",
171
- "mapbox-gl": "^1.11.1",
172
- "mitt": "^3.0.0",
173
- "pinia": "^2.1.3",
174
- "vite": "^5.1.3",
175
- "vue": "^3.3.4",
176
- "vue-combo-blocks": "^2.1.1",
177
- "vue-recaptcha": "^2.0.1",
178
- "vue-youtube-vue-3": "^1.5.0",
179
- "vue3-charts": "^1.1.33",
180
- "vue3-lazy-hydration": "^1.2.1",
181
- "vue3-simple-typeahead": "^1.0.11",
182
- "vuelidate": "^0.7.7",
183
- "vuex": "^4.1.0",
184
- "webpack-merge": "^5.1.4",
185
- "webpack-node-externals": "^3.0.0"
186
- },
187
- "peerDependencies": {
188
- "@popperjs/core": "*",
189
- "postcss": "*"
190
- },
191
- "engines": {
192
- "node": ">= 16.20.0",
193
- "npm": ">= 6.14.5",
194
- "yarn": ">= 1.22.4"
195
- },
196
- "browserslist": [
197
- "> 1%",
198
- "last 2 versions",
199
- "not Explorer > 0",
200
- "IE 11",
201
- "not ExplorerMobile > 0",
202
- "not BlackBerry > 0",
203
- "not OperaMini all",
204
- "not OperaMobile > 0"
205
- ],
206
- "jest": {
207
- "testPathIgnorePatterns": [
208
- ".test",
209
- "node_modules"
210
- ],
211
- "jest.pathToJest": "node_modules/.bin/jest"
212
- },
213
- "config": {
214
- "commitizen": {
215
- "path": "./node_modules/cz-conventional-changelog"
216
- }
217
- },
218
- "bugs": {
219
- "url": "https://github.com/visitscotland/vs-component-library/issues"
220
- },
221
- "resolutions": {
222
- "minimist": "^0.2.4",
223
- "json5": "^1.0.2",
224
- "word-wrap": "^1.2.4",
225
- "highlight.js": "^10.4.1",
226
- "semver": "^7.5.4",
227
- "get-func-name": "^2.0.1",
228
- "svgo": "3.2.0"
229
- },
230
- "packageManager": "yarn@4.6.0"
231
- }
1
+ {
2
+ "name": "@visitscotland/component-library",
3
+ "version": "4.12.2",
4
+ "description": "VisitScotland Component Library",
5
+ "author": "VisitScotland",
6
+ "homepage": "https://github.com/visitscotland/vs-component-library#readme",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "require": "./dist/ssr/index.js"
13
+ },
14
+ "./components": {
15
+ "import": "./dist/components/vs-component-library.mjs",
16
+ "require": "./dist/components/vs-component-library.umd.js",
17
+ "types": "./dist/components/component-entry.d.ts"
18
+ },
19
+ "./maps": {
20
+ "import": "./dist/components/maps.mjs"
21
+ },
22
+ "./components/style.css": "./dist/components/vs-component-library.css",
23
+ "./components/fonts.css": "./dist/components/fonts.css",
24
+ "./components/icons.css": "./dist/components/icons.css"
25
+ },
26
+ "license": "MIT",
27
+ "scripts": {
28
+ "storybook": "yarn theo && storybook dev -p 6006",
29
+ "build-storybook": "yarn theo && storybook build",
30
+ "build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite-no-theo",
31
+ "build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
32
+ "build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
33
+ "build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
34
+ "build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
35
+ "build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
36
+ "build:vite": "yarn theo && vite build",
37
+ "build:vite-no-theo": "vite build",
38
+ "test": "yarn theo && jest --config ./test/unit/jest.conf.js",
39
+ "test:no-theo": "jest --config ./test/unit/jest.conf.js",
40
+ "lint": "eslint",
41
+ "lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
42
+ "lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
43
+ "lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
44
+ "lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
45
+ "lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
46
+ "prettier": "prettier . --list-different",
47
+ "theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
48
+ "third-party": "webpack --config ./build/third-party.webpack.conf.js",
49
+ "commit": "cz",
50
+ "prepare": "husky install",
51
+ "prepack": "yarn && yarn build",
52
+ "release:patch": "standard-version --release-as patch",
53
+ "release:minor": "standard-version --release-as minor",
54
+ "release:major": "standard-version --release-as major"
55
+ },
56
+ "lint-staged": {
57
+ "*.{js,vue,ts}": "eslint"
58
+ },
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "https://github.com/visitscotland/vs-component-library.git"
62
+ },
63
+ "keywords": [
64
+ "vue.js",
65
+ "visit scotland",
66
+ "vue",
67
+ "design system",
68
+ "design",
69
+ "system"
70
+ ],
71
+ "devDependencies": {
72
+ "@babel/core": "^7.23.2",
73
+ "@babel/eslint-parser": "^7.21.8",
74
+ "@babel/plugin-proposal-class-properties": "^7.10.4",
75
+ "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
76
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
77
+ "@babel/plugin-transform-runtime": "^7.23.2",
78
+ "@babel/polyfill": "^7.10.4",
79
+ "@babel/preset-env": "^7.23.2",
80
+ "@babel/preset-react": "7.12.13",
81
+ "@chromatic-com/storybook": "^3.2.2",
82
+ "@originjs/vite-plugin-require-context": "^1.0.9",
83
+ "@rushstack/eslint-patch": "^1.3.0",
84
+ "@semantic-release/npm": "^12.0.1",
85
+ "@storybook/addon-a11y": "^8.4.6",
86
+ "@storybook/addon-essentials": "^8.4.6",
87
+ "@storybook/addon-interactions": "^8.4.6",
88
+ "@storybook/addon-links": "^8.4.6",
89
+ "@storybook/blocks": "^8.4.6",
90
+ "@storybook/vue3": "^8.4.6",
91
+ "@storybook/vue3-vite": "^8.4.6",
92
+ "@typescript-eslint/eslint-plugin": "^5.59.8",
93
+ "@typescript-eslint/parser": "^5.59.8",
94
+ "@vitejs/plugin-vue": "^5.0.4",
95
+ "@vue/eslint-config-airbnb": "^7.0.0",
96
+ "@vue/test-utils": "^2.3.2",
97
+ "@vue/vue3-jest": "^29.2.4",
98
+ "babel-jest": "^29.5.0",
99
+ "babel-loader": "^9.1.2",
100
+ "babel-plugin-macros": "^2.4.2",
101
+ "bootstrap": "^5.3.2",
102
+ "chromatic": "^6.17.3",
103
+ "clean-webpack-plugin": "^4.0.0",
104
+ "commitizen": "^4.3.0",
105
+ "cross-env": "^7.0.3",
106
+ "css-loader": "^6.7.3",
107
+ "cz-conventional-changelog": "^3.3.0",
108
+ "dotenv-webpack": "^8.0.1",
109
+ "eslint": "^8.2.0",
110
+ "eslint-import-resolver-webpack": "^0.13.2",
111
+ "eslint-plugin-import": "^2.25.2",
112
+ "eslint-plugin-storybook": "^0.11.1",
113
+ "eslint-plugin-vue": "^9.11.1",
114
+ "eslint-webpack-plugin": "^4.0.1",
115
+ "file-loader": "^6.2.0",
116
+ "husky": "^8.0.3",
117
+ "jest": "^29.5.0",
118
+ "jest-axe": "^8.0.0",
119
+ "jest-environment-jsdom": "^29.5.0",
120
+ "jest-serializer-vue": "^3.1.0",
121
+ "lint-staged": "^15.2.2",
122
+ "mini-css-extract-plugin": "^2.7.5",
123
+ "moxios": "^0.4.0",
124
+ "node-polyfill-webpack-plugin": "^2.0.1",
125
+ "npm-run-all": "^4.1.5",
126
+ "optimist": "^0.6.1",
127
+ "path": "^0.12.7",
128
+ "postcss-safe-parser": "^6.0.0",
129
+ "prettier": "^3.2.5",
130
+ "require-context.macro": "^1.2.2",
131
+ "sass": "^1.62.1",
132
+ "sass-loader": "^13.2.2",
133
+ "semantic-release": "^24.2.0",
134
+ "speed-measure-webpack-plugin": "^1.5.0",
135
+ "standard-version": "^9.5.0",
136
+ "storybook": "^8.4.6",
137
+ "storybook-addon-datalayer-watcher": "^1.0.2",
138
+ "storybook-addon-mock": "^5.0.0",
139
+ "style-loader": "^3.3.2",
140
+ "svgo-loader": "^4.0.0",
141
+ "theo": "^8.1.5",
142
+ "time-analytics-webpack-plugin": "^0.1.20",
143
+ "ts-jest": "^29.1.0",
144
+ "ts-loader": "^9.4.3",
145
+ "typescript": "^5.0.4",
146
+ "upgrade": "^1.1.0",
147
+ "vite": "^5.2.10",
148
+ "vite-plugin-dts": "^3.7.2",
149
+ "vite-plugin-turbosnap": "^1.0.2",
150
+ "vue": "^3.4.19",
151
+ "vue-loader": "^17.1.0",
152
+ "vue-style-loader": "^4.1.3",
153
+ "webpack": "^5.81.0",
154
+ "webpack-cli": "^5.0.2",
155
+ "webpack-manifest-plugin": "^5.0.0",
156
+ "webpack-merge": "^5.1.4",
157
+ "webpack-node-externals": "^3.0.0"
158
+ },
159
+ "dependencies": {
160
+ "@mapbox/geojson-extent": "^1.0.1",
161
+ "@pinia/testing": "^0.1.3",
162
+ "@semantic-release/exec": "^6.0.3",
163
+ "@storybook/addon-a11y": "^8.4.6",
164
+ "@storybook/test": "^8.4.6",
165
+ "@vuelidate/core": "^2.0.2",
166
+ "@vuelidate/validators": "^2.0.2",
167
+ "axios": "^1.4.0",
168
+ "bootstrap-vue-next": "^0.17.0",
169
+ "glob": "^8.1.0",
170
+ "lodash": "^4.17.21",
171
+ "mapbox-gl": "^1.11.1",
172
+ "mitt": "^3.0.0",
173
+ "pinia": "^2.1.3",
174
+ "vite": "^5.1.3",
175
+ "vue": "^3.3.4",
176
+ "vue-combo-blocks": "^2.1.1",
177
+ "vue-recaptcha": "^2.0.1",
178
+ "vue-youtube-vue-3": "^1.5.0",
179
+ "vue3-charts": "^1.1.33",
180
+ "vue3-lazy-hydration": "^1.2.1",
181
+ "vue3-simple-typeahead": "^1.0.11",
182
+ "vuelidate": "^0.7.7",
183
+ "vuex": "^4.1.0",
184
+ "webpack-merge": "^5.1.4",
185
+ "webpack-node-externals": "^3.0.0"
186
+ },
187
+ "peerDependencies": {
188
+ "@popperjs/core": "*",
189
+ "postcss": "*"
190
+ },
191
+ "engines": {
192
+ "node": ">= 16.20.0",
193
+ "npm": ">= 6.14.5",
194
+ "yarn": ">= 1.22.4"
195
+ },
196
+ "browserslist": [
197
+ "> 1%",
198
+ "last 2 versions",
199
+ "not Explorer > 0",
200
+ "IE 11",
201
+ "not ExplorerMobile > 0",
202
+ "not BlackBerry > 0",
203
+ "not OperaMini all",
204
+ "not OperaMobile > 0"
205
+ ],
206
+ "jest": {
207
+ "testPathIgnorePatterns": [
208
+ ".test",
209
+ "node_modules"
210
+ ],
211
+ "jest.pathToJest": "node_modules/.bin/jest"
212
+ },
213
+ "config": {
214
+ "commitizen": {
215
+ "path": "./node_modules/cz-conventional-changelog"
216
+ }
217
+ },
218
+ "bugs": {
219
+ "url": "https://github.com/visitscotland/vs-component-library/issues"
220
+ },
221
+ "resolutions": {
222
+ "minimist": "^0.2.4",
223
+ "json5": "^1.0.2",
224
+ "word-wrap": "^1.2.4",
225
+ "highlight.js": "^10.4.1",
226
+ "semver": "^7.5.4",
227
+ "get-func-name": "^2.0.1",
228
+ "svgo": "3.2.0"
229
+ },
230
+ "packageManager": "yarn@4.6.0"
231
+ }
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3642],{10940:function(){},40770:function(t,o,n){"use strict";var e=n(11438),i=n(34352),s=n(43990);o.A={name:"VsModal",status:"prototype",release:"0.0.1",components:{VsCol:e.Il,VsRow:e.AQ,VsContainer:e.T$,VsButton:s.A,BModal:i.RB},props:{modalId:{type:String,required:!0},closeBtnText:{type:String,required:!0},isVideoModal:{type:Boolean,default:!1},autoMount:{type:Boolean,default:!1}},data:function(){return{show:!1,mounted:this.autoMount}},mounted:function(){var t=this;this.mounted=!0,this.emitter&&(this.emitter.on("showModal",(function(o){return t.showModal(o)})),this.emitter.on("hideModal",(function(){return t.hideModal()})),this.isVideoModal&&this.emitter.on("showModal",(function(o){t.emitter.emit("video-controls",{action:"modal-opened",id:o})})))},methods:{hideModal:function(){this.emitter&&this.emitter.emit("video-controls",{action:"modal-closed",id:this.modalId}),this.show=!1},showModal:function(t){t===this.modalId&&(this.show=!0)}}}},56880:function(t,o,n){"use strict";n.d(o,{X:function(){return s}});var e=n(20641),i=n(90033);function s(t,o,n,s,l,a){var d=(0,e.g2)("VsButton"),r=(0,e.g2)("VsCol"),u=(0,e.g2)("VsRow"),c=(0,e.g2)("VsContainer"),f=(0,e.g2)("BModal");return l.mounted?((0,e.uX)(),(0,e.Wv)(f,{key:0,"modal-class":"vs-modal","data-test":"vs-modal",ref:"modal-".concat(n.modalId),id:n.modalId,size:"xl","hide-footer":"","hide-header":"",static:n.isVideoModal,modelValue:l.show,"onUpdate:modelValue":o[0]||(o[0]=function(t){return l.show=t}),onHidden:a.hideModal},{default:(0,e.k6)((function(){return[(0,e.bF)(c,null,{default:(0,e.k6)((function(){return[(0,e.bF)(u,null,{default:(0,e.k6)((function(){return[(0,e.bF)(r,{cols:"12",lg:"1",class:"d-flex justify-content-end align-items-start order-lg-1"},{default:(0,e.k6)((function(){return[(0,e.bF)(d,{class:"vs-modal__close-btn mb-125 mb-lg-0","data-test":"vs-modal__close-btn",variant:"transparent","icon-only":"",icon:"close",onClick:a.hideModal},{default:(0,e.k6)((function(){return[(0,e.eW)((0,i.toDisplayString)(n.closeBtnText),1)]})),_:1},8,["onClick"])]})),_:1}),(0,e.bF)(r,{cols:"12",lg:"11"},{default:(0,e.k6)((function(){return[(0,e.RG)(t.$slots,"default")]})),_:3})]})),_:3})]})),_:3})]})),_:3},8,["id","static","modelValue","onHidden"])):(0,e.Q3)("",!0)}},22750:function(t,o,n){"use strict";var e=n(85072),i=n.n(e),s=n(97825),l=n.n(s),a=n(77659),d=n.n(a),r=n(55056),u=n.n(r),c=n(10540),f=n.n(c),m=n(41113),h=n.n(m),p=n(10940),v=n.n(p),M={};M.styleTagTransform=h(),M.setAttributes=u(),M.insert=d().bind(null,"head"),M.domAPI=l(),M.insertStyleElement=f(),i()(v(),M),v()&&v().locals&&v().locals},93642:function(t,o,n){"use strict";n.r(o);var e=n(56880),i=n(97862);n(80770);const s=(0,n(66262).A)(i.A,[["render",e.X]]);o.default=s},97862:function(t,o,n){"use strict";n.d(o,{A:function(){return e.A}});var e=n(40770)},80770:function(t,o,n){"use strict";n(22750)}}]);
@@ -1 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsVsFilter=e():t.VsVsFilter=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9753],{60846:function(){},9373:function(t,e,n){"use strict";var i=n(20641),r=n(50953),o=n(90033),s=n(48836),l=n(93642),u=n(79122),f={class:"vs-filter","data-test":"vs-filter"};e.A={__name:"VsFilter",props:{applyButtonText:{type:String,required:!0},filterButtonText:{type:String,required:!0},filterId:{type:String,required:!0}},setup:function(t){var e=(0,i.WQ)("emitter"),n=t;return(0,i.sV)((function(){window.addEventListener("resize",(function(){e.emit("hideModal")}))})),function(t,a){return(0,i.uX)(),(0,i.CE)(i.FK,null,[(0,i.Lk)("div",f,[(0,i.bF)(s.default,{class:"vs-filter__toggle",icon:"filters",id:"toggle-btn",ref:"btnShow",variant:"secondary",onClick:a[0]||(a[0]=function(t){return(0,r.R1)(e).emit("showModal",n.filterId)})},{default:(0,i.k6)((function(){return[(0,i.eW)((0,o.toDisplayString)(n.filterButtonText),1)]})),_:1},512),(0,i.bF)(l.default,{"close-btn-text":"Close","modal-id":n.filterId},{default:(0,i.k6)((function(){return[(0,i.RG)(t.$slots,"default"),(0,i.bF)(s.default,{class:"vs-filter__apply",onClick:a[1]||(a[1]=function(t){return(0,r.R1)(e).emit("hideModal")})},{default:(0,i.k6)((function(){return[(0,i.eW)((0,o.toDisplayString)(n.applyButtonText),1)]})),_:1})]})),_:3},8,["modal-id"]),(0,i.RG)(t.$slots,"default")]),t.$slots["no-js"]?((0,i.uX)(),(0,i.Wv)(u.default,{key:0,class:"vs-filter__warning"},{default:(0,i.k6)((function(){return[(0,i.RG)(t.$slots,"no-js")]})),_:3})):(0,i.Q3)("",!0)],64)}}}},23212:function(t,e,n){"use strict";var i=n(85072),r=n.n(i),o=n(97825),s=n.n(o),l=n(77659),u=n.n(l),f=n(55056),a=n.n(f),c=n(10540),d=n.n(c),p=n(41113),y=n.n(p),_=n(60846),v=n.n(_),b={};b.styleTagTransform=y(),b.setAttributes=a(),b.insert=u().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=d(),r()(v(),b),v()&&v().locals&&v().locals},62837:function(t,e,n){"use strict";n.r(e);var i=n(86321);n(20248);const r=i.A;e.default=r},86321:function(t,e,n){"use strict";n.d(e,{A:function(){return i.A}});var i=n(9373)},20248:function(t,e,n){"use strict";n(23212)}},function(t){return t.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,6422,8745,8836,8638,2368,7521,1438,9122,3990,3642],(function(){return t(t.s=62837)})),t.O()}])}));
@@ -1 +0,0 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsVsFilterPanel=t():e.VsVsFilterPanel=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3729],{62274:function(e,t,n){var r=n(20641),l=n(90033),i=n(50953),o=n(46422),u={class:"vs-filter__legend"};t.A={__name:"VsFilterPanel",props:{filterLabel:{type:String,required:!0}},emits:["filter-updated"],setup:function(e,t){var n=t.expose,f=e,a=(0,i.KR)(null),c=function(e){var t=e;"checkbox"===t.type?t.checked=!1:"date"===t.type&&(t.value="")};return n({clearFilter:c,resetAll:function(){a.value.querySelectorAll('input[type="checkbox"], input[type="date"]').forEach((function(e){c(e)}))},resetOne:function(e){var t=a.value.querySelector("#".concat(e));c(t)}}),function(e,t){return(0,r.uX)(),(0,r.CE)("fieldset",{class:"vs-filter__panel","data-test":"vs-filter__panel",ref_key:"filter",ref:a,onChange:t[0]||(t[0]=function(t){return e.$emit("filter-updated",t)})},[(0,r.Lk)("legend",u,[(0,r.bF)(o.default,{name:"filters",orientation:"left"}),(0,r.eW)(" "+(0,l.toDisplayString)(f.filterLabel),1)]),(0,r.RG)(e.$slots,"default")],544)}}}},41108:function(e,t,n){n.r(t);const r=n(7758).A;t.default=r},7758:function(e,t,n){n.d(t,{A:function(){return r.A}});var r=n(62274)}},function(e){return e.O(0,[641,6262,7510,4467,6422],(function(){return e(e.s=41108)})),e.O()}])}));
@@ -1 +0,0 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsModal=t():e.VsModal=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7165],{},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,6422,8745,8836,8638,2368,7521,1438,3990,3642],(function(){return e(e.s=93642)})),e.O()}])}));
@@ -1 +0,0 @@
1
- .vs-filter__panel:not(.vs-modal .vs-filter__panel){background-color:#fff;border:solid 1px #a3a3cc;border-radius:.25rem;overflow:auto}@media(max-width: 575.98px){.vs-filter__panel:not(.vs-modal .vs-filter__panel){display:none}}.vs-filter__legend{align-items:baseline;background-color:#f2f2f8;border-bottom:solid 1px #a3a3cc;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;margin-bottom:0;padding:.75rem 1.25rem}.vs-filter__toggle,.vs-filter__apply{margin:3rem 0;width:100%}@media(min-width: 576px){.vs-filter__toggle.vs-button{display:none}}.vs-modal .vs-filter__legend{background-color:#fff}.no-js .vs-filter{display:none}.no-js .vs-filter__wrapper .vs-warning{display:block}
@@ -1,18 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2
- export default _default;
3
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
- $slots: S;
5
- });
6
- declare const __VLS_component: import('vue').DefineComponent<{}, {
7
- clearFilter: (inputField: any) => void;
8
- resetAll: () => void;
9
- resetOne: (filterId: any) => void;
10
- $emit: (event: "filter-updated", ...args: any[]) => void;
11
- filterLabel: string;
12
- $props: {
13
- readonly filterLabel?: string;
14
- };
15
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
- declare function __VLS_template(): {
17
- default?(_: {}): any;
18
- };