@rpg-engine/long-bow 0.7.29 → 0.7.31

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.
Files changed (132) hide show
  1. package/dist/components/ChatRevamp/ChatContent.d.ts +2 -0
  2. package/dist/components/ChatRevamp/types.d.ts +2 -0
  3. package/dist/long-bow.cjs.development.js +9 -1
  4. package/dist/long-bow.cjs.development.js.map +1 -1
  5. package/dist/long-bow.cjs.production.min.js +1 -1
  6. package/dist/long-bow.cjs.production.min.js.map +1 -1
  7. package/dist/long-bow.esm.js +9 -1
  8. package/dist/long-bow.esm.js.map +1 -1
  9. package/dist/stories/{CharacterStatus.stories.d.ts → Character/character/CharacterStatus.stories.d.ts} +1 -1
  10. package/dist/stories/{EquipmentSet.stories.d.ts → Character/equipment/EquipmentSet.stories.d.ts} +1 -1
  11. package/dist/stories/{SkillProgressBar.stories.d.ts → Character/skills/SkillProgressBar.stories.d.ts} +1 -1
  12. package/dist/stories/{SkillsContainer.stories.d.ts → Character/skills/SkillsContainer.stories.d.ts} +1 -1
  13. package/dist/stories/{ChatRevamp.stories.d.ts → Features/chat/ChatRevamp.stories.d.ts} +2 -1
  14. package/dist/stories/{CircullarController.stories.d.ts → Features/controller/CircullarController.stories.d.ts} +1 -1
  15. package/dist/stories/{Leaderboard.stories.d.ts → Features/leaderboard/Leaderboard.stories.d.ts} +1 -1
  16. package/dist/stories/{PartyCreate.stories.d.ts → Features/party/PartyCreate.stories.d.ts} +1 -1
  17. package/dist/stories/{PartyDashboard.stories.d.ts → Features/party/PartyDashboard.stories.d.ts} +1 -1
  18. package/dist/stories/{PartyInvite.stories.d.ts → Features/party/PartyInvite.stories.d.ts} +1 -1
  19. package/dist/stories/{PartyManager.stories.d.ts → Features/party/PartyManager.stories.d.ts} +1 -1
  20. package/dist/stories/{QuestInfo.stories.d.ts → Features/quest/QuestInfo.stories.d.ts} +1 -1
  21. package/dist/stories/{QuestList.stories.d.ts → Features/quest/QuestList.stories.d.ts} +1 -1
  22. package/dist/stories/{Shortcuts.stories.d.ts → Features/shortcuts/Shortcuts.stories.d.ts} +1 -1
  23. package/dist/stories/{SpellInfoDisplay.stories.d.ts → Features/spells/SpellInfoDisplay.stories.d.ts} +1 -1
  24. package/dist/stories/{Spellbook.stories.d.ts → Features/spells/Spellbook.stories.d.ts} +1 -1
  25. package/dist/stories/{TradingMenu.stories.d.ts → Features/trading/TradingMenu.stories.d.ts} +1 -1
  26. package/dist/stories/{DayNightPeriod.stories.d.ts → Features/weather/DayNightPeriod.stories.d.ts} +1 -1
  27. package/dist/stories/{TimeWidget.stories.d.ts → Features/weather/TimeWidget.stories.d.ts} +1 -1
  28. package/dist/stories/{ItemInfoDisplay.stories.d.ts → Item/ItemInfoDisplay.stories.d.ts} +1 -1
  29. package/dist/stories/{NPCDialog.stories.d.ts → NPC/dialog/NPCDialog.stories.d.ts} +1 -1
  30. package/dist/stories/{HistoryDialog.stories.d.ts → NPC/dialog/NPCHistoryDialog.stories.d.ts} +1 -1
  31. package/dist/stories/{NPCMultiDialog.stories.d.ts → NPC/dialog/NPCMultiDialog.stories.d.ts} +1 -1
  32. package/dist/stories/{RPGUIContainers.stories.d.ts → UI/RPGUI/RPGUIContainers.stories.d.ts} +1 -1
  33. package/dist/stories/{StaticBook.stories.d.ts → UI/books/StaticBook.stories.d.ts} +1 -1
  34. package/dist/stories/{Button.stories.d.ts → UI/buttonsAndInputs/Button.stories.d.ts} +1 -1
  35. package/dist/stories/{CheckButton.stories.d.ts → UI/buttonsAndInputs/CheckItem.stories.d.ts} +2 -2
  36. package/dist/stories/{RadioButton.stories.d.ts → UI/buttonsAndInputs/RadioButton.stories.d.ts} +1 -1
  37. package/dist/stories/{RadioInput.stories.d.ts → UI/buttonsAndInputs/RadioInput.stories.d.ts} +1 -1
  38. package/dist/stories/{DraggableContainer.stories.d.ts → UI/containers/DraggableContainer.stories.d.ts} +1 -1
  39. package/dist/stories/{ItemContainer.stories.d.ts → UI/containers/ItemContainer.stories.d.ts} +1 -1
  40. package/dist/stories/{Arrow.stories.d.ts → UI/dropdownsAndSelectors/Arrow.stories.d.ts} +1 -1
  41. package/dist/stories/{Dropdown.stories.d.ts → UI/dropdownsAndSelectors/Dropdown.stories.d.ts} +1 -1
  42. package/dist/stories/{DropdownSelectorContainer.stories.d.ts → UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.d.ts} +1 -1
  43. package/dist/stories/{ItemQuantitySelector.stories.d.ts → UI/dropdownsAndSelectors/ItemQuantitySelector.stories.d.ts} +1 -1
  44. package/dist/stories/{PropertySelect.stories.d.ts → UI/dropdownsAndSelectors/PropertySelect.stories.d.ts} +1 -1
  45. package/dist/stories/{ImageCarousel.stories.d.ts → UI/images/ImageCarousel.stories.d.ts} +1 -1
  46. package/dist/stories/{SimpleImageCarousel.stories.d.ts → UI/images/SimpleImageCarousel.stories.d.ts} +1 -1
  47. package/dist/stories/{ListMenu.stories.d.ts → UI/lists/ListMenu.stories.d.ts} +1 -1
  48. package/dist/stories/{ScrollList.stories.d.ts → UI/lists/ScrollList.stories.d.ts} +1 -1
  49. package/dist/stories/{ConfirmModal.stories.d.ts → UI/modals/ConfirmModal.stories.d.ts} +1 -1
  50. package/dist/stories/{ShopModal.stories.d.ts → UI/modals/ShopModal.stories.d.ts} +1 -1
  51. package/dist/stories/{ProgressBar.stories.d.ts → UI/progress/ProgressBar.stories.d.ts} +1 -1
  52. package/dist/stories/{SimpleProgressBar.stories.d.ts → UI/progress/SimpleProgressBar.stories.d.ts} +1 -1
  53. package/dist/stories/{RangeSlider.stories.d.ts → UI/sliders/RangeSlider.stories.d.ts} +1 -1
  54. package/dist/stories/{Stepper.stories.d.ts → UI/steppers/Stepper.stories.d.ts} +1 -1
  55. package/dist/stories/{TutorialStepper.stories.d.ts → UI/steppers/TutorialStepper.stories.d.ts} +1 -1
  56. package/dist/stories/{InternalTabs.stories.d.ts → UI/tabs/InternalTabs.stories.d.ts} +1 -1
  57. package/dist/stories/{Multitab.stories.d.ts → UI/tabs/Multitab.stories.d.ts} +1 -1
  58. package/dist/stories/{Text.stories.d.ts → UI/text/Text.stories.d.ts} +2 -2
  59. package/package.json +1 -1
  60. package/src/components/ChatRevamp/ChatContent.tsx +6 -0
  61. package/src/components/ChatRevamp/ChatRevamp.tsx +4 -0
  62. package/src/components/ChatRevamp/types.ts +2 -0
  63. package/src/stories/{CharacterSelection.stories.tsx → Character/character/CharacterSelection.stories.tsx} +6 -6
  64. package/src/stories/{CharacterStatus.stories.tsx → Character/character/CharacterStatus.stories.tsx} +3 -3
  65. package/src/stories/{EquipmentSet.stories.tsx → Character/equipment/EquipmentSet.stories.tsx} +8 -7
  66. package/src/stories/{SkillProgressBar.stories.tsx → Character/skills/SkillProgressBar.stories.tsx} +5 -5
  67. package/src/stories/{SkillsContainer.stories.tsx → Character/skills/SkillsContainer.stories.tsx} +6 -6
  68. package/src/stories/{Chat.stories.tsx → Features/chat/Chat.stories.tsx} +3 -3
  69. package/src/stories/{ChatDeprecated.stories.tsx → Features/chat/ChatDeprecated.stories.tsx} +3 -3
  70. package/src/stories/{ChatRevamp.stories.tsx → Features/chat/ChatRevamp.stories.tsx} +33 -4
  71. package/src/stories/{CircullarController.stories.tsx → Features/controller/CircullarController.stories.tsx} +8 -7
  72. package/src/stories/{CraftBook.stories.tsx → Features/craftbook/CraftBook.stories.tsx} +7 -7
  73. package/src/stories/{FriendList.stories.tsx → Features/friend/FriendList.stories.tsx} +3 -3
  74. package/src/stories/{Leaderboard.stories.tsx → Features/leaderboard/Leaderboard.stories.tsx} +4 -4
  75. package/src/stories/{PartyCreate.stories.tsx → Features/party/PartyCreate.stories.tsx} +6 -3
  76. package/src/stories/{PartyDashboard.stories.tsx → Features/party/PartyDashboard.stories.tsx} +4 -4
  77. package/src/stories/{PartyInvite.stories.tsx → Features/party/PartyInvite.stories.tsx} +4 -4
  78. package/src/stories/{PartyManager.stories.tsx → Features/party/PartyManager.stories.tsx} +4 -4
  79. package/src/stories/{QuestInfo.stories.tsx → Features/quest/QuestInfo.stories.tsx} +3 -3
  80. package/src/stories/{QuestList.stories.tsx → Features/quest/QuestList.stories.tsx} +6 -3
  81. package/src/stories/{Shortcuts.stories.tsx → Features/shortcuts/Shortcuts.stories.tsx} +10 -7
  82. package/src/stories/{SpellInfoDisplay.stories.tsx → Features/spells/SpellInfoDisplay.stories.tsx} +4 -4
  83. package/src/stories/{Spellbook.stories.tsx → Features/spells/Spellbook.stories.tsx} +10 -7
  84. package/src/stories/{ItemTradingComponent.stories.tsx → Features/trading/ItemTradingComponent.stories.tsx} +6 -6
  85. package/src/stories/{Marketplace.stories.tsx → Features/trading/Marketplace.stories.tsx} +7 -7
  86. package/src/stories/{MarketplaceRows.stories.tsx → Features/trading/MarketplaceRows.stories.tsx} +6 -6
  87. package/src/stories/{TradingMenu.stories.tsx → Features/trading/TradingMenu.stories.tsx} +7 -7
  88. package/src/stories/{DayNightPeriod.stories.tsx → Features/weather/DayNightPeriod.stories.tsx} +3 -3
  89. package/src/stories/{TimeWidget.stories.tsx → Features/weather/TimeWidget.stories.tsx} +3 -3
  90. package/src/stories/{ItemInfoDisplay.stories.tsx → Item/ItemInfoDisplay.stories.tsx} +7 -7
  91. package/src/stories/{NPCDialog.stories.tsx → NPC/dialog/NPCDialog.stories.tsx} +4 -4
  92. package/src/stories/{HistoryDialog.stories.tsx → NPC/dialog/NPCHistoryDialog.stories.tsx} +8 -8
  93. package/src/stories/{NPCMultiDialog.stories.tsx → NPC/dialog/NPCMultiDialog.stories.tsx} +4 -4
  94. package/src/stories/{RPGUIContainers.stories.tsx → UI/RPGUI/RPGUIContainers.stories.tsx} +3 -3
  95. package/src/stories/{StaticBook.stories.tsx → UI/books/StaticBook.stories.tsx} +3 -3
  96. package/src/stories/{Button.stories.tsx → UI/buttonsAndInputs/Button.stories.tsx} +3 -3
  97. package/src/stories/{CheckButton.stories.tsx → UI/buttonsAndInputs/CheckItem.stories.tsx} +5 -5
  98. package/src/stories/{RadioButton.stories.tsx → UI/buttonsAndInputs/RadioButton.stories.tsx} +4 -4
  99. package/src/stories/{RadioInput.stories.tsx → UI/buttonsAndInputs/RadioInput.stories.tsx} +7 -3
  100. package/src/stories/{DraggableContainer.stories.tsx → UI/containers/DraggableContainer.stories.tsx} +3 -3
  101. package/src/stories/{ItemContainer.stories.tsx → UI/containers/ItemContainer.stories.tsx} +10 -10
  102. package/src/stories/{Arrow.stories.tsx → UI/dropdownsAndSelectors/Arrow.stories.tsx} +5 -3
  103. package/src/stories/{Dropdown.stories.tsx → UI/dropdownsAndSelectors/Dropdown.stories.tsx} +3 -3
  104. package/src/stories/{DropdownSelectorContainer.stories.tsx → UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.tsx} +3 -3
  105. package/src/stories/{ItemQuantitySelector.stories.tsx → UI/dropdownsAndSelectors/ItemQuantitySelector.stories.tsx} +3 -3
  106. package/src/stories/{ItemSelector.stories.tsx → UI/dropdownsAndSelectors/ItemSelector.stories.tsx} +5 -5
  107. package/src/stories/{PropertySelect.stories.tsx → UI/dropdownsAndSelectors/PropertySelect.stories.tsx} +3 -3
  108. package/src/stories/{ImageCarousel.stories.tsx → UI/images/ImageCarousel.stories.tsx} +4 -4
  109. package/src/stories/{SimpleImageCarousel.stories.tsx → UI/images/SimpleImageCarousel.stories.tsx} +5 -5
  110. package/src/stories/{ListMenu.stories.tsx → UI/lists/ListMenu.stories.tsx} +3 -3
  111. package/src/stories/{ScrollList.stories.tsx → UI/lists/ScrollList.stories.tsx} +3 -3
  112. package/src/stories/UI/modals/ConfirmModal.stories.tsx +28 -0
  113. package/src/stories/UI/modals/ShopModal.stories.tsx +27 -0
  114. package/src/stories/{ProgressBar.stories.tsx → UI/progress/ProgressBar.stories.tsx} +3 -3
  115. package/src/stories/{SimpleProgressBar.stories.tsx → UI/progress/SimpleProgressBar.stories.tsx} +3 -3
  116. package/src/stories/{RangeSlider.stories.tsx → UI/sliders/RangeSlider.stories.tsx} +3 -3
  117. package/src/stories/{Stepper.stories.tsx → UI/steppers/Stepper.stories.tsx} +4 -4
  118. package/src/stories/{TutorialStepper.stories.tsx → UI/steppers/TutorialStepper.stories.tsx} +6 -6
  119. package/src/stories/{InternalTabs.stories.tsx → UI/tabs/InternalTabs.stories.tsx} +3 -3
  120. package/src/stories/{Multitab.stories.tsx → UI/tabs/Multitab.stories.tsx} +4 -4
  121. package/src/stories/{Text.stories.tsx → UI/text/Text.stories.tsx} +4 -4
  122. package/src/stories/ConfirmModal.stories.tsx +0 -25
  123. package/src/stories/ShopModal.stories.tsx +0 -24
  124. /package/dist/stories/{CharacterSelection.stories.d.ts → Character/character/CharacterSelection.stories.d.ts} +0 -0
  125. /package/dist/stories/{Chat.stories.d.ts → Features/chat/Chat.stories.d.ts} +0 -0
  126. /package/dist/stories/{ChatDeprecated.stories.d.ts → Features/chat/ChatDeprecated.stories.d.ts} +0 -0
  127. /package/dist/stories/{CraftBook.stories.d.ts → Features/craftbook/CraftBook.stories.d.ts} +0 -0
  128. /package/dist/stories/{FriendList.stories.d.ts → Features/friend/FriendList.stories.d.ts} +0 -0
  129. /package/dist/stories/{ItemTradingComponent.stories.d.ts → Features/trading/ItemTradingComponent.stories.d.ts} +0 -0
  130. /package/dist/stories/{Marketplace.stories.d.ts → Features/trading/Marketplace.stories.d.ts} +0 -0
  131. /package/dist/stories/{MarketplaceRows.stories.d.ts → Features/trading/MarketplaceRows.stories.d.ts} +0 -0
  132. /package/dist/stories/{ItemSelector.stories.d.ts → UI/dropdownsAndSelectors/ItemSelector.stories.d.ts} +0 -0
