@rpg-engine/long-bow 0.5.32 → 0.5.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/components/DraggableContainer.d.ts +1 -1
- package/dist/components/RPGUI/RPGUIOverrides.d.ts +6 -0
- package/dist/components/{RPGUIRoot.d.ts → RPGUI/RPGUIRoot.d.ts} +1 -1
- package/dist/components/RPGUI/RPGUIScrollbar.d.ts +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/long-bow.cjs.development.js +32 -18
- 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 +32 -18
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/RPGUIContainers.stories.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Abstractions/SlotsContainer.tsx +1 -1
- package/src/components/Chatdeprecated/ChatDeprecated.tsx +1 -1
- package/src/components/CraftBook/CraftBook.tsx +1 -1
- package/src/components/DraggableContainer.tsx +1 -1
- package/src/components/Equipment/EquipmentSet.tsx +1 -1
- package/src/components/ImageCarousel/ImageCarousel.tsx +1 -1
- package/src/components/Item/Inventory/ItemQuantitySelector.tsx +4 -1
- package/src/components/Marketplace/Marketplace.tsx +1 -1
- package/src/components/Multitab/TabsContainer.tsx +1 -1
- package/src/components/NPCDialog/NPCDialog.tsx +1 -1
- package/src/components/NPCDialog/NPCMultiDialog.tsx +2 -2
- package/src/components/PartySystem/PartyCreate/PartyCreate.tsx +1 -1
- package/src/components/PartySystem/PartyDashboard/PartyDashboard.tsx +1 -1
- package/src/components/PartySystem/PartyInvite/PartyInvite.tsx +1 -1
- package/src/components/PartySystem/PartyManager/PartyManager.tsx +1 -1
- package/src/components/QuestInfo/QuestInfo.tsx +1 -1
- package/src/components/QuestList.tsx +1 -1
- package/src/components/RPGUI/RPGUIOverrides.tsx +9 -0
- package/src/components/{RPGUIRoot.tsx → RPGUI/RPGUIRoot.tsx} +7 -2
- package/src/components/RPGUI/RPGUIScrollbar.tsx +24 -0
- package/src/components/RadioInput/RadioInput.tsx +1 -1
- package/src/components/Spellbook/Spellbook.tsx +1 -1
- package/src/components/TradingMenu/TradingMenu.tsx +1 -1
- package/src/components/itemSelector/ItemSelector.tsx +1 -1
- package/src/index.tsx +2 -2
- package/src/stories/Button.stories.tsx +1 -1
- package/src/stories/CharacterStatus.stories.tsx +1 -1
- package/src/stories/Chat.stories.tsx +1 -1
- package/src/stories/ChatDeprecated.stories.tsx +1 -1
- package/src/stories/ChatRevamp.stories.tsx +1 -1
- package/src/stories/CheckButton.stories.tsx +2 -2
- package/src/stories/DayNightPeriod.stories.tsx +1 -1
- package/src/stories/DraggableContainer.stories.tsx +1 -1
- package/src/stories/EquipmentSet.stories.tsx +1 -1
- package/src/stories/HistoryDialog.stories.tsx +5 -5
- package/src/stories/ImageCarousel.stories.tsx +1 -1
- package/src/stories/ItemContainer.stories.tsx +1 -1
- package/src/stories/ItemInfoDisplay.stories.tsx +1 -1
- package/src/stories/ItemTradingComponent.stories.tsx +2 -2
- package/src/stories/Leaderboard.stories.tsx +1 -1
- package/src/stories/ListMenu.stories.tsx +1 -1
- package/src/stories/Multitab.stories.tsx +1 -1
- package/src/stories/NPCDialog.stories.tsx +1 -1
- package/src/stories/NPCMultiDialog.stories.tsx +3 -3
- package/src/stories/PartyCreate.stories.tsx +1 -1
- package/src/stories/PartyDashboard.stories.tsx +1 -1
- package/src/stories/PartyInvite.stories.tsx +1 -1
- package/src/stories/PartyManager.stories.tsx +1 -1
- package/src/stories/ProgressBar.stories.tsx +1 -1
- package/src/stories/QuestInfo.stories.tsx +1 -1
- package/src/stories/QuestList.stories.tsx +1 -1
- package/src/stories/RPGUIContainers.stories.tsx +2 -2
- package/src/stories/RadioButton.stories.tsx +3 -3
- package/src/stories/RadioInput.stories.tsx +25 -26
- package/src/stories/RangeSlider.stories.tsx +1 -1
- package/src/stories/ScrollList.stories.tsx +1 -1
- package/src/stories/Shortcuts.stories.tsx +1 -1
- package/src/stories/SimpleProgressBar.stories.tsx +1 -1
- package/src/stories/SkillProgressBar.stories.tsx +3 -3
- package/src/stories/SkillsContainer.stories.tsx +1 -1
- package/src/stories/SpellInfoDisplay.stories.tsx +1 -1
- package/src/stories/Spellbook.stories.tsx +1 -1
- package/src/stories/TimeWidget.stories.tsx +1 -1
- package/src/stories/TradingMenu.stories.tsx +2 -2
- /package/dist/components/{RPGUIContainer.d.ts → RPGUI/RPGUIContainer.d.ts} +0 -0
- /package/dist/components/{RPGUIForceRenderStart.d.ts → RPGUI/RPGUIForceRenderStart.d.ts} +0 -0
- /package/src/components/{RPGUIContainer.tsx → RPGUI/RPGUIContainer.tsx} +0 -0
- /package/src/components/{RPGUIForceRenderStart.tsx → RPGUI/RPGUIForceRenderStart.tsx} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import {
|
|
4
|
-
InputRadio,
|
|
5
4
|
IRadioItems,
|
|
6
5
|
IRadioProps,
|
|
6
|
+
InputRadio,
|
|
7
7
|
} from '../../src/components/RadioButton';
|
|
8
8
|
import {
|
|
9
9
|
RPGUIContainer,
|
|
10
10
|
RPGUIContainerTypes,
|
|
11
|
-
} from '
|
|
12
|
-
import { RPGUIRoot } from '
|
|
11
|
+
} from '../components/RPGUI/RPGUIContainer';
|
|
12
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
13
13
|
|
|
14
14
|
const meta: Meta = {
|
|
15
15
|
title: 'Radio Input',
|
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Meta, Story } from '@storybook/react';
|
|
3
|
-
import
|
|
4
|
-
import { RPGUIRoot } from '../components/RPGUIRoot';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
4
|
+
import { IRadioInput, RadioInput } from '../components/RadioInput/RadioInput';
|
|
5
5
|
import { Itools } from '../components/RadioInput/instruments';
|
|
6
6
|
|
|
7
|
-
const meta: Meta = {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
const meta: Meta = {
|
|
8
|
+
component: RadioInput,
|
|
9
|
+
};
|
|
10
10
|
|
|
11
11
|
export default meta;
|
|
12
12
|
const Template: Story<IRadioInput> = args => (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
<RPGUIRoot>
|
|
14
|
+
<RadioInput {...args} />
|
|
15
|
+
</RPGUIRoot>
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export const RadioInputElement = Template.bind({});
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const onClose = () => {
|
|
25
|
-
console.log('close');
|
|
26
|
-
};
|
|
20
|
+
const onSelectIt = (value: string): void => {
|
|
21
|
+
console.log('Story package', value);
|
|
22
|
+
};
|
|
27
23
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
onSelect:onSelectIt,
|
|
32
|
-
onCancel:onClose,
|
|
33
|
-
items:Itools
|
|
24
|
+
const onClose = () => {
|
|
25
|
+
console.log('close');
|
|
26
|
+
};
|
|
34
27
|
|
|
35
|
-
|
|
28
|
+
RadioInputElement.args = {
|
|
29
|
+
title: 'Harvesting instruments',
|
|
30
|
+
subtitle: 'Use the tool, you need it',
|
|
31
|
+
onSelect: onSelectIt,
|
|
32
|
+
onCancel: onClose,
|
|
33
|
+
items: Itools,
|
|
34
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '../../src/components/RPGUIRoot';
|
|
4
3
|
import { IListMenuProps, ListMenu } from '../../src/components/ScrollList';
|
|
4
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
5
5
|
|
|
6
6
|
const meta: Meta = {
|
|
7
7
|
/* 👇 The title prop is optional.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '../components/RPGUIRoot';
|
|
3
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
4
4
|
import { Shortcuts, ShortcutsProps } from '../components/Shortcuts/Shortcuts';
|
|
5
5
|
import { SHORTCUTS_STORAGE_KEY } from '../components/Spellbook/constants';
|
|
6
6
|
import atlasJSON from '../mocks/atlas/items/items.json';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '../../src/components/RPGUIRoot';
|
|
4
3
|
import {
|
|
5
4
|
ISimpleProgressBarProps,
|
|
6
5
|
SimpleProgressBar,
|
|
7
6
|
} from '../../src/components/SimpleProgressBar';
|
|
7
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
8
8
|
|
|
9
9
|
const meta: Meta = {
|
|
10
10
|
title: 'Simple Progress Bar',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '../../src/components/RPGUIRoot';
|
|
4
|
-
import atlasJSON from '../mocks/atlas/items/items.json';
|
|
5
|
-
import atlasIMG from '../mocks/atlas/items/items.png';
|
|
6
3
|
import {
|
|
7
4
|
ISkillProgressBarProps,
|
|
8
5
|
SkillProgressBar,
|
|
9
6
|
} from '../../src/components/SkillProgressBar';
|
|
7
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
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
12
|
title: 'Skill Progress Bar',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RPGUIRoot } from '../../src/components/RPGUIRoot';
|
|
4
3
|
import {
|
|
5
4
|
ISkillContainerProps,
|
|
6
5
|
SkillsContainer,
|
|
7
6
|
} from '../../src/components/SkillsContainer';
|
|
8
7
|
import { skillMock } from '../../src/mocks/skills.mocks';
|
|
8
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
9
9
|
import atlasJSON from '../mocks/atlas/items/items.json';
|
|
10
10
|
import atlasIMG from '../mocks/atlas/items/items.png';
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IRawSpell, IShortcut, ShortcutType } from '@rpg-engine/shared';
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
|
4
|
-
import { RPGUIRoot } from '../components/RPGUIRoot';
|
|
4
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
5
5
|
import { ISpellbookProps, Spellbook } from '../components/Spellbook/Spellbook';
|
|
6
6
|
import {
|
|
7
7
|
SHORTCUTS_STORAGE_KEY,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PeriodOfDay } from '@rpg-engine/shared';
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { RPGUIRoot } from '../components/RPGUIRoot';
|
|
4
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
5
5
|
import {
|
|
6
6
|
IClockWidgetProps,
|
|
7
7
|
TimeWidget,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ITradeRequestItem } from '@rpg-engine/shared';
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { RPGUIRoot } from '../components/RPGUIRoot';
|
|
5
|
-
import { itemMock } from '../components/TradingMenu/items.mock';
|
|
4
|
+
import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
|
|
6
5
|
import {
|
|
7
6
|
ITradingMenu,
|
|
8
7
|
TradingMenu,
|
|
9
8
|
} from '../components/TradingMenu/TradingMenu';
|
|
9
|
+
import { itemMock } from '../components/TradingMenu/items.mock';
|
|
10
10
|
import atlasJSON from '../mocks/atlas/items/items.json';
|
|
11
11
|
import atlasIMG from '../mocks/atlas/items/items.png';
|
|
12
12
|
import { equipmentSetMock } from '../mocks/equipmentSet.mocks';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|