@visitscotland/component-library 5.7.0 → 5.9.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 +8 -8
- package/dist/client/scripts/0087a44808b195bb79fb.js +1 -0
- package/dist/client/scripts/9324abfa574340eb6ede.js +1 -0
- package/dist/components/vs-component-library.js +2 -2
- package/dist/components/vs-component-library.mjs +2 -2
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +2 -1
- package/dist/client/scripts/2292a064fd702e843f43.js +0 -1
- package/dist/client/scripts/95fd616091485e77a9e2.js +0 -1
- /package/dist/client/styles/{95fd616091485e77a9e2.css → 0087a44808b195bb79fb.css} +0 -0
- /package/dist/client/styles/{2292a064fd702e843f43.css → 9324abfa574340eb6ede.css} +0 -0
- /package/dist/ssr/styles/{719134869fb3ddf289d7.css → 24da072bda42e4932552.css} +0 -0
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
"scripts/b7cc5ee25c7302916b09.js",
|
|
674
674
|
"scripts/d7e1b77c4b3b1491114a.js",
|
|
675
675
|
"scripts/a5f5263b5c7c03c9c34e.js",
|
|
676
|
-
"scripts/
|
|
676
|
+
"scripts/9324abfa574340eb6ede.js",
|
|
677
677
|
"scripts/4584e1ddb5422604136f.js",
|
|
678
678
|
"scripts/5569d308ced70c98424d.js",
|
|
679
679
|
"scripts/84e8cb222b65ef8c7fd7.js",
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"styles/b7cc5ee25c7302916b09.css",
|
|
701
701
|
"styles/d7e1b77c4b3b1491114a.css",
|
|
702
702
|
"styles/a5f5263b5c7c03c9c34e.css",
|
|
703
|
-
"styles/
|
|
703
|
+
"styles/9324abfa574340eb6ede.css",
|
|
704
704
|
"styles/84e8cb222b65ef8c7fd7.css",
|
|
705
705
|
"styles/a6d598ec76e67174f994.css",
|
|
706
706
|
"styles/1c048832077af161ca70.css",
|
|
@@ -1546,10 +1546,10 @@
|
|
|
1546
1546
|
"scripts/fd3f812603b78fe9978b.js",
|
|
1547
1547
|
"scripts/91ec808848d9ef8fde7a.js",
|
|
1548
1548
|
"scripts/d2e46d1692567d97f210.js",
|
|
1549
|
-
"scripts/
|
|
1549
|
+
"scripts/0087a44808b195bb79fb.js"
|
|
1550
1550
|
],
|
|
1551
1551
|
"styles": [
|
|
1552
|
-
"styles/
|
|
1552
|
+
"styles/0087a44808b195bb79fb.css"
|
|
1553
1553
|
]
|
|
1554
1554
|
},
|
|
1555
1555
|
"VsCarousel": {
|
|
@@ -4809,14 +4809,14 @@
|
|
|
4809
4809
|
"scripts/205e2dbe4c3590fb0ca4.js",
|
|
4810
4810
|
"scripts/b9fe028bf59c824921a8.js",
|
|
4811
4811
|
"scripts/b7cc5ee25c7302916b09.js",
|
|
4812
|
-
"scripts/
|
|
4812
|
+
"scripts/9324abfa574340eb6ede.js",
|
|
4813
4813
|
"scripts/e2eefa435e886ed26ae1.js"
|
|
4814
4814
|
],
|
|
4815
4815
|
"styles": [
|
|
4816
4816
|
"styles/0eccccf491d2d8c15ec2.css",
|
|
4817
4817
|
"styles/81f6df895ee29fb5e603.css",
|
|
4818
4818
|
"styles/b7cc5ee25c7302916b09.css",
|
|
4819
|
-
"styles/
|
|
4819
|
+
"styles/9324abfa574340eb6ede.css"
|
|
4820
4820
|
]
|
|
4821
4821
|
},
|
|
4822
4822
|
"VsNumberInput": {
|
|
@@ -5952,7 +5952,7 @@
|
|
|
5952
5952
|
"scripts/205e2dbe4c3590fb0ca4.js",
|
|
5953
5953
|
"scripts/b9fe028bf59c824921a8.js",
|
|
5954
5954
|
"scripts/b7cc5ee25c7302916b09.js",
|
|
5955
|
-
"scripts/
|
|
5955
|
+
"scripts/9324abfa574340eb6ede.js",
|
|
5956
5956
|
"scripts/93d993d99cd8bb13133a.js"
|
|
5957
5957
|
],
|
|
5958
5958
|
"styles": [
|
|
@@ -5961,7 +5961,7 @@
|
|
|
5961
5961
|
"styles/0eccccf491d2d8c15ec2.css",
|
|
5962
5962
|
"styles/81f6df895ee29fb5e603.css",
|
|
5963
5963
|
"styles/b7cc5ee25c7302916b09.css",
|
|
5964
|
-
"styles/
|
|
5964
|
+
"styles/9324abfa574340eb6ede.css",
|
|
5965
5965
|
"styles/93d993d99cd8bb13133a.css"
|
|
5966
5966
|
]
|
|
5967
5967
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsCard=e():t.VsCard=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4420],{568:function(t,e,s){"use strict";s.d(e,{X:function(){return r.X}});var r=s(25384)},14232:function(t,e,s){"use strict";s.r(e);var r=s(568),n=s(39664);s(90650);const o=(0,s(66262).A)(n.A,[["render",r.X]]);e.default=o},25384:function(t,e,s){"use strict";s.d(e,{X:function(){return i}});var r=s(20641),n=s(90033),o={key:0,class:"vs-card__header"},a={class:"vs-card__body"},c={key:1,class:"vs-card__footer"},l={key:2,class:"vs-card__image"};function i(t,e,s,i,d,u){return(0,r.uX)(),(0,r.CE)("div",{class:(0,n.normalizeClass)(["vs-card",u.cardClasses]),"data-test":"vs-card",style:(0,n.normalizeStyle)(u.cardStyles)},[t.$slots["vs-card-header"]&&t.$slots["vs-card-header"]()?((0,r.uX)(),(0,r.CE)("div",o,[(0,r.RG)(t.$slots,"vs-card-header")])):(0,r.Q3)("",!0),(0,r.Lk)("div",a,[(0,r.RG)(t.$slots,"vs-card-body")]),t.$slots["vs-card-footer"]&&t.$slots["vs-card-footer"]()?((0,r.uX)(),(0,r.CE)("div",c,[(0,r.RG)(t.$slots,"vs-card-footer")])):(0,r.Q3)("",!0),"overlay"===s.cardStyle&&t.$slots["vs-card-image"]&&t.$slots["vs-card-image"]()?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.RG)(t.$slots,"vs-card-image")])):(0,r.Q3)("",!0)],6)}},26126:function(t,e,s){"use strict";var r=s(85072),n=s.n(r),o=s(97825),a=s.n(o),c=s(77659),l=s.n(c),i=s(55056),d=s.n(i),u=s(10540),f=s.n(u),v=s(41113),y=s.n(v),p=s(68380),h=s.n(p),m={};m.styleTagTransform=y(),m.setAttributes=d(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=f(),n()(h(),m),h()&&h().locals&&h().locals},32796:function(t,e,s){"use strict";var r=s(34982);e.A={name:"VsCard",status:"prototype",release:"0.1.0",props:{cardStyle:{type:String,default:null,validator:function(t){return t.match(/(elevated|outlined|overlay)/)}},fillColor:{type:String,default:"vs-color-interaction-cta-subtle"},accentBar:{type:Boolean,default:!1},horizontal:{type:Boolean,default:!1}},data:function(){return{tokens:r}},computed:{cardClasses:function(){return[{"vs-card--horizontal":this.horizontal,"vs-card--accent-bar":this.accentBar},this.cardStyle?"vs-card--".concat(this.cardStyle):null]},cardStyles:function(){return this.fillColor?{"background-color":this.tokens[this.fillColor]||this.fillColor}:null}}}},39664:function(t,e,s){"use strict";s.d(e,{A:function(){return r.A}});var r=s(32796)},68380:function(){},90650:function(t,e,s){"use strict";s(26126)}},function(t){return t.O(0,[641,6262,7510,4982],(function(){return t(t.s=14232)})),t.O()}])}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4179],{23533:function(e,t,s){"use strict";s.d(t,{X:function(){return o}});var n=s(20641),r=s(90033);function o(e,t,s,o,u,a){var i=(0,n.g2)("VsHeading"),l=(0,n.g2)("VsCol"),d=(0,n.g2)("VsBody"),p=(0,n.g2)("VsRow"),c=(0,n.g2)("VsContainer");return(0,n.uX)(),(0,n.CE)("section",(0,n.v6)({class:a.sectionClasses,"data-test":"vs-module-wrapper"},e.$attrs),[e.$slots["vs-module-wrapper-heading"]&&e.$slots["vs-module-wrapper-heading"]||e.$slots["vs-module-wrapper-intro"]&&e.$slots["vs-module-wrapper-intro"]?((0,n.uX)(),(0,n.Wv)(c,{key:0},{default:(0,n.k6)((function(){return[(0,n.bF)(p,null,{default:(0,n.k6)((function(){return[e.$slots["vs-module-wrapper-heading"]&&e.$slots["vs-module-wrapper-heading"]?((0,n.uX)(),(0,n.Wv)(l,(0,r.normalizeProps)((0,n.v6)({key:0},a.headingColumnSizes)),{default:(0,n.k6)((function(){return[(0,n.bF)(i,{level:s.headingLevel,"heading-style":s.headingStyle,class:"vs-module-wrapper__heading","data-test":"vs-module-wrapper__heading",id:s.anchorId},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"vs-module-wrapper-heading")]})),_:3},8,["level","heading-style","id"])]})),_:3},16)):(0,n.Q3)("",!0),e.$slots["vs-module-wrapper-intro"]&&e.$slots["vs-module-wrapper-intro"]?((0,n.uX)(),(0,n.Wv)(l,(0,r.normalizeProps)((0,n.v6)({key:1},a.IntroColumnSizes)),{default:(0,n.k6)((function(){return[(0,n.bF)(d,{class:"vs-module-wrapper__intro","data-test":"vs-module-wrapper__intro",variant:"lead"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"vs-module-wrapper-intro")]})),_:3})]})),_:3},16)):(0,n.Q3)("",!0)]})),_:3})]})),_:3})):(0,n.Q3)("",!0),(0,n.RG)(e.$slots,"default")],16)}},34179:function(e,t,s){"use strict";s.r(t);var n=s(23533),r=s(45149);s(49131);const o=(0,s(66262).A)(r.A,[["render",n.X]]);t.default=o},37985:function(){},45149:function(e,t,s){"use strict";s.d(t,{A:function(){return n.A}});var n=s(62729)},49131:function(e,t,s){"use strict";s(82247)},62729:function(e,t,s){"use strict";var n=s(13838),r=s(44580),o=s(2543),u=s(11438);t.A={name:"VsModuleWrapper",status:"deprecated",release:"0.0.1",components:{VsHeading:n.default,VsBody:r.default,VsContainer:u.T$,VsRow:u.AQ,VsCol:u.Il},props:{anchorId:{type:String,default:null},businessSupport:{type:Boolean,default:!1},headingLevel:{type:Number,default:2,validator:function(e){return(0,o.isNumber)(e)?e>0&&e<7:e.match(/(1|2|3|4|5|6)/)}},headingStyle:{type:String,default:"heading-xl",validator:function(e){return e.match(/(display-m|display-s|heading-xl|heading-l|heading-m|heading-s|heading-xs|heading-xxs|heading-xxxs)/)}},theme:{type:String,default:"light",validator:function(e){return e.match(/(light|grey|neutral)/)}}},computed:{sectionClasses:function(){return["vs-module-wrapper","vs-module-wrapper--".concat(this.theme),this.businessSupport?"vs-module-wrapper--left-align":null]},headingColumnSizes:function(){return{cols:this.businessSupport?12:10,offset:this.businessSupport?0:1,md:this.businessSupport?12:8,"offset-md":this.businessSupport?0:2}},IntroColumnSizes:function(){return{cols:12,sm:this.businessSupport?12:10,"offset-sm":this.businessSupport?0:1,md:this.businessSupport?12:8,"offset-md":this.businessSupport?0:2}}}}},82247:function(e,t,s){"use strict";var n=s(85072),r=s.n(n),o=s(97825),u=s.n(o),a=s(77659),i=s.n(a),l=s(55056),d=s.n(l),p=s(10540),c=s.n(p),f=s(41113),m=s.n(f),h=s(37985),v=s.n(h),g={};g.styleTagTransform=m(),g.setAttributes=d(),g.insert=i().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=c(),r()(v(),g),v()&&v().locals&&v().locals}}]);
|