@sellgar/kit 0.0.38 → 0.0.39
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2703,7 +2703,7 @@ const X = /* @__PURE__ */ wl(Zo), ea = "_wrapper_y5p8d_1", Re = {
|
|
|
2703
2703
|
disabled: Ha
|
|
2704
2704
|
}, Ga = (e, t) => {
|
|
2705
2705
|
D.useEffect(() => {
|
|
2706
|
-
e && (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
|
|
2706
|
+
e != null && e.current && (e.current.style.height = "auto", e.current.style.height = `${e.current.scrollHeight}px`);
|
|
2707
2707
|
}, [e, t]);
|
|
2708
2708
|
}, Zm = ({ ref: e, size: t = "md", target: r, ...n }) => {
|
|
2709
2709
|
const i = D.useRef(null), [l, o] = D.useState(n.defaultValue || n.value), [a, c] = D.useState(!1), s = D.useMemo(
|
|
@@ -2725,7 +2725,7 @@ const X = /* @__PURE__ */ wl(Zo), ea = "_wrapper_y5p8d_1", Re = {
|
|
|
2725
2725
|
),
|
|
2726
2726
|
[a, t, r, n.disabled]
|
|
2727
2727
|
);
|
|
2728
|
-
D.useImperativeHandle(e, () => i.current, [i]), Ga(i
|
|
2728
|
+
D.useImperativeHandle(e, () => i.current, [i]), Ga(i, l);
|
|
2729
2729
|
const m = () => {
|
|
2730
2730
|
c(!0);
|
|
2731
2731
|
}, d = () => {
|