@visitscotland/component-library 5.0.2 → 5.1.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.
- package/dist/client/manifest.json +169 -122
- package/dist/client/scripts/0c6e0e0d968d7548a4ac.js +1 -0
- package/dist/client/scripts/{8bb2cfe40f480468f579.js → 0d02264f0453a8c5cb5c.js} +1 -1
- package/dist/client/scripts/{a4e2bfe386973a8adadb.js → 147a1c4d69e90b22105d.js} +1 -1
- package/dist/client/scripts/1f34a4466c0e8500c320.js +1 -0
- package/dist/client/scripts/296c337827351e1a2812.js +1 -0
- package/dist/client/scripts/2e647191e4c39710833d.js +1 -0
- package/dist/client/scripts/31c2765c1e88f48f1520.js +1 -0
- package/dist/client/scripts/{d7dec09a20432ee65c3a.js → 48049dda82010a1b7112.js} +1 -1
- package/dist/client/scripts/5403261cf92292f782cc.js +1 -0
- package/dist/client/scripts/54e775fdb2729ad9656a.js +1 -0
- package/dist/client/scripts/{d354c47822157cffa10d.js → 757e3cbbd67d4e2b4c5e.js} +1 -1
- package/dist/client/scripts/{1d2f6ebdf6f4d43e6598.js → 77280bf2a8f5f63c3cdc.js} +1 -1
- package/dist/client/scripts/7aa91e3b657ec2d518fb.js +1 -0
- package/dist/client/scripts/{d8f6a5ed4d7cea700ce0.js → 7cf75e9fe1f34e3718d7.js} +1 -1
- package/dist/client/scripts/{33e9262c147b6536e22b.js → 931ec8e102ad07fc6375.js} +1 -1
- package/dist/client/scripts/a154cc91e88ae9dfea0e.js +1 -0
- package/dist/client/scripts/{d7420582cb218af1d486.js → a9f15f80cd496dffd850.js} +1 -1
- package/dist/client/scripts/{af7579b80bd0df891692.js → ae0e77a4514c1619043a.js} +1 -1
- package/dist/client/scripts/{6afbf17da2ea8f279e92.js → b8242eaf85c9b74fa30e.js} +1 -1
- package/dist/client/scripts/{bcd7a3d19bab8f8e267b.js → bca51aaee2fd4f66e737.js} +1 -1
- package/dist/client/scripts/{c0845a0590dde1d60587.js → bffa69d04f8d2e957e3a.js} +1 -1
- package/dist/client/scripts/d3bafcf99cfb8d710d10.js +1 -0
- package/dist/client/scripts/{967b8f5dde3c44052690.js → e2eefa435e886ed26ae1.js} +1 -1
- package/dist/client/scripts/{6eef05bd32c6580b12f2.js → eb4af41c529768b5223f.js} +1 -1
- package/dist/client/scripts/{558eb58c72b6262212d4.js → f510b089a1f5349b6ce6.js} +1 -1
- package/dist/client/styles/{6f34a2facd1ba0619a64.css → 31c2765c1e88f48f1520.css} +1 -1
- package/dist/client/styles/{36833ce67d7b101bdb69.css → 48c47eb704d60f0274a2.css} +1 -1
- package/dist/client/styles/5403261cf92292f782cc.css +1 -0
- package/dist/client/styles/71b33459584751455b41.css +1 -0
- package/dist/client/styles/{a2a3df66e2bf3fdbe36e.css → 8772bbad384566160d70.css} +1 -1
- package/dist/client/styles/a154cc91e88ae9dfea0e.css +1 -0
- package/dist/client/styles/ae596ff1996c280c202c.css +1 -0
- package/dist/client/styles/c6314d517b52641f766c.css +1 -0
- package/dist/components/components/index.d.ts +1 -0
- package/dist/components/components/spotlight-section/SpotlightSection.vue.d.ts +1055 -0
- package/dist/components/components/spotlight-section/index.d.ts +5 -0
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library.js +37 -37
- package/dist/components/vs-component-library.mjs +912 -783
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{7f2403fabe8277a4dbd6.css → d18d1d1542152349aa2a.css} +8 -7
- package/package.json +6 -5
- package/dist/client/scripts/008dd9fbd7730bdef0c5.js +0 -1
- package/dist/client/scripts/03a1e88be8a0112036ae.js +0 -1
- package/dist/client/scripts/0a9f7e7ff885f98a9a10.js +0 -1
- package/dist/client/scripts/5152fe8ab2ded5faea02.js +0 -1
- package/dist/client/scripts/5dcdcbf3dc5c8492bad7.js +0 -1
- package/dist/client/scripts/6859e85af015193093bd.js +0 -1
- package/dist/client/scripts/6e6f51413925fcd30daf.js +0 -1
- package/dist/client/scripts/6f34a2facd1ba0619a64.js +0 -1
- package/dist/client/scripts/97d5d14de5ba0df8d473.js +0 -1
- package/dist/client/styles/51df6c44aa68b0348bb7.css +0 -1
- package/dist/client/styles/6859e85af015193093bd.css +0 -1
- package/dist/client/styles/8743b1efd42ad6080c9d.css +0 -1
- package/dist/client/styles/beea452a6762bdd81b5d.css +0 -1
- /package/dist/client/scripts/{36833ce67d7b101bdb69.js → 48c47eb704d60f0274a2.js} +0 -0
- /package/dist/client/scripts/{8743b1efd42ad6080c9d.js → 71b33459584751455b41.js} +0 -0
- /package/dist/client/scripts/{a2a3df66e2bf3fdbe36e.js → 8772bbad384566160d70.js} +0 -0
- /package/dist/client/scripts/{51df6c44aa68b0348bb7.js → ae596ff1996c280c202c.js} +0 -0
- /package/dist/client/scripts/{beea452a6762bdd81b5d.js → c6314d517b52641f766c.js} +0 -0
- /package/dist/client/styles/{97d5d14de5ba0df8d473.css → 0c6e0e0d968d7548a4ac.css} +0 -0
- /package/dist/client/styles/{8bb2cfe40f480468f579.css → 0d02264f0453a8c5cb5c.css} +0 -0
- /package/dist/client/styles/{a4e2bfe386973a8adadb.css → 147a1c4d69e90b22105d.css} +0 -0
- /package/dist/client/styles/{008dd9fbd7730bdef0c5.css → 1f34a4466c0e8500c320.css} +0 -0
- /package/dist/client/styles/{03a1e88be8a0112036ae.css → 296c337827351e1a2812.css} +0 -0
- /package/dist/client/styles/{5dcdcbf3dc5c8492bad7.css → 2e647191e4c39710833d.css} +0 -0
- /package/dist/client/styles/{d7dec09a20432ee65c3a.css → 48049dda82010a1b7112.css} +0 -0
- /package/dist/client/styles/{6e6f51413925fcd30daf.css → 54e775fdb2729ad9656a.css} +0 -0
- /package/dist/client/styles/{d354c47822157cffa10d.css → 757e3cbbd67d4e2b4c5e.css} +0 -0
- /package/dist/client/styles/{1d2f6ebdf6f4d43e6598.css → 77280bf2a8f5f63c3cdc.css} +0 -0
- /package/dist/client/styles/{0a9f7e7ff885f98a9a10.css → 7aa91e3b657ec2d518fb.css} +0 -0
- /package/dist/client/styles/{d8f6a5ed4d7cea700ce0.css → 7cf75e9fe1f34e3718d7.css} +0 -0
- /package/dist/client/styles/{33e9262c147b6536e22b.css → 931ec8e102ad07fc6375.css} +0 -0
- /package/dist/client/styles/{d7420582cb218af1d486.css → a9f15f80cd496dffd850.css} +0 -0
- /package/dist/client/styles/{af7579b80bd0df891692.css → ae0e77a4514c1619043a.css} +0 -0
- /package/dist/client/styles/{bcd7a3d19bab8f8e267b.css → bca51aaee2fd4f66e737.css} +0 -0
- /package/dist/client/styles/{c0845a0590dde1d60587.css → bffa69d04f8d2e957e3a.css} +0 -0
- /package/dist/client/styles/{5152fe8ab2ded5faea02.css → d3bafcf99cfb8d710d10.css} +0 -0
- /package/dist/client/styles/{6eef05bd32c6580b12f2.css → eb4af41c529768b5223f.css} +0 -0
- /package/dist/client/styles/{558eb58c72b6262212d4.css → f510b089a1f5349b6ce6.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
h4.vs-canned-search-sub-heading{color:#535396;margin:0;margin-bottom:.75rem}@media(min-width: 768px){h4.vs-canned-search-sub-heading{font-size:1.25rem}}h4.vs-canned-search-sub-heading--lines-1{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:1}h4.vs-canned-search-sub-heading--lines-2{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-product-card .stretched-link:focus{outline:2px solid #3369ff}.vs-product-card{text-align:left}.vs-product-card .card{transition:box-shadow .5s;border:none;position:relative;padding-bottom:1.25rem}.vs-product-card .card:hover .vs-product-card__title a{text-decoration:underline}.vs-product-card .card-body{padding:.25rem 0 0;min-height:11.5rem}.vs-product-card .card-body--short{min-height:10rem}.vs-product-card .stretched-link{color:#200f2e;text-decoration:none;display:block}.vs-product-card .vs-product-card__link:focus{border:2px solid #3369ff}.vs-product-card .vs-product-card__image-container{position:relative;height:0;padding-bottom:66.6%}.vs-product-card .vs-product-card__image-inner-container{position:absolute;top:0;left:0;width:100%;height:100%}.vs-product-card .vs-product-card__img{width:100%;height:100%;object-fit:cover;align-self:flex-start;flex-shrink:0}.vs-product-card .vs-product-card__title{display:flex;margin:.75rem 0 .5rem;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}@media(min-width: 768px){.vs-product-card .vs-product-card__title{font-size:1.4375rem}}.vs-product-card .vs-product-card__description{font-size:1rem;height:2rem}.vs-product-card .vs-product-card__description p{margin-bottom:.25rem}.vs-product-card .vs-product-card__description .vs-product-card__description-inner{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.vs-product-card--disabled .card{opacity:.5}.vs-product-card--disabled .card:hover .vs-product-card__title a{text-decoration:none}.vs-product-card--disabled .stretched-link{cursor:default}.no-js .vs-product-card--disabled .card{opacity:1}.no-js .vs-product-card--disabled .card .vs-product-card__title a{text-decoration:underline}.no-js .vs-product-card--disabled .stretched-link{cursor:pointer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card.vs-mega-nav-featured-event{border-top:1px solid #e9e9e9;margin-bottom:-0.5rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event{margin-bottom:0}}.card.vs-mega-nav-featured-event:focus .vs-stretched-link-card__link{outline:2px}.card.vs-mega-nav-featured-event--bottom{bottom:0;top:auto}.card.vs-mega-nav-featured-event .card-body{position:absolute;width:80%;bottom:0;left:0;background:#fff;padding:0 0 1rem;border-left:.25rem solid #a8308c}@media(min-width: 768px){.card.vs-mega-nav-featured-event .card-body{padding:0}}@media(min-width: 992px){.card.vs-mega-nav-featured-event .card-body{border-left-width:0}}.card.vs-mega-nav-featured-event .card-title{display:none}.card.vs-mega-nav-featured-event .vs-stretched-link-card__content{padding:0 1.25rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event .vs-stretched-link-card__content{border-left:.25rem solid #a8308c}}.card.vs-mega-nav-featured-event .vs-stretched-link-card__link{font-size:.875em;margin-left:1.25rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event .vs-stretched-link-card__link{margin-left:0}}.card.vs-mega-nav-featured-event .vs-stretched-link-card__link:hover{text-decoration:none}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__date-range{color:#a8308c;margin-bottom:.5rem;font-size:.875em}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__date-detail{font-weight:600}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__title{font-size:.875em;font-weight:600;margin-bottom:0;text-overflow:ellipsis;overflow:hidden;display:-webkit-box
|
|
1
|
+
.card.vs-mega-nav-featured-event{border-top:1px solid #e9e9e9;margin-bottom:-0.5rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event{margin-bottom:0}}.card.vs-mega-nav-featured-event:focus .vs-stretched-link-card__link{outline:2px}.card.vs-mega-nav-featured-event--bottom{bottom:0;top:auto}.card.vs-mega-nav-featured-event .card-body{position:absolute;width:80%;bottom:0;left:0;background:#fff;padding:0 0 1rem;border-left:.25rem solid #a8308c}@media(min-width: 768px){.card.vs-mega-nav-featured-event .card-body{padding:0}}@media(min-width: 992px){.card.vs-mega-nav-featured-event .card-body{border-left-width:0}}.card.vs-mega-nav-featured-event .card-title{display:none}.card.vs-mega-nav-featured-event .vs-stretched-link-card__content{padding:0 1.25rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event .vs-stretched-link-card__content{border-left:.25rem solid #a8308c}}.card.vs-mega-nav-featured-event .vs-stretched-link-card__link{font-size:.875em;margin-left:1.25rem}@media(min-width: 992px){.card.vs-mega-nav-featured-event .vs-stretched-link-card__link{margin-left:0}}.card.vs-mega-nav-featured-event .vs-stretched-link-card__link:hover{text-decoration:none}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__date-range{color:#a8308c;margin-bottom:.5rem;font-size:.875em}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__date-detail{font-weight:600}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__title{font-size:.875em;font-weight:600;margin-bottom:0;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.card.vs-mega-nav-featured-event .vs-mega-nav-featured-event__location{font-size:.875em;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:1}@media(min-width: 576px){.card.vs-mega-nav-featured-event{display:flex;flex-direction:row-reverse}.card.vs-mega-nav-featured-event .card-title{font-size:1rem}.card.vs-mega-nav-featured-event .card-body{position:initial;width:auto;max-width:100%;display:flex;flex-direction:column;justify-content:space-between}}@media screen and (min-width: 576px)and (-ms-high-contrast: active),screen and (min-width: 576px)and (-ms-high-contrast: none){.card.vs-mega-nav-featured-event .card-body{position:relative}}@media(min-width: 576px){.card.vs-mega-nav-featured-event .vs-stretched-link-card__img-container{width:245px;height:auto}}@media(min-width: 992px){.card.vs-mega-nav-featured-event{padding:.75rem;flex-direction:column;border-top:none}.card.vs-mega-nav-featured-event .vs-stretched-link-card__img-container{width:100%}.card.vs-mega-nav-featured-event .vs-stretched-link-card__link{align-self:flex-end;padding:.5rem}}.no-js .card.vs-mega-nav-featured-event{display:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-spotlight-section{position:relative;background-color:#e5e5f0;color:#fff;border-radius:.75rem;background-size:cover;background-position:center}.vs-spotlight-section__overlay{position:relative;height:100%;width:100%;display:grid;place-items:end;border-radius:.75rem;padding:1.75rem 1.25rem;z-index:1}@media(min-width: 576px){.vs-spotlight-section__overlay{padding:2.5rem 2.5rem}}.vs-spotlight-section__overlay::before{content:"";position:absolute;inset:0;border-radius:.75rem;background:linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%),linear-gradient(270deg, rgba(0, 0, 0, 0) 30.29%, rgba(0, 0, 0, 0.5) 75%);z-index:-1}@media(min-width: 992px){.vs-spotlight-section__overlay::before{background:linear-gradient(270deg, rgba(0, 0, 0, 0) 30.29%, rgba(0, 0, 0, 0.5) 75%)}}.vs-spotlight-section__description{display:none}.vs-spotlight-section__heading{text-wrap:balance;margin-bottom:1.5rem}@media(min-width: 576px){.vs-spotlight-section__heading{font-size:1.8125rem}}@media(min-width: 576px)and (min-width: 768px){.vs-spotlight-section__heading{font-size:2rem}}@media(min-width: 768px){.vs-spotlight-section__heading{padding-right:3rem;font-size:2rem}}@media(min-width: 768px)and (min-width: 768px){.vs-spotlight-section__heading{font-size:2.25rem}}@media(min-width: 992px){.vs-spotlight-section__heading{padding-right:7rem}}@media(min-width: 1200px){.vs-spotlight-section__heading{font-size:2.25rem}}.vs-spotlight-section--standard{min-height:360px;height:auto}@media(min-width: 768px){.vs-spotlight-section--standard{min-height:500px}}.vs-spotlight-section--standard .vs-spotlight-section__overlay{min-height:360px}@media(min-width: 768px){.vs-spotlight-section--standard .vs-spotlight-section__overlay{min-height:500px;padding:4rem 3rem}}@media(min-width: 576px){.vs-spotlight-section--standard .vs-spotlight-section__heading{margin-bottom:1.5rem}}@media(min-width: 768px){.vs-spotlight-section--standard .vs-spotlight-section__description{margin-bottom:2.5rem;display:block}}@media(min-width: 1200px){.vs-spotlight-section--standard .vs-spotlight-section__description{margin-bottom:3rem}}.vs-spotlight-section--compact{min-height:170px;height:auto}@media(min-width: 992px){.vs-spotlight-section--compact{min-height:276px}}@media(min-width: 1200px){.vs-spotlight-section--compact{min-height:293px}}.vs-spotlight-section--compact .vs-spotlight-section__overlay{min-height:170px}@media(min-width: 992px){.vs-spotlight-section--compact .vs-spotlight-section__overlay{min-height:276px;padding:4rem 3rem}}@media(min-width: 1200px){.vs-spotlight-section--compact .vs-spotlight-section__overlay{min-height:293px}}@media(min-width: 576px){.vs-spotlight-section--compact .vs-spotlight-section__heading{margin-bottom:0}}@media(min-width: 992px){.vs-spotlight-section--compact .vs-spotlight-section__heading{margin-bottom:1.5rem}}.vs-spotlight-section--compact .vs-spotlight-section__description{margin-bottom:0}@media(min-width: 992px){.vs-spotlight-section--compact .vs-spotlight-section__description{display:block}}.vs-spotlight-section--no-image{color:#200f2e}.vs-spotlight-section--no-image .vs-spotlight-section__overlay::before{background:#f2f2f8}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-canned-search-tour-runs{font-weight:600;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-canned-search-tour-departs{font-size:1rem;margin-bottom:.25rem;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.vs-canned-search-tour-departs__label{font-weight:600}
|
|
@@ -99,6 +99,7 @@ export { default as VsSkipTo } from './skip-to/SkipTo.vue';
|
|
|
99
99
|
export { default as VsSocialCreditLink } from './social-credit-link/SocialCreditLink.vue';
|
|
100
100
|
export { default as VsSocialShare } from './social-share/SocialShare.vue';
|
|
101
101
|
export { default as VsSocialShareItem } from './social-share/components/SocialShareItem.vue';
|
|
102
|
+
export { default as VsSpotlightSection } from './spotlight-section/SpotlightSection.vue';
|
|
102
103
|
export { default as VsStretchedLinkCard } from './stretched-link-card/StretchedLinkCard.vue';
|
|
103
104
|
export { default as VsStretchedLinkPanel } from './stretched-link-card/components/StretchedLinkPanels.vue';
|
|
104
105
|
export { default as VsStyledList } from './styled-list/StyledList.vue';
|