@nmorph/nmorph-ui-kit 0.2.41 → 0.2.42

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
@@ -2863,18 +2863,18 @@ const Tf = /* @__PURE__ */ D({
2863
2863
  emits: ["on-scroll", "update:modelValue", "on-scroll-end"],
2864
2864
  setup(e, { expose: t, emit: a }) {
2865
2865
  I((ne) => ({
2866
- b2e3bcd8: L.value,
2867
- "3c5af72a": J.value,
2868
- "10be43cb": M.value,
2869
- "27d16348": y.value,
2870
- "2b0e6d54": u.value,
2871
- "2b0e6d52": i.value,
2872
- "6b7c4902": X.value,
2873
- "2b667e9a": $.value,
2874
- "457c5bda": g.value
2866
+ "135a7a5a": L.value,
2867
+ dc2ef8e8: J.value,
2868
+ "6082e50a": M.value,
2869
+ d6325606: y.value,
2870
+ cae26f12: u.value,
2871
+ cae26f10: i.value,
2872
+ "3b6328fe": X.value,
2873
+ "6bd9d972": $.value,
2874
+ "14db4a0a": g.value
2875
2875
  }));
2876
2876
  const l = e, r = w(null), i = _(() => l.scrollYProp), u = _(() => l.scrollXProp), d = w(!1), h = w(!1), p = () => {
2877
- d.value = r.value.scrollHeight > r.value.clientHeight, h.value = r.value.scrollWidth > r.value.clientWidth;
2877
+ d.value = r.value?.scrollHeight > r.value?.clientHeight, h.value = r.value?.scrollWidth > r.value?.clientWidth;
2878
2878
  }, f = _(() => l.yBarWidthInPx + l.yGapInPx), b = _(() => l.xBarWidthInPx + l.xGapInPx), M = _(
2879
2879
  () => l.scrollYProp === "hidden" || !d.value ? "0" : `${f.value}px`
2880
2880
  ), y = _(
@@ -2882,7 +2882,7 @@ const Tf = /* @__PURE__ */ D({
2882
2882
  ), $ = _(() => `${l.yBarWidthInPx}px`), g = _(() => `${l.xBarWidthInPx}px`), x = Q("nmorph");
2883
2883
  let m;
2884
2884
  const V = a, C = () => {
2885
- const ne = Math.trunc(r.value.scrollLeft), pe = Math.trunc(r.value.scrollTop);
2885
+ const ne = Math.trunc(r.value?.scrollLeft), pe = Math.trunc(r.value?.scrollTop);
2886
2886
  V("update:modelValue", { x: ne, y: pe });
2887
2887
  }, T = () => {
2888
2888
  V("on-scroll-end");
@@ -4461,7 +4461,7 @@ const Le = (e) => {
4461
4461
  };
4462
4462
  return { placement: u, placementCoords: d };
4463
4463
  }, Wx = () => {
4464
- }, Ig = "@nmorph/nmorph-ui-kit", ew = "module", tw = "0.2.41", nw = "MIT", ow = {
4464
+ }, Ig = "@nmorph/nmorph-ui-kit", ew = "module", tw = "0.2.42", nw = "MIT", ow = {
4465
4465
  node: "18.13.0",
4466
4466
  npm: "8.19.3"
4467
4467
  }, aw = "./dist/index.d.ts", sw = "./dist/index.umd.js", lw = "./dist/index.es.js", rw = "./dist/style.css", cw = [
@@ -6201,7 +6201,7 @@ const I$ = { class: "nmorph-text-input__input-side" }, ex = {
6201
6201
  emits: ["inputDOMRef", "update:modelValue", "focus", "blur", "on-enter"],
6202
6202
  setup(e, { emit: t }) {
6203
6203
  I((x) => ({
6204
- "8da191d8": g.value
6204
+ "2af07cf8": g.value
6205
6205
  }));
6206
6206
  const a = Ze(), l = e, r = _(
6207
6207
  () => A({