highsoft-ui 1.0.103 → 1.0.105

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.
@@ -1,7 +1,7 @@
1
1
  import * as i from "react";
2
- import { e as H, c as V, b as R, u as _, P as p, d as g, g as h, i as q, R as K, a as U, j as Y, k as Z, F as z, D as J, l as Q } from "./index-CYz8LhDn.js";
2
+ import { e as H, b as R, u as _, P as p, d as g, g as h, i as V, R as q, j as K, c as U, a as Y, k as Z, F as z, D as J, l as Q } from "./index-CYz8LhDn.js";
3
3
  import { jsx as s, jsxs as N, Fragment as O } from "react/jsx-runtime";
4
- var v = "Dialog", [I] = V(v), [X, u] = I(v), x = (e) => {
4
+ var v = "Dialog", [I] = U(v), [X, u] = I(v), x = (e) => {
5
5
  const {
6
6
  __scopeDialog: o,
7
7
  children: r,
@@ -56,7 +56,7 @@ var E = "DialogPortal", [ee, b] = I(E, {
56
56
  forceMount: void 0
57
57
  }), M = (e) => {
58
58
  const { __scopeDialog: o, forceMount: r, children: a, container: n } = e, t = u(E, o);
59
- return /* @__PURE__ */ s(ee, { scope: o, forceMount: r, children: i.Children.map(a, (l) => /* @__PURE__ */ s(h, { present: r || t.open, children: /* @__PURE__ */ s(q, { asChild: !0, container: n, children: l }) })) });
59
+ return /* @__PURE__ */ s(ee, { scope: o, forceMount: r, children: i.Children.map(a, (l) => /* @__PURE__ */ s(h, { present: r || t.open, children: /* @__PURE__ */ s(V, { asChild: !0, container: n, children: l }) })) });
60
60
  };
61
61
  M.displayName = E;
62
62
  var D = "DialogOverlay", w = i.forwardRef(
@@ -66,13 +66,13 @@ var D = "DialogOverlay", w = i.forwardRef(
66
66
  }
67
67
  );
68
68
  w.displayName = D;
69
- var te = U("DialogOverlay.RemoveScroll"), oe = i.forwardRef(
69
+ var te = Y("DialogOverlay.RemoveScroll"), oe = i.forwardRef(
70
70
  (e, o) => {
71
71
  const { __scopeDialog: r, ...a } = e, n = u(D, r);
72
72
  return (
73
73
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
74
74
  // ie. when `Overlay` and `Content` are siblings
75
- /* @__PURE__ */ s(K, { as: te, allowPinchZoom: !0, shards: [n.contentRef], children: /* @__PURE__ */ s(
75
+ /* @__PURE__ */ s(q, { as: te, allowPinchZoom: !0, shards: [n.contentRef], children: /* @__PURE__ */ s(
76
76
  p.div,
77
77
  {
78
78
  "data-state": y(n.open),
@@ -95,7 +95,7 @@ var ne = i.forwardRef(
95
95
  const r = u(d, e.__scopeDialog), a = i.useRef(null), n = _(o, r.contentRef, a);
96
96
  return i.useEffect(() => {
97
97
  const t = a.current;
98
- if (t) return Y(t);
98
+ if (t) return K(t);
99
99
  }, []), /* @__PURE__ */ s(
100
100
  S,
101
101
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.103",
3
+ "version": "1.0.105",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -71,7 +71,7 @@
71
71
  "eslint-config-prettier": "^10.1.2",
72
72
  "eslint-plugin-react": "^7.34.1",
73
73
  "eslint-plugin-react-hooks": "^7.0.1",
74
- "eslint-plugin-react-refresh": "^0.4.6",
74
+ "eslint-plugin-react-refresh": "^0.5.0",
75
75
  "glob": "^13.0.0",
76
76
  "globals": "^17.0.0",
77
77
  "husky": "^9.0.11",