@visitscotland/component-library 5.72.1 → 5.74.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.
@@ -4828,7 +4828,7 @@ function _sfc_render$2k(e, t, n, a, o, r) {
4828
4828
  renderSlot(e.$slots, "default")
4829
4829
  ]),
4830
4830
  createElementVNode("span", _hoisted_2$1r, [
4831
- n.visible ? renderSlot(e.$slots, "icon-open", { key: 0 }) : renderSlot(e.$slots, "icon-closed", { key: 1 })
4831
+ n.visible ? renderSlot(e.$slots, "icon-open", {}, void 0, void 0, 0) : renderSlot(e.$slots, "icon-closed", {}, void 0, void 0, 1)
4832
4832
  ])
4833
4833
  ]),
4834
4834
  _: 3
@@ -5164,7 +5164,7 @@ function _sfc_render$2g(e, t, n, a, o, r) {
5164
5164
  createElementVNode("div", {
5165
5165
  class: normalizeClass(["vs-article__wrapper mb-300 mb-md-500", n.businessSupport ? "vs-article__wrapper--no-border" : null])
5166
5166
  }, [
5167
- n.businessSupport ? createCommentVNode("", !0) : renderSlot(e.$slots, "vs-article-img", { key: 0 }),
5167
+ n.businessSupport ? createCommentVNode("", !0) : renderSlot(e.$slots, "vs-article-img", {}, void 0, void 0, 0),
5168
5168
  createVNode(c, null, {
5169
5169
  default: withCtx(() => [
5170
5170
  createVNode(l, {
@@ -8312,7 +8312,7 @@ function _sfc_render$1U(e, t, n, a, o, r) {
8312
8312
  }
8313
8313
  const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render", _sfc_render$1U]]), _sfc_main$28 = {
8314
8314
  name: "VsCannedSearch",
8315
- status: "prototype",
8315
+ status: "deprecated",
8316
8316
  release: "0.0.1",
8317
8317
  components: {
8318
8318
  VsCannedSearchProductCard,
@@ -15962,7 +15962,7 @@ function _sfc_render$1J(e, t, n, a, o, r) {
15962
15962
  }
15963
15963
  const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_render$1J]]), _sfc_main$1Z = {
15964
15964
  name: "VsCarbonCalculator",
15965
- status: "prototype",
15965
+ status: "deprecated",
15966
15966
  release: "0.0.1",
15967
15967
  components: {
15968
15968
  VsButton,
@@ -17131,7 +17131,7 @@ function _sfc_render$1F(e, t, n, a, o, r) {
17131
17131
  _: 1
17132
17132
  }, 8, ["size"])) : createCommentVNode("", !0)
17133
17133
  ], 2)) : createCommentVNode("", !0),
17134
- e.$slots["stretched-card-panels"] && e.$slots["stretched-card-panels"]() ? renderSlot(e.$slots, "stretched-card-panels", { key: 3 }) : createCommentVNode("", !0),
17134
+ e.$slots["stretched-card-panels"] && e.$slots["stretched-card-panels"]() ? renderSlot(e.$slots, "stretched-card-panels", {}, void 0, void 0, 3) : createCommentVNode("", !0),
17135
17135
  r.showWarning !== "full" ? (openBlock(), createElementBlock("div", _hoisted_2$10, [
17136
17136
  e.$slots["stretched-card-category"] && e.$slots["stretched-card-category"]() ? (openBlock(), createElementBlock("span", _hoisted_3$P, [
17137
17137
  renderSlot(e.$slots, "stretched-card-category")
@@ -17144,7 +17144,7 @@ function _sfc_render$1F(e, t, n, a, o, r) {
17144
17144
  "data-test": "vs-stretched-link-card__title"
17145
17145
  }, {
17146
17146
  default: withCtx(() => [
17147
- e.$slots["stretched-card-link"] && e.$slots["stretched-card-link"]() ? renderSlot(e.$slots, "stretched-card-header", { key: 0 }) : !n.businessSupport && n.type === "video" ? renderSlot(e.$slots, "stretched-card-header", { key: 1 }) : (openBlock(), createBlock(c, {
17147
+ e.$slots["stretched-card-link"] && e.$slots["stretched-card-link"]() ? renderSlot(e.$slots, "stretched-card-header", {}, void 0, void 0, 0) : !n.businessSupport && n.type === "video" ? renderSlot(e.$slots, "stretched-card-header", {}, void 0, void 0, 1) : (openBlock(), createBlock(c, {
17148
17148
  key: 2,
17149
17149
  href: n.link,
17150
17150
  type: n.type,
@@ -22762,7 +22762,7 @@ function _sfc_render$1h(e, t, n, a, o, r) {
22762
22762
  ])) : createCommentVNode("", !0),
22763
22763
  e.$slots.credit || n.videoId && r.videoDetails?.videoDurationMsg ? (openBlock(), createElementBlock("p", _hoisted_2$Q, [
22764
22764
  n.videoId && r.videoDetails?.videoDurationMsg ? (openBlock(), createElementBlock("span", _hoisted_3$E, toDisplayString(r.videoDetails.videoDurationMsg), 1)) : createCommentVNode("", !0),
22765
- e.$slots.credit && !n.videoId ? renderSlot(e.$slots, "credit", { key: 1 }) : createCommentVNode("", !0)
22765
+ e.$slots.credit && !n.videoId ? renderSlot(e.$slots, "credit", {}, void 0, void 0, 1) : createCommentVNode("", !0)
22766
22766
  ])) : createCommentVNode("", !0)
22767
22767
  ]),
22768
22768
  _: 3
@@ -22818,12 +22818,23 @@ const VsMediaCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sf
22818
22818
  split: {
22819
22819
  type: Boolean,
22820
22820
  default: !1
22821
+ },
22822
+ /**
22823
+ * Changes image to inset style
22824
+ */
22825
+ inset: {
22826
+ type: Boolean,
22827
+ default: !1
22821
22828
  }
22822
22829
  },
22823
22830
  computed: {
22824
- // Set container class for inset variant
22831
+ // Set container class for split variant
22825
22832
  isSplit() {
22826
22833
  return this.split ? "vs-hero-section-image--split" : "";
22834
+ },
22835
+ // Set container class for inset variant
22836
+ isInset() {
22837
+ return this.inset ? "vs-hero-section-image--inset" : "";
22827
22838
  }
22828
22839
  }
22829
22840
  };
@@ -22834,10 +22845,10 @@ function _sfc_render$1g(e, t, n, a, o, r) {
22834
22845
  "data-test": "vs-hero-section-image"
22835
22846
  }, [
22836
22847
  createVNode(s, {
22837
- class: "vs-hero-section-image__img",
22848
+ class: normalizeClass(["vs-hero-section-image__img", r.isInset]),
22838
22849
  src: n.src,
22839
22850
  alt: n.imgAlt
22840
- }, null, 8, ["src", "alt"]),
22851
+ }, null, 8, ["class", "src", "alt"]),
22841
22852
  n.imgCaption || n.imgCredit ? (openBlock(), createBlock(i, {
22842
22853
  key: 0,
22843
22854
  "data-test": "vs-hero-section-image__caption",
@@ -23965,12 +23976,12 @@ function _sfc_render$1e(e, t, n, a, o, r) {
23965
23976
  key: 0,
23966
23977
  class: "fa-icon-colours fa-icon-colours--white",
23967
23978
  icon: "fa-duotone fa-solid fa-circle-xmark"
23968
- })) : renderSlot(e.$slots, "toggle-icon", { key: 1 }, () => [
23979
+ })) : renderSlot(e.$slots, "toggle-icon", {}, () => [
23969
23980
  createVNode(s, {
23970
23981
  class: "fa-icon-colours",
23971
23982
  icon: "fa-duotone fa-solid fa-circle-info"
23972
23983
  })
23973
- ])
23984
+ ], void 0, 1)
23974
23985
  ]),
23975
23986
  _: 3
23976
23987
  }, 8, ["aria-controls", "aria-expanded", "onClick"])) : (openBlock(), createBlock(i, {
@@ -24510,8 +24521,9 @@ function _sfc_render$1b(e, t, n, a, o, r) {
24510
24521
  src: n.imgSrc,
24511
24522
  "img-caption": n.imgCaption,
24512
24523
  "img-credit": n.imgCredit,
24513
- split: n.split
24514
- }, null, 8, ["img-alt", "src", "img-caption", "img-credit", "split"])
24524
+ split: n.split,
24525
+ inset: n.inset
24526
+ }, null, 8, ["img-alt", "src", "img-caption", "img-credit", "split", "inset"])
24515
24527
  ], 2)) : n.videoSrc ? (openBlock(), createElementBlock("div", _hoisted_2$N, [
24516
24528
  createVNode(i, {
24517
24529
  "video-type": "html5",
@@ -24587,7 +24599,7 @@ function _sfc_render$1a(e, t, n, a, o, r) {
24587
24599
  }
24588
24600
  const HtmlError = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1a]]), _sfc_main$1o = {
24589
24601
  name: "VsTourismInfo",
24590
- status: "prototype",
24602
+ status: "deprecated",
24591
24603
  release: "0.0.1",
24592
24604
  components: {
24593
24605
  VsContainer,
@@ -25916,7 +25928,7 @@ function _sfc_render$10(e, t, n, a, o, r) {
25916
25928
  ]),
25917
25929
  renderSlot(e.$slots, "stop-facilities")
25918
25930
  ]),
25919
- e.$slots["stop-buttons"] ? renderSlot(e.$slots, "stop-buttons", { key: 0 }) : createCommentVNode("", !0)
25931
+ e.$slots["stop-buttons"] ? renderSlot(e.$slots, "stop-buttons", {}, void 0, void 0, 0) : createCommentVNode("", !0)
25920
25932
  ]);
25921
25933
  }
