@rpg-engine/long-bow 0.8.34 → 0.8.35
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 +38 -97
- 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 +38 -97
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/InformationCenter/InformationCenter.tsx +0 -13
- package/src/stories/UI/info/InformationCenter.stories.tsx +2 -2
package/package.json
CHANGED
|
@@ -11,7 +11,6 @@ import { DraggableContainer } from '../DraggableContainer';
|
|
|
11
11
|
import { InternalTabs } from '../InternalTabs/InternalTabs';
|
|
12
12
|
import { RPGUIContainerTypes } from '../RPGUI/RPGUIContainer';
|
|
13
13
|
import { InformationCenterBestiarySection } from './sections/bestiary/InformationCenterBestiarySection';
|
|
14
|
-
import { InformationCenterFAQSection } from './sections/faq/InformationCenterFaqSection';
|
|
15
14
|
import { InformationCenterItemsSection } from './sections/items/InformationCenterItemsSection';
|
|
16
15
|
import { InformationCenterTutorialsSection } from './sections/tutorials/InformationCenterTutorialsSection';
|
|
17
16
|
|
|
@@ -38,7 +37,6 @@ export const InformationCenter: React.FC<IInformationCenterProps> = ({
|
|
|
38
37
|
entitiesAtlasIMG,
|
|
39
38
|
iconsAtlasIMG,
|
|
40
39
|
iconsAtlasJSON,
|
|
41
|
-
faqItems = [],
|
|
42
40
|
bestiaryItems = [],
|
|
43
41
|
videoGuides = [],
|
|
44
42
|
items = [],
|
|
@@ -88,17 +86,6 @@ export const InformationCenter: React.FC<IInformationCenterProps> = ({
|
|
|
88
86
|
/>
|
|
89
87
|
),
|
|
90
88
|
},
|
|
91
|
-
{
|
|
92
|
-
id: 'faq',
|
|
93
|
-
title: 'FAQ',
|
|
94
|
-
content: (
|
|
95
|
-
<InformationCenterFAQSection
|
|
96
|
-
faqItems={faqItems}
|
|
97
|
-
initialSearchQuery={initialSearchQuery}
|
|
98
|
-
tabId="faq"
|
|
99
|
-
/>
|
|
100
|
-
),
|
|
101
|
-
},
|
|
102
89
|
{
|
|
103
90
|
id: 'tutorials',
|
|
104
91
|
title: 'Tutorials',
|
|
@@ -10,7 +10,7 @@ import itemsAtlasJSON from '../../../mocks/atlas/items/items.json';
|
|
|
10
10
|
import itemsAtlasIMG from '../../../mocks/atlas/items/items.png';
|
|
11
11
|
|
|
12
12
|
import { IInformationCenterItem } from '@rpg-engine/shared';
|
|
13
|
-
import { mockBestiaryItems,
|
|
13
|
+
import { mockBestiaryItems, mockItems, mockTutorials } from '../../../mocks/informationCenter.mocks';
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
const meta: Meta = {
|
|
@@ -32,7 +32,7 @@ const Template: Story = args => (
|
|
|
32
32
|
entitiesAtlasIMG={entitiesAtlasIMG}
|
|
33
33
|
iconsAtlasJSON={iconsAtlasJSON}
|
|
34
34
|
iconsAtlasIMG={iconsAtlasIMG}
|
|
35
|
-
faqItems={mockFaqItems}
|
|
35
|
+
// faqItems={mockFaqItems}
|
|
36
36
|
bestiaryItems={mockBestiaryItems}
|
|
37
37
|
videoGuides={mockTutorials}
|
|
38
38
|
items={mockItems as unknown as IInformationCenterItem[]}
|