@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.
- package/dist/components/ChatRevamp/ChatContent.d.ts +2 -0
- package/dist/components/ChatRevamp/types.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +9 -1
- 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 +9 -1
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/{CharacterStatus.stories.d.ts → Character/character/CharacterStatus.stories.d.ts} +1 -1
- package/dist/stories/{EquipmentSet.stories.d.ts → Character/equipment/EquipmentSet.stories.d.ts} +1 -1
- package/dist/stories/{SkillProgressBar.stories.d.ts → Character/skills/SkillProgressBar.stories.d.ts} +1 -1
- package/dist/stories/{SkillsContainer.stories.d.ts → Character/skills/SkillsContainer.stories.d.ts} +1 -1
- package/dist/stories/{ChatRevamp.stories.d.ts → Features/chat/ChatRevamp.stories.d.ts} +2 -1
- package/dist/stories/{CircullarController.stories.d.ts → Features/controller/CircullarController.stories.d.ts} +1 -1
- package/dist/stories/{Leaderboard.stories.d.ts → Features/leaderboard/Leaderboard.stories.d.ts} +1 -1
- package/dist/stories/{PartyCreate.stories.d.ts → Features/party/PartyCreate.stories.d.ts} +1 -1
- package/dist/stories/{PartyDashboard.stories.d.ts → Features/party/PartyDashboard.stories.d.ts} +1 -1
- package/dist/stories/{PartyInvite.stories.d.ts → Features/party/PartyInvite.stories.d.ts} +1 -1
- package/dist/stories/{PartyManager.stories.d.ts → Features/party/PartyManager.stories.d.ts} +1 -1
- package/dist/stories/{QuestInfo.stories.d.ts → Features/quest/QuestInfo.stories.d.ts} +1 -1
- package/dist/stories/{QuestList.stories.d.ts → Features/quest/QuestList.stories.d.ts} +1 -1
- package/dist/stories/{Shortcuts.stories.d.ts → Features/shortcuts/Shortcuts.stories.d.ts} +1 -1
- package/dist/stories/{SpellInfoDisplay.stories.d.ts → Features/spells/SpellInfoDisplay.stories.d.ts} +1 -1
- package/dist/stories/{Spellbook.stories.d.ts → Features/spells/Spellbook.stories.d.ts} +1 -1
- package/dist/stories/{TradingMenu.stories.d.ts → Features/trading/TradingMenu.stories.d.ts} +1 -1
- package/dist/stories/{DayNightPeriod.stories.d.ts → Features/weather/DayNightPeriod.stories.d.ts} +1 -1
- package/dist/stories/{TimeWidget.stories.d.ts → Features/weather/TimeWidget.stories.d.ts} +1 -1
- package/dist/stories/{ItemInfoDisplay.stories.d.ts → Item/ItemInfoDisplay.stories.d.ts} +1 -1
- package/dist/stories/{NPCDialog.stories.d.ts → NPC/dialog/NPCDialog.stories.d.ts} +1 -1
- package/dist/stories/{HistoryDialog.stories.d.ts → NPC/dialog/NPCHistoryDialog.stories.d.ts} +1 -1
- package/dist/stories/{NPCMultiDialog.stories.d.ts → NPC/dialog/NPCMultiDialog.stories.d.ts} +1 -1
- package/dist/stories/{RPGUIContainers.stories.d.ts → UI/RPGUI/RPGUIContainers.stories.d.ts} +1 -1
- package/dist/stories/{StaticBook.stories.d.ts → UI/books/StaticBook.stories.d.ts} +1 -1
- package/dist/stories/{Button.stories.d.ts → UI/buttonsAndInputs/Button.stories.d.ts} +1 -1
- package/dist/stories/{CheckButton.stories.d.ts → UI/buttonsAndInputs/CheckItem.stories.d.ts} +2 -2
- package/dist/stories/{RadioButton.stories.d.ts → UI/buttonsAndInputs/RadioButton.stories.d.ts} +1 -1
- package/dist/stories/{RadioInput.stories.d.ts → UI/buttonsAndInputs/RadioInput.stories.d.ts} +1 -1
- package/dist/stories/{DraggableContainer.stories.d.ts → UI/containers/DraggableContainer.stories.d.ts} +1 -1
- package/dist/stories/{ItemContainer.stories.d.ts → UI/containers/ItemContainer.stories.d.ts} +1 -1
- package/dist/stories/{Arrow.stories.d.ts → UI/dropdownsAndSelectors/Arrow.stories.d.ts} +1 -1
- package/dist/stories/{Dropdown.stories.d.ts → UI/dropdownsAndSelectors/Dropdown.stories.d.ts} +1 -1
- package/dist/stories/{DropdownSelectorContainer.stories.d.ts → UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.d.ts} +1 -1
- package/dist/stories/{ItemQuantitySelector.stories.d.ts → UI/dropdownsAndSelectors/ItemQuantitySelector.stories.d.ts} +1 -1
- package/dist/stories/{PropertySelect.stories.d.ts → UI/dropdownsAndSelectors/PropertySelect.stories.d.ts} +1 -1
- package/dist/stories/{ImageCarousel.stories.d.ts → UI/images/ImageCarousel.stories.d.ts} +1 -1
- package/dist/stories/{SimpleImageCarousel.stories.d.ts → UI/images/SimpleImageCarousel.stories.d.ts} +1 -1
- package/dist/stories/{ListMenu.stories.d.ts → UI/lists/ListMenu.stories.d.ts} +1 -1
- package/dist/stories/{ScrollList.stories.d.ts → UI/lists/ScrollList.stories.d.ts} +1 -1
- package/dist/stories/{ConfirmModal.stories.d.ts → UI/modals/ConfirmModal.stories.d.ts} +1 -1
- package/dist/stories/{ShopModal.stories.d.ts → UI/modals/ShopModal.stories.d.ts} +1 -1
- package/dist/stories/{ProgressBar.stories.d.ts → UI/progress/ProgressBar.stories.d.ts} +1 -1
- package/dist/stories/{SimpleProgressBar.stories.d.ts → UI/progress/SimpleProgressBar.stories.d.ts} +1 -1
- package/dist/stories/{RangeSlider.stories.d.ts → UI/sliders/RangeSlider.stories.d.ts} +1 -1
- package/dist/stories/{Stepper.stories.d.ts → UI/steppers/Stepper.stories.d.ts} +1 -1
- package/dist/stories/{TutorialStepper.stories.d.ts → UI/steppers/TutorialStepper.stories.d.ts} +1 -1
- package/dist/stories/{InternalTabs.stories.d.ts → UI/tabs/InternalTabs.stories.d.ts} +1 -1
- package/dist/stories/{Multitab.stories.d.ts → UI/tabs/Multitab.stories.d.ts} +1 -1
- package/dist/stories/{Text.stories.d.ts → UI/text/Text.stories.d.ts} +2 -2
- package/package.json +1 -1
- package/src/components/ChatRevamp/ChatContent.tsx +6 -0
- package/src/components/ChatRevamp/ChatRevamp.tsx +4 -0
- package/src/components/ChatRevamp/types.ts +2 -0
- package/src/stories/{CharacterSelection.stories.tsx → Character/character/CharacterSelection.stories.tsx} +6 -6
- package/src/stories/{CharacterStatus.stories.tsx → Character/character/CharacterStatus.stories.tsx} +3 -3
- package/src/stories/{EquipmentSet.stories.tsx → Character/equipment/EquipmentSet.stories.tsx} +8 -7
- package/src/stories/{SkillProgressBar.stories.tsx → Character/skills/SkillProgressBar.stories.tsx} +5 -5
- package/src/stories/{SkillsContainer.stories.tsx → Character/skills/SkillsContainer.stories.tsx} +6 -6
- package/src/stories/{Chat.stories.tsx → Features/chat/Chat.stories.tsx} +3 -3
- package/src/stories/{ChatDeprecated.stories.tsx → Features/chat/ChatDeprecated.stories.tsx} +3 -3
- package/src/stories/{ChatRevamp.stories.tsx → Features/chat/ChatRevamp.stories.tsx} +33 -4
- package/src/stories/{CircullarController.stories.tsx → Features/controller/CircullarController.stories.tsx} +8 -7
- package/src/stories/{CraftBook.stories.tsx → Features/craftbook/CraftBook.stories.tsx} +7 -7
- package/src/stories/{FriendList.stories.tsx → Features/friend/FriendList.stories.tsx} +3 -3
- package/src/stories/{Leaderboard.stories.tsx → Features/leaderboard/Leaderboard.stories.tsx} +4 -4
- package/src/stories/{PartyCreate.stories.tsx → Features/party/PartyCreate.stories.tsx} +6 -3
- package/src/stories/{PartyDashboard.stories.tsx → Features/party/PartyDashboard.stories.tsx} +4 -4
- package/src/stories/{PartyInvite.stories.tsx → Features/party/PartyInvite.stories.tsx} +4 -4
- package/src/stories/{PartyManager.stories.tsx → Features/party/PartyManager.stories.tsx} +4 -4
- package/src/stories/{QuestInfo.stories.tsx → Features/quest/QuestInfo.stories.tsx} +3 -3
- package/src/stories/{QuestList.stories.tsx → Features/quest/QuestList.stories.tsx} +6 -3
- package/src/stories/{Shortcuts.stories.tsx → Features/shortcuts/Shortcuts.stories.tsx} +10 -7
- package/src/stories/{SpellInfoDisplay.stories.tsx → Features/spells/SpellInfoDisplay.stories.tsx} +4 -4
- package/src/stories/{Spellbook.stories.tsx → Features/spells/Spellbook.stories.tsx} +10 -7
- package/src/stories/{ItemTradingComponent.stories.tsx → Features/trading/ItemTradingComponent.stories.tsx} +6 -6
- package/src/stories/{Marketplace.stories.tsx → Features/trading/Marketplace.stories.tsx} +7 -7
- package/src/stories/{MarketplaceRows.stories.tsx → Features/trading/MarketplaceRows.stories.tsx} +6 -6
- package/src/stories/{TradingMenu.stories.tsx → Features/trading/TradingMenu.stories.tsx} +7 -7
- package/src/stories/{DayNightPeriod.stories.tsx → Features/weather/DayNightPeriod.stories.tsx} +3 -3
- package/src/stories/{TimeWidget.stories.tsx → Features/weather/TimeWidget.stories.tsx} +3 -3
- package/src/stories/{ItemInfoDisplay.stories.tsx → Item/ItemInfoDisplay.stories.tsx} +7 -7
- package/src/stories/{NPCDialog.stories.tsx → NPC/dialog/NPCDialog.stories.tsx} +4 -4
- package/src/stories/{HistoryDialog.stories.tsx → NPC/dialog/NPCHistoryDialog.stories.tsx} +8 -8
- package/src/stories/{NPCMultiDialog.stories.tsx → NPC/dialog/NPCMultiDialog.stories.tsx} +4 -4
- package/src/stories/{RPGUIContainers.stories.tsx → UI/RPGUI/RPGUIContainers.stories.tsx} +3 -3
- package/src/stories/{StaticBook.stories.tsx → UI/books/StaticBook.stories.tsx} +3 -3
- package/src/stories/{Button.stories.tsx → UI/buttonsAndInputs/Button.stories.tsx} +3 -3
- package/src/stories/{CheckButton.stories.tsx → UI/buttonsAndInputs/CheckItem.stories.tsx} +5 -5
- package/src/stories/{RadioButton.stories.tsx → UI/buttonsAndInputs/RadioButton.stories.tsx} +4 -4
- package/src/stories/{RadioInput.stories.tsx → UI/buttonsAndInputs/RadioInput.stories.tsx} +7 -3
- package/src/stories/{DraggableContainer.stories.tsx → UI/containers/DraggableContainer.stories.tsx} +3 -3
- package/src/stories/{ItemContainer.stories.tsx → UI/containers/ItemContainer.stories.tsx} +10 -10
- package/src/stories/{Arrow.stories.tsx → UI/dropdownsAndSelectors/Arrow.stories.tsx} +5 -3
- package/src/stories/{Dropdown.stories.tsx → UI/dropdownsAndSelectors/Dropdown.stories.tsx} +3 -3
- package/src/stories/{DropdownSelectorContainer.stories.tsx → UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.tsx} +3 -3
- package/src/stories/{ItemQuantitySelector.stories.tsx → UI/dropdownsAndSelectors/ItemQuantitySelector.stories.tsx} +3 -3
- package/src/stories/{ItemSelector.stories.tsx → UI/dropdownsAndSelectors/ItemSelector.stories.tsx} +5 -5
- package/src/stories/{PropertySelect.stories.tsx → UI/dropdownsAndSelectors/PropertySelect.stories.tsx} +3 -3
- package/src/stories/{ImageCarousel.stories.tsx → UI/images/ImageCarousel.stories.tsx} +4 -4
- package/src/stories/{SimpleImageCarousel.stories.tsx → UI/images/SimpleImageCarousel.stories.tsx} +5 -5
- package/src/stories/{ListMenu.stories.tsx → UI/lists/ListMenu.stories.tsx} +3 -3
- package/src/stories/{ScrollList.stories.tsx → UI/lists/ScrollList.stories.tsx} +3 -3
- package/src/stories/UI/modals/ConfirmModal.stories.tsx +28 -0
- package/src/stories/UI/modals/ShopModal.stories.tsx +27 -0
- package/src/stories/{ProgressBar.stories.tsx → UI/progress/ProgressBar.stories.tsx} +3 -3
- package/src/stories/{SimpleProgressBar.stories.tsx → UI/progress/SimpleProgressBar.stories.tsx} +3 -3
- package/src/stories/{RangeSlider.stories.tsx → UI/sliders/RangeSlider.stories.tsx} +3 -3
- package/src/stories/{Stepper.stories.tsx → UI/steppers/Stepper.stories.tsx} +4 -4
- package/src/stories/{TutorialStepper.stories.tsx → UI/steppers/TutorialStepper.stories.tsx} +6 -6
- package/src/stories/{InternalTabs.stories.tsx → UI/tabs/InternalTabs.stories.tsx} +3 -3
- package/src/stories/{Multitab.stories.tsx → UI/tabs/Multitab.stories.tsx} +4 -4
- package/src/stories/{Text.stories.tsx → UI/text/Text.stories.tsx} +4 -4
- package/src/stories/ConfirmModal.stories.tsx +0 -25
- package/src/stories/ShopModal.stories.tsx +0 -24
- /package/dist/stories/{CharacterSelection.stories.d.ts → Character/character/CharacterSelection.stories.d.ts} +0 -0
- /package/dist/stories/{Chat.stories.d.ts → Features/chat/Chat.stories.d.ts} +0 -0
- /package/dist/stories/{ChatDeprecated.stories.d.ts → Features/chat/ChatDeprecated.stories.d.ts} +0 -0
- /package/dist/stories/{CraftBook.stories.d.ts → Features/craftbook/CraftBook.stories.d.ts} +0 -0
- /package/dist/stories/{FriendList.stories.d.ts → Features/friend/FriendList.stories.d.ts} +0 -0
- /package/dist/stories/{ItemTradingComponent.stories.d.ts → Features/trading/ItemTradingComponent.stories.d.ts} +0 -0
- /package/dist/stories/{Marketplace.stories.d.ts → Features/trading/Marketplace.stories.d.ts} +0 -0
- /package/dist/stories/{MarketplaceRows.stories.d.ts → Features/trading/MarketplaceRows.stories.d.ts} +0 -0
- /package/dist/stories/{ItemSelector.stories.d.ts → UI/dropdownsAndSelectors/ItemSelector.stories.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ICharacterStatusProps } from '
|
|
2
|
+
import { ICharacterStatusProps } from '../../../components/CharacterStatus/CharacterStatus';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ICharacterStatusProps>;
|
package/dist/stories/{EquipmentSet.stories.d.ts → Character/equipment/EquipmentSet.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IEquipmentSetProps } from '
|
|
2
|
+
import { IEquipmentSetProps } from '../../../components/Equipment/EquipmentSet';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IEquipmentSetProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISkillProgressBarProps } from '
|
|
2
|
+
import { ISkillProgressBarProps } from '../../../components/SkillProgressBar';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISkillProgressBarProps>;
|
package/dist/stories/{SkillsContainer.stories.d.ts → Character/skills/SkillsContainer.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISkillContainerProps } from '
|
|
2
|
+
import { ISkillContainerProps } from '../../../components/SkillsContainer';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISkillContainerProps>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IChatRevampProps } from '
|
|
2
|
+
import { IChatRevampProps } from '../../../components/ChatRevamp/types';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IChatRevampProps>;
|
|
6
6
|
export declare const Private: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IChatRevampProps>;
|
|
7
7
|
export declare const Trade: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IChatRevampProps>;
|
|
8
|
+
export declare const Guild: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IChatRevampProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { CircularControllerProps } from '
|
|
2
|
+
import { CircularControllerProps } from '../../../components/CircularController/CircularController';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CircularControllerProps>;
|
package/dist/stories/{Leaderboard.stories.d.ts → Features/leaderboard/Leaderboard.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ILeaderboardProps } from '
|
|
2
|
+
import { ILeaderboardProps } from '../../../components/Leaderboard/Leaderboard';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ILeaderboardProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPartyCreateProps } from '
|
|
2
|
+
import { IPartyCreateProps } from '../../../components/PartySystem';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPartyCreateProps>;
|
package/dist/stories/{PartyDashboard.stories.d.ts → Features/party/PartyDashboard.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPartyDashboardProps } from '
|
|
2
|
+
import { IPartyDashboardProps } from '../../../components/PartySystem/PartyDashboard/PartyDashboard';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPartyDashboardProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPartyInviteProps } from '
|
|
2
|
+
import { IPartyInviteProps } from '../../../components/PartySystem/PartyInvite/PartyInvite';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPartyInviteProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPartyManagerProps } from '
|
|
2
|
+
import { IPartyManagerProps } from '../../../components/PartySystem/PartyManager/PartyManager';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const YouAreLeader: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPartyManagerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IQuestInfoProps } from '
|
|
2
|
+
import { IQuestInfoProps } from '../../../components/Quests/QuestInfo/QuestInfo';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IQuestInfoProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ShortcutsProps } from '
|
|
2
|
+
import { ShortcutsProps } from '../../../components/Shortcuts/Shortcuts';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ShortcutsProps>;
|
package/dist/stories/{SpellInfoDisplay.stories.d.ts → Features/spells/SpellInfoDisplay.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ISpellInfoDisplayProps } from '
|
|
2
|
+
import { ISpellInfoDisplayProps } from '../../../components/Spellbook/cards/SpellInfoDisplay';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: React.FC<ISpellInfoDisplayProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISpellbookProps } from '
|
|
2
|
+
import { ISpellbookProps } from '../../../components/Spellbook/Spellbook';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISpellbookProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ITradingMenu } from '
|
|
2
|
+
import { ITradingMenu } from '../../../components/TradingMenu/TradingMenu';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITradingMenu>;
|
package/dist/stories/{DayNightPeriod.stories.d.ts → Features/weather/DayNightPeriod.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPeriodOfDayDisplayProps } from '
|
|
2
|
+
import { IPeriodOfDayDisplayProps } from '../../../components/TimeWidget/DayNightPeriod/DayNightPeriod';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPeriodOfDayDisplayProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IClockWidgetProps } from '
|
|
2
|
+
import { IClockWidgetProps } from '../../../components/TimeWidget/TimeWidget';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IClockWidgetProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IItemInfoDisplayProps } from '
|
|
2
|
+
import { IItemInfoDisplayProps } from '../../components/Item/Cards/ItemInfoDisplay';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: React.FC<IItemInfoDisplayProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { INPCDialogProps } from '
|
|
2
|
+
import { INPCDialogProps } from '../../../components/NPCDialog/NPCDialog';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const TextAndThumbnail: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, INPCDialogProps>;
|
package/dist/stories/{HistoryDialog.stories.d.ts → NPC/dialog/NPCHistoryDialog.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IHistoryDialogProps } from '
|
|
2
|
+
import { IHistoryDialogProps } from '../../../components/HistoryDialog';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const HistoryDialogStore: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IHistoryDialogProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { INPCMultiDialogProps } from '
|
|
2
|
+
import { INPCMultiDialogProps } from '../../../components/NPCDialog/NPCMultiDialog';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const NPCMultiDialogStore: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, INPCMultiDialogProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IRPGUIContainerProps } from '
|
|
2
|
+
import { IRPGUIContainerProps } from '../../../components/RPGUI/RPGUIContainer';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IRPGUIContainerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IStaticBookProps } from '
|
|
2
|
+
import { IStaticBookProps } from '../../../components/StaticBook/StaticBook';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IStaticBookProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IButtonProps } from '
|
|
2
|
+
import { IButtonProps } from '../../../components/Button';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IButtonProps>;
|
package/dist/stories/{CheckButton.stories.d.ts → UI/buttonsAndInputs/CheckItem.stories.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ICheckProps } from '
|
|
3
|
-
import { ICheckItemProps } from '
|
|
2
|
+
import { ICheckProps } from '../../../components/CheckButton';
|
|
3
|
+
import { ICheckItemProps } from '../../../components/CheckItem';
|
|
4
4
|
declare const meta: Meta;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ICheckProps>;
|
package/dist/stories/{RadioButton.stories.d.ts → UI/buttonsAndInputs/RadioButton.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IRadioProps } from '
|
|
2
|
+
import { IRadioProps } from '../../../components/RadioButton';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IRadioProps>;
|
package/dist/stories/{RadioInput.stories.d.ts → UI/buttonsAndInputs/RadioInput.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IRadioInput } from '
|
|
2
|
+
import { IRadioInput } from '../../../components/RadioInput/RadioInput';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const RadioInputElement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IRadioInput>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IDraggableContainerProps } from '
|
|
2
|
+
import { IDraggableContainerProps } from '../../../components/DraggableContainer';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IDraggableContainerProps>;
|
package/dist/stories/{ItemContainer.stories.d.ts → UI/containers/ItemContainer.stories.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ItemContainerType } from '@rpg-engine/shared';
|
|
2
2
|
import { Meta } from '@storybook/react';
|
|
3
|
-
import { IItemContainerProps } from '
|
|
3
|
+
import { IItemContainerProps } from '../../../components/Item/Inventory/ItemContainer';
|
|
4
4
|
declare const meta: Meta;
|
|
5
5
|
export default meta;
|
|
6
6
|
interface ITemplateProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ArrowBarProps } from '
|
|
2
|
+
import { ArrowBarProps } from '../../../components/Arrow/SelectArrow';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ArrowBarProps>;
|
package/dist/stories/{Dropdown.stories.d.ts → UI/dropdownsAndSelectors/Dropdown.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IDropdownProps } from '
|
|
2
|
+
import { IDropdownProps } from '../../../components/Dropdown';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IDropdownProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IDropdownSelectorContainer } from '
|
|
2
|
+
import { IDropdownSelectorContainer } from '../../../components/DropdownSelectorContainer';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IDropdownSelectorContainer>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IItemQuantitySelectorProps } from '
|
|
2
|
+
import { IItemQuantitySelectorProps } from '../../../components/Item/Inventory/ItemQuantitySelector';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IItemQuantitySelectorProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IPropertySelectProps } from '
|
|
2
|
+
import { IPropertySelectProps } from '../../../components/PropertySelect/PropertySelect';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IPropertySelectProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IImageCarouselProps } from '
|
|
2
|
+
import { IImageCarouselProps } from '../../../components/ImageCarousel/ImageCarousel';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const OverlayImageWithText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IImageCarouselProps>;
|
package/dist/stories/{SimpleImageCarousel.stories.d.ts → UI/images/SimpleImageCarousel.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISimpleImageCarousel } from '
|
|
2
|
+
import { ISimpleImageCarousel } from '../../../components/ImageCarousel/SimpleImageCarousel';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const SimpleImageCarouselStory: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISimpleImageCarousel>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IListMenuProps } from '
|
|
2
|
+
import { IListMenuProps } from '../../../components/ListMenu';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IListMenuProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IListMenuProps } from '
|
|
2
|
+
import { IListMenuProps } from '../../../components/ScrollList';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IListMenuProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IConfirmModalProps } from '
|
|
2
|
+
import { IConfirmModalProps } from '../../../components/ConfirmModal';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IConfirmModalProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IShopModalProps } from '
|
|
2
|
+
import { IShopModalProps } from '../../../components/ShopModal/ShopModal';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IShopModalProps>;
|
package/dist/stories/{SimpleProgressBar.stories.d.ts → UI/progress/SimpleProgressBar.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISimpleProgressBarProps } from '
|
|
2
|
+
import { ISimpleProgressBarProps } from '../../../components/SimpleProgressBar';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISimpleProgressBarProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IRangeSliderProps } from '
|
|
2
|
+
import { IRangeSliderProps } from '../../../components/RangeSlider';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IRangeSliderProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ArrowBarProps } from '
|
|
2
|
+
import { ArrowBarProps } from '../../../components/Arrow/SelectArrow';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ArrowBarProps>;
|
package/dist/stories/{TutorialStepper.stories.d.ts → UI/steppers/TutorialStepper.stories.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ITutorialStepperProps } from '
|
|
2
|
+
import { ITutorialStepperProps } from '../../../components/Tutorial/TutorialStepper';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITutorialStepperProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { TableTabProps } from '
|
|
2
|
+
import { TableTabProps } from '../../../components/InternalTabs/InternalTabs';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableTabProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ITabsContainer } from '
|
|
2
|
+
import { ITabsContainer } from '../../..';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Brown: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITabsContainer>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IInputProps } from '
|
|
3
|
-
import { ITextArea } from '
|
|
2
|
+
import { IInputProps } from '../../../../src/components/Input';
|
|
3
|
+
import { ITextArea } from '../../../../src/components/TextArea';
|
|
4
4
|
declare const meta: Meta;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Input: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IInputProps>;
|
package/package.json
CHANGED
|
@@ -22,6 +22,8 @@ interface ChatContentProps {
|
|
|
22
22
|
privateChatCharacters?: PrivateChatCharacter[];
|
|
23
23
|
hideSearchCharacterUI: () => void;
|
|
24
24
|
onCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
25
|
+
isGuild: boolean;
|
|
26
|
+
onSendGuildChatMessage: (message: string) => void;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
export const ChatContent: React.FC<ChatContentProps> = ({
|
|
@@ -42,6 +44,8 @@ export const ChatContent: React.FC<ChatContentProps> = ({
|
|
|
42
44
|
privateChatCharacters,
|
|
43
45
|
hideSearchCharacterUI,
|
|
44
46
|
onCharacterClick,
|
|
47
|
+
isGuild,
|
|
48
|
+
onSendGuildChatMessage,
|
|
45
49
|
}) => {
|
|
46
50
|
const handleSendMessage = (message: string) => {
|
|
47
51
|
if (autoCloseOnSend) {
|
|
@@ -52,6 +56,8 @@ export const ChatContent: React.FC<ChatContentProps> = ({
|
|
|
52
56
|
onSendPrivateChatMessage(message);
|
|
53
57
|
} else if (isTrade) {
|
|
54
58
|
onSendTradeMessage(message);
|
|
59
|
+
} else if (isGuild) {
|
|
60
|
+
onSendGuildChatMessage(message);
|
|
55
61
|
} else {
|
|
56
62
|
onSendGlobalChatMessage(message);
|
|
57
63
|
}
|
|
@@ -11,6 +11,7 @@ import { IChatRevampProps } from './types';
|
|
|
11
11
|
export const ChatRevamp: React.FC<IChatRevampProps> = ({
|
|
12
12
|
chatMessages,
|
|
13
13
|
onSendGlobalChatMessage,
|
|
14
|
+
onSendGuildChatMessage, // Add this new prop
|
|
14
15
|
onChangeCharacterName,
|
|
15
16
|
onFocus,
|
|
16
17
|
onBlur,
|
|
@@ -36,6 +37,7 @@ export const ChatRevamp: React.FC<IChatRevampProps> = ({
|
|
|
36
37
|
}) => {
|
|
37
38
|
const isPrivate = activeTab === 'private';
|
|
38
39
|
const isTrade = activeTab === 'trade';
|
|
40
|
+
const isGuild = activeTab === 'guild';
|
|
39
41
|
|
|
40
42
|
const chatHook = useChat({
|
|
41
43
|
minimizedByDefault,
|
|
@@ -88,11 +90,13 @@ export const ChatRevamp: React.FC<IChatRevampProps> = ({
|
|
|
88
90
|
<ChatContent
|
|
89
91
|
isPrivate={isPrivate}
|
|
90
92
|
isTrade={isTrade}
|
|
93
|
+
isGuild={isGuild}
|
|
91
94
|
searchCharacterUI={searchCharacterUI}
|
|
92
95
|
chatMessages={chatMessages}
|
|
93
96
|
onSendGlobalChatMessage={onSendGlobalChatMessage}
|
|
94
97
|
onSendPrivateChatMessage={onSendPrivateChatMessage}
|
|
95
98
|
onSendTradeMessage={onSendTradeMessage}
|
|
99
|
+
onSendGuildChatMessage={onSendGuildChatMessage}
|
|
96
100
|
onCloseButton={onCloseButton}
|
|
97
101
|
styles={styles}
|
|
98
102
|
onFocus={onFocus}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '
|
|
3
|
+
import { RPGUIRoot } from '../../..';
|
|
4
4
|
import CharacterSelection, {
|
|
5
5
|
ICharacterProps,
|
|
6
|
-
} from '
|
|
7
|
-
import atlasJSON from '
|
|
8
|
-
import atlasIMG from '
|
|
6
|
+
} from '../../../components/Character/CharacterSelection';
|
|
7
|
+
import atlasJSON from '../../../mocks/atlas/entities/entities.json';
|
|
8
|
+
import atlasIMG from '../../../mocks/atlas/entities/entities.png';
|
|
9
9
|
|
|
10
10
|
const meta: Meta = {
|
|
11
|
-
title: 'Character
|
|
11
|
+
title: 'Character/Character/Selection',
|
|
12
12
|
component: CharacterSelection,
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export default meta;
|
|
16
16
|
|
|
17
|
-
const Template: Story<any> =
|
|
17
|
+
const Template: Story<any> = args => (
|
|
18
18
|
<RPGUIRoot>
|
|
19
19
|
<CharacterSelection {...args} />
|
|
20
20
|
</RPGUIRoot>
|
package/src/stories/{CharacterStatus.stories.tsx → Character/character/CharacterStatus.stories.tsx}
RENAMED
|
@@ -3,11 +3,11 @@ import React from 'react';
|
|
|
3
3
|
import {
|
|
4
4
|
CharacterStatus,
|
|
5
5
|
ICharacterStatusProps,
|
|
6
|
-
} from '
|
|
7
|
-
import { RPGUIRoot } from '
|
|
6
|
+
} from '../../../components/CharacterStatus/CharacterStatus';
|
|
7
|
+
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';
|
|
8
8
|
|
|
9
9
|
const meta: Meta = {
|
|
10
|
-
title: 'Character
|
|
10
|
+
title: 'Character/Character/Status',
|
|
11
11
|
component: CharacterStatus,
|
|
12
12
|
};
|
|
13
13
|
|
package/src/stories/{EquipmentSet.stories.tsx → Character/equipment/EquipmentSet.stories.tsx}
RENAMED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { IItem, ItemContainerType, ItemType } from '@rpg-engine/shared';
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
4
5
|
import {
|
|
5
6
|
EquipmentSet,
|
|
6
7
|
IEquipmentSetProps,
|
|
7
|
-
} from '
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { IPosition } from '
|
|
8
|
+
} from '../../../components/Equipment/EquipmentSet';
|
|
9
|
+
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';
|
|
10
|
+
import atlasJSON from '../../../mocks/atlas/items/items.json';
|
|
11
|
+
import atlasIMG from '../../../mocks/atlas/items/items.png';
|
|
12
|
+
import { equipmentSetMock } from '../../../mocks/equipmentSet.mocks';
|
|
13
|
+
import { IPosition } from '../../../types/eventTypes';
|
|
13
14
|
|
|
14
15
|
const meta: Meta = {
|
|
15
|
-
title: 'Equipment Set',
|
|
16
|
+
title: 'Character/Equipment/Equipment Set',
|
|
16
17
|
component: EquipmentSet,
|
|
17
18
|
};
|
|
18
19
|
|
package/src/stories/{SkillProgressBar.stories.tsx → Character/skills/SkillProgressBar.stories.tsx}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';
|
|
3
4
|
import {
|
|
4
5
|
ISkillProgressBarProps,
|
|
5
6
|
SkillProgressBar,
|
|
6
|
-
} from '
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import atlasIMG from '../mocks/atlas/items/items.png';
|
|
7
|
+
} from '../../../components/SkillProgressBar';
|
|
8
|
+
import atlasJSON from '../../../mocks/atlas/items/items.json';
|
|
9
|
+
import atlasIMG from '../../../mocks/atlas/items/items.png';
|
|
10
10
|
|
|
11
11
|
const meta: Meta = {
|
|
12
|
-
title: 'Skill Progress Bar',
|
|
12
|
+
title: 'Character/Skills/Skill Progress Bar',
|
|
13
13
|
component: SkillProgressBar,
|
|
14
14
|
};
|
|
15
15
|
|