@rpg-engine/long-bow 0.8.185 → 0.8.187
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/Marketplace/CharacterDetailModal.d.ts +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +370 -170
- 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 +393 -194
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/Features/marketplace/CharacterDetailModal.stories.d.ts +7 -0
- package/package.json +1 -1
- package/src/components/Marketplace/CharacterDetailModal.tsx +477 -0
- package/src/components/Marketplace/CharacterMarketplacePanel.tsx +19 -97
- package/src/index.tsx +1 -0
- package/src/stories/Features/marketplace/CharacterDetailModal.stories.tsx +129 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICharacterListing } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterDetailModalProps {
|
|
4
|
+
listing: ICharacterListing | null;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onBuy: (listingId: string) => void;
|
|
8
|
+
/** Items atlas — for the DC coin sprite */
|
|
9
|
+
atlasJSON: any;
|
|
10
|
+
atlasIMG: any;
|
|
11
|
+
/** Entities atlas — for the character sprite */
|
|
12
|
+
characterAtlasJSON: any;
|
|
13
|
+
characterAtlasIMG: any;
|
|
14
|
+
enableHotkeys?: () => void;
|
|
15
|
+
disableHotkeys?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const CharacterDetailModal: React.FC<ICharacterDetailModalProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './components/Marketplace/HistoryPanel';
|
|
|
45
45
|
export * from './components/Marketplace/BlueprintSearchModal';
|
|
46
46
|
export * from './components/Marketplace/CharacterMarketplacePanel';
|
|
47
47
|
export * from './components/Marketplace/CharacterMarketplaceRows';
|
|
48
|
+
export * from './components/Marketplace/CharacterDetailModal';
|
|
48
49
|
export * from './components/Marketplace/CharacterListingForm';
|
|
49
50
|
export * from './components/Marketplace/CharacterListingModal';
|
|
50
51
|
export * from './components/Marketplace/MyCharacterListingsPanel';
|