25922
25934
  const ItineraryStop = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$10]]), _sfc_main$1e = {
@@ -29124,7 +29136,7 @@ function _sfc_render$F(e, t, n, a, o, r) {
29124
29136
  }
29125
29137
  const MegaNavStaticLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$F]]), _sfc_main$T = {
29126
29138
  name: "VsMegalinks",
29127
- status: "prototype",
29139
+ status: "deprecated",
29128
29140
  release: "0.0.1",
29129
29141
  components: {
29130
29142
  VsContainer,
@@ -29323,7 +29335,7 @@ function _sfc_render$E(e, t, n, a, o, r) {
29323
29335
  }
29324
29336
  const Megalinks = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$E]]), _sfc_main$S = {
29325
29337
  name: "VsMegalinkLinkList",
29326
- status: "prototype",
29338
+ status: "deprecated",
29327
29339
  release: "0.0.1",
29328
29340
  components: {
29329
29341
  VsStretchedLinkCard,
@@ -29510,7 +29522,7 @@ function _sfc_render$D(e, t, n, a, o, r) {
29510
29522
  }
29511
29523
  const MegalinkLinkList = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$D]]), _sfc_main$R = {
29512
29524
  name: "VsMegalinkMultiImage",
29513
- status: "prototype",
29525
+ status: "deprecated",
29514
29526
  release: "0.0.1",
29515
29527
  components: {
29516
29528
  VsStretchedLinkCard,
@@ -29700,7 +29712,7 @@ function _sfc_render$C(e, t, n, a, o, r) {
29700
29712
  }
29701
29713
  const MegalinkMultiImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$C]]), _sfc_main$Q = {
29702
29714
  name: "VsMegalinkSingleImage",
29703
- status: "prototype",
29715
+ status: "deprecated",
29704
29716
  release: "0.0.1",
29705
29717
  components: {
29706
29718
  VsHeading,
@@ -32026,7 +32038,7 @@ const _hoisted_1$t = {
32026
32038
  }
32027
32039
  }), _sfc_main$z = {
32028
32040
  name: "VsProductSearch",
32029
- status: "prototype",
32041
+ status: "deprecated",
32030
32042
  release: "0.0.1",
32031
32043
  components: {
32032
32044
  VsContainer,
@@ -32567,7 +32579,7 @@ function _sfc_render$g(e, t, n, a, o, r) {
32567
32579
  }
32568
32580
  const VsTableFooter = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$g]]), _sfc_main$p = {
32569
32581
  name: "VsSkiScotlandCard",
32570
- status: "prototype",
32582
+ status: "deprecated",
32571
32583
  release: "0.0.1",
32572
32584
  components: {
32573
32585
  VsImg,
@@ -33118,7 +33130,7 @@ function _sfc_render$f(e, t, n, a, o, r) {
33118
33130
  }
33119
33131
  const SkiScotlandCard = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$f]]), _sfc_main$o = {
33120
33132
  name: "VsSkiScotlandStatus",
33121
- status: "prototype",
33133
+ status: "deprecated",
33122
33134
  release: "0.0.1",
33123
33135
  components: {
33124
33136
  VsTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.72.1",
3
+ "version": "5.74.0",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -72,9 +72,9 @@
72
72
  "@semantic-release/exec": "^7.1.0",
73
73
  "@semantic-release/npm": "^13.1.5",
74
74
  "@storybook/addon-a11y": "10.5.0",
75
- "@storybook/addon-docs": "10.5.0",
75
+ "@storybook/addon-docs": "10.5.3",
76
76
  "@storybook/addon-links": "10.5.0",
77
- "@storybook/vue3-vite": "10.5.0",
77
+ "@storybook/vue3-vite": "10.5.2",
78
78
  "@types/google.maps": "^3.64.0",
79
79
  "@types/node": "^26.0.1",
80
80
  "@types/react": "^19.2.16",
@@ -90,7 +90,7 @@
90
90
  "cz-conventional-changelog": "^3.3.0",
91
91
  "eslint": "^10.4.0",
92
92
  "eslint-config-prettier": "^10.1.8",
93
- "eslint-plugin-storybook": "10.5.0",
93
+ "eslint-plugin-storybook": "10.5.3",
94
94
  "eslint-plugin-vue": "^10.9.1",
95
95
  "globals": "^17.6.0",
96
96
  "husky": "^9.1.7",
@@ -107,7 +107,7 @@
107
107
  "sass": "^1.62.1",
108
108
  "semantic-release": "^25.0.3",
109
109
  "standard-version": "^9.5.0",
110
- "storybook": "^10.4.6",
110
+ "storybook": "^10.5.0",
111
111
  "storybook-addon-tag-badges": "^3.1.0",
112
112
  "theo": "^8.1.5",
113
113
  "ts-jest": "^29.4.11",