@visitscotland/component-library 5.17.0 → 5.18.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 +28 -0
- package/dist/client/scripts/4714fa29a82e1177d216.js +1 -0
- package/dist/client/styles/4714fa29a82e1177d216.css +1 -0
- package/dist/components/components/illustrated-map/index.d.ts +2 -0
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{88984a6854fe44f33b20.css → b69602448346519334cf.css} +1 -0
- package/package.json +1 -1
|
@@ -2943,6 +2943,34 @@
|
|
|
2943
2943
|
"styles/96fcf998bf85267cee36.css"
|
|
2944
2944
|
]
|
|
2945
2945
|
},
|
|
2946
|
+
"VsIllustratedMap": {
|
|
2947
|
+
"headingFonts": [
|
|
2948
|
+
"eveleth-clean-regular.woff",
|
|
2949
|
+
"eveleth-clean-regular.woff2",
|
|
2950
|
+
"eveleth-clean-thin.woff",
|
|
2951
|
+
"eveleth-clean-thin.woff2"
|
|
2952
|
+
],
|
|
2953
|
+
"bodyFonts": [
|
|
2954
|
+
"source-sans-pro-bold.woff",
|
|
2955
|
+
"source-sans-pro-bold.woff2",
|
|
2956
|
+
"source-sans-pro-light.woff",
|
|
2957
|
+
"source-sans-pro-light.woff2",
|
|
2958
|
+
"source-sans-pro-regular.woff",
|
|
2959
|
+
"source-sans-pro-regular.woff2",
|
|
2960
|
+
"source-sans-pro-semibold.woff",
|
|
2961
|
+
"source-sans-pro-semibold.woff2"
|
|
2962
|
+
],
|
|
2963
|
+
"scripts": [
|
|
2964
|
+
"scripts/0dfb5498d33ccbb16bd5.js",
|
|
2965
|
+
"scripts/f2dfcfa0d38d341fc827.js",
|
|
2966
|
+
"scripts/fd3f812603b78fe9978b.js",
|
|
2967
|
+
"scripts/91ec808848d9ef8fde7a.js",
|
|
2968
|
+
"scripts/4714fa29a82e1177d216.js"
|
|
2969
|
+
],
|
|
2970
|
+
"styles": [
|
|
2971
|
+
"styles/4714fa29a82e1177d216.css"
|
|
2972
|
+
]
|
|
2973
|
+
},
|
|
2946
2974
|
"VsImageWithCaption": {
|
|
2947
2975
|
"headingFonts": [
|
|
2948
2976
|
"eveleth-clean-regular.woff",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsIllustratedMap=e():i.VsIllustratedMap=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4321],{10943:function(){},17605:function(i,e){"use strict";e.A={name:"VsIllustratedMap",props:{highlightedRegions:{type:Array,default:function(){return[]},validator:function(i){return i.every((function(i){return/^(borders|dumfries|highlands|outerhebs|shetland|orkney|edinburgh|glasgow|fife|dundee|aberdeen|perth|lomond|arranayr|argyll)$/.test(i)}))}},ariaLabel:{type:String,default:function(){return"Illustrated map of Scotland showing regions"}},title:{type:String,default:function(){return"Map of Scotland"}},width:{type:String,default:null}},methods:{isHighlighted:function(i){return this.highlightedRegions.includes(i)}}}},21487:function(i,e,l){"use strict";l.d(e,{X:function(){return L}});var t=l(20641),s=l(90033),n=["aria-label","width"];function L(i,e,l,L,a,r){return(0,t.uX)(),(0,t.CE)("svg",{class:"vs-illustrated-map",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 147 259",fill:"none","aria-label":l.ariaLabel,width:l.width},[(0,t.Lk)("title",null,(0,s.toDisplayString)(l.title),1),(0,t.Lk)("path",{id:"region-borders",d:"M94.8908 215.531L93.0078 228.835L107.675 235.709V243.242L113.032 241.534L128.139 211.014L120.114 207.334L105.422 215.196L94.8908 215.531Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("borders")})},null,2),(0,t.Lk)("path",{id:"region-dumfries",d:"M107.678 243.242V235.709L93.0105 228.835L82.3684 227.947L56.8945 246.364L61.8447 258.049L107.678 243.242Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("dumfries")})},null,2),(0,t.Lk)("path",{id:"region-highlands",d:"M76.3875 143.097L95.2198 133.991L113.324 133.608L97.0838 160.469L75.7941 169.254L55.0816 173.951L39.152 171.715L42.8855 166.308L22.8906 149.472L26.9695 134.771L40.5413 142.884L40.5683 128.034L58.977 94.2952L75.2383 98.8575L103.725 94.2952L103.831 105.06L76.3875 143.097Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("highlands")})},null,2),(0,t.Lk)("path",{id:"region-outerhebs",d:"M32.2773 100.625L28.2335 123.863L12.5575 138.325L6.67127 161.517L0 166.276L2.87299 130.376L15.7839 111.868L32.2773 100.625Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("outerhebs")})},null,2),(0,t.Lk)("path",{id:"region-shetland",d:"M137.044 28.8822L146.094 6.08942L143.526 0L123.234 20.1191L130.38 32.3789L137.044 28.8822Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("shetland")})},null,2),(0,t.Lk)("path",{id:"region-orkney",d:"M122.546 56.7442L104.383 67.0074L102.082 77.7078L110.938 85.416L123.687 65.4372L122.546 56.7442Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("orkney")})},null,2),(0,t.Lk)("path",{id:"region-edinburgh",d:"M91.4266 205.144L85.8047 209.876L88.6156 214.643L94.893 215.531L105.425 215.196L120.116 207.334L109.493 202.467L96.7193 207.453L91.4266 205.144Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("edinburgh")})},null,2),(0,t.Lk)("path",{id:"region-glasgow",d:"M82.3716 227.947L61.3516 207.458L69.5119 201.782L85.8084 209.876L88.6193 214.643L94.8967 215.531L93.0138 228.835L82.3716 227.947Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("glasgow")})},null,2),(0,t.Lk)("path",{id:"region-fife",d:"M87.6797 202.205L92.2306 196.904L96.9973 195.69L98.0602 189.406L110.434 188.702L114.378 195.922L98.7427 203.034L87.6797 202.205Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("fife")})},null,2),(0,t.Lk)("path",{id:"region-dundee",d:"M104.384 186.969L95.3438 167.854L109.865 163.084L113.858 171.955L120.915 172.433L116.269 182.388L104.384 186.969Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("dundee")})},null,2),(0,t.Lk)("path",{id:"region-aberdeen",d:"M113.318 133.608L126.213 133.333L135.806 140.523L120.907 172.433L113.85 171.955L109.857 163.084L95.336 167.854L83.0078 166.276L97.0787 160.47L113.318 133.608Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("aberdeen")})},null,2),(0,t.Lk)("path",{id:"region-perth",d:"M75.7936 169.255L69.8615 170.601L65.6289 186.368L73.8324 183.044L78.7125 185.704L76.1605 192.023L92.2357 196.904L97.0025 195.69L98.0653 189.406L104.381 186.97L95.3407 167.854L83.0125 166.276L75.7936 169.255Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("perth")})},null,2),(0,t.Lk)("path",{id:"region-lomond",d:"M62.4171 188.701L65.63 186.368L73.8335 183.044L78.7136 185.704L76.1616 192.023L92.2368 196.903L87.6859 202.205H85.0072L91.4303 205.143L85.8084 209.875L69.5119 201.781L61.3516 207.458L61.5296 202.467L63.1914 194.13L62.4171 188.701Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("lomond")})},null,2),(0,t.Lk)("path",{id:"region-arran",d:"M51.7287 220.725L49.1875 231.015C49.1875 231.015 54.9712 233.435 55.1709 233.168C55.3732 232.898 61.1542 222.611 60.9546 222.543C60.755 222.476 51.7287 220.728 51.7287 220.728V220.725Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("arranayr")})},null,2),(0,t.Lk)("path",{id:"region-ayrshire",d:"M61.3483 207.458L60.9653 218.253L66.8434 223.663L56.8945 246.364L82.3684 227.947L61.3483 207.458Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("arranayr")})},null,2),(0,t.Lk)("path",{id:"region-argyll",d:"M42.2625 231.565L48.5831 221.483L52.2519 210.237L60.9598 218.253L61.521 202.467L63.1827 194.13L62.4085 188.702L65.6214 186.368L69.854 170.601L55.0736 173.952L39.144 171.715L27.6386 179.013L26.6485 193.901L39.2061 192.377L52.0981 177.832L42.8937 196.909L25.9768 208.276L23.9023 213.801L28.5207 221.82L43.2148 204.755L44.364 206.684L37.396 224.232L42.2625 231.565Z",class:(0,s.normalizeClass)({"is-highlighted":r.isHighlighted("argyll")})},null,2)],8,n)}},28759:function(i,e,l){"use strict";l.r(e);var t=l(21487),s=l(91369);l(39797);const n=(0,l(66262).A)(s.A,[["render",t.X],["__scopeId","data-v-c1d2c892"]]);e.default=n},39797:function(i,e,l){"use strict";l(66001)},66001:function(i,e,l){"use strict";var t=l(85072),s=l.n(t),n=l(97825),L=l.n(n),a=l(77659),r=l.n(a),h=l(55056),d=l.n(h),g=l(10540),o=l.n(g),u=l(41113),c=l.n(u),f=l(10943),p=l.n(f),m={};m.styleTagTransform=c(),m.setAttributes=d(),m.insert=r().bind(null,"head"),m.domAPI=L(),m.insertStyleElement=o(),s()(p(),m),p()&&p().locals&&p().locals},91369:function(i,e,l){"use strict";l.d(e,{A:function(){return t.A}});var t=l(17605)}},function(i){return i.O(0,[641,6262,7510],(function(){return i(i.s=28759)})),i.O()}])}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-illustrated-map[data-v-c1d2c892]{height:auto}.vs-illustrated-map path[data-v-c1d2c892]{fill:#8382ba}.vs-illustrated-map .is-highlighted[data-v-c1d2c892]{fill:#23014a}
|