@rpg-engine/long-bow 0.6.34 → 0.6.37
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/long-bow.cjs.development.js +10 -7
- 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 +10 -7
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Stepper.tsx +3 -0
- package/src/components/Tutorial/TutorialStepper.tsx +20 -7
package/dist/long-bow.esm.js
CHANGED
|
@@ -32840,11 +32840,11 @@ var StepperTop = /*#__PURE__*/styled.div.withConfig({
|
|
|
32840
32840
|
var StepperBodyContainer = /*#__PURE__*/styled.div.withConfig({
|
|
32841
32841
|
displayName: "Stepper__StepperBodyContainer",
|
|
32842
32842
|
componentId: "sc-13obf1-2"
|
|
32843
|
-
})(["flex:8;display:flex;align-items:center;position:relative;"]);
|
|
32843
|
+
})(["flex:8;display:flex;align-items:center;position:relative;height:100%;"]);
|
|
32844
32844
|
var StepperBody = /*#__PURE__*/styled.div.withConfig({
|
|
32845
32845
|
displayName: "Stepper__StepperBody",
|
|
32846
32846
|
componentId: "sc-13obf1-3"
|
|
32847
|
-
})(["flex:1;"]);
|
|
32847
|
+
})(["flex:1;min-height:200px;transition:height 0.3s ease-in-out;"]);
|
|
32848
32848
|
var ArrowContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
32849
32849
|
displayName: "Stepper__ArrowContainer",
|
|
32850
32850
|
componentId: "sc-13obf1-4"
|
|
@@ -33225,7 +33225,6 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
33225
33225
|
imageStyle = _ref.imageStyle;
|
|
33226
33226
|
var generateLessons = useMemo(function () {
|
|
33227
33227
|
return lessons.map(function (lesson, index) {
|
|
33228
|
-
var _lesson$imageUrl;
|
|
33229
33228
|
return {
|
|
33230
33229
|
component: React.createElement(LessonContainer, {
|
|
33231
33230
|
key: index,
|
|
@@ -33235,15 +33234,19 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
33235
33234
|
}, lesson.title), lesson.image && React.createElement(LessonImage, {
|
|
33236
33235
|
className: "lesson-image",
|
|
33237
33236
|
style: imageStyle
|
|
33238
|
-
}, React.createElement("a", {
|
|
33239
|
-
href:
|
|
33237
|
+
}, lesson.imageUrl ? React.createElement("a", {
|
|
33238
|
+
href: lesson.imageUrl,
|
|
33240
33239
|
target: "_blank",
|
|
33241
33240
|
rel: "noopener noreferrer"
|
|
33242
33241
|
}, React.createElement("img", {
|
|
33243
33242
|
src: lesson.image,
|
|
33244
33243
|
alt: lesson.title || 'Tutorial image',
|
|
33245
33244
|
loading: "lazy"
|
|
33246
|
-
}))
|
|
33245
|
+
})) : React.createElement("img", {
|
|
33246
|
+
src: lesson.image,
|
|
33247
|
+
alt: lesson.title || 'Tutorial image',
|
|
33248
|
+
loading: "lazy"
|
|
33249
|
+
})), React.createElement(LessonFooter, {
|
|
33247
33250
|
className: "lesson-footer"
|
|
33248
33251
|
}, lesson.body && React.createElement(LessonBody, {
|
|
33249
33252
|
className: "lesson-body",
|
|
@@ -33289,7 +33292,7 @@ var LessonTitle = /*#__PURE__*/styled.h1.withConfig({
|
|
|
33289
33292
|
var LessonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
33290
33293
|
displayName: "TutorialStepper__LessonContainer",
|
|
33291
33294
|
componentId: "sc-7tgzv2-5"
|
|
33292
|
-
})([""]);
|
|
33295
|
+
})(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;"]);
|
|
33293
33296
|
|
|
33294
33297
|
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, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
|
|
33295
33298
|
//# sourceMappingURL=long-bow.esm.js.map
|