@rpg-engine/long-bow 0.3.32 → 0.3.34
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/long-bow.cjs.development.js +13 -3
- 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 +13 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +1 -0
- package/src/components/CraftBook/CraftBook.tsx +1 -2
- package/src/components/Dropdown.tsx +6 -0
- package/src/.DS_Store +0 -0
- package/src/components/NPCDialog/.DS_Store +0 -0
- package/src/components/NPCDialog/img/.DS_Store +0 -0
- package/src/mocks/.DS_Store +0 -0
- package/src/mocks/atlas/.DS_Store +0 -0
|
@@ -32791,7 +32791,8 @@ var Chat = function Chat(_ref) {
|
|
|
32791
32791
|
type: "text",
|
|
32792
32792
|
autoComplete: "off",
|
|
32793
32793
|
onFocus: onFocus,
|
|
32794
|
-
onBlur: onBlur
|
|
32794
|
+
onBlur: onBlur,
|
|
32795
|
+
onTouchStart: onFocus
|
|
32795
32796
|
})), React__default.createElement(Column, {
|
|
32796
32797
|
justifyContent: "flex-end"
|
|
32797
32798
|
}, React__default.createElement(Button$1, {
|
|
@@ -33211,6 +33212,11 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
33211
33212
|
return setOpened(function (prev) {
|
|
33212
33213
|
return !prev;
|
|
33213
33214
|
});
|
|
33215
|
+
},
|
|
33216
|
+
onTouchStart: function onTouchStart() {
|
|
33217
|
+
return setOpened(function (prev) {
|
|
33218
|
+
return !prev;
|
|
33219
|
+
});
|
|
33214
33220
|
}
|
|
33215
33221
|
}, React__default.createElement("label", null, "\u25BC"), " ", selectedOption), React__default.createElement(DropdownOptions, {
|
|
33216
33222
|
className: "rpgui-dropdown-imp",
|
|
@@ -33222,6 +33228,11 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
33222
33228
|
setSelectedValue(option.value);
|
|
33223
33229
|
setSelectedOption(option.option);
|
|
33224
33230
|
setOpened(false);
|
|
33231
|
+
},
|
|
33232
|
+
onTouchStart: function onTouchStart() {
|
|
33233
|
+
setSelectedValue(option.value);
|
|
33234
|
+
setSelectedOption(option.option);
|
|
33235
|
+
setOpened(false);
|
|
33225
33236
|
}
|
|
33226
33237
|
}, option.option);
|
|
33227
33238
|
})));
|
|
@@ -33297,7 +33308,7 @@ var CraftBook = function CraftBook(_ref) {
|
|
|
33297
33308
|
return React__default.createElement(DraggableContainer, {
|
|
33298
33309
|
type: exports.RPGUIContainerTypes.Framed,
|
|
33299
33310
|
width: "500px",
|
|
33300
|
-
cancelDrag: ".equipment-container-body .arrow-selector",
|
|
33311
|
+
cancelDrag: ".equipment-container-body .arrow-selector .rpgui-dropdown-imp",
|
|
33301
33312
|
onCloseButton: function onCloseButton() {
|
|
33302
33313
|
if (onClose) {
|
|
33303
33314
|
onClose();
|
|
@@ -33338,7 +33349,6 @@ var CraftBook = function CraftBook(_ref) {
|
|
|
33338
33349
|
handleClick(option.key);
|
|
33339
33350
|
},
|
|
33340
33351
|
onTouchStart: function onTouchStart() {
|
|
33341
|
-
handleClick(option.key);
|
|
33342
33352
|
setIsShown({
|
|
33343
33353
|
show: true,
|
|
33344
33354
|
index: index
|