@visitscotland/component-library 4.22.0 → 4.24.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 -7
- package/dist/client/scripts/6069eb3b71eb41d6632e.js +1 -0
- package/dist/client/scripts/d84e0e90f5b7e70d5436.js +1 -0
- package/dist/client/styles/{b8df9847f8a4a5c423ca.css → 32b910f8c089a2bdac6d.css} +1 -1
- package/dist/client/styles/6069eb3b71eb41d6632e.css +1 -0
- package/dist/client/styles/d84e0e90f5b7e70d5436.css +1 -0
- package/dist/components/components/badge/Badge.vue.d.ts +433 -0
- package/dist/components/components/badge/index.d.ts +1 -1
- package/dist/components/components/card/Card.vue.d.ts +16 -3
- package/dist/components/components/index.d.ts +1 -1
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +8 -8
- package/dist/components/vs-component-library.mjs +134 -106
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{e848450b81462fe3f042.css → deba7bfbc23c04e104d7.css} +3 -3
- package/package.json +1 -1
- package/dist/client/scripts/35c18916245c104df979.js +0 -1
- package/dist/client/scripts/9388acba3683b5c6e8be.js +0 -1
- package/dist/client/styles/35c18916245c104df979.css +0 -1
- package/dist/client/styles/9388acba3683b5c6e8be.css +0 -1
- package/dist/components/components/badge/VsBadge.vue.d.ts +0 -9
- /package/dist/client/scripts/{b8df9847f8a4a5c423ca.js → 32b910f8c089a2bdac6d.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/32b910f8c089a2bdac6d.js"
|
|
30
30
|
],
|
|
31
31
|
"styles": [
|
|
32
32
|
"styles/35e04793e8e022ebb936.css",
|
|
33
|
-
"styles/
|
|
33
|
+
"styles/32b910f8c089a2bdac6d.css"
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"VsAccordion": {
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"styles/9a054457af0ee03e2b4e.css"
|
|
350
350
|
]
|
|
351
351
|
},
|
|
352
|
-
"
|
|
352
|
+
"VsBadge": {
|
|
353
353
|
"headingFonts": [
|
|
354
354
|
"eveleth-clean-regular.woff",
|
|
355
355
|
"eveleth-clean-regular.woff2",
|
|
@@ -369,13 +369,14 @@
|
|
|
369
369
|
"scripts": [
|
|
370
370
|
"scripts/664ff5bacecaa579d442.js",
|
|
371
371
|
"scripts/3438e42f9c8aca3ccc36.js",
|
|
372
|
+
"scripts/063a6b8bd77d78331254.js",
|
|
372
373
|
"scripts/45eb4527e8a562d5b5c0.js",
|
|
373
374
|
"scripts/058e808444ac3d2e70b9.js",
|
|
374
375
|
"scripts/0a8c20c638a406cef662.js",
|
|
375
|
-
"scripts/
|
|
376
|
+
"scripts/6069eb3b71eb41d6632e.js"
|
|
376
377
|
],
|
|
377
378
|
"styles": [
|
|
378
|
-
"styles/
|
|
379
|
+
"styles/6069eb3b71eb41d6632e.css"
|
|
379
380
|
]
|
|
380
381
|
},
|
|
381
382
|
"VsBanner": {
|
|
@@ -1481,10 +1482,10 @@
|
|
|
1481
1482
|
"scripts/063a6b8bd77d78331254.js",
|
|
1482
1483
|
"scripts/45eb4527e8a562d5b5c0.js",
|
|
1483
1484
|
"scripts/f25067f63688f0ff5168.js",
|
|
1484
|
-
"scripts/
|
|
1485
|
+
"scripts/d84e0e90f5b7e70d5436.js"
|
|
1485
1486
|
],
|
|
1486
1487
|
"styles": [
|
|
1487
|
-
"styles/
|
|
1488
|
+
"styles/d84e0e90f5b7e70d5436.css"
|
|
1488
1489
|
]
|
|
1489
1490
|
},
|
|
1490
1491
|
"VsCarousel": {
|
|
@@ -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.VsBadge=e():t.VsBadge=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3135],{2329:function(){},45558:function(t,e,n){"use strict";var s=n(34352);e.A={name:"VsBadge",status:"prototype",release:"0.0.1",components:{BBadge:s.MR},props:{variant:{type:String,default:"default",validator:function(t){return t.match(/(default|subtle)/)}}},computed:{badgeClasses:function(){return["vs-badge--".concat(this.variant),"vs-badge"]}}}},65613:function(t,e,n){"use strict";n.d(e,{X:function(){return a}});var s=n(20641),r=n(90033);function a(t,e,n,a,o,u){var i=(0,s.g2)("BBadge");return(0,s.uX)(),(0,s.CE)("div",{class:(0,r.normalizeClass)(u.badgeClasses),"data-test":"vs-badge"},[(0,s.bF)(i,null,{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"default")]})),_:3})],2)}},47659:function(t,e,n){"use strict";var s=n(85072),r=n.n(s),a=n(97825),o=n.n(a),u=n(77659),i=n.n(u),c=n(55056),f=n.n(c),l=n(10540),d=n.n(l),p=n(41113),b=n.n(p),v=n(2329),g=n.n(v),m={};m.styleTagTransform=b(),m.setAttributes=f(),m.insert=i().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=d(),r()(g(),m),g()&&g().locals&&g().locals},63734:function(t,e,n){"use strict";n.r(e);var s=n(65613),r=n(16858);n(17727);const a=(0,n(66262).A)(r.A,[["render",s.X]]);e.default=a},16858:function(t,e,n){"use strict";n.d(e,{A:function(){return s.A}});var s=n(45558)},17727:function(t,e,n){"use strict";n(47659)}},function(t){return t.O(0,[641,6262,7510,3751,4352],(function(){return t(t.s=63734)})),t.O()}])}));
|
|
@@ -0,0 +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],{34319: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"},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}}}},91259:function(t,s,e){"use strict";e.d(s,{X:function(){return l}});var r=e(20641),n=e(90033),o={key:0,class:"vs-card__header"},a={key:1,class:"vs-card__body"},c={key:2,class:"vs-card__footer"};function l(t,s,e,l,d,i){return(0,r.uX)(),(0,r.CE)("div",{class:(0,n.normalizeClass)(["vs-card",i.cardClasses]),"data-test":"vs-card",style:(0,n.normalizeStyle)(i.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),t.$slots["vs-card-body"]&&t.$slots["vs-card-body"]()?((0,r.uX)(),(0,r.CE)("div",a,[(0,r.RG)(t.$slots,"vs-card-body")])):(0,r.Q3)("",!0),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)],6)}},1989:function(t,s,e){"use strict";var r=e(85072),n=e.n(r),o=e(97825),a=e.n(o),c=e(77659),l=e.n(c),d=e(55056),i=e.n(d),u=e(10540),f=e.n(u),v=e(41113),y=e.n(v),p=e(34319),h=e.n(p),b={};b.styleTagTransform=y(),b.setAttributes=i(),b.insert=l().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=f(),n()(h(),b),h()&&h().locals&&h().locals},14232:function(t,s,e){"use strict";e.r(s);var r=e(41579),n=e(39664);e(5721);const o=(0,e(66262).A)(n.A,[["render",r.X]]);s.default=o},39664:function(t,s,e){"use strict";e.d(s,{A:function(){return r.A}});var r=e(32796)},41579:function(t,s,e){"use strict";e.d(s,{X:function(){return r.X}});var r=e(91259)},5721:function(t,s,e){"use strict";e(1989)}},function(t){return t.O(0,[641,6262,7510,4982],(function(){return t(t.s=14232)})),t.O()}])}));
|