@visitscotland/component-library 5.72.1 → 5.73.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.
@@ -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",
@@ -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",
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "5.72.1",
3
+ "version": "5.73.0",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -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",