@@ -19,6 +19,8 @@ interface ChatContentProps {
19
19
  privateChatCharacters?: PrivateChatCharacter[];
20
20
  hideSearchCharacterUI: () => void;
21
21
  onCharacterClick?: (character: PrivateChatCharacter) => void;
22
+ isGuild: boolean;
23
+ onSendGuildChatMessage: (message: string) => void;
22
24
  }
23
25
  export declare const ChatContent: React.FC<ChatContentProps>;
24
26
  export {};
@@ -30,4 +30,6 @@ export interface IChatRevampProps {
30
30
  showSearchCharacterUI: () => void;
31
31
  minimizedByDefault?: boolean;
32
32
  autoCloseOnSend?: boolean;
33
+ onSendGuildChatMessage: (message: string) => void;
34
+ isInGuild: boolean;
33
35
  }
@@ -26577,7 +26577,9 @@ var ChatContent = function ChatContent(_ref) {
26577
26577
  onChangeCharacterName = _ref.onChangeCharacterName,
26578
26578
  privateChatCharacters = _ref.privateChatCharacters,
26579
26579
  hideSearchCharacterUI = _ref.hideSearchCharacterUI,
26580
- onCharacterClick = _ref.onCharacterClick;
26580
+ onCharacterClick = _ref.onCharacterClick,
26581
+ isGuild = _ref.isGuild,
26582
+ onSendGuildChatMessage = _ref.onSendGuildChatMessage;
26581
26583
  var handleSendMessage = function handleSendMessage(message) {
26582
26584
  if (autoCloseOnSend) {
26583
26585
  onCloseButton();
@@ -26586,6 +26588,8 @@ var ChatContent = function ChatContent(_ref) {
26586
26588
  onSendPrivateChatMessage(message);
26587
26589
  } else if (isTrade) {
26588
26590
  onSendTradeMessage(message);
26591
+ } else if (isGuild) {
26592
+ onSendGuildChatMessage(message);
26589
26593
  } else {
26590
26594
  onSendGlobalChatMessage(message);
26591
26595
  }
@@ -26783,6 +26787,7 @@ var CloseButton$2 = /*#__PURE__*/styled__default.button.withConfig({
26783
26787
  var ChatRevamp = function ChatRevamp(_ref) {
26784
26788
  var chatMessages = _ref.chatMessages,
26785
26789
  onSendGlobalChatMessage = _ref.onSendGlobalChatMessage,
26790
+ onSendGuildChatMessage = _ref.onSendGuildChatMessage,
26786
26791
  onChangeCharacterName = _ref.onChangeCharacterName,
26787
26792
  onFocus = _ref.onFocus,
26788
26793
  onBlur = _ref.onBlur,
@@ -26809,6 +26814,7 @@ var ChatRevamp = function ChatRevamp(_ref) {
26809
26814
  autoCloseOnSend = _ref.autoCloseOnSend;
26810
26815
  var isPrivate = activeTab === 'private';
26811
26816
  var isTrade = activeTab === 'trade';
26817
+ var isGuild = activeTab === 'guild';
26812
26818
  var chatHook = useChat({
26813
26819
  minimizedByDefault: minimizedByDefault,
26814
26820
  isPrivate: isPrivate,
@@ -26846,11 +26852,13 @@ var ChatRevamp = function ChatRevamp(_ref) {
26846
26852
  }, React__default.createElement(ChatContent, {
26847
26853
  isPrivate: isPrivate,
26848
26854
  isTrade: isTrade,
26855
+ isGuild: isGuild,
26849
26856
  searchCharacterUI: searchCharacterUI,
26850
26857
  chatMessages: chatMessages,
26851
26858
  onSendGlobalChatMessage: onSendGlobalChatMessage,
26852
26859
  onSendPrivateChatMessage: onSendPrivateChatMessage,
26853
26860
  onSendTradeMessage: onSendTradeMessage,
26861
+ onSendGuildChatMessage: onSendGuildChatMessage,
26854
26862
  onCloseButton: onCloseButton,
26855
26863
  styles: styles,
26856
26864
  onFocus: onFocus,