@rpg-engine/long-bow 0.8.191 → 0.8.193
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.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SkillInfoOverlay.tsx +100 -0
- package/src/components/SkillProgressBar.tsx +21 -2
- package/src/components/SkillsContainer.tsx +15 -1
- package/src/constants/skillInfoData.ts +158 -0
- package/dist/components/Abstractions/ModalPortal.d.ts +0 -6
- package/dist/components/Abstractions/SlotsContainer.d.ts +0 -18
- package/dist/components/Arrow/SelectArrow.d.ts +0 -9
- package/dist/components/AsyncDropdown.d.ts +0 -14
- package/dist/components/Button.d.ts +0 -12
- package/dist/components/Character/CharacterSelection.d.ts +0 -13
- package/dist/components/Character/CharacterSkinSelectionModal.d.ts +0 -12
- package/dist/components/Character/SkinSelectionGrid.d.ts +0 -11
- package/dist/components/CharacterStatus/CharacterStatus.d.ts +0 -9
- package/dist/components/Chat/Chat.d.ts +0 -25
- package/dist/components/ChatRevamp/ChatContent.d.ts +0 -28
- package/dist/components/ChatRevamp/ChatRevamp.d.ts +0 -3
- package/dist/components/ChatRevamp/ChatTabs.d.ts +0 -11
- package/dist/components/ChatRevamp/ExpandButton.d.ts +0 -7
- package/dist/components/ChatRevamp/RecentChats.d.ts +0 -17
- package/dist/components/ChatRevamp/SearchCharacter.d.ts +0 -14
- package/dist/components/ChatRevamp/types.d.ts +0 -34
- package/dist/components/Chatdeprecated/ChatDeprecated.d.ts +0 -13
- package/dist/components/CheckButton.d.ts +0 -13
- package/dist/components/CheckItem.d.ts +0 -7
- package/dist/components/CircularController/CircularController.d.ts +0 -14
- package/dist/components/ConfirmModal.d.ts +0 -7
- package/dist/components/CraftBook/CraftBook.d.ts +0 -20
- package/dist/components/CraftBook/CraftingRecipe.d.ts +0 -14
- package/dist/components/CraftBook/CraftingTooltip.d.ts +0 -12
- package/dist/components/CraftBook/MockItems.d.ts +0 -2
- package/dist/components/CraftBook/components/CraftBookHeader.d.ts +0 -9
- package/dist/components/CraftBook/components/CraftBookPagination.d.ts +0 -0
- package/dist/components/CraftBook/components/CraftBookSearch.d.ts +0 -0
- package/dist/components/CraftBook/hooks/useCraftBookFilters.d.ts +0 -9
- package/dist/components/CraftBook/hooks/useFilteredItems.d.ts +0 -9
- package/dist/components/CraftBook/hooks/usePagination.d.ts +0 -13
- package/dist/components/CraftBook/hooks/useResponsiveSize.d.ts +0 -6
- package/dist/components/CraftBook/utils/calculateMaxCraftable.d.ts +0 -2
- package/dist/components/CraftBook/utils/modifyString.d.ts +0 -1
- package/dist/components/DCWallet/DCHistoryPanel.d.ts +0 -18
- package/dist/components/DCWallet/DCTransferPanel.d.ts +0 -21
- package/dist/components/DCWallet/DCWalletContent.d.ts +0 -27
- package/dist/components/DCWallet/DCWalletModal.d.ts +0 -6
- package/dist/components/DPad/JoystickDPad.d.ts +0 -23
- package/dist/components/DailyTasks/DailyRewardsTooltip.d.ts +0 -11
- package/dist/components/DailyTasks/DailyTaskItem.d.ts +0 -15
- package/dist/components/DailyTasks/DailyTasks.d.ts +0 -15
- package/dist/components/DailyTasks/GlobalDailyProgress.d.ts +0 -9
- package/dist/components/DailyTasks/TaskProgress.d.ts +0 -11
- package/dist/components/DailyTasks/TaskProgressDetails.d.ts +0 -7
- package/dist/components/DailyTasks/utils/dailyTasks.utils.d.ts +0 -8
- package/dist/components/DraggableContainer.d.ts +0 -27
- package/dist/components/Dropdown.d.ts +0 -13
- package/dist/components/DropdownSelectorContainer.d.ts +0 -13
- package/dist/components/Equipment/EquipmentSet.d.ts +0 -27
- package/dist/components/Friends/FriendList.d.ts +0 -22
- package/dist/components/Friends/SearchFriend.d.ts +0 -14
- package/dist/components/HistoryDialog.d.ts +0 -14
- package/dist/components/Image/ZoomableImage.d.ts +0 -5
- package/dist/components/ImageCarousel/ImageCarousel.d.ts +0 -12
- package/dist/components/ImageCarousel/SimpleImageCarousel.d.ts +0 -9
- package/dist/components/InformationCenter/InformationCenter.d.ts +0 -20
- package/dist/components/InformationCenter/InformationCenterCell.d.ts +0 -14
- package/dist/components/InformationCenter/InformationCenterTabView.d.ts +0 -19
- package/dist/components/InformationCenter/sections/bestiary/BestiaryAdvancedFilters.d.ts +0 -13
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.d.ts +0 -15
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.d.ts +0 -15
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCTooltip.d.ts +0 -9
- package/dist/components/InformationCenter/sections/faq/InformationCenterFaqSection.d.ts +0 -9
- package/dist/components/InformationCenter/sections/items/InformationCenterItemDetails.d.ts +0 -11
- package/dist/components/InformationCenter/sections/items/InformationCenterItemTooltip.d.ts +0 -7
- package/dist/components/InformationCenter/sections/items/InformationCenterItemsSection.d.ts +0 -13
- package/dist/components/InformationCenter/sections/items/ItemsAdvancedFilters.d.ts +0 -11
- package/dist/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.d.ts +0 -9
- package/dist/components/InformationCenter/shared/BaseInformationDetails.d.ts +0 -10
- package/dist/components/Input.d.ts +0 -5
- package/dist/components/InputRadio.d.ts +0 -10
- package/dist/components/InternalTabs/InternalTabs.d.ts +0 -18
- package/dist/components/Item/Cards/ItemInfo.d.ts +0 -10
- package/dist/components/Item/Cards/ItemInfoDisplay.d.ts +0 -10
- package/dist/components/Item/Cards/ItemInfoWrapper.d.ts +0 -12
- package/dist/components/Item/Cards/ItemTooltip.d.ts +0 -9
- package/dist/components/Item/Cards/MobileItemTooltip.d.ts +0 -18
- package/dist/components/Item/Inventory/DraggedItem.d.ts +0 -8
- package/dist/components/Item/Inventory/ErrorBoundary.d.ts +0 -14
- package/dist/components/Item/Inventory/ItemContainer.d.ts +0 -35
- package/dist/components/Item/Inventory/ItemContainerTypes.d.ts +0 -6
- package/dist/components/Item/Inventory/ItemGem.d.ts +0 -11
- package/dist/components/Item/Inventory/ItemPropertyColorSelector.d.ts +0 -14
- package/dist/components/Item/Inventory/ItemPropertySimpleHandler.d.ts +0 -14
- package/dist/components/Item/Inventory/ItemQuantitySelector.d.ts +0 -7
- package/dist/components/Item/Inventory/ItemQuantitySelectorModal.d.ts +0 -8
- package/dist/components/Item/Inventory/ItemSlot.d.ts +0 -56
- package/dist/components/Item/Inventory/ItemSlotQty/ItemSlotQty.d.ts +0 -9
- package/dist/components/Item/Inventory/ItemSlotQuality.d.ts +0 -2
- package/dist/components/Item/Inventory/ItemSlotRarity.d.ts +0 -2
- package/dist/components/Item/Inventory/ItemSlotRenderer.d.ts +0 -11
- package/dist/components/Item/Inventory/ItemSlotTooltips.d.ts +0 -12
- package/dist/components/Item/Inventory/context/ItemSlotDetailsContext.d.ts +0 -30
- package/dist/components/Item/Inventory/context/ItemSlotDraggingContext.d.ts +0 -22
- package/dist/components/Item/Inventory/itemContainerHelper.d.ts +0 -6
- package/dist/components/Leaderboard/Leaderboard.d.ts +0 -13
- package/dist/components/Leaderboard/LeaderboardTable.d.ts +0 -7
- package/dist/components/ListMenu.d.ts +0 -13
- package/dist/components/LoginStreak/LoginStreakPanel.d.ts +0 -17
- package/dist/components/Marketplace/BlueprintSearchModal.d.ts +0 -19
- package/dist/components/Marketplace/BlueprintTable.d.ts +0 -9
- package/dist/components/Marketplace/BuyOrderDetailsModal.d.ts +0 -19
- package/dist/components/Marketplace/BuyOrderPanel.d.ts +0 -26
- package/dist/components/Marketplace/BuyOrderRows.d.ts +0 -24
- package/dist/components/Marketplace/BuyPanel.d.ts +0 -36
- package/dist/components/Marketplace/CharacterDetailModal.d.ts +0 -17
- package/dist/components/Marketplace/CharacterListingForm.d.ts +0 -15
- package/dist/components/Marketplace/CharacterListingModal.d.ts +0 -17
- package/dist/components/Marketplace/CharacterMarketplacePanel.d.ts +0 -22
- package/dist/components/Marketplace/CharacterMarketplaceRows.d.ts +0 -26
- package/dist/components/Marketplace/GroupedRowContainer.d.ts +0 -7
- package/dist/components/Marketplace/HistoryPanel.d.ts +0 -18
- package/dist/components/Marketplace/ManagmentPanel.d.ts +0 -21
- package/dist/components/Marketplace/Marketplace.d.ts +0 -96
- package/dist/components/Marketplace/MarketplaceBuyModal.d.ts +0 -10
- package/dist/components/Marketplace/MarketplaceRows.d.ts +0 -30
- package/dist/components/Marketplace/MarketplaceSettingsPanel.d.ts +0 -8
- package/dist/components/Marketplace/MyCharacterListingsPanel.d.ts +0 -22
- package/dist/components/Marketplace/filters/index.d.ts +0 -8
- package/dist/components/Multitab/Tab.d.ts +0 -9
- package/dist/components/Multitab/TabBody.d.ts +0 -13
- package/dist/components/Multitab/TabsContainer.d.ts +0 -28
- package/dist/components/NPCDialog/NPCDialog.d.ts +0 -16
- package/dist/components/NPCDialog/NPCDialogText.d.ts +0 -11
- package/dist/components/NPCDialog/NPCMultiDialog.d.ts +0 -15
- package/dist/components/NPCDialog/QuestionDialog/QuestionDialog.d.ts +0 -17
- package/dist/components/Pager.d.ts +0 -10
- package/dist/components/PartySystem/PartyCreate/PartyCreate.d.ts +0 -6
- package/dist/components/PartySystem/PartyCreate/index.d.ts +0 -1
- package/dist/components/PartySystem/PartyDashboard/PartyDashboard.d.ts +0 -6
- package/dist/components/PartySystem/PartyDashboard/PartyRows.d.ts +0 -11
- package/dist/components/PartySystem/PartyDashboard/index.d.ts +0 -2
- package/dist/components/PartySystem/PartyInvite/PartyInvite.d.ts +0 -6
- package/dist/components/PartySystem/PartyInvite/PlayersRows.d.ts +0 -9
- package/dist/components/PartySystem/PartyInvite/index.d.ts +0 -2
- package/dist/components/PartySystem/PartyManager/PartyManager.d.ts +0 -9
- package/dist/components/PartySystem/PartyManager/PartyManagerRows.d.ts +0 -12
- package/dist/components/PartySystem/PartyManager/index.d.ts +0 -2
- package/dist/components/PartySystem/index.d.ts +0 -5
- package/dist/components/PartySystem/mockedConstantes/index.d.ts +0 -1
- package/dist/components/PartySystem/mockedConstantes/mockedValues.d.ts +0 -9
- package/dist/components/ProgressBar.d.ts +0 -12
- package/dist/components/PropertySelect/PropertySelect.d.ts +0 -13
- package/dist/components/QuantitySelector/QuantitySelector.d.ts +0 -9
- package/dist/components/QuantitySelector/QuantitySelectorModal.d.ts +0 -14
- package/dist/components/Quests/QuestInfo/QuestInfo.d.ts +0 -15
- package/dist/components/Quests/QuestList.d.ts +0 -16
- package/dist/components/RPGUI/RPGUIContainer.d.ts +0 -15
- package/dist/components/RPGUI/RPGUIForceRenderStart.d.ts +0 -9
- package/dist/components/RPGUI/RPGUIOverrides.d.ts +0 -6
- package/dist/components/RPGUI/RPGUIRoot.d.ts +0 -9
- package/dist/components/RPGUI/RPGUIScrollbar.d.ts +0 -6
- package/dist/components/RadioButton.d.ts +0 -11
- package/dist/components/RadioInput/RadioButton.d.ts +0 -8
- package/dist/components/RadioInput/RadioInput.d.ts +0 -13
- package/dist/components/RadioInput/instruments.d.ts +0 -4
- package/dist/components/RangeSlider.d.ts +0 -15
- package/dist/components/ReadOnlyCheckItem.d.ts +0 -7
- package/dist/components/RelativeListMenu.d.ts +0 -17
- package/dist/components/ScrollList.d.ts +0 -15
- package/dist/components/ShopModal/ShopModal.d.ts +0 -7
- package/dist/components/Shortcuts/Shortcuts.d.ts +0 -13
- package/dist/components/Shortcuts/ShortcutsSetter.d.ts +0 -12
- package/dist/components/Shortcuts/SingleShortcut.d.ts +0 -1
- package/dist/components/Shortcuts/useShortcutCooldown.d.ts +0 -4
- package/dist/components/SimpleProgressBar.d.ts +0 -7
- package/dist/components/SkillProgressBar.d.ts +0 -17
- package/dist/components/SkillsContainer.d.ts +0 -11
- package/dist/components/SocialModal/SocialModal.d.ts +0 -6
- package/dist/components/Spellbook/Spell.d.ts +0 -15
- package/dist/components/Spellbook/Spellbook.d.ts +0 -22
- package/dist/components/Spellbook/cards/MobileSpellTooltip.d.ts +0 -15
- package/dist/components/Spellbook/cards/SpellInfo.d.ts +0 -7
- package/dist/components/Spellbook/cards/SpellInfoDisplay.d.ts +0 -7
- package/dist/components/Spellbook/cards/SpellInfoWrapper.d.ts +0 -10
- package/dist/components/Spellbook/cards/SpellTooltip.d.ts +0 -6
- package/dist/components/Spellbook/constants.d.ts +0 -3
- package/dist/components/Spellbook/mockSpells.d.ts +0 -2
- package/dist/components/StaticBook/StaticBook.d.ts +0 -7
- package/dist/components/Stepper.d.ts +0 -22
- package/dist/components/Store/CartView.d.ts +0 -39
- package/dist/components/Store/CountdownTimer.d.ts +0 -7
- package/dist/components/Store/FeaturedBanner.d.ts +0 -23
- package/dist/components/Store/MetadataCollector.d.ts +0 -9
- package/dist/components/Store/PaymentMethodModal.d.ts +0 -11
- package/dist/components/Store/PurchaseSuccess.d.ts +0 -18
- package/dist/components/Store/Store.d.ts +0 -77
- package/dist/components/Store/StoreBadges.d.ts +0 -13
- package/dist/components/Store/StoreCharacterSkinRow.d.ts +0 -12
- package/dist/components/Store/StoreItemDetails.d.ts +0 -17
- package/dist/components/Store/StoreItemRow.d.ts +0 -25
- package/dist/components/Store/TrustBar.d.ts +0 -9
- package/dist/components/Store/hooks/useStoreCart.d.ts +0 -20
- package/dist/components/Store/hooks/useStoreMetadata.d.ts +0 -15
- package/dist/components/Store/sections/StoreItemsSection.d.ts +0 -27
- package/dist/components/Store/sections/StorePacksSection.d.ts +0 -24
- package/dist/components/Table/Table.d.ts +0 -10
- package/dist/components/Text/HighlightedText.d.ts +0 -6
- package/dist/components/TextArea.d.ts +0 -4
- package/dist/components/TimeWidget/DayNightPeriod/DayNightPeriod.d.ts +0 -6
- package/dist/components/TimeWidget/TimeWidget.d.ts +0 -9
- package/dist/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/components/TradingMenu/PremiumLabel.d.ts +0 -7
- package/dist/components/TradingMenu/TradingItemRow.d.ts +0 -13
- package/dist/components/TradingMenu/TradingMenu.d.ts +0 -14
- package/dist/components/TradingMenu/items.mock.d.ts +0 -14
- package/dist/components/TradingMenu/useTradingGold.d.ts +0 -16
- package/dist/components/Truncate.d.ts +0 -7
- package/dist/components/Tutorial/TutorialStepper.d.ts +0 -16
- package/dist/components/itemSelector/GemSelector.d.ts +0 -11
- package/dist/components/itemSelector/ItemSelector.d.ts +0 -14
- package/dist/components/shared/AdvancedFilters/AdvancedFilters.d.ts +0 -24
- package/dist/components/shared/BaseTooltip.d.ts +0 -12
- package/dist/components/shared/CTAButton/CTAButton.d.ts +0 -14
- package/dist/components/shared/Card/Card.d.ts +0 -14
- package/dist/components/shared/Collapsible/Collapsible.d.ts +0 -9
- package/dist/components/shared/Column.d.ts +0 -8
- package/dist/components/shared/CustomScrollbar.d.ts +0 -9
- package/dist/components/shared/DCRateStrip.d.ts +0 -2
- package/dist/components/shared/Divider/Divider.d.ts +0 -7
- package/dist/components/shared/Ellipsis.d.ts +0 -10
- package/dist/components/shared/ItemRowWrapper.d.ts +0 -3
- package/dist/components/shared/LabelPill/LabelPill.d.ts +0 -9
- package/dist/components/shared/LabelPill/index.d.ts +0 -1
- package/dist/components/shared/PaginatedContent/PaginatedContent.d.ts +0 -27
- package/dist/components/shared/Pagination/Pagination.d.ts +0 -9
- package/dist/components/shared/Portal/Portal.d.ts +0 -6
- package/dist/components/shared/RadioOption.d.ts +0 -22
- package/dist/components/shared/ScalableContainer.d.ts +0 -7
- package/dist/components/shared/ScrollableContent/ScrollableContent.d.ts +0 -23
- package/dist/components/shared/SearchBar/SearchBar.d.ts +0 -10
- package/dist/components/shared/SearchHeader/SearchHeader.d.ts +0 -18
- package/dist/components/shared/SegmentedToggle/SegmentedToggle.d.ts +0 -12
- package/dist/components/shared/SegmentedToggle/index.d.ts +0 -1
- package/dist/components/shared/ShoppingCart/CartCard.d.ts +0 -14
- package/dist/components/shared/ShoppingCart/CartCardHorizontal.d.ts +0 -13
- package/dist/components/shared/SimpleTooltip.d.ts +0 -12
- package/dist/components/shared/SpriteFromAtlas.d.ts +0 -20
- package/dist/components/shared/Tabs/Tabs.d.ts +0 -13
- package/dist/components/shared/Tabs/index.d.ts +0 -1
- package/dist/components/typography/DynamicText.d.ts +0 -8
- package/dist/constants/uiBreakpoints.d.ts +0 -2
- package/dist/constants/uiColors.d.ts +0 -22
- package/dist/constants/uiDevices.d.ts +0 -1
- package/dist/constants/uiFonts.d.ts +0 -12
- package/dist/hooks/useCharacterSkinNavigation.d.ts +0 -7
- package/dist/hooks/useChat.d.ts +0 -19
- package/dist/hooks/useCursorPosition.d.ts +0 -6
- package/dist/hooks/useEventListener.d.ts +0 -1
- package/dist/hooks/useLocalStorage.d.ts +0 -1
- package/dist/hooks/useOutsideAlerter.d.ts +0 -1
- package/dist/hooks/usePackFiltering.d.ts +0 -7
- package/dist/hooks/useQuantityControl.d.ts +0 -10
- package/dist/hooks/useScrollOnDrag.d.ts +0 -11
- package/dist/hooks/useShortcuts.d.ts +0 -12
- package/dist/hooks/useStoreFiltering.d.ts +0 -11
- package/dist/hooks/useTapAndHold.d.ts +0 -10
- package/dist/hooks/useTooltipPosition.d.ts +0 -15
- package/dist/hooks/useTouchTarget.d.ts +0 -5
- package/dist/index.d.ts +0 -97
- package/dist/libs/CastingTypeHelper.d.ts +0 -1
- package/dist/libs/StringHelpers.d.ts +0 -1
- package/dist/libs/itemCounter.d.ts +0 -2
- package/dist/long-bow.cjs.development.js +0 -74174
- package/dist/long-bow.cjs.development.js.map +0 -1
- package/dist/long-bow.esm.js +0 -74038
- package/dist/long-bow.esm.js.map +0 -1
- package/dist/mocks/dailyTasks.mocks.d.ts +0 -2
- package/dist/mocks/equipmentSet.mocks.d.ts +0 -16
- package/dist/mocks/informationCenter.mocks.d.ts +0 -5
- package/dist/mocks/itemContainer.mocks.d.ts +0 -3
- package/dist/mocks/leaderboard.mocks.d.ts +0 -4
- package/dist/mocks/shortcut.mocks.d.ts +0 -19
- package/dist/mocks/skills.mocks.d.ts +0 -2
- package/dist/stories/Character/SkinSelectionGrid.stories.d.ts +0 -1
- package/dist/stories/Character/character/CharacterSelection.stories.d.ts +0 -4
- package/dist/stories/Character/character/CharacterSkinSelectionModal.stories.d.ts +0 -1
- package/dist/stories/Character/character/CharacterStatus.stories.d.ts +0 -5
- package/dist/stories/Character/equipment/EquipmentSet.stories.d.ts +0 -5
- package/dist/stories/Character/skills/SkillProgressBar.stories.d.ts +0 -5
- package/dist/stories/Character/skills/SkillsContainer.stories.d.ts +0 -5
- package/dist/stories/Features/chat/Chat.stories.d.ts +0 -5
- package/dist/stories/Features/chat/ChatDeprecated.stories.d.ts +0 -5
- package/dist/stories/Features/chat/ChatRevamp.stories.d.ts +0 -9
- package/dist/stories/Features/controller/CircullarController.stories.d.ts +0 -5
- package/dist/stories/Features/craftbook/CraftBook.stories.d.ts +0 -8
- package/dist/stories/Features/dailyTasks/DailyTasks.stories.d.ts +0 -1
- package/dist/stories/Features/friend/FriendList.stories.d.ts +0 -5
- package/dist/stories/Features/leaderboard/Leaderboard.stories.d.ts +0 -7
- package/dist/stories/Features/loginStreak/LoginStreakPanel.stories.d.ts +0 -1
- package/dist/stories/Features/marketplace/BlueprintSearchModal.stories.d.ts +0 -1
- package/dist/stories/Features/marketplace/BuyOrderPanel.stories.d.ts +0 -1
- package/dist/stories/Features/marketplace/BuyOrderRows.stories.d.ts +0 -1
- package/dist/stories/Features/marketplace/CharacterDetailModal.stories.d.ts +0 -7
- package/dist/stories/Features/marketplace/CharacterListingModal.stories.d.ts +0 -8
- package/dist/stories/Features/marketplace/CharacterMarketplace.stories.d.ts +0 -11
- package/dist/stories/Features/marketplace/HistoryPanel.stories.d.ts +0 -1
- package/dist/stories/Features/party/PartyCreate.stories.d.ts +0 -5
- package/dist/stories/Features/party/PartyDashboard.stories.d.ts +0 -5
- package/dist/stories/Features/party/PartyInvite.stories.d.ts +0 -5
- package/dist/stories/Features/party/PartyManager.stories.d.ts +0 -6
- package/dist/stories/Features/quest/QuestInfo.stories.d.ts +0 -5
- package/dist/stories/Features/quest/QuestList.stories.d.ts +0 -8
- package/dist/stories/Features/shortcuts/Shortcuts.stories.d.ts +0 -5
- package/dist/stories/Features/spells/SpellInfoDisplay.stories.d.ts +0 -8
- package/dist/stories/Features/spells/Spellbook.stories.d.ts +0 -5
- package/dist/stories/Features/store/FeaturedBanner.stories.d.ts +0 -1
- package/dist/stories/Features/store/MetadataCollector.stories.d.ts +0 -1
- package/dist/stories/Features/store/PurchaseSuccess.stories.d.ts +0 -1
- package/dist/stories/Features/store/Store.stories.d.ts +0 -1
- package/dist/stories/Features/store/StoreBadges.stories.d.ts +0 -1
- package/dist/stories/Features/store/TrustBar.stories.d.ts +0 -1
- package/dist/stories/Features/trading/ItemTradingComponent.stories.d.ts +0 -5
- package/dist/stories/Features/trading/Marketplace.stories.d.ts +0 -4
- package/dist/stories/Features/trading/MarketplaceRows.stories.d.ts +0 -6
- package/dist/stories/Features/trading/TradingMenu.stories.d.ts +0 -5
- package/dist/stories/Features/weather/DayNightPeriod.stories.d.ts +0 -5
- package/dist/stories/Features/weather/TimeWidget.stories.d.ts +0 -5
- package/dist/stories/Item/ItemInfoDisplay.stories.d.ts +0 -8
- package/dist/stories/NPC/dialog/NPCDialog.stories.d.ts +0 -7
- package/dist/stories/NPC/dialog/NPCHistoryDialog.stories.d.ts +0 -5
- package/dist/stories/NPC/dialog/NPCMultiDialog.stories.d.ts +0 -5
- package/dist/stories/UI/RPGUI/RPGUIContainers.stories.d.ts +0 -5
- package/dist/stories/UI/books/StaticBook.stories.d.ts +0 -5
- package/dist/stories/UI/buttonsAndInputs/Button.stories.d.ts +0 -5
- package/dist/stories/UI/buttonsAndInputs/CTAButton.stories.d.ts +0 -18
- package/dist/stories/UI/buttonsAndInputs/CheckItem.stories.d.ts +0 -7
- package/dist/stories/UI/buttonsAndInputs/RadioButton.stories.d.ts +0 -5
- package/dist/stories/UI/buttonsAndInputs/RadioInput.stories.d.ts +0 -5
- package/dist/stories/UI/buttonsAndInputs/SegmentedToggle.stories.d.ts +0 -6
- package/dist/stories/UI/containers/DraggableContainer.stories.d.ts +0 -5
- package/dist/stories/UI/containers/ItemContainer.stories.d.ts +0 -11
- package/dist/stories/UI/dropdownsAndSelectors/Arrow.stories.d.ts +0 -5
- package/dist/stories/UI/dropdownsAndSelectors/Dropdown.stories.d.ts +0 -5
- package/dist/stories/UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.d.ts +0 -5
- package/dist/stories/UI/dropdownsAndSelectors/GemSelector.stories.d.ts +0 -5
- package/dist/stories/UI/dropdownsAndSelectors/ItemPropertyColorSelector.stories.d.ts +0 -6
- package/dist/stories/UI/dropdownsAndSelectors/ItemQuantitySelector.stories.d.ts +0 -5
- package/dist/stories/UI/dropdownsAndSelectors/ItemSelector.stories.d.ts +0 -4
- package/dist/stories/UI/dropdownsAndSelectors/PropertySelect.stories.d.ts +0 -5
- package/dist/stories/UI/images/ImageCarousel.stories.d.ts +0 -6
- package/dist/stories/UI/images/SimpleImageCarousel.stories.d.ts +0 -5
- package/dist/stories/UI/info/InformationCenter.stories.d.ts +0 -7
- package/dist/stories/UI/joystick/JoystickDPad.stories.d.ts +0 -6
- package/dist/stories/UI/lists/ListMenu.stories.d.ts +0 -5
- package/dist/stories/UI/lists/ScrollList.stories.d.ts +0 -5
- package/dist/stories/UI/modals/ConfirmModal.stories.d.ts +0 -5
- package/dist/stories/UI/modals/ShopModal.stories.d.ts +0 -5
- package/dist/stories/UI/progress/ProgressBar.stories.d.ts +0 -8
- package/dist/stories/UI/progress/SimpleProgressBar.stories.d.ts +0 -5
- package/dist/stories/UI/sliders/RangeSlider.stories.d.ts +0 -5
- package/dist/stories/UI/steppers/Stepper.stories.d.ts +0 -5
- package/dist/stories/UI/steppers/TutorialStepper.stories.d.ts +0 -5
- package/dist/stories/UI/tabs/InternalTabs.stories.d.ts +0 -7
- package/dist/stories/UI/tabs/Multitab.stories.d.ts +0 -6
- package/dist/stories/UI/text/LabelPill.stories.d.ts +0 -7
- package/dist/stories/UI/text/Text.stories.d.ts +0 -7
- package/dist/stories/shared/RadioOption.stories.d.ts +0 -8
- package/dist/types/eventTypes.d.ts +0 -4
- package/dist/utils/atlasUtils.d.ts +0 -2
- package/dist/utils/colorUtils.d.ts +0 -1
- package/dist/utils/itemUtils.d.ts +0 -8
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IQuantitySelect {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
maxQuantity: number;
|
|
5
|
-
callback: (quantity: number) => void;
|
|
6
|
-
title?: string;
|
|
7
|
-
initialQuantity?: number;
|
|
8
|
-
}
|
|
9
|
-
interface IProps {
|
|
10
|
-
quantitySelect: IQuantitySelect;
|
|
11
|
-
setQuantitySelect: React.Dispatch<React.SetStateAction<IQuantitySelect>>;
|
|
12
|
-
}
|
|
13
|
-
export declare const QuantitySelectorModal: ({ quantitySelect, setQuantitySelect, }: IProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IQuest } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IQuestsButtonProps {
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
title: string;
|
|
6
|
-
onClick: (questId: string, npcId: string) => void;
|
|
7
|
-
}
|
|
8
|
-
export interface IQuestInfoProps {
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
buttons?: IQuestsButtonProps[];
|
|
11
|
-
quests: IQuest[];
|
|
12
|
-
onChangeQuest: (currentQuestIndex: number, currentQuestId: string) => void;
|
|
13
|
-
scale?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare const QuestInfo: React.FC<IQuestInfoProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IQuest, QuestStatus } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CSSProperties } from 'styled-components';
|
|
4
|
-
export interface IQuestListProps {
|
|
5
|
-
quests?: IQuest[];
|
|
6
|
-
styles?: {
|
|
7
|
-
container?: CSSProperties;
|
|
8
|
-
card?: CSSProperties;
|
|
9
|
-
label?: CSSProperties;
|
|
10
|
-
value?: CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare const QuestList: React.FC<IQuestListProps>;
|
|
14
|
-
export declare const formatQuestText: (text: string) => string;
|
|
15
|
-
export declare const getQuestStatusColor: (status?: QuestStatus | undefined) => string;
|
|
16
|
-
export declare const formatQuestStatus: (status?: QuestStatus | undefined) => string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare enum RPGUIContainerTypes {
|
|
3
|
-
Framed = "framed",
|
|
4
|
-
FramedGold = "framed-golden",
|
|
5
|
-
FramedGold2 = "framed-golden-2",
|
|
6
|
-
FramedGrey = "framed-grey"
|
|
7
|
-
}
|
|
8
|
-
export interface IRPGUIContainerProps {
|
|
9
|
-
type: RPGUIContainerTypes;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
width?: string;
|
|
12
|
-
height?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const RPGUIContainer: React.FC<IRPGUIContainerProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
elementDOMId: string;
|
|
4
|
-
elementRenderedDOMKey: string;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
RPGUICreateFunction: 'dropdown' | 'slider' | 'checkbox' | 'draggable' | 'progress' | 'radio' | 'list';
|
|
7
|
-
}
|
|
8
|
-
export declare const RPGUIForceRenderStart: React.FC<IProps>;
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IRadioItems {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IRadioProps {
|
|
7
|
-
name: string;
|
|
8
|
-
items: IRadioItems[];
|
|
9
|
-
onChange: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const InputRadio: React.FC<IRadioProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IRadioItems {
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IRadioInput {
|
|
7
|
-
title: string;
|
|
8
|
-
subtitle: string;
|
|
9
|
-
onSelect: (a: string) => void;
|
|
10
|
-
onCancel: () => void;
|
|
11
|
-
items: IRadioItems[];
|
|
12
|
-
}
|
|
13
|
-
export declare const RadioInput: React.FC<IRadioInput>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare enum RangeSliderType {
|
|
3
|
-
Slider = "rpgui-slider",
|
|
4
|
-
GoldSlider = "rpgui-slider golden"
|
|
5
|
-
}
|
|
6
|
-
export interface IRangeSliderProps {
|
|
7
|
-
type: RangeSliderType;
|
|
8
|
-
valueMin: number;
|
|
9
|
-
valueMax: number;
|
|
10
|
-
width: string;
|
|
11
|
-
onChange: (value: number) => void;
|
|
12
|
-
value: number;
|
|
13
|
-
step?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare const RangeSlider: React.FC<IRangeSliderProps>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IListMenuOption {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IRelativeMenuProps {
|
|
7
|
-
options: IListMenuOption[];
|
|
8
|
-
onSelected: (selectedOptionId: string) => void;
|
|
9
|
-
fontSize?: number;
|
|
10
|
-
onOutsideClick?: () => void;
|
|
11
|
-
pos: {
|
|
12
|
-
x: number;
|
|
13
|
-
y: number;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const RelativeListMenu: React.FC<IRelativeMenuProps>;
|
|
17
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IListMenuOption {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IListMenuProps {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
options: IListMenuOption[];
|
|
10
|
-
onSelected: (selectedOptionId: string) => void;
|
|
11
|
-
fontSize?: number;
|
|
12
|
-
title: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ListMenu: React.FC<IListMenuProps>;
|
|
15
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IItemContainer, IShortcut } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare type ShortcutsProps = {
|
|
4
|
-
shortcuts: IShortcut[];
|
|
5
|
-
onShortcutCast: (index: number) => void;
|
|
6
|
-
mana: number;
|
|
7
|
-
isBlockedCastingByKeyboard?: boolean;
|
|
8
|
-
inventory?: IItemContainer | null;
|
|
9
|
-
atlasJSON: any;
|
|
10
|
-
atlasIMG: any;
|
|
11
|
-
spellCooldowns?: Record<string, number>;
|
|
12
|
-
};
|
|
13
|
-
export declare const Shortcuts: React.FC<ShortcutsProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IShortcut } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare type ShortcutsSetterProps = {
|
|
4
|
-
setSettingShortcutIndex: (index: number) => void;
|
|
5
|
-
settingShortcutIndex: number;
|
|
6
|
-
shortcuts: IShortcut[];
|
|
7
|
-
removeShortcut: (index: number) => void;
|
|
8
|
-
atlasJSON: any;
|
|
9
|
-
atlasIMG: any;
|
|
10
|
-
};
|
|
11
|
-
export declare const ShortcutsSetter: React.FC<ShortcutsSetterProps>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SingleShortcut: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CharacterClass } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ISkillProgressBarProps {
|
|
4
|
-
skillName: string;
|
|
5
|
-
skillKey?: string;
|
|
6
|
-
characterClass?: CharacterClass;
|
|
7
|
-
bgColor: string;
|
|
8
|
-
level: number;
|
|
9
|
-
skillPoints: number;
|
|
10
|
-
texturePath: string;
|
|
11
|
-
showSkillPoints?: boolean;
|
|
12
|
-
skillPointsToNextLevel: number;
|
|
13
|
-
atlasJSON: any;
|
|
14
|
-
atlasIMG: any;
|
|
15
|
-
buffAndDebuff?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare const SkillProgressBar: React.FC<ISkillProgressBarProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ISkill, CharacterClass } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ISkillContainerProps {
|
|
4
|
-
skill: ISkill;
|
|
5
|
-
characterClass?: CharacterClass;
|
|
6
|
-
onCloseButton: () => void;
|
|
7
|
-
atlasJSON: any;
|
|
8
|
-
atlasIMG: any;
|
|
9
|
-
scale?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const SkillsContainer: React.FC<ISkillContainerProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ISpell } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ISpellProps {
|
|
4
|
-
atlasJSON: any;
|
|
5
|
-
atlasIMG: any;
|
|
6
|
-
charMana: number;
|
|
7
|
-
charMagicLevel: number;
|
|
8
|
-
charSkillLevels?: Record<string, number>;
|
|
9
|
-
onPointerUp?: (spellKey: string) => void;
|
|
10
|
-
isSettingShortcut?: boolean;
|
|
11
|
-
spellKey: string;
|
|
12
|
-
spell: ISpell;
|
|
13
|
-
activeCooldown?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare const Spell: React.FC<ISpellProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IShortcut, ISpell } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ISpellbookProps {
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
onInputFocus?: () => void;
|
|
6
|
-
onInputBlur?: () => void;
|
|
7
|
-
spells: ISpell[];
|
|
8
|
-
magicLevel: number;
|
|
9
|
-
mana: number;
|
|
10
|
-
charSkillLevels?: Record<string, number>;
|
|
11
|
-
onSpellClick: (spellKey: string) => void;
|
|
12
|
-
setSpellShortcut: (key: string, index: number) => void;
|
|
13
|
-
shortcuts: IShortcut[];
|
|
14
|
-
removeShortcut: (index: number) => void;
|
|
15
|
-
atlasIMG: any;
|
|
16
|
-
atlasJSON: any;
|
|
17
|
-
iconAtlasIMG?: any;
|
|
18
|
-
iconAtlasJSON?: any;
|
|
19
|
-
scale?: number;
|
|
20
|
-
spellCooldowns?: Record<string, number>;
|
|
21
|
-
}
|
|
22
|
-
export declare const Spellbook: React.FC<ISpellbookProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ISpell } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IListMenuOption {
|
|
4
|
-
id: string;
|
|
5
|
-
text: string;
|
|
6
|
-
}
|
|
7
|
-
export interface MobileSpellTooltipProps {
|
|
8
|
-
spell: ISpell;
|
|
9
|
-
closeTooltip: () => void;
|
|
10
|
-
scale?: number;
|
|
11
|
-
options?: IListMenuOption[];
|
|
12
|
-
onSelected?: (selectedOptionId: string) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const MobileSpellTooltip: React.FC<MobileSpellTooltipProps>;
|
|
15
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ISpell } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface ISpellInfoWrapperProps {
|
|
4
|
-
spell: ISpell;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
scale?: number;
|
|
7
|
-
holdTouchDuration?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const SpellInfoWrapper: React.FC<ISpellInfoWrapperProps>;
|
|
10
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IStep {
|
|
3
|
-
component: React.ReactNode;
|
|
4
|
-
id: number;
|
|
5
|
-
validate?: () => boolean | Promise<boolean>;
|
|
6
|
-
errorMessage?: string;
|
|
7
|
-
}
|
|
8
|
-
interface IStepperProps {
|
|
9
|
-
steps: IStep[];
|
|
10
|
-
finalCTAButton?: {
|
|
11
|
-
label: string;
|
|
12
|
-
onClick: (() => void) | (() => Promise<void>) | ((e: any) => Promise<void>);
|
|
13
|
-
};
|
|
14
|
-
onError?: (message: string) => void;
|
|
15
|
-
onStepChange?: (stepIndex: number) => void;
|
|
16
|
-
useSideArrows?: boolean;
|
|
17
|
-
styles?: {
|
|
18
|
-
stepperProgressColor?: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export declare const Stepper: React.FC<IStepperProps>;
|
|
22
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IProductBlueprint } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ITrustSignal } from './TrustBar';
|
|
4
|
-
interface ICartItem {
|
|
5
|
-
item: IProductBlueprint;
|
|
6
|
-
quantity: number;
|
|
7
|
-
metadata?: Record<string, any>;
|
|
8
|
-
}
|
|
9
|
-
export interface ICartViewProps {
|
|
10
|
-
cartItems: ICartItem[];
|
|
11
|
-
onRemoveFromCart: (itemKey: string) => void;
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
onPurchase: () => Promise<boolean>;
|
|
14
|
-
atlasJSON: Record<string, any>;
|
|
15
|
-
atlasIMG: string;
|
|
16
|
-
paymentMethodLabel?: string;
|
|
17
|
-
trustSignals?: ITrustSignal[];
|
|
18
|
-
onCloseStore?: () => void;
|
|
19
|
-
/** Called when user taps the "Buy DC" nudge — open wallet/DC purchase flow */
|
|
20
|
-
onBuyDC?: () => void;
|
|
21
|
-
/** Fires when user taps the pay button — before the purchase resolves */
|
|
22
|
-
onCheckoutStart?: (items: Array<{
|
|
23
|
-
key: string;
|
|
24
|
-
name: string;
|
|
25
|
-
quantity: number;
|
|
26
|
-
}>, total: number) => void;
|
|
27
|
-
/** Fires after a successful purchase */
|
|
28
|
-
onPurchaseSuccess?: (items: Array<{
|
|
29
|
-
key: string;
|
|
30
|
-
name: string;
|
|
31
|
-
quantity: number;
|
|
32
|
-
}>, total: number) => void;
|
|
33
|
-
/** Fires when a purchase fails */
|
|
34
|
-
onPurchaseError?: (error: string) => void;
|
|
35
|
-
/** Currency symbol to display (e.g. "$" for USD, "R$" for BRL). Defaults to "$". */
|
|
36
|
-
currencySymbol?: string;
|
|
37
|
-
}
|
|
38
|
-
export declare const CartView: React.FC<ICartViewProps>;
|
|
39
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IFeaturedItem {
|
|
3
|
-
key: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
imageUrl?: string | {
|
|
7
|
-
src: string;
|
|
8
|
-
default?: string;
|
|
9
|
-
};
|
|
10
|
-
texturePath?: string;
|
|
11
|
-
price: number;
|
|
12
|
-
originalPrice?: number;
|
|
13
|
-
endsAt?: string;
|
|
14
|
-
badge?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IFeaturedBannerProps {
|
|
17
|
-
items: IFeaturedItem[];
|
|
18
|
-
atlasJSON?: any;
|
|
19
|
-
atlasIMG?: string;
|
|
20
|
-
onSelectItem: (item: IFeaturedItem) => void;
|
|
21
|
-
onQuickBuy?: (item: IFeaturedItem) => void;
|
|
22
|
-
}
|
|
23
|
-
export declare const FeaturedBanner: React.FC<IFeaturedBannerProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MetadataType } from "@rpg-engine/shared";
|
|
2
|
-
import React from "react";
|
|
3
|
-
export interface IMetadataCollectorProps {
|
|
4
|
-
metadataType: MetadataType;
|
|
5
|
-
config: Record<string, any>;
|
|
6
|
-
onCollect: (metadata: Record<string, any>) => void;
|
|
7
|
-
onCancel: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const MetadataCollector: React.FC<IMetadataCollectorProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IPaymentMethodModalProps {
|
|
3
|
-
dcBalance: number;
|
|
4
|
-
dcRequired?: number;
|
|
5
|
-
onPayWithDC: () => void;
|
|
6
|
-
onPayWithCard: () => void;
|
|
7
|
-
onPayWithPix: () => void;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
showPix?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const PaymentMethodModal: React.FC<IPaymentMethodModalProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MetadataType } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IPurchaseSuccessItem {
|
|
4
|
-
name: string;
|
|
5
|
-
texturePath: string;
|
|
6
|
-
quantity: number;
|
|
7
|
-
metadataType?: MetadataType;
|
|
8
|
-
metadata?: Record<string, any>;
|
|
9
|
-
}
|
|
10
|
-
export interface IPurchaseSuccessProps {
|
|
11
|
-
items: IPurchaseSuccessItem[];
|
|
12
|
-
totalPrice: number;
|
|
13
|
-
atlasJSON: Record<string, any>;
|
|
14
|
-
atlasIMG: string;
|
|
15
|
-
onContinueShopping: () => void;
|
|
16
|
-
onClose: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const PurchaseSuccess: React.FC<IPurchaseSuccessProps>;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { IItemPack, IPurchase, IProductBlueprint, UserAccountTypes } from '@rpg-engine/shared';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { IFeaturedItem } from './FeaturedBanner';
|
|
4
|
-
declare type TabId = 'premium' | 'packs' | 'items' | 'wallet' | 'history';
|
|
5
|
-
export interface IStoreProps {
|
|
6
|
-
items: IProductBlueprint[];
|
|
7
|
-
packs?: IItemPack[];
|
|
8
|
-
atlasJSON: any;
|
|
9
|
-
atlasIMG: string;
|
|
10
|
-
onPurchase: (purchase: Partial<IPurchase>) => Promise<boolean>;
|
|
11
|
-
onShowHistory?: () => void;
|
|
12
|
-
onShowWallet?: () => void;
|
|
13
|
-
walletLabel?: string;
|
|
14
|
-
packsTabLabel?: string;
|
|
15
|
-
userAccountType: UserAccountTypes;
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
error?: string;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
hidePremiumTab?: boolean;
|
|
20
|
-
tabOrder?: TabId[];
|
|
21
|
-
defaultActiveTab?: TabId;
|
|
22
|
-
textInputItemKeys?: string[];
|
|
23
|
-
customPacksContent?: React.ReactNode;
|
|
24
|
-
customWalletContent?: React.ReactNode;
|
|
25
|
-
customHistoryContent?: React.ReactNode;
|
|
26
|
-
packsBadge?: string;
|
|
27
|
-
featuredItems?: IFeaturedItem[];
|
|
28
|
-
onQuickBuy?: (item: IProductBlueprint, quantity?: number) => void;
|
|
29
|
-
itemBadges?: Record<string, {
|
|
30
|
-
badges?: import('./StoreBadges').IStoreBadge[];
|
|
31
|
-
buyCount?: number;
|
|
32
|
-
viewersCount?: number;
|
|
33
|
-
saleEndsAt?: string;
|
|
34
|
-
originalPrice?: number;
|
|
35
|
-
}>;
|
|
36
|
-
packBadges?: Record<string, {
|
|
37
|
-
badges?: import('./StoreBadges').IStoreBadge[];
|
|
38
|
-
buyCount?: number;
|
|
39
|
-
viewersCount?: number;
|
|
40
|
-
saleEndsAt?: string;
|
|
41
|
-
originalPrice?: number;
|
|
42
|
-
}>;
|
|
43
|
-
/** Fires when an item row becomes visible (on mount). Useful for store_item_viewed analytics. */
|
|
44
|
-
onItemView?: (item: IProductBlueprint, position: number) => void;
|
|
45
|
-
/** Fires when a pack row becomes visible (on mount). Useful for pack_viewed analytics. */
|
|
46
|
-
onPackView?: (pack: IItemPack, position: number) => void;
|
|
47
|
-
/** Fires when the active store tab changes (e.g. 'items', 'packs', 'premium'). */
|
|
48
|
-
onTabChange?: (tab: string, itemsShown: number) => void;
|
|
49
|
-
/** Fires when the category filter changes in the items tab. */
|
|
50
|
-
onCategoryChange?: (category: string, itemsShown: number) => void;
|
|
51
|
-
/** Fires when the cart is opened. */
|
|
52
|
-
onCartOpen?: () => void;
|
|
53
|
-
/** Fires when any item or pack is added to the cart. */
|
|
54
|
-
onAddToCart?: (item: IProductBlueprint, quantity: number) => void;
|
|
55
|
-
/** Fires when an item is removed from the cart. */
|
|
56
|
-
onRemoveFromCart?: (itemKey: string) => void;
|
|
57
|
-
/** Fires when the user taps "Pay" — before the purchase resolves. */
|
|
58
|
-
onCheckoutStart?: (items: Array<{
|
|
59
|
-
key: string;
|
|
60
|
-
name: string;
|
|
61
|
-
quantity: number;
|
|
62
|
-
}>, total: number) => void;
|
|
63
|
-
/** Fires after a successful purchase. */
|
|
64
|
-
onPurchaseSuccess?: (items: Array<{
|
|
65
|
-
key: string;
|
|
66
|
-
name: string;
|
|
67
|
-
quantity: number;
|
|
68
|
-
}>, total: number) => void;
|
|
69
|
-
/** Fires when a purchase fails. */
|
|
70
|
-
onPurchaseError?: (error: string) => void;
|
|
71
|
-
/** Called when the DC nudge in CartView is tapped — open the DC purchase flow. */
|
|
72
|
-
onBuyDC?: () => void;
|
|
73
|
-
/** Currency symbol to display (e.g. "$" for USD, "R$" for BRL). Defaults to "$". */
|
|
74
|
-
currencySymbol?: string;
|
|
75
|
-
}
|
|
76
|
-
export type { IFeaturedItem };
|
|
77
|
-
export declare const Store: React.FC<IStoreProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type StoreBadgeType = 'popular' | 'bestSeller' | 'limited' | 'new' | 'sale' | 'event';
|
|
3
|
-
export interface IStoreBadge {
|
|
4
|
-
type: StoreBadgeType;
|
|
5
|
-
label?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IStoreBadgesProps {
|
|
8
|
-
badges?: IStoreBadge[];
|
|
9
|
-
buyCount?: number;
|
|
10
|
-
viewersCount?: number;
|
|
11
|
-
saleEndsAt?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const StoreBadges: React.FC<IStoreBadgesProps>;
|