@rpg-engine/long-bow 0.1.68 → 0.1.69
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/Item/SpriteFromAtlas.d.ts +2 -0
- package/dist/components/SimpleProgressBar.d.ts +3 -4
- package/dist/components/SkillProgressBar.d.ts +6 -4
- package/dist/components/SkillsContainer.d.ts +7 -0
- package/dist/constants/uiColors.d.ts +7 -0
- package/dist/long-bow.cjs.development.js +3997 -493
- 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 +3998 -494
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/mocks/skills.mocks.d.ts +115 -0
- package/package.json +3 -3
- package/src/components/DraggableContainer.tsx +2 -2
- package/src/components/I_Book.png +0 -0
- package/src/components/Item/SpriteFromAtlas.tsx +10 -0
- package/src/components/SimpleProgressBar.tsx +14 -10
- package/src/components/SkillProgressBar.tsx +74 -20
- package/src/components/SkillsContainer.tsx +235 -0
- package/src/constants/uiColors.ts +7 -0
- package/src/mocks/atlas/items/items.json +3920 -460
- package/src/mocks/atlas/items/items.png +0 -0
- package/src/mocks/skills.mocks.ts +116 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface ISimpleProgressBarProps {
|
|
3
3
|
value: number;
|
|
4
|
-
height?: string;
|
|
5
4
|
bgColor?: string;
|
|
5
|
+
margin?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const SimpleProgressBar: React.FC<
|
|
8
|
-
export {};
|
|
7
|
+
export declare const SimpleProgressBar: React.FC<ISimpleProgressBarProps>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface ISkillProgressBarProps {
|
|
3
|
-
|
|
4
|
-
height: string;
|
|
3
|
+
skillName: string;
|
|
5
4
|
bgColor: string;
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
level: number;
|
|
6
|
+
skillPoints: number;
|
|
7
|
+
skillPointsToNextLevel?: number;
|
|
8
|
+
texturePath: string;
|
|
9
|
+
showSkillPoints?: boolean;
|
|
8
10
|
}
|
|
9
11
|
export declare const SkillProgressBar: React.FC<ISkillProgressBarProps>;
|