@visitscotland/component-library 4.21.0 → 4.23.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 +32 -4
- package/dist/client/scripts/5c37dd6901426139f2ad.js +1 -0
- package/dist/client/scripts/{48d0c45caaf5a0a6d627.js → 9388acba3683b5c6e8be.js} +1 -1
- package/dist/client/styles/{b8df9847f8a4a5c423ca.css → 358c009b66b455e075e8.css} +1 -1
- package/dist/client/styles/5c37dd6901426139f2ad.css +1 -0
- package/dist/client/styles/9388acba3683b5c6e8be.css +1 -0
- package/dist/components/components/card-group/index.d.ts +5 -0
- package/dist/components/vs-component-library.css +1 -1
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{9ecd7432e8ccdee2cf4b.css → e71dd279024362bff8d7.css} +3 -2
- package/package.json +1 -1
- package/dist/client/styles/48d0c45caaf5a0a6d627.css +0 -1
- /package/dist/client/scripts/{b8df9847f8a4a5c423ca.js → 358c009b66b455e075e8.js} +0 -0
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"scripts/1beb02ee89c86a88fd16.js",
|
|
27
27
|
"scripts/2dd13e24d4d3ed916208.js",
|
|
28
28
|
"scripts/35e04793e8e022ebb936.js",
|
|
29
|
-
"scripts/
|
|
29
|
+
"scripts/358c009b66b455e075e8.js"
|
|
30
30
|
],
|
|
31
31
|
"styles": [
|
|
32
32
|
"styles/35e04793e8e022ebb936.css",
|
|
33
|
-
"styles/
|
|
33
|
+
"styles/358c009b66b455e075e8.css"
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"VsAccordion": {
|
|
@@ -1430,6 +1430,34 @@
|
|
|
1430
1430
|
"styles/a0cbd63b901fc9ef792a.css"
|
|
1431
1431
|
]
|
|
1432
1432
|
},
|
|
1433
|
+
"VsCardGroup": {
|
|
1434
|
+
"headingFonts": [
|
|
1435
|
+
"eveleth-clean-regular.woff",
|
|
1436
|
+
"eveleth-clean-regular.woff2",
|
|
1437
|
+
"eveleth-clean-thin.woff",
|
|
1438
|
+
"eveleth-clean-thin.woff2"
|
|
1439
|
+
],
|
|
1440
|
+
"bodyFonts": [
|
|
1441
|
+
"source-sans-pro-bold.woff",
|
|
1442
|
+
"source-sans-pro-bold.woff2",
|
|
1443
|
+
"source-sans-pro-light.woff",
|
|
1444
|
+
"source-sans-pro-light.woff2",
|
|
1445
|
+
"source-sans-pro-regular.woff",
|
|
1446
|
+
"source-sans-pro-regular.woff2",
|
|
1447
|
+
"source-sans-pro-semibold.woff",
|
|
1448
|
+
"source-sans-pro-semibold.woff2"
|
|
1449
|
+
],
|
|
1450
|
+
"scripts": [
|
|
1451
|
+
"scripts/664ff5bacecaa579d442.js",
|
|
1452
|
+
"scripts/3438e42f9c8aca3ccc36.js",
|
|
1453
|
+
"scripts/063a6b8bd77d78331254.js",
|
|
1454
|
+
"scripts/45eb4527e8a562d5b5c0.js",
|
|
1455
|
+
"scripts/5c37dd6901426139f2ad.js"
|
|
1456
|
+
],
|
|
1457
|
+
"styles": [
|
|
1458
|
+
"styles/5c37dd6901426139f2ad.css"
|
|
1459
|
+
]
|
|
1460
|
+
},
|
|
1433
1461
|
"VsCard": {
|
|
1434
1462
|
"headingFonts": [
|
|
1435
1463
|
"eveleth-clean-regular.woff",
|
|
@@ -1453,10 +1481,10 @@
|
|
|
1453
1481
|
"scripts/063a6b8bd77d78331254.js",
|
|
1454
1482
|
"scripts/45eb4527e8a562d5b5c0.js",
|
|
1455
1483
|
"scripts/f25067f63688f0ff5168.js",
|
|
1456
|
-
"scripts/
|
|
1484
|
+
"scripts/9388acba3683b5c6e8be.js"
|
|
1457
1485
|
],
|
|
1458
1486
|
"styles": [
|
|
1459
|
-
"styles/
|
|
1487
|
+
"styles/9388acba3683b5c6e8be.css"
|
|
1460
1488
|
]
|
|
1461
1489
|
},
|
|
1462
1490
|
"VsCarousel": {
|
|
@@ -0,0 +1 @@
|
|
|
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],{67001:function(){},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}]}}}},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)}},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},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},20541:function(t,n,r){"use strict";r.d(n,{A:function(){return e.A}});var e=r(3497)},15955:function(t,n,r){"use strict";r(1311)}},function(t){return t.O(0,[641,6262,7510],(function(){return t(t.s=50815)})),t.O()}])}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof exports?exports.VsCard=s():t.VsCard=s()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4420],{
|
|
1
|
+
!function(t,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof exports?exports.VsCard=s():t.VsCard=s()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4420],{28421:function(){},32796:function(t,s,e){"use strict";var r=e(34982);s.A={name:"VsCard",status:"prototype",release:"0.1.0",props:{cardStyle:{type:String,default:null,validator:function(t){return t.match(/(elevated|outlined)/)}},fillColor:{type:String,default:"vs-color-background-cta-subtle"},horizontal:{type:Boolean,default:!1}},data:function(){return{tokens:r}},computed:{cardClasses:function(){return[{"vs-card--horizontal":this.horizontal},this.cardStyle?"vs-card--".concat(this.cardStyle):null]},bodyClasses:function(){var t=this.$slots["vs-card-body"];return{"vs-card__body--centered":t&&t().length>0}},cardStyles:function(){return this.fillColor?{"background-color":this.tokens[this.fillColor]||this.fillColor}:null}}}},60553:function(t,s,e){"use strict";e.d(s,{X:function(){return l}});var r=e(20641),o=e(90033),n={key:0,class:"vs-card__header"},a={key:2,class:"vs-card__footer"};function l(t,s,e,l,c,d){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.normalizeClass)(["vs-card",d.cardClasses]),"data-test":"vs-card",style:(0,o.normalizeStyle)(d.cardStyles)},[t.$slots["vs-card-header"]&&t.$slots["vs-card-header"]()?((0,r.uX)(),(0,r.CE)("div",n,[(0,r.RG)(t.$slots,"vs-card-header")])):(0,r.Q3)("",!0),t.$slots["vs-card-body"]&&t.$slots["vs-card-body"]()?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.normalizeClass)(["vs-card__body",d.bodyClasses])},[(0,r.RG)(t.$slots,"vs-card-body")],2)):(0,r.Q3)("",!0),t.$slots["vs-card-footer"]&&t.$slots["vs-card-footer"]()?((0,r.uX)(),(0,r.CE)("div",a,[(0,r.RG)(t.$slots,"vs-card-footer")])):(0,r.Q3)("",!0)],6)}},51003:function(t,s,e){"use strict";var r=e(85072),o=e.n(r),n=e(97825),a=e.n(n),l=e(77659),c=e.n(l),d=e(55056),i=e.n(d),u=e(10540),f=e.n(u),v=e(41113),y=e.n(v),h=e(28421),p=e.n(h),b={};b.styleTagTransform=y(),b.setAttributes=i(),b.insert=c().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=f(),o()(p(),b),p()&&p().locals&&p().locals},14232:function(t,s,e){"use strict";e.r(s);var r=e(91321),o=e(39664);e(31631);const n=(0,e(66262).A)(o.A,[["render",r.X]]);s.default=n},39664:function(t,s,e){"use strict";e.d(s,{A:function(){return r.A}});var r=e(32796)},91321:function(t,s,e){"use strict";e.d(s,{X:function(){return r.X}});var r=e(60553)},31631:function(t,s,e){"use strict";e(51003)}},function(t){return t.O(0,[641,6262,7510,4982],(function(){return t(t.s=14232)})),t.O()}])}));
|