@visitscotland/component-library 5.0.3 → 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.
Files changed (66) hide show
  1. package/dist/client/manifest.json +139 -92
  2. package/dist/client/scripts/{8bb2cfe40f480468f579.js → 0d02264f0453a8c5cb5c.js} +1 -1
  3. package/dist/client/scripts/{a4e2bfe386973a8adadb.js → 147a1c4d69e90b22105d.js} +1 -1
  4. package/dist/client/scripts/{80b442a493a679e03e2d.js → 296c337827351e1a2812.js} +1 -1
  5. package/dist/client/scripts/{59c4071f66a2f59a2200.js → 2e647191e4c39710833d.js} +1 -1
  6. package/dist/client/scripts/31c2765c1e88f48f1520.js +1 -0
  7. package/dist/client/scripts/{d7dec09a20432ee65c3a.js → 48049dda82010a1b7112.js} +1 -1
  8. package/dist/client/scripts/{9e53eec88a9ad79279d0.js → 54e775fdb2729ad9656a.js} +1 -1
  9. package/dist/client/scripts/{d354c47822157cffa10d.js → 757e3cbbd67d4e2b4c5e.js} +1 -1
  10. package/dist/client/scripts/{1d2f6ebdf6f4d43e6598.js → 77280bf2a8f5f63c3cdc.js} +1 -1
  11. package/dist/client/scripts/{2467e4f8f8ad133fedd4.js → 7aa91e3b657ec2d518fb.js} +1 -1
  12. package/dist/client/scripts/{33e9262c147b6536e22b.js → 931ec8e102ad07fc6375.js} +1 -1
  13. package/dist/client/scripts/a154cc91e88ae9dfea0e.js +1 -0
  14. package/dist/client/scripts/{d7420582cb218af1d486.js → a9f15f80cd496dffd850.js} +1 -1
  15. package/dist/client/scripts/{af7579b80bd0df891692.js → ae0e77a4514c1619043a.js} +1 -1
  16. package/dist/client/scripts/{6afbf17da2ea8f279e92.js → b8242eaf85c9b74fa30e.js} +1 -1
  17. package/dist/client/scripts/{bcd7a3d19bab8f8e267b.js → bca51aaee2fd4f66e737.js} +1 -1
  18. package/dist/client/scripts/{18cc1f8c7228bad0a9c6.js → bffa69d04f8d2e957e3a.js} +1 -1
  19. package/dist/client/scripts/{967b8f5dde3c44052690.js → e2eefa435e886ed26ae1.js} +1 -1
  20. package/dist/client/scripts/{6eef05bd32c6580b12f2.js → eb4af41c529768b5223f.js} +1 -1
  21. package/dist/client/scripts/{558eb58c72b6262212d4.js → f510b089a1f5349b6ce6.js} +1 -1
  22. package/dist/client/styles/{6f34a2facd1ba0619a64.css → 31c2765c1e88f48f1520.css} +1 -1
  23. package/dist/client/styles/{36833ce67d7b101bdb69.css → 48c47eb704d60f0274a2.css} +1 -1
  24. package/dist/client/styles/5403261cf92292f782cc.css +1 -0
  25. package/dist/client/styles/71b33459584751455b41.css +1 -0
  26. package/dist/client/styles/{a2a3df66e2bf3fdbe36e.css → 8772bbad384566160d70.css} +1 -1
  27. package/dist/client/styles/a154cc91e88ae9dfea0e.css +1 -0
  28. package/dist/client/styles/ae596ff1996c280c202c.css +1 -0
  29. package/dist/client/styles/c6314d517b52641f766c.css +1 -0
  30. package/dist/components/components/index.d.ts +1 -0
  31. package/dist/components/components/spotlight-section/SpotlightSection.vue.d.ts +1055 -0
  32. package/dist/components/components/spotlight-section/index.d.ts +5 -0
  33. package/dist/components/style.css +1 -1
  34. package/dist/components/vs-component-library.js +37 -37
  35. package/dist/components/vs-component-library.mjs +897 -768
  36. package/dist/ssr/index.js +1 -1
  37. package/dist/ssr/manifest.json +1 -1
  38. package/dist/ssr/styles/{04b3f923d70e77a90e42.css → d18d1d1542152349aa2a.css} +8 -7
  39. package/package.json +1 -1
  40. package/dist/client/scripts/6f34a2facd1ba0619a64.js +0 -1
  41. package/dist/client/styles/51df6c44aa68b0348bb7.css +0 -1
  42. package/dist/client/styles/77ab2437e3db211326a2.css +0 -1
  43. package/dist/client/styles/8743b1efd42ad6080c9d.css +0 -1
  44. package/dist/client/styles/beea452a6762bdd81b5d.css +0 -1
  45. /package/dist/client/scripts/{36833ce67d7b101bdb69.js → 48c47eb704d60f0274a2.js} +0 -0
  46. /package/dist/client/scripts/{77ab2437e3db211326a2.js → 5403261cf92292f782cc.js} +0 -0
  47. /package/dist/client/scripts/{8743b1efd42ad6080c9d.js → 71b33459584751455b41.js} +0 -0
  48. /package/dist/client/scripts/{a2a3df66e2bf3fdbe36e.js → 8772bbad384566160d70.js} +0 -0
  49. /package/dist/client/scripts/{51df6c44aa68b0348bb7.js → ae596ff1996c280c202c.js} +0 -0
  50. /package/dist/client/scripts/{beea452a6762bdd81b5d.js → c6314d517b52641f766c.js} +0 -0
  51. /package/dist/client/styles/{8bb2cfe40f480468f579.css → 0d02264f0453a8c5cb5c.css} +0 -0
  52. /package/dist/client/styles/{a4e2bfe386973a8adadb.css → 147a1c4d69e90b22105d.css} +0 -0
  53. /package/dist/client/styles/{80b442a493a679e03e2d.css → 296c337827351e1a2812.css} +0 -0
  54. /package/dist/client/styles/{59c4071f66a2f59a2200.css → 2e647191e4c39710833d.css} +0 -0
  55. /package/dist/client/styles/{d7dec09a20432ee65c3a.css → 48049dda82010a1b7112.css} +0 -0
  56. /package/dist/client/styles/{9e53eec88a9ad79279d0.css → 54e775fdb2729ad9656a.css} +0 -0
  57. /package/dist/client/styles/{d354c47822157cffa10d.css → 757e3cbbd67d4e2b4c5e.css} +0 -0
  58. /package/dist/client/styles/{1d2f6ebdf6f4d43e6598.css → 77280bf2a8f5f63c3cdc.css} +0 -0
  59. /package/dist/client/styles/{2467e4f8f8ad133fedd4.css → 7aa91e3b657ec2d518fb.css} +0 -0
  60. /package/dist/client/styles/{33e9262c147b6536e22b.css → 931ec8e102ad07fc6375.css} +0 -0
  61. /package/dist/client/styles/{d7420582cb218af1d486.css → a9f15f80cd496dffd850.css} +0 -0
  62. /package/dist/client/styles/{af7579b80bd0df891692.css → ae0e77a4514c1619043a.css} +0 -0
  63. /package/dist/client/styles/{bcd7a3d19bab8f8e267b.css → bca51aaee2fd4f66e737.css} +0 -0
  64. /package/dist/client/styles/{18cc1f8c7228bad0a9c6.css → bffa69d04f8d2e957e3a.css} +0 -0
  65. /package/dist/client/styles/{6eef05bd32c6580b12f2.css → eb4af41c529768b5223f.css} +0 -0
  66. /package/dist/client/styles/{558eb58c72b6262212d4.css → f510b089a1f5349b6ce6.css} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.0.3",
