wacomm 1.4.1 → 1.4.2

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,8 @@
1
1
  interface TextSenderProps {
2
2
  onClick: (text: string) => void;
3
+ placeholder?: string;
3
4
  className?: string;
4
5
  rows?: number;
5
6
  }
6
- export default function TextSender({ onClick, className, rows, }: TextSenderProps): import("react/jsx-runtime").JSX.Element;
7
+ export default function TextSender({ onClick, placeholder, className, rows, }: TextSenderProps): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -14017,28 +14017,29 @@ function FN({
14017
14017
  }
14018
14018
  function VN({
14019
14019
  onClick: e,
14020
- className: t = "",
14021
- rows: o = 2
14020
+ placeholder: t = "Type your message...",
14021
+ className: o = "",
14022
+ rows: n = 2
14022
14023
  }) {
14023
- const [n, r] = ot(""), s = () => {
14024
- n.trim() && (e(n), r(""));
14024
+ const [r, s] = ot(""), i = () => {
14025
+ r.trim() && (e(r), s(""));
14025
14026
  };
14026
- return /* @__PURE__ */ T.jsxs("div", { className: `relative w-full ${t}`, children: [
14027
+ return /* @__PURE__ */ T.jsxs("div", { className: `relative w-full ${o}`, children: [
14027
14028
  /* @__PURE__ */ T.jsx(
14028
14029
  "textarea",
14029
14030
  {
14030
14031
  className: "w-full border rounded px-2 py-1 pr-10",
14031
- value: n,
14032
- onChange: (i) => r(i.target.value),
14033
- rows: o,
14034
- placeholder: "Type your message..."
14032
+ value: r,
14033
+ onChange: (a) => s(a.target.value),
14034
+ rows: n,
14035
+ placeholder: t
14035
14036
  }
14036
14037
  ),
14037
14038
  /* @__PURE__ */ T.jsx("div", { className: "absolute right-2 top-1/2", children: /* @__PURE__ */ T.jsx(
14038
14039
  DT,
14039
14040
  {
14040
- onClick: s,
14041
- isHighlighted: !!n.trim(),
14041
+ onClick: i,
14042
+ isHighlighted: !!r.trim(),
14042
14043
  className: "cursor-pointer"
14043
14044
  }
14044
14045
  ) })
@@ -42050,7 +42051,7 @@ function eE(e) {
42050
42051
  }, [r]), null;
42051
42052
  }
42052
42053
  const Uj = Cr(eE);
42053
- const tE = import("./mapbox-gl-C7lghogY.mjs").then((e) => e.m), oE = v.forwardRef(function(t, o) {
42054
+ const tE = import("./mapbox-gl-CkpcPFWI.mjs").then((e) => e.m), oE = v.forwardRef(function(t, o) {
42054
42055
  return HD(t, o, tE);
42055
42056
  }), kb = UD;
42056
42057
  const nE = _D;