@rpg-engine/long-bow 0.2.64 → 0.2.65

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.
@@ -4,6 +4,8 @@ export interface IChatProps {
4
4
  chatMessages: IChatMessage[];
5
5
  onSendChatMessage: (message: string) => void;
6
6
  onCloseButton: () => void;
7
+ onFocus?: () => void;
8
+ onBlur?: () => void;
7
9
  opacity?: number;
8
10
  width?: string;
9
11
  height?: string;
@@ -27002,7 +27002,9 @@ var Chat = function Chat(_ref) {
27002
27002
  width = _ref$width === void 0 ? '100%' : _ref$width,
27003
27003
  _ref$height = _ref.height,
27004
27004
  height = _ref$height === void 0 ? '250px' : _ref$height,
27005
- onCloseButton = _ref.onCloseButton;
27005
+ onCloseButton = _ref.onCloseButton,
27006
+ onFocus = _ref.onFocus,
27007
+ onBlur = _ref.onBlur;
27006
27008
  var _useState = React.useState(''),
27007
27009
  message = _useState[0],
27008
27010
  setMessage = _useState[1];
@@ -27069,7 +27071,9 @@ var Chat = function Chat(_ref) {
27069
27071
  height: 20,
27070
27072
  className: "chat-input dark-background",
27071
27073
  type: "text",
27072
- autoComplete: "off"
27074
+ autoComplete: "off",
27075
+ onFocus: onFocus,
27076
+ onBlur: onBlur
27073
27077
  })), React__default.createElement(Column, {
27074
27078
  justifyContent: "flex-end"
27075
27079
  }, React__default.createElement(Button, {