3
+ "version": "5.1.0",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -1 +0,0 @@
1
- !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsCardGroup=n():t.VsCardGroup=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4717],{1311:function(t,n,r){"use strict";var e=r(85072),s=r.n(e),o=r(97825),u=r.n(o),a=r(77659),i=r.n(a),c=r(55056),l=r.n(c),d=r(10540),f=r.n(d),p=r(41113),m=r.n(p),y=r(67001),v=r.n(y),b={};b.styleTagTransform=m(),b.setAttributes=l(),b.insert=i().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=f(),s()(v(),b),v()&&v().locals&&v().locals},3497:function(t,n){"use strict";n.A={name:"VsCardGroup",status:"prototype",release:"0.1.0",props:{variant:{type:String,default:"grid",validator:function(t){return t.match(/(grid)/)}},cardsPerRow:{type:Number,default:3,validator:function(t){return[3,4].includes(t)}},scrollSnap:{type:Boolean,default:!1}},computed:{cardGroupClasses:function(){return["vs-card-group",{"is-scroll-snap":this.scrollSnap,"is-grid":"grid"===this.variant}]}}}},15955:function(t,n,r){"use strict";r(1311)},20541:function(t,n,r){"use strict";r.d(n,{A:function(){return e.A}});var e=r(3497)},50815:function(t,n,r){"use strict";r.r(n);var e=r(90517),s=r(20541);r(15955);const o=(0,r(66262).A)(s.A,[["render",e.X]]);n.default=o},67001:function(){},90517:function(t,n,r){"use strict";r.d(n,{X:function(){return o}});var e=r(20641),s=r(90033);function o(t,n,r,o,u,a){return(0,e.uX)(),(0,e.CE)("div",{class:(0,s.normalizeClass)(a.cardGroupClasses),style:(0,s.normalizeStyle)({"--cards-in-row":r.cardsPerRow}),"data-test":"vs-card-group"},[(0,e.RG)(t.$slots,"default")],6)}}},function(t){return t.O(0,[641,6262,7510],(function(){return t(t.s=50815)})),t.O()}])}));
@@ -1 +0,0 @@
1
- .vs-canned-search-tour-runs{font-weight:600;text-overflow:ellipsis;overflow:hidden;display:-webkit-box !important;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}
@@ -1 +0,0 @@
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 !important;-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 !important;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}
@@ -1 +0,0 @@
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 !important;-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 !important;-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 +0,0 @@
1
- .vs-canned-search-tour-departs{font-size:1rem;margin-bottom:.25rem;text-overflow:ellipsis;overflow:hidden;display:-webkit-box !important;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.vs-canned-search-tour-departs__label{font-weight:600}