@visitscotland/component-library 5.63.4 → 5.65.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/components/{LoadingSpinner-DzGYsw47.mjs → LoadingSpinner-CkG_hjpf.mjs} +2652 -2590
- package/dist/components/LoadingSpinner-DLhnjm96.js +36 -0
- package/dist/components/components/canned-search/CannedSearch.vue.d.ts +4 -0
- package/dist/components/components/canned-search/components/CannedSearchLogos.vue.d.ts +2 -0
- package/dist/components/components/canned-search/components/CannedSearchProductCard.vue.d.ts +2 -0
- package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +2 -0
- package/dist/components/components/hero-section/HeroSection.vue.d.ts +4 -0
- package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +2 -0
- package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +2 -0
- package/dist/components/components/img/Img.vue.d.ts +21 -0
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +4 -0
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarDetail.vue.d.ts +2 -0
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +2 -0
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +4 -0
- package/dist/components/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +2 -0
- package/dist/components/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +2 -0
- package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +2 -0
- package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +2 -0
- package/dist/components/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +2 -0
- package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +2 -0
- package/dist/components/components/video/Video.vue.d.ts +2 -0
- package/dist/components/components/video/components/VideoHtml5.vue.d.ts +2 -0
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +2 -2
- package/dist/components/vs-component-library.mjs +8 -4
- package/package.json +5 -5
- package/dist/components/LoadingSpinner-Dct5OvmT.js +0 -36
|
@@ -230,6 +230,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
230
230
|
default: boolean;
|
|
231
231
|
};
|
|
232
232
|
}>, {}, {}, {
|
|
233
|
+
resolvedLowResImage(): string;
|
|
234
|
+
resolvedSizes(): string;
|
|
233
235
|
imgStyle(): {
|
|
234
236
|
backgroundImage: string;
|
|
235
237
|
};
|
|
@@ -1711,6 +1713,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1711
1713
|
default: boolean;
|
|
1712
1714
|
};
|
|
1713
1715
|
}>, {}, {}, {
|
|
1716
|
+
resolvedLowResImage(): string;
|
|
1717
|
+
resolvedSizes(): string;
|
|
1714
1718
|
imgStyle(): {
|
|
1715
1719
|
backgroundImage: string;
|
|
1716
1720
|
};
|
|
@@ -547,6 +547,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
547
547
|
default: boolean;
|
|
548
548
|
};
|
|
549
549
|
}>, {}, {}, {
|
|
550
|
+
resolvedLowResImage(): string;
|
|
551
|
+
resolvedSizes(): string;
|
|
550
552
|
imgStyle(): {
|
|
551
553
|
backgroundImage: string;
|
|
552
554
|
};
|
|
@@ -3333,6 +3335,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3333
3335
|
default: boolean;
|
|
3334
3336
|
};
|
|
3335
3337
|
}>, {}, {}, {
|
|
3338
|
+
resolvedLowResImage(): string;
|
|
3339
|
+
resolvedSizes(): string;
|
|
3336
3340
|
imgStyle(): {
|
|
3337
3341
|
backgroundImage: string;
|
|
3338
3342
|
};
|
|
@@ -53,10 +53,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
55
|
}>, {}, {}, {
|
|
56
|
+
/**
|
|
57
|
+
* Resolve the low-quality placeholder image.
|
|
58
|
+
* SVGs do not use LQIP.
|
|
59
|
+
*/
|
|
60
|
+
resolvedLowResImage(): string;
|
|
61
|
+
/**
|
|
62
|
+
* Generate the sizes attribute for responsive raster images.
|
|
63
|
+
* Omitted for SVGs.
|
|
64
|
+
*/
|
|
65
|
+
resolvedSizes(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Apply the LQIP background while the image loads.
|
|
68
|
+
* Skipped for SVGs and generic placeholders.
|
|
69
|
+
*/
|
|
56
70
|
imgStyle(): {
|
|
57
71
|
backgroundImage: string;
|
|
58
72
|
};
|
|
73
|
+
/**
|
|
74
|
+
* Determine whether the image source is an SVG.
|
|
75
|
+
*/
|
|
59
76
|
isSvg(): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Generate a responsive srcset for raster images.
|
|
79
|
+
* SVGs are served as a single scalable asset.
|
|
80
|
+
*/
|
|
60
81
|
computedSrcSet(): unknown;
|
|
61
82
|
}, {}, {
|
|
62
83
|
computed: {
|
|
@@ -4825,6 +4825,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4825
4825
|
default: boolean;
|
|
4826
4826
|
};
|
|
4827
4827
|
}>, {}, {}, {
|
|
4828
|
+
resolvedLowResImage(): string;
|
|
4829
|
+
resolvedSizes(): string;
|
|
4828
4830
|
imgStyle(): {
|
|
4829
4831
|
backgroundImage: string;
|
|
4830
4832
|
};
|
|
@@ -5262,6 +5264,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5262
5264
|
default: boolean;
|
|
5263
5265
|
};
|
|
5264
5266
|
}>, {}, {}, {
|
|
5267
|
+
resolvedLowResImage(): string;
|
|
5268
|
+
resolvedSizes(): string;
|
|
5265
5269
|
imgStyle(): {
|
|
5266
5270
|
backgroundImage: string;
|
|
5267
5271
|
};
|
|
@@ -2447,6 +2447,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2447
2447
|
default: boolean;
|
|
2448
2448
|
};
|
|
2449
2449
|
}>, {}, {}, {
|
|
2450
|
+
resolvedLowResImage(): string;
|
|
2451
|
+
resolvedSizes(): string;
|
|
2450
2452
|
imgStyle(): {
|
|
2451
2453
|
backgroundImage: string;
|
|
2452
2454
|
};
|
|
@@ -2884,6 +2886,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2884
2886
|
default: boolean;
|
|
2885
2887
|
};
|
|
2886
2888
|
}>, {}, {}, {
|
|
2889
|
+
resolvedLowResImage(): string;
|
|
2890
|
+
resolvedSizes(): string;
|
|
2887
2891
|
imgStyle(): {
|
|
2888
2892
|
backgroundImage: string;
|
|
2889
2893
|
};
|
|
@@ -2751,6 +2751,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2751
2751
|
default: boolean;
|
|
2752
2752
|
};
|
|
2753
2753
|
}>, {}, {}, {
|
|
2754
|
+
resolvedLowResImage(): string;
|
|
2755
|
+
resolvedSizes(): string;
|
|
2754
2756
|
imgStyle(): {
|
|
2755
2757
|
backgroundImage: string;
|
|
2756
2758
|
};
|
|
@@ -1489,6 +1489,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1489
1489
|
default: boolean;
|
|
1490
1490
|
};
|
|
1491
1491
|
}>, {}, {}, {
|
|
1492
|
+
resolvedLowResImage(): string;
|
|
1493
|
+
resolvedSizes(): string;
|
|
1492
1494
|
imgStyle(): {
|
|
1493
1495
|
backgroundImage: string;
|
|
1494
1496
|
};
|