@rpg-engine/long-bow 0.2.70 → 0.2.72
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 +3 -6
- 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 +3 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button.tsx +2 -5
- package/src/components/NPCDialog/NPCDialog.tsx +1 -1
|
@@ -90,11 +90,8 @@ var Button = function Button(_ref) {
|
|
|
90
90
|
className: "" + buttonType,
|
|
91
91
|
disabled: disabled
|
|
92
92
|
}, props, {
|
|
93
|
-
onTouchStart:
|
|
94
|
-
|
|
95
|
-
onClick(e);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
93
|
+
onTouchStart: onClick,
|
|
94
|
+
onClick: onClick
|
|
98
95
|
}), React__default.createElement("p", null, children));
|
|
99
96
|
};
|
|
100
97
|
var ButtonContainer = /*#__PURE__*/styled.button.withConfig({
|
|
@@ -28231,7 +28228,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
28231
28228
|
answers = _ref.answers;
|
|
28232
28229
|
return React__default.createElement(RPGUIContainer, {
|
|
28233
28230
|
type: exports.RPGUIContainerTypes.FramedGold,
|
|
28234
|
-
width: isQuestionDialog ? '600px' : '
|
|
28231
|
+
width: isQuestionDialog ? '600px' : '80%',
|
|
28235
28232
|
height: '180px'
|
|
28236
28233
|
}, isQuestionDialog && questions && answers ? React__default.createElement(React__default.Fragment, null, React__default.createElement(TextContainer$1, {
|
|
28237
28234
|
flex: type === exports.NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|