@rpg-engine/long-bow 0.8.10 → 0.8.12
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/ItemGem.d.ts +3 -0
- package/dist/components/itemSelector/GemSelector.d.ts +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +1593 -105
- 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 +1593 -107
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/UI/dropdownsAndSelectors/GemSelector.stories.d.ts +5 -0
- package/package.json +2 -2
- package/src/components/Item/Inventory/ItemGem.tsx +1 -1
- package/src/components/Item/Inventory/itemContainerHelper.ts +4 -0
- package/src/components/itemSelector/GemSelector.tsx +203 -0
- package/src/index.tsx +2 -0
- package/src/stories/UI/dropdownsAndSelectors/GemSelector.stories.tsx +66 -0
|
@@ -3,6 +3,9 @@ import { IItem } from '@rpg-engine/shared';
|
|
|
3
3
|
interface IProps {
|
|
4
4
|
item: IItem;
|
|
5
5
|
}
|
|
6
|
+
export declare const gemColors: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
6
9
|
export declare const onRenderGems: (item: IItem) => JSX.Element | undefined;
|
|
7
10
|
export declare const ItemSlotQty: ({ item }: IProps) => JSX.Element;
|
|
8
11
|
export default ItemSlotQty;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IGemSchema, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IGemSelectorProps {
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
item: IItem;
|
|
7
|
+
scale?: number;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onSelect: (selectedGems: IGemSchema[]) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const GemSelector: React.FC<IGemSelectorProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './components/Friends/FriendList';
|
|
|
18
18
|
export * from './components/HistoryDialog';
|
|
19
19
|
export * from './components/ImageCarousel/ImageCarousel';
|
|
20
20
|
export * from './components/ImageCarousel/SimpleImageCarousel';
|
|
21
|
+
export * from './components/InformationCenter/InformationCenter';
|
|
21
22
|
export * from './components/Input';
|
|
22
23
|
export * from './components/InternalTabs/InternalTabs';
|
|
23
24
|
export { ErrorBoundary } from './components/Item/Inventory/ErrorBoundary';
|
|
@@ -25,6 +26,7 @@ export * from './components/Item/Inventory/ItemContainer';
|
|
|
25
26
|
export * from './components/Item/Inventory/ItemPropertySimpleHandler';
|
|
26
27
|
export * from './components/Item/Inventory/ItemQuantitySelectorModal';
|
|
27
28
|
export * from './components/Item/Inventory/ItemSlot';
|
|
29
|
+
export * from './components/itemSelector/GemSelector';
|
|
28
30
|
export * from './components/itemSelector/ItemSelector';
|
|
29
31
|
export * from './components/Leaderboard/Leaderboard';
|
|
30
32
|
export * from './components/ListMenu';
|