@wwtdev/bsds-components-vue3 3.0.3 → 3.0.4

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.
@@ -3505,6 +3505,12 @@ const di = {
3505
3505
  description: "Custom width of the vertical navigation. This will override\n the `variant` prop.",
3506
3506
  type: String,
3507
3507
  typeDef: "string"
3508
+ },
3509
+ sticky: {
3510
+ default: !1,
3511
+ description: "If `true`, the navigation will use sticky positioning instead\n of fixed positioning on desktop viewports (min-width: 1166px). This is primarily\n used in combination with the App Header component.",
3512
+ type: Boolean,
3513
+ typeDef: "boolean"
3508
3514
  }
3509
3515
  }, bi = {
3510
3516
  "nav-link-clicked": {
@@ -12762,7 +12768,7 @@ const nh = /* @__PURE__ */ Xn(Qc, [["render", Jc]]), _c = ["data-variant", "data
12762
12768
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : P("", !0)
12763
12769
  ], 16));
12764
12770
  }
12765
- }), lp = ["data-bg-variant"], rp = ["aria-expanded", "title", "data-collapsed", "data-narrow"], dp = ["data-narrow", "data-collapsed", "data-collapsible"], up = {
12771
+ }), lp = ["data-bg-variant"], rp = ["aria-expanded", "title", "data-collapsed", "data-narrow"], dp = ["data-narrow", "data-collapsed", "data-collapsible", "data-sticky"], up = {
12766
12772
  key: 0,
12767
12773
  class: "bs-vertical-nav-top-content"
12768
12774
  }, cp = ["data-collapsed", "data-divider-only", "data-app-links"], pp = ["aria-expanded", "aria-controls", "title", "onClick"], fp = { key: 0 }, hp = ["id"], bp = { key: 1 }, vp = {
@@ -12804,9 +12810,9 @@ const nh = /* @__PURE__ */ Xn(Qc, [["render", Jc]]), _c = ["data-variant", "data
12804
12810
  ), X(() => t.width, (I) => {
12805
12811
  I ? (c.value.style.setProperty("--bs-vertical-nav-width", I), u.value && u.value.style.setProperty("--bs-vertical-nav-width", I)) : (c.value.style.removeProperty("--bs-vertical-nav-width"), u.value && u.value.style.removeProperty("--bs-vertical-nav-width"));
12806
12812
  }), X(() => t.mobileOpen, (I) => {
12807
- typeof document > "u" || (I ? (document.body.style.overflow = "hidden", c.value.style.setProperty("visibility", "visible"), setTimeout(() => {
12813
+ typeof document > "u" || (I ? (document.body.style.overflow = "hidden", c.value.style.setProperty("visibility", "visible"), c.value.style.setProperty("pointer-events", "auto"), setTimeout(() => {
12808
12814
  c.value.style.setProperty("opacity", "1");
12809
- }, 0)) : (document.body.style.overflow = "", c.value.style.removeProperty("opacity"), setTimeout(() => {
12815
+ }, 0)) : (document.body.style.overflow = "", c.value.style.removeProperty("opacity"), c.value.style.removeProperty("pointer-events"), setTimeout(() => {
12810
12816
  c.value.style.removeProperty("visibility");
12811
12817
  }, 200)));
12812
12818
  });
@@ -12847,6 +12853,7 @@ const nh = /* @__PURE__ */ Xn(Qc, [["render", Jc]]), _c = ["data-variant", "data
12847
12853
  "data-narrow": g.value,
12848
12854
  "data-collapsed": T.value,
12849
12855
  "data-collapsible": B.value,
12856
+ "data-sticky": t.sticky || void 0,
12850
12857
  style: Dt(t.width && !T.value ? { width: t.width } : void 0)
12851
12858
  }, [
12852
12859
  O("ul", null, [