@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -84,11 +84,8 @@ var Button = function Button(_ref) {
|
|
|
84
84
|
className: "" + buttonType,
|
|
85
85
|
disabled: disabled
|
|
86
86
|
}, props, {
|
|
87
|
-
onTouchStart:
|
|
88
|
-
|
|
89
|
-
onClick(e);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
87
|
+
onTouchStart: onClick,
|
|
88
|
+
onClick: onClick
|
|
92
89
|
}), React.createElement("p", null, children));
|
|
93
90
|
};
|
|
94
91
|
var ButtonContainer = /*#__PURE__*/styled.button.withConfig({
|
|
@@ -28227,7 +28224,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
28227
28224
|
answers = _ref.answers;
|
|
28228
28225
|
return React.createElement(RPGUIContainer, {
|
|
28229
28226
|
type: RPGUIContainerTypes.FramedGold,
|
|
28230
|
-
width: isQuestionDialog ? '600px' : '
|
|
28227
|
+
width: isQuestionDialog ? '600px' : '80%',
|
|
28231
28228
|
height: '180px'
|
|
28232
28229
|
}, isQuestionDialog && questions && answers ? React.createElement(React.Fragment, null, React.createElement(TextContainer$1, {
|
|
28233
28230
|
flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|