@rpg-engine/long-bow 0.3.55 → 0.3.58
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/CircularController/CircularController.d.ts +1 -1
- package/dist/components/QuestInfo/QuestInfo.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +4 -4
- 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 +4 -4
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CircularController/CircularController.tsx +3 -3
- package/src/components/QuestInfo/QuestInfo.tsx +3 -3
- package/src/stories/CircullarController.stories.tsx +1 -1
- package/src/stories/QuestInfo.stories.tsx +3 -6
package/dist/long-bow.esm.js
CHANGED
|
@@ -33100,7 +33100,7 @@ var List = /*#__PURE__*/styled.p.withConfig({
|
|
|
33100
33100
|
})(["width:100%;display:flex;align-items:center;justify-content:center;gap:0.5rem;box-sizing:border-box;margin:0 !important;"]);
|
|
33101
33101
|
|
|
33102
33102
|
var CircularController = function CircularController(_ref) {
|
|
33103
|
-
var
|
|
33103
|
+
var onActionClick = _ref.onActionClick,
|
|
33104
33104
|
onCancelClick = _ref.onCancelClick,
|
|
33105
33105
|
onSpellClick = _ref.onSpellClick,
|
|
33106
33106
|
mana = _ref.mana,
|
|
@@ -33137,7 +33137,7 @@ var CircularController = function CircularController(_ref) {
|
|
|
33137
33137
|
})));
|
|
33138
33138
|
})), React.createElement(Button$2, {
|
|
33139
33139
|
onTouchStart: onTouchStart,
|
|
33140
|
-
onTouchEnd: onTouchEnd.bind(null,
|
|
33140
|
+
onTouchEnd: onTouchEnd.bind(null, onActionClick)
|
|
33141
33141
|
}, React.createElement("div", {
|
|
33142
33142
|
className: "rpgui-icon sword"
|
|
33143
33143
|
})), React.createElement(CancelButton, {
|
|
@@ -35187,7 +35187,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
35187
35187
|
return React.createElement(Button, {
|
|
35188
35188
|
key: index,
|
|
35189
35189
|
onPointerDown: function onPointerDown() {
|
|
35190
|
-
return button.
|
|
35190
|
+
return button.onClick(quests[currentIndex]._id, quests[currentIndex].npcId);
|
|
35191
35191
|
},
|
|
35192
35192
|
disabled: button.disabled,
|
|
35193
35193
|
buttonType: ButtonTypes.RPGUIButton,
|
|
@@ -35206,7 +35206,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
35206
35206
|
return React.createElement(Button, {
|
|
35207
35207
|
key: index,
|
|
35208
35208
|
onPointerDown: function onPointerDown() {
|
|
35209
|
-
return button.
|
|
35209
|
+
return button.onClick(quests[0]._id, quests[0].npcId);
|
|
35210
35210
|
},
|
|
35211
35211
|
disabled: button.disabled,
|
|
35212
35212
|
buttonType: ButtonTypes.RPGUIButton,
|