@rpg-engine/long-bow 0.8.202 → 0.8.203

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.
@@ -74447,7 +74447,9 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
74447
74447
  var lessons = _ref.lessons,
74448
74448
  onLessonFinish = _ref.onLessonFinish,
74449
74449
  onStepChange = _ref.onStepChange,
74450
- imageStyle = _ref.imageStyle;
74450
+ imageStyle = _ref.imageStyle,
74451
+ _ref$isTranslated = _ref.isTranslated,
74452
+ isTranslated = _ref$isTranslated === void 0 ? false : _ref$isTranslated;
74451
74453
  var generateLessons = useMemo(function () {
74452
74454
  return lessons.map(function (lesson, index) {
74453
74455
  return {
@@ -74478,13 +74480,13 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
74478
74480
  dangerouslySetInnerHTML: {
74479
74481
  __html: lesson.body
74480
74482
  }
74481
- }), lesson.text && React.createElement(DynamicText, {
74483
+ }), lesson.text && (isTranslated ? React.createElement(LessonText, null, lesson.text) : React.createElement(DynamicText, {
74482
74484
  text: lesson.text
74483
- }))),
74485
+ })))),
74484
74486
  id: index
74485
74487
  };
74486
74488
  });
74487
- }, [lessons, imageStyle]);
74489
+ }, [lessons, imageStyle, isTranslated]);
74488
74490
  return React.createElement(Container$T, null, React.createElement(Stepper, {
74489
74491
  steps: generateLessons,
74490
74492
  finalCTAButton: {
@@ -74503,25 +74505,29 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
74503
74505
  displayName: "TutorialStepper__LessonBody",
74504
74506
  componentId: "sc-7tgzv2-1"
74505
74507
  })([""]);
74508
+ var LessonText = /*#__PURE__*/styled.p.withConfig({
74509
+ displayName: "TutorialStepper__LessonText",
74510
+ componentId: "sc-7tgzv2-2"
74511
+ })(["font-size:0.7rem !important;color:white;text-shadow:1px 1px 0px #000000;letter-spacing:1.2px;word-break:normal;"]);
74506
74512
  var Container$T = /*#__PURE__*/styled.div.withConfig({
74507
74513
  displayName: "TutorialStepper__Container",
74508
- componentId: "sc-7tgzv2-2"
74514
+ componentId: "sc-7tgzv2-3"
74509
74515
  })(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
74510
74516
  var LessonFooter = /*#__PURE__*/styled.div.withConfig({
74511
74517
  displayName: "TutorialStepper__LessonFooter",
74512
- componentId: "sc-7tgzv2-3"
74518
+ componentId: "sc-7tgzv2-4"
74513
74519
  })(["margin-top:1rem;"]);
74514
74520
  var LessonImage = /*#__PURE__*/styled.div.withConfig({
74515
74521
  displayName: "TutorialStepper__LessonImage",
74516
- componentId: "sc-7tgzv2-4"
74522
+ componentId: "sc-7tgzv2-5"
74517
74523
  })(["display:flex;justify-content:center;align-items:center;width:100%;max-width:500px;margin:auto;img{width:100%;height:auto;object-fit:contain;border-radius:10px;}"]);
74518
74524
  var LessonTitle = /*#__PURE__*/styled.h1.withConfig({
74519
74525
  displayName: "TutorialStepper__LessonTitle",
74520
- componentId: "sc-7tgzv2-5"
74526
+ componentId: "sc-7tgzv2-6"
74521
74527
  })(["color:", " !important;font-size:0.8rem !important;"], uiColors.yellow);
74522
74528
  var LessonContainer = /*#__PURE__*/styled.div.withConfig({
74523
74529
  displayName: "TutorialStepper__LessonContainer",
74524
- componentId: "sc-7tgzv2-6"
74530
+ componentId: "sc-7tgzv2-7"
74525
74531
  })(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
74526
74532
 
74527
74533
  export { ActionButtons, AsyncDropdown, BLUEPRINTS_PER_PAGE, BUY_ORDERS_PER_PAGE, BlueprintSearchModal, Button, ButtonTypes, BuyOrderPanel, BuyOrderRow, CTAButton, CartView, CharacterDetailModal, CharacterListingForm, CharacterListingModal, CharacterMarketplacePanel, CharacterMarketplaceRows, CharacterSelection, CharacterSkinSelectionModal, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, ConfirmModal, CountdownTimer, CraftBook, DCRateStrip, DCWalletContent, DCWalletModal, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FeaturedBanner, FriendList, GemSelector, GroupedBuyOrderRow, GroupedCharacterMarketplaceRow, GroupedMarketplaceRow, HISTORY_ITEMS_PER_PAGE, HistoryDialog, HistoryPanel, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, LoginStreakPanel, Marketplace, MarketplaceBuyModal, MarketplaceRows, MarketplaceSettingsPanel, MetadataCollector, MultitabType, MyCharacterListingsPanel, NPCDialog, NPCDialogType, NPCMultiDialog, Pagination, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PaymentMethodModal, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, PurchaseSuccess, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RadioCircle$2 as RadioCircle, RadioOption$1 as RadioOption, RadioOptionLabel, RadioOptionSub, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, Store, StoreBadges, StoreRedeemSection, TRANSACTION_TYPE_FILTER_ALL, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer$1 as TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TrustBar, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener, useStoreCart };