@visitscotland/component-library 5.3.5 → 5.3.6
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 +2 -2
- package/dist/client/scripts/3c43742bafefc148ceb8.js +1 -0
- package/dist/components/components/footer/components/FooterSocialItem.vue.d.ts +21 -1
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +10 -1
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/7d3847b68b285377b8af.js +0 -1
- /package/dist/client/styles/{7d3847b68b285377b8af.css → 3c43742bafefc148ceb8.css} +0 -0
- /package/dist/ssr/styles/{7b21067e7e3a339323a7.css → 27a5bfc631b79193899e.css} +0 -0
|
@@ -2267,12 +2267,12 @@
|
|
|
2267
2267
|
"scripts/ca8a4a8b000becfa5971.js",
|
|
2268
2268
|
"scripts/cab53f386efc88df7164.js",
|
|
2269
2269
|
"scripts/d7e1b77c4b3b1491114a.js",
|
|
2270
|
-
"scripts/
|
|
2270
|
+
"scripts/3c43742bafefc148ceb8.js"
|
|
2271
2271
|
],
|
|
2272
2272
|
"styles": [
|
|
2273
2273
|
"styles/ca8a4a8b000becfa5971.css",
|
|
2274
2274
|
"styles/d7e1b77c4b3b1491114a.css",
|
|
2275
|
-
"styles/
|
|
2275
|
+
"styles/3c43742bafefc148ceb8.css"
|
|
2276
2276
|
]
|
|
2277
2277
|
},
|
|
2278
2278
|
"VsFooterSocialMenu": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsFooterSocialItem=t():e.VsFooterSocialItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3199],{257:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(82445)},17391:function(){},29421:function(e,t,n){"use strict";var r=n(85072),i=n.n(r),o=n(97825),a=n.n(o),s=n(77659),c=n.n(s),u=n(55056),l=n.n(u),f=n(10540),d=n.n(f),p=n(41113),v=n.n(p),m=n(17391),b=n.n(m),y={};y.styleTagTransform=v(),y.setAttributes=l(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),i()(b(),y),b()&&b().locals&&b().locals},34231:function(e,t,n){"use strict";n.d(t,{X:function(){return r.X}});var r=n(53415)},46737:function(e,t,n){"use strict";n(29421)},53415:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(20641),i={class:"vs-footer-social-item","data-test":"vs-footer-social-item"};function o(e,t,n,o,a,s){var c=(0,r.g2)("VsIcon"),u=(0,r.g2)("VsLink");return(0,r.uX)(),(0,r.CE)("li",i,[(0,r.bF)(u,{"data-test":"vs-footer-social-item__link",href:n.href,type:"external","aria-label":n.ariaLabelOverride?n.ariaLabelOverride:n.icon,"data-layer-value":"socialMediaExternalLinkDataEvent"},{default:(0,r.k6)((function(){return[(0,r.bF)(c,{icon:n.icon,variant:"inverse",size:"sm"},null,8,["icon"])]})),_:1},8,["href","aria-label"])])}},63731:function(e,t,n){"use strict";n.r(t);var r=n(34231),i=n(257);n(46737);const o=(0,n(66262).A)(i.A,[["render",r.X]]);t.default=o},82445:function(e,t,n){"use strict";var r=n(45676),i=n(46422),o=n(98745);t.A={name:"VsFooterSocialItem",status:"prototype",release:"0.0.1",components:{VsLink:r.default,VsIcon:i.default},mixins:[o.default],props:{href:{type:String,required:!0},icon:{type:String,required:!0},ariaLabelOverride:{type:String,default:""}}}}},function(e){return e.O(0,[641,6262,7510,3751,4467,7527,8086,810,4982,6422,8745,5676],(function(){return e(e.s=63731)})),e.O()}])}));
|
|
@@ -13,6 +13,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Overrides the social icon name in the aria label for the component if provided,
|
|
18
|
+
* allowing specific or localised accessible text when it doesn't match up with the FA
|
|
19
|
+
* name for the brand.
|
|
20
|
+
*/
|
|
21
|
+
ariaLabelOverride: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
16
25
|
}>, {}, {}, {}, {}, {
|
|
17
26
|
computed: {
|
|
18
27
|
pageUrl: () => string;
|
|
@@ -45,7 +54,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
45
54
|
type: StringConstructor;
|
|
46
55
|
required: true;
|
|
47
56
|
};
|
|
48
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Overrides the social icon name in the aria label for the component if provided,
|
|
59
|
+
* allowing specific or localised accessible text when it doesn't match up with the FA
|
|
60
|
+
* name for the brand.
|
|
61
|
+
*/
|
|
62
|
+
ariaLabelOverride: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{}>, {
|
|
67
|
+
ariaLabelOverride: string;
|
|
68
|
+
}, {}, {
|
|
49
69
|
VsLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
50
70
|
href: {
|
|
51
71
|
type: StringConstructor;
|