@rpg-engine/long-bow 0.8.202 → 0.8.205
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/Item/Inventory/ErrorBoundary.d.ts +2 -0
- package/dist/components/Marketplace/BuyOrderPanel.d.ts +2 -2
- package/dist/components/Marketplace/BuyOrderRows.d.ts +4 -4
- package/dist/components/Marketplace/HistoryPanel.d.ts +2 -2
- package/dist/components/Marketplace/MarketplaceRows.d.ts +2 -0
- package/dist/components/Tutorial/TutorialStepper.d.ts +2 -1
- package/dist/components/shared/MMORPGNumber.d.ts +6 -0
- package/dist/long-bow.cjs.development.js +794 -34640
- 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 +795 -34641
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/utils/numberUtils.d.ts +7 -0
- package/package.json +1 -1
- package/src/components/DCWallet/DCWalletContent.tsx +5 -3
- package/src/components/Item/Inventory/ErrorBoundary.tsx +25 -8
- package/src/components/Item/Inventory/ItemPropertyColorSelector.tsx +3 -1
- package/src/components/Marketplace/BuyOrderPanel.tsx +2 -2
- package/src/components/Marketplace/BuyOrderRows.tsx +13 -7
- package/src/components/Marketplace/CharacterDetailModal.tsx +99 -17
- package/src/components/Marketplace/CharacterListingModal.tsx +2 -1
- package/src/components/Marketplace/GroupedRowContainer.tsx +10 -10
- package/src/components/Marketplace/HistoryPanel.tsx +5 -5
- package/src/components/Marketplace/MarketplaceBuyModal.tsx +4 -4
- package/src/components/Marketplace/MarketplaceRows.tsx +13 -7
- package/src/components/Marketplace/__test__/CharacterDetailModal.spec.tsx +137 -0
- package/src/components/Store/CartView.tsx +2 -1
- package/src/components/Store/FeaturedBanner.tsx +1 -0
- package/src/components/Store/PaymentMethodModal.tsx +11 -3
- package/src/components/Store/StoreCharacterSkinRow.tsx +9 -3
- package/src/components/Store/StoreItemDetails.tsx +9 -1
- package/src/components/Store/StoreItemRow.tsx +13 -3
- package/src/components/Store/sections/StorePacksSection.tsx +7 -0
- package/src/components/Store/sections/StoreRedeemSection.tsx +2 -1
- package/src/components/Tutorial/TutorialStepper.tsx +16 -3
- package/src/components/shared/DCRateStrip.tsx +3 -2
- package/src/components/shared/MMORPGNumber.tsx +22 -0
- package/src/stories/Features/marketplace/CharacterDetailModal.stories.tsx +69 -15
- package/src/stories/Features/marketplace/CharacterMarketplace.stories.tsx +105 -11
- package/src/stories/Features/store/Store.stories.tsx +125 -35
- package/src/stories/Features/trading/Marketplace.stories.tsx +8 -4
- package/src/utils/__test__/atlasUtils.spec.ts +15 -0
- package/src/utils/atlasUtils.ts +78 -0
- package/src/utils/numberUtils.ts +31 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IMarketplaceBlueprintSummary, IMarketplaceBuyOrderItem } from '@rpg-engine/shared';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface IBuyOrderPanelProps {
|
|
4
|
-
atlasJSON
|
|
5
|
-
atlasIMG
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
6
|
selectedBlueprint?: IMarketplaceBlueprintSummary;
|
|
7
7
|
onOpenBlueprintSearch: () => void;
|
|
8
8
|
onCloseDetails?: () => void;
|
|
@@ -2,8 +2,8 @@ import { IMarketplaceBuyOrderItem } from '@rpg-engine/shared';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface IBuyOrderRowProps {
|
|
4
4
|
buyOrder: IMarketplaceBuyOrderItem;
|
|
5
|
-
atlasJSON
|
|
6
|
-
atlasIMG
|
|
5
|
+
atlasJSON: any;
|
|
6
|
+
atlasIMG: any;
|
|
7
7
|
isOwn?: boolean;
|
|
8
8
|
onCancel?: (buyOrderId: string) => void;
|
|
9
9
|
onFulfill?: (buyOrderId: string) => void;
|
|
@@ -14,8 +14,8 @@ export declare const BuyOrderRow: React.FC<IBuyOrderRowProps>;
|
|
|
14
14
|
export interface IGroupedBuyOrderRowProps {
|
|
15
15
|
bestOrder: IMarketplaceBuyOrderItem;
|
|
16
16
|
otherOrders: IMarketplaceBuyOrderItem[];
|
|
17
|
-
atlasJSON
|
|
18
|
-
atlasIMG
|
|
17
|
+
atlasJSON: any;
|
|
18
|
+
atlasIMG: any;
|
|
19
19
|
isOwn?: boolean;
|
|
20
20
|
onCancel?: (buyOrderId: string) => void;
|
|
21
21
|
onFulfill?: (buyOrderId: string) => void;
|
|
@@ -8,8 +8,8 @@ export interface IHistoryPanelProps {
|
|
|
8
8
|
selectedType: string;
|
|
9
9
|
onTypeChange: (type: string) => void;
|
|
10
10
|
onPageChange: (page: number) => void;
|
|
11
|
-
atlasJSON
|
|
12
|
-
atlasIMG
|
|
11
|
+
atlasJSON: any;
|
|
12
|
+
atlasIMG: any;
|
|
13
13
|
dcToGoldSwapRate?: number;
|
|
14
14
|
}
|
|
15
15
|
declare const HISTORY_ITEMS_PER_PAGE = 10;
|
|
@@ -13,6 +13,8 @@ export interface IMarketPlaceRowsPropos {
|
|
|
13
13
|
onMarketPlaceItemRemove?: () => void;
|
|
14
14
|
onDCCoinClick?: () => void;
|
|
15
15
|
disabled?: boolean;
|
|
16
|
+
/** If true, adds padding-right to details to avoid overlapping with grouped badges */
|
|
17
|
+
$isGrouped?: boolean;
|
|
16
18
|
}
|
|
17
19
|
export declare const MarketplaceRows: React.FC<IMarketPlaceRowsPropos>;
|
|
18
20
|
export interface IGroupedMarketplaceRowProps {
|
|
@@ -12,5 +12,6 @@ export interface ITutorialStepperProps {
|
|
|
12
12
|
onLessonFinish: () => void;
|
|
13
13
|
onStepChange?: (stepIndex: number) => void;
|
|
14
14
|
imageStyle?: CSSProperties;
|
|
15
|
+
isTranslated?: boolean;
|
|
15
16
|
}
|
|
16
|
-
export declare const TutorialStepper: React.MemoExoticComponent<({ lessons, onLessonFinish, onStepChange, imageStyle }: ITutorialStepperProps) => JSX.Element>;
|
|
17
|
+
export declare const TutorialStepper: React.MemoExoticComponent<({ lessons, onLessonFinish, onStepChange, imageStyle, isTranslated }: ITutorialStepperProps) => JSX.Element>;
|