@superinterface/react 3.2.1 → 3.3.0

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.d.cts CHANGED
@@ -92,6 +92,7 @@ declare const Thread: {
92
92
  } & StyleProps) => react_jsx_runtime.JSX.Element;
93
93
  Input: (props: Omit<StyleProps, "style"> & {
94
94
  style?: Omit<React.CSSProperties, "minHeight" | "maxHeight" | "height">;
95
+ placeholder?: string;
95
96
  }) => react_jsx_runtime.JSX.Element;
96
97
  };
97
98
  Files: {
package/dist/index.d.ts CHANGED
@@ -92,6 +92,7 @@ declare const Thread: {
92
92
  } & StyleProps) => react_jsx_runtime.JSX.Element;
93
93
  Input: (props: Omit<StyleProps, "style"> & {
94
94
  style?: Omit<React.CSSProperties, "minHeight" | "maxHeight" | "height">;
95
+ placeholder?: string;
95
96
  }) => react_jsx_runtime.JSX.Element;
96
97
  };
97
98
  Files: {
package/dist/index.js CHANGED
@@ -3525,9 +3525,10 @@ var Input = function(props) {
3525
3525
  isDisabledPrevious,
3526
3526
  textareaProps
3527
3527
  ]);
3528
+ var _props_placeholder;
3528
3529
  return /* @__PURE__ */ jsx66(TextareaBase, _object_spread_props(_object_spread({
3529
3530
  minRows: 1,
3530
- placeholder: "Message ".concat(assistantNameContext, "..."),
3531
+ placeholder: (_props_placeholder = props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "Message ".concat(assistantNameContext, "..."),
3531
3532
  disabled: isDisabled,
3532
3533
  onKeyDown: function(e) {
3533
3534
  if (e.key === "Enter" && !e.shiftKey) {