@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.
- package/dist/components/Chat/Chat.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +6 -2
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +6 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +6 -0
|
@@ -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, {
|