@rpg-engine/long-bow 0.6.10 → 0.6.13
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/Tutorial/TutorialStepper.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +21 -3
- 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 +21 -3
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tutorial/TutorialStepper.tsx +20 -8
package/dist/long-bow.esm.js
CHANGED
|
@@ -20026,10 +20026,20 @@ var TutorialStepper = function TutorialStepper(_ref) {
|
|
|
20026
20026
|
var generateLessons = function generateLessons() {
|
|
20027
20027
|
return lessons.map(function (lesson, index) {
|
|
20028
20028
|
return {
|
|
20029
|
-
component: React.createElement(
|
|
20029
|
+
component: React.createElement(LessonContainer, {
|
|
20030
|
+
key: index,
|
|
20031
|
+
className: "lesson-container"
|
|
20032
|
+
}, React.createElement(LessonTitle, {
|
|
20033
|
+
className: "lesson-title"
|
|
20034
|
+
}, lesson.title), lesson.image && React.createElement(LessonImage, {
|
|
20035
|
+
className: "lesson-image",
|
|
20036
|
+
style: lesson.imageStyle
|
|
20037
|
+
}, React.createElement("img", {
|
|
20030
20038
|
src: lesson.image,
|
|
20031
20039
|
alt: lesson.title
|
|
20032
|
-
})), lesson.body && React.createElement(LessonBody,
|
|
20040
|
+
})), lesson.body && React.createElement(LessonBody, {
|
|
20041
|
+
className: "lesson-body"
|
|
20042
|
+
}, lesson.body), lesson.text && React.createElement(DynamicText, {
|
|
20033
20043
|
text: lesson.text
|
|
20034
20044
|
})),
|
|
20035
20045
|
id: index
|
|
@@ -20058,7 +20068,15 @@ var Container$y = /*#__PURE__*/styled.div.withConfig({
|
|
|
20058
20068
|
var LessonImage = /*#__PURE__*/styled.div.withConfig({
|
|
20059
20069
|
displayName: "TutorialStepper__LessonImage",
|
|
20060
20070
|
componentId: "sc-7tgzv2-2"
|
|
20061
|
-
})(["display:flex;justify-content:center;align-items:center;img{width:
|
|
20071
|
+
})(["display:flex;justify-content:center;align-items:center;width:100%;height:auto;max-width:600px;margin:auto;img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;}"]);
|
|
20072
|
+
var LessonTitle = /*#__PURE__*/styled.h1.withConfig({
|
|
20073
|
+
displayName: "TutorialStepper__LessonTitle",
|
|
20074
|
+
componentId: "sc-7tgzv2-3"
|
|
20075
|
+
})([""]);
|
|
20076
|
+
var LessonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
20077
|
+
displayName: "TutorialStepper__LessonContainer",
|
|
20078
|
+
componentId: "sc-7tgzv2-4"
|
|
20079
|
+
})([""]);
|
|
20062
20080
|
|
|
20063
20081
|
export { AsyncDropdown, Button, ButtonTypes, CharacterSelection, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, HistoryDialog, ImageCarousel, ImgSide, Input, InputRadio$1 as InputRadio, ItemContainer$1 as ItemContainer, ItemSelector, ItemSlot, Leaderboard, ListMenu, Marketplace, MarketplaceRows, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PlayersRow, ProgressBar, PropertySelect, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, Spellbook, SpriteFromAtlas, Stepper, TabBody, TabsContainer, TextArea, TimeWidget, TradingMenu, Truncate, TutorialStepper, _RPGUI, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
|
|
20064
20082
|
//# sourceMappingURL=long-bow.esm.js.map
|