@rpg-engine/long-bow 0.5.48 → 0.5.50
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/ImageCarousel/SimpleImageCarousel.d.ts +10 -0
- package/dist/long-bow.cjs.development.js +2 -0
- 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 +2 -0
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/SimpleImageCarousel.stories.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/ImageCarousel/SimpleImageCarousel.tsx +132 -0
- package/src/components/SkillsContainer.tsx +2 -0
- package/src/mocks/skills.mocks.ts +7 -1
- package/src/stories/ImageCarousel.stories.tsx +1 -1
- package/src/stories/SimpleImageCarousel.stories.tsx +44 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ISimpleImageCarousel {
|
|
3
|
+
basePath: string;
|
|
4
|
+
imagesSrc: string[];
|
|
5
|
+
styles?: React.CSSProperties;
|
|
6
|
+
autoCycle?: boolean;
|
|
7
|
+
autoCycleDelay?: number;
|
|
8
|
+
stopAutoCyclingOnInteraction?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const SimpleImageCarousel: ({ basePath, imagesSrc, styles, autoCycle, autoCycleDelay, stopAutoCyclingOnInteraction, }: ISimpleImageCarousel) => JSX.Element;
|
|
@@ -18180,6 +18180,7 @@ var skillProps = {
|
|
|
18180
18180
|
color: uiColors.blue,
|
|
18181
18181
|
values: {
|
|
18182
18182
|
fishing: 'foods/fish.png',
|
|
18183
|
+
farming: 'foods/cabbage.png',
|
|
18183
18184
|
mining: 'crafting-resources/iron-ingot.png',
|
|
18184
18185
|
lumberjacking: 'crafting-resources/greater-wooden-log.png',
|
|
18185
18186
|
blacksmithing: 'hammers/hammer.png',
|
|
@@ -18203,6 +18204,7 @@ var skillNameMap = {
|
|
|
18203
18204
|
shielding: 'Shielding',
|
|
18204
18205
|
dagger: 'Dagger',
|
|
18205
18206
|
fishing: 'Fishing',
|
|
18207
|
+
farming: 'Farming',
|
|
18206
18208
|
mining: 'Mining',
|
|
18207
18209
|
lumberjacking: 'Lumberjacking',
|
|
18208
18210
|
blacksmithing: 'Blacksmithing',
|