@visitscotland/component-library 4.19.3 → 4.20.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 +2 -2
- package/dist/client/scripts/a67c811e7eceaf13ef0f.js +1 -0
- package/dist/components/components/styled-list/components/StyledListItem.vue.d.ts +2 -0
- package/dist/components/components/styled-list/index.d.ts +6 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +10 -2
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/cae1fd369c1186a39e6a.js +0 -1
- /package/dist/client/styles/{cae1fd369c1186a39e6a.css → a67c811e7eceaf13ef0f.css} +0 -0
- /package/dist/ssr/styles/{a74926f48e8a3b21832c.css → 8cca8f18b518015c1901.css} +0 -0
|
@@ -5811,7 +5811,7 @@
|
|
|
5811
5811
|
"scripts/cff7036a8ca3b237af01.js",
|
|
5812
5812
|
"scripts/077c72e7dc8ee488523c.js",
|
|
5813
5813
|
"scripts/8f4c38391eb16cc6adfb.js",
|
|
5814
|
-
"scripts/
|
|
5814
|
+
"scripts/a67c811e7eceaf13ef0f.js"
|
|
5815
5815
|
],
|
|
5816
5816
|
"styles": [
|
|
5817
5817
|
"styles/b99ef3e263a887f4008c.css",
|
|
@@ -5819,7 +5819,7 @@
|
|
|
5819
5819
|
"styles/08c560098b456a366031.css",
|
|
5820
5820
|
"styles/077c72e7dc8ee488523c.css",
|
|
5821
5821
|
"styles/8f4c38391eb16cc6adfb.css",
|
|
5822
|
-
"styles/
|
|
5822
|
+
"styles/a67c811e7eceaf13ef0f.css"
|
|
5823
5823
|
]
|
|
5824
5824
|
},
|
|
5825
5825
|
"VsStyledList": {
|
|
@@ -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.VsStyledListItem=e():t.VsStyledListItem=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7726],{77156:function(){},35983:function(t,e,n){"use strict";var i=n(20641),r=n(50953),u=n(90033),a=n(2543),l=n(13838),o=n(31574),s=n(72958),c=n(11438),d={class:"vs-styled-list__item","data-test":"vs-styled-list__item"};e.A={__name:"StyledListItem",props:{heading:{type:String,required:!0},headingLevel:{type:Number,default:3,validator:function(t){return(0,a.isNumber)(t)?t>0&&t<7:t.match(/(1|2|3|4|5|6)/)}},imageSrc:{type:String,default:null},variant:{type:String,default:"icon",validator:function(t){return["icon","image","image-horizontal","numbered"].includes(t)}},anchorLink:{type:String,default:""}},setup:function(t){var e=t;return function(n,a){return(0,i.uX)(),(0,i.CE)("li",d,[(0,i.bF)((0,r.R1)(c.AQ),null,{default:(0,i.k6)((function(){return["image"===e.variant?((0,i.uX)(),(0,i.Wv)((0,r.R1)(c.Il),{key:0,cols:"12",md:"2"},{default:(0,i.k6)((function(){return[(0,i.bF)(o.default,{src:e.imageSrc},null,8,["src"])]})),_:1})):(0,i.Q3)("",!0),(0,i.bF)((0,r.R1)(c.Il),{md:"image"===e.variant?"10":"12"},{default:(0,i.k6)((function(){return["image-horizontal"===e.variant?((0,i.uX)(),(0,i.Wv)(o.default,{key:0,src:e.imageSrc},null,8,["src"])):(0,i.Q3)("",!0),(0,i.bF)(l.default,{level:e.headingLevel,"heading-style":"heading-xxs",id:t.anchorLink?t.anchorLink:""},{default:(0,i.k6)((function(){return[(0,i.eW)((0,u.toDisplayString)(t.heading),1)]})),_:1},8,["level","id"]),(0,i.bF)(s.default,null,{default:(0,i.k6)((function(){return[(0,i.RG)(n.$slots,"default")]})),_:3})]})),_:3},8,["md"])]})),_:3})])}}}},31478:function(t,e,n){"use strict";var i=n(85072),r=n.n(i),u=n(97825),a=n.n(u),l=n(77659),o=n.n(l),s=n(55056),c=n.n(s),d=n(10540),f=n.n(d),m=n(41113),p=n.n(m),y=n(77156),v=n.n(y),g={};g.styleTagTransform=p(),g.setAttributes=c(),g.insert=o().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=f(),r()(v(),g),v()&&v().locals&&v().locals},74999:function(t,e,n){"use strict";n.r(e);var i=n(66283);n(87338);const r=i.A;e.default=r},66283:function(t,e,n){"use strict";n.d(e,{A:function(){return i.A}});var i=n(35983)},87338:function(t,e,n){"use strict";n(31478)}},function(t){return t.O(0,[641,6262,7510,3751,4352,4467,2543,6422,8638,2368,3838,7521,1438,1574,2958],(function(){return t(t.s=74999)})),t.O()}])}));
|
|
@@ -6,11 +6,13 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
variant: string;
|
|
8
8
|
headingLevel: number;
|
|
9
|
+
anchorLink: string;
|
|
9
10
|
heading: string;
|
|
10
11
|
imageSrc?: string;
|
|
11
12
|
$props: {
|
|
12
13
|
readonly variant?: string;
|
|
13
14
|
readonly headingLevel?: number;
|
|
15
|
+
readonly anchorLink?: string;
|
|
14
16
|
readonly heading?: string;
|
|
15
17
|
readonly imageSrc?: string;
|
|
16
18
|
};
|
|
@@ -42,11 +42,13 @@ declare const _default: {
|
|
|
42
42
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
43
43
|
variant: string;
|
|
44
44
|
headingLevel: number;
|
|
45
|
+
anchorLink: string;
|
|
45
46
|
heading: string;
|
|
46
47
|
imageSrc?: string;
|
|
47
48
|
$props: {
|
|
48
49
|
readonly variant?: string;
|
|
49
50
|
readonly headingLevel?: number;
|
|
51
|
+
readonly anchorLink?: string;
|
|
50
52
|
readonly heading?: string;
|
|
51
53
|
readonly imageSrc?: string;
|
|
52
54
|
};
|
|
@@ -60,11 +62,13 @@ declare const _default: {
|
|
|
60
62
|
}, Readonly<{}> & Readonly<{}>, {
|
|
61
63
|
variant: string;
|
|
62
64
|
headingLevel: number;
|
|
65
|
+
anchorLink: string;
|
|
63
66
|
heading: string;
|
|
64
67
|
imageSrc?: string;
|
|
65
68
|
$props: {
|
|
66
69
|
readonly variant?: string;
|
|
67
70
|
readonly headingLevel?: number;
|
|
71
|
+
readonly anchorLink?: string;
|
|
68
72
|
readonly heading?: string;
|
|
69
73
|
readonly imageSrc?: string;
|
|
70
74
|
};
|
|
@@ -75,11 +79,13 @@ declare const _default: {
|
|
|
75
79
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
76
80
|
variant: string;
|
|
77
81
|
headingLevel: number;
|
|
82
|
+
anchorLink: string;
|
|
78
83
|
heading: string;
|
|
79
84
|
imageSrc?: string;
|
|
80
85
|
$props: {
|
|
81
86
|
readonly variant?: string;
|
|
82
87
|
readonly headingLevel?: number;
|
|
88
|
+
readonly anchorLink?: string;
|
|
83
89
|
readonly heading?: string;
|
|
84
90
|
readonly imageSrc?: string;
|
|
85
91
|
};
|