@nmorph/nmorph-ui-kit 0.2.20 → 0.2.21

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/index.es.js CHANGED
@@ -2855,13 +2855,13 @@ const Bf = /* @__PURE__ */ T({
2855
2855
  emits: ["on-scroll", "update:modelValue", "on-scroll-end"],
2856
2856
  setup(e, { emit: t }) {
2857
2857
  I((f) => ({
2858
- "1dd84cc2": m.value,
2859
- "2b5fc040": $.value,
2860
- "5b43fbd6": i.value,
2861
- "1b6ed09e": h.value,
2862
- "3406052b": r.value,
2863
- "3406052c": l.value,
2864
- eb8c866c: w.value
2858
+ "4a68bfd5": m.value,
2859
+ "2ef175ca": $.value,
2860
+ "96ce3be8": i.value,
2861
+ "78df0f8a": h.value,
2862
+ "3797bab5": r.value,
2863
+ "3797bab6": l.value,
2864
+ "3c242500": w.value
2865
2865
  }));
2866
2866
  const o = e, l = _(() => o.scrollYProp), r = _(() => o.scrollXProp), i = _(() => o.scrollYProp !== "hidden" ? "--scrollbar-width" : "0"), h = _(() => o.scrollXProp !== "hidden" ? "--scrollbar-height" : "0");
2867
2867
  let d;
@@ -4430,7 +4430,7 @@ const Fe = (e) => {
4430
4430
  };
4431
4431
  return { placement: h, placementCoords: d };
4432
4432
  }, Tx = () => {
4433
- }, Xg = "@nmorph/nmorph-ui-kit", Jg = "module", Qg = "0.2.20", Zg = "MIT", Ng = {
4433
+ }, Xg = "@nmorph/nmorph-ui-kit", Jg = "module", Qg = "0.2.21", Zg = "MIT", Ng = {
4434
4434
  node: "18.13.0",
4435
4435
  npm: "8.19.3"
4436
4436
  }, Ig = "./dist/index.d.ts", ew = "./dist/index.umd.js", tw = "./dist/index.es.js", nw = "./dist/style.css", ow = [
@@ -5996,7 +5996,7 @@ const F$ = { class: "nmorph-slider__content" }, j$ = { class: "nmorph-slider__in
5996
5996
  emits: ["update:modelValue"],
5997
5997
  setup(e, { emit: t }) {
5998
5998
  I((V) => ({
5999
- a08b3702: r
5999
+ ad126306: r
6000
6000
  }));
6001
6001
  const o = e, l = _(
6002
6002
  () => D({
@@ -6015,13 +6015,13 @@ const F$ = { class: "nmorph-slider__content" }, j$ = { class: "nmorph-slider__in
6015
6015
  thumb: K,
6016
6016
  tooltip: Z
6017
6017
  };
6018
- }), g = x(window.innerWidth), M = x(window.innerHeight), y = () => {
6018
+ }), g = x(0), M = x(0), y = () => {
6019
6019
  g.value = window.innerWidth, M.value = window.innerHeight;
6020
6020
  };
6021
6021
  Y(() => {
6022
- window.addEventListener("resize", y);
6022
+ typeof window < "u" && (g.value = window.innerWidth, M.value = window.innerHeight, window.addEventListener("resize", y));
6023
6023
  }), pe(() => {
6024
- document.removeEventListener("mouseup", w), window.removeEventListener("resize", y);
6024
+ typeof window < "u" && (document.removeEventListener("mouseup", w), window.removeEventListener("resize", y));
6025
6025
  });
6026
6026
  const k = (V) => {
6027
6027
  const C = u.value?.getBoundingClientRect();