@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
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@ export const CraftBook: React.FC<IItemCraftSelectorProps> = ({
|
|
|
82
82
|
<DraggableContainer
|
|
83
83
|
type={RPGUIContainerTypes.Framed}
|
|
84
84
|
width="500px"
|
|
85
|
-
cancelDrag=".equipment-container-body .arrow-selector"
|
|
85
|
+
cancelDrag=".equipment-container-body .arrow-selector .rpgui-dropdown-imp"
|
|
86
86
|
onCloseButton={() => {
|
|
87
87
|
if (onClose) {
|
|
88
88
|
onClose();
|
|
@@ -125,7 +125,6 @@ export const CraftBook: React.FC<IItemCraftSelectorProps> = ({
|
|
|
125
125
|
handleClick(option.key);
|
|
126
126
|
}}
|
|
127
127
|
onTouchStart={() => {
|
|
128
|
-
handleClick(option.key);
|
|
129
128
|
setIsShown({ show: true, index: index });
|
|
130
129
|
}}
|
|
131
130
|
style={{ display: 'flex', alignItems: 'center' }}
|
|
@@ -46,6 +46,7 @@ export const Dropdown: React.FC<IDropdownProps> = ({
|
|
|
46
46
|
id={`dropdown-${dropdownId}`}
|
|
47
47
|
className="rpgui-dropdown-imp rpgui-dropdown-imp-header"
|
|
48
48
|
onClick={() => setOpened(prev => !prev)}
|
|
49
|
+
onTouchStart={() => setOpened(prev => !prev)}
|
|
49
50
|
>
|
|
50
51
|
<label>▼</label> {selectedOption}
|
|
51
52
|
</DropdownSelect>
|
|
@@ -60,6 +61,11 @@ export const Dropdown: React.FC<IDropdownProps> = ({
|
|
|
60
61
|
setSelectedOption(option.option);
|
|
61
62
|
setOpened(false);
|
|
62
63
|
}}
|
|
64
|
+
onTouchStart={() => {
|
|
65
|
+
setSelectedValue(option.value);
|
|
66
|
+
setSelectedOption(option.option);
|
|
67
|
+
setOpened(false);
|
|
68
|
+
}}
|
|
63
69
|
>
|
|
64
70
|
{option.option}
|
|
65
71
|
</li>
|
package/src/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/mocks/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|