@rpg-engine/long-bow 0.8.193 → 0.8.195
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/Abstractions/ModalPortal.d.ts +6 -0
- package/dist/components/Abstractions/SlotsContainer.d.ts +18 -0
- package/dist/components/Arrow/SelectArrow.d.ts +9 -0
- package/dist/components/AsyncDropdown.d.ts +14 -0
- package/dist/components/Button.d.ts +12 -0
- package/dist/components/Character/CharacterSelection.d.ts +13 -0
- package/dist/components/Character/CharacterSkinSelectionModal.d.ts +12 -0
- package/dist/components/Character/SkinSelectionGrid.d.ts +11 -0
- package/dist/components/CharacterStatus/CharacterStatus.d.ts +9 -0
- package/dist/components/Chat/Chat.d.ts +25 -0
- package/dist/components/ChatRevamp/ChatContent.d.ts +28 -0
- package/dist/components/ChatRevamp/ChatRevamp.d.ts +3 -0
- package/dist/components/ChatRevamp/ChatTabs.d.ts +11 -0
- package/dist/components/ChatRevamp/ExpandButton.d.ts +7 -0
- package/dist/components/ChatRevamp/RecentChats.d.ts +17 -0
- package/dist/components/ChatRevamp/SearchCharacter.d.ts +14 -0
- package/dist/components/ChatRevamp/types.d.ts +34 -0
- package/dist/components/Chatdeprecated/ChatDeprecated.d.ts +13 -0
- package/dist/components/CheckButton.d.ts +13 -0
- package/dist/components/CheckItem.d.ts +7 -0
- package/dist/components/CircularController/CircularController.d.ts +14 -0
- package/dist/components/ConfirmModal.d.ts +7 -0
- package/dist/components/CraftBook/CraftBook.d.ts +20 -0
- package/dist/components/CraftBook/CraftingRecipe.d.ts +14 -0
- package/dist/components/CraftBook/CraftingTooltip.d.ts +12 -0
- package/dist/components/CraftBook/MockItems.d.ts +2 -0
- package/dist/components/CraftBook/components/CraftBookHeader.d.ts +9 -0
- 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 +9 -0
- package/dist/components/CraftBook/hooks/useFilteredItems.d.ts +9 -0
- package/dist/components/CraftBook/hooks/usePagination.d.ts +13 -0
- package/dist/components/CraftBook/hooks/useResponsiveSize.d.ts +6 -0
- package/dist/components/CraftBook/utils/calculateMaxCraftable.d.ts +2 -0
- package/dist/components/CraftBook/utils/modifyString.d.ts +1 -0
- package/dist/components/DCWallet/DCHistoryPanel.d.ts +18 -0
- package/dist/components/DCWallet/DCTransferPanel.d.ts +21 -0
- package/dist/components/DCWallet/DCWalletContent.d.ts +27 -0
- package/dist/components/DCWallet/DCWalletModal.d.ts +6 -0
- package/dist/components/DPad/JoystickDPad.d.ts +23 -0
- package/dist/components/DailyTasks/DailyRewardsTooltip.d.ts +11 -0
- package/dist/components/DailyTasks/DailyTaskItem.d.ts +15 -0
- package/dist/components/DailyTasks/DailyTasks.d.ts +15 -0
- package/dist/components/DailyTasks/GlobalDailyProgress.d.ts +9 -0
- package/dist/components/DailyTasks/TaskProgress.d.ts +11 -0
- package/dist/components/DailyTasks/TaskProgressDetails.d.ts +7 -0
- package/dist/components/DailyTasks/utils/dailyTasks.utils.d.ts +8 -0
- package/dist/components/DraggableContainer.d.ts +27 -0
- package/dist/components/Dropdown.d.ts +13 -0
- package/dist/components/DropdownSelectorContainer.d.ts +13 -0
- package/dist/components/Equipment/EquipmentSet.d.ts +27 -0
- package/dist/components/Friends/FriendList.d.ts +22 -0
- package/dist/components/Friends/SearchFriend.d.ts +14 -0
- package/dist/components/HistoryDialog.d.ts +14 -0
- package/dist/components/Image/ZoomableImage.d.ts +5 -0
- package/dist/components/ImageCarousel/ImageCarousel.d.ts +12 -0
- package/dist/components/ImageCarousel/SimpleImageCarousel.d.ts +9 -0
- package/dist/components/InformationCenter/InformationCenter.d.ts +20 -0
- package/dist/components/InformationCenter/InformationCenterCell.d.ts +14 -0
- package/dist/components/InformationCenter/InformationCenterTabView.d.ts +19 -0
- package/dist/components/InformationCenter/sections/bestiary/BestiaryAdvancedFilters.d.ts +13 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.d.ts +15 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.d.ts +15 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCTooltip.d.ts +9 -0
- package/dist/components/InformationCenter/sections/faq/InformationCenterFaqSection.d.ts +9 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemDetails.d.ts +11 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemTooltip.d.ts +7 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemsSection.d.ts +13 -0
- package/dist/components/InformationCenter/sections/items/ItemsAdvancedFilters.d.ts +11 -0
- package/dist/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.d.ts +9 -0
- package/dist/components/InformationCenter/shared/BaseInformationDetails.d.ts +10 -0
- package/dist/components/Input.d.ts +5 -0
- package/dist/components/InputRadio.d.ts +10 -0
- package/dist/components/InternalTabs/InternalTabs.d.ts +18 -0
- package/dist/components/Item/Cards/ItemInfo.d.ts +10 -0
- package/dist/components/Item/Cards/ItemInfoDisplay.d.ts +10 -0
- package/dist/components/Item/Cards/ItemInfoWrapper.d.ts +12 -0
- package/dist/components/Item/Cards/ItemTooltip.d.ts +9 -0
- package/dist/components/Item/Cards/MobileItemTooltip.d.ts +18 -0
- package/dist/components/Item/Inventory/DraggedItem.d.ts +8 -0
- package/dist/components/Item/Inventory/ErrorBoundary.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemContainer.d.ts +35 -0
- package/dist/components/Item/Inventory/ItemContainerTypes.d.ts +6 -0
- package/dist/components/Item/Inventory/ItemGem.d.ts +11 -0
- package/dist/components/Item/Inventory/ItemPropertyColorSelector.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemPropertySimpleHandler.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemQuantitySelector.d.ts +7 -0
- package/dist/components/Item/Inventory/ItemQuantitySelectorModal.d.ts +8 -0
- package/dist/components/Item/Inventory/ItemSlot.d.ts +56 -0
- package/dist/components/Item/Inventory/ItemSlotQty/ItemSlotQty.d.ts +9 -0
- package/dist/components/Item/Inventory/ItemSlotQuality.d.ts +2 -0
- package/dist/components/Item/Inventory/ItemSlotRarity.d.ts +2 -0
- package/dist/components/Item/Inventory/ItemSlotRenderer.d.ts +11 -0
- package/dist/components/Item/Inventory/ItemSlotTooltips.d.ts +12 -0
- package/dist/components/Item/Inventory/context/ItemSlotDetailsContext.d.ts +30 -0
- package/dist/components/Item/Inventory/context/ItemSlotDraggingContext.d.ts +22 -0
- package/dist/components/Item/Inventory/itemContainerHelper.d.ts +6 -0
- package/dist/components/Leaderboard/Leaderboard.d.ts +13 -0
- package/dist/components/Leaderboard/LeaderboardTable.d.ts +7 -0
- package/dist/components/ListMenu.d.ts +13 -0
- package/dist/components/LoginStreak/LoginStreakPanel.d.ts +17 -0
- package/dist/components/Marketplace/BlueprintSearchModal.d.ts +19 -0
- package/dist/components/Marketplace/BlueprintTable.d.ts +9 -0
- package/dist/components/Marketplace/BuyOrderDetailsModal.d.ts +19 -0
- package/dist/components/Marketplace/BuyOrderPanel.d.ts +26 -0
- package/dist/components/Marketplace/BuyOrderRows.d.ts +24 -0
- package/dist/components/Marketplace/BuyPanel.d.ts +36 -0
- package/dist/components/Marketplace/CharacterDetailModal.d.ts +17 -0
- package/dist/components/Marketplace/CharacterListingForm.d.ts +15 -0
- package/dist/components/Marketplace/CharacterListingModal.d.ts +17 -0
- package/dist/components/Marketplace/CharacterMarketplacePanel.d.ts +22 -0
- package/dist/components/Marketplace/CharacterMarketplaceRows.d.ts +26 -0
- package/dist/components/Marketplace/GroupedRowContainer.d.ts +7 -0
- package/dist/components/Marketplace/HistoryPanel.d.ts +18 -0
- package/dist/components/Marketplace/ManagmentPanel.d.ts +21 -0
- package/dist/components/Marketplace/Marketplace.d.ts +96 -0
- package/dist/components/Marketplace/MarketplaceBuyModal.d.ts +10 -0
- package/dist/components/Marketplace/MarketplaceRows.d.ts +30 -0
- package/dist/components/Marketplace/MarketplaceSettingsPanel.d.ts +8 -0
- package/dist/components/Marketplace/MyCharacterListingsPanel.d.ts +22 -0
- package/dist/components/Marketplace/filters/index.d.ts +8 -0
- package/dist/components/Multitab/Tab.d.ts +9 -0
- package/dist/components/Multitab/TabBody.d.ts +13 -0
- package/dist/components/Multitab/TabsContainer.d.ts +28 -0
- package/dist/components/NPCDialog/NPCDialog.d.ts +16 -0
- package/dist/components/NPCDialog/NPCDialogText.d.ts +11 -0
- package/dist/components/NPCDialog/NPCMultiDialog.d.ts +15 -0
- package/dist/components/NPCDialog/QuestionDialog/QuestionDialog.d.ts +17 -0
- package/dist/components/Pager.d.ts +10 -0
- package/dist/components/PartySystem/PartyCreate/PartyCreate.d.ts +6 -0
- package/dist/components/PartySystem/PartyCreate/index.d.ts +1 -0
- package/dist/components/PartySystem/PartyDashboard/PartyDashboard.d.ts +6 -0
- package/dist/components/PartySystem/PartyDashboard/PartyRows.d.ts +11 -0
- package/dist/components/PartySystem/PartyDashboard/index.d.ts +2 -0
- package/dist/components/PartySystem/PartyInvite/PartyInvite.d.ts +6 -0
- package/dist/components/PartySystem/PartyInvite/PlayersRows.d.ts +9 -0
- package/dist/components/PartySystem/PartyInvite/index.d.ts +2 -0
- package/dist/components/PartySystem/PartyManager/PartyManager.d.ts +9 -0
- package/dist/components/PartySystem/PartyManager/PartyManagerRows.d.ts +12 -0
- package/dist/components/PartySystem/PartyManager/index.d.ts +2 -0
- package/dist/components/PartySystem/index.d.ts +5 -0
- package/dist/components/PartySystem/mockedConstantes/index.d.ts +1 -0
- package/dist/components/PartySystem/mockedConstantes/mockedValues.d.ts +9 -0
- package/dist/components/ProgressBar.d.ts +12 -0
- package/dist/components/PropertySelect/PropertySelect.d.ts +13 -0
- package/dist/components/QuantitySelector/QuantitySelector.d.ts +9 -0
- package/dist/components/QuantitySelector/QuantitySelectorModal.d.ts +14 -0
- package/dist/components/Quests/QuestInfo/QuestInfo.d.ts +15 -0
- package/dist/components/Quests/QuestList.d.ts +16 -0
- package/dist/components/RPGUI/RPGUIContainer.d.ts +15 -0
- package/dist/components/RPGUI/RPGUIForceRenderStart.d.ts +9 -0
- package/dist/components/RPGUI/RPGUIOverrides.d.ts +6 -0
- package/dist/components/RPGUI/RPGUIRoot.d.ts +9 -0
- package/dist/components/RPGUI/RPGUIScrollbar.d.ts +6 -0
- package/dist/components/RadioButton.d.ts +11 -0
- package/dist/components/RadioInput/RadioButton.d.ts +8 -0
- package/dist/components/RadioInput/RadioInput.d.ts +13 -0
- package/dist/components/RadioInput/instruments.d.ts +4 -0
- package/dist/components/RangeSlider.d.ts +15 -0
- package/dist/components/ReadOnlyCheckItem.d.ts +7 -0
- package/dist/components/RelativeListMenu.d.ts +17 -0
- package/dist/components/ScrollList.d.ts +15 -0
- package/dist/components/ShopModal/ShopModal.d.ts +7 -0
- package/dist/components/Shortcuts/Shortcuts.d.ts +13 -0
- package/dist/components/Shortcuts/ShortcutsSetter.d.ts +12 -0
- package/dist/components/Shortcuts/SingleShortcut.d.ts +1 -0
- package/dist/components/Shortcuts/useShortcutCooldown.d.ts +4 -0
- package/dist/components/SimpleProgressBar.d.ts +7 -0
- package/dist/components/SkillInfoOverlay.d.ts +8 -0
- package/dist/components/SkillProgressBar.d.ts +18 -0
- package/dist/components/SkillsContainer.d.ts +11 -0
- package/dist/components/SocialModal/SocialModal.d.ts +6 -0
- package/dist/components/Spellbook/Spell.d.ts +15 -0
- package/dist/components/Spellbook/Spellbook.d.ts +22 -0
- package/dist/components/Spellbook/cards/MobileSpellTooltip.d.ts +15 -0
- package/dist/components/Spellbook/cards/SpellInfo.d.ts +7 -0
- package/dist/components/Spellbook/cards/SpellInfoDisplay.d.ts +7 -0
- package/dist/components/Spellbook/cards/SpellInfoWrapper.d.ts +10 -0
- package/dist/components/Spellbook/cards/SpellTooltip.d.ts +6 -0
- package/dist/components/Spellbook/constants.d.ts +3 -0
- package/dist/components/Spellbook/mockSpells.d.ts +2 -0
- package/dist/components/StaticBook/StaticBook.d.ts +7 -0
- package/dist/components/Stepper.d.ts +22 -0
- package/dist/components/Store/CartView.d.ts +39 -0
- package/dist/components/Store/CountdownTimer.d.ts +7 -0
- package/dist/components/Store/FeaturedBanner.d.ts +23 -0
- package/dist/components/Store/MetadataCollector.d.ts +9 -0
- package/dist/components/Store/PaymentMethodModal.d.ts +11 -0
- package/dist/components/Store/PurchaseSuccess.d.ts +18 -0
- package/dist/components/Store/Store.d.ts +77 -0
- package/dist/components/Store/StoreBadges.d.ts +13 -0
- package/dist/components/Store/StoreCharacterSkinRow.d.ts +12 -0
- package/dist/components/Store/StoreItemDetails.d.ts +17 -0
- package/dist/components/Store/StoreItemRow.d.ts +25 -0
- package/dist/components/Store/TrustBar.d.ts +9 -0
- package/dist/components/Store/hooks/useStoreCart.d.ts +20 -0
- package/dist/components/Store/hooks/useStoreMetadata.d.ts +15 -0
- package/dist/components/Store/sections/StoreItemsSection.d.ts +27 -0
- package/dist/components/Store/sections/StorePacksSection.d.ts +24 -0
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Text/HighlightedText.d.ts +6 -0
- package/dist/components/TextArea.d.ts +4 -0
- package/dist/components/TimeWidget/DayNightPeriod/DayNightPeriod.d.ts +6 -0
- package/dist/components/TimeWidget/TimeWidget.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/components/TradingMenu/PremiumLabel.d.ts +7 -0
- package/dist/components/TradingMenu/TradingItemRow.d.ts +13 -0
- package/dist/components/TradingMenu/TradingMenu.d.ts +14 -0
- package/dist/components/TradingMenu/items.mock.d.ts +14 -0
- package/dist/components/TradingMenu/useTradingGold.d.ts +16 -0
- package/dist/components/Truncate.d.ts +7 -0
- package/dist/components/Tutorial/TutorialStepper.d.ts +16 -0
- package/dist/components/itemSelector/GemSelector.d.ts +11 -0
- package/dist/components/itemSelector/ItemSelector.d.ts +14 -0
- package/dist/components/shared/AdvancedFilters/AdvancedFilters.d.ts +24 -0
- package/dist/components/shared/BaseTooltip.d.ts +12 -0
- package/dist/components/shared/CTAButton/CTAButton.d.ts +14 -0
- package/dist/components/shared/Card/Card.d.ts +14 -0
- package/dist/components/shared/Collapsible/Collapsible.d.ts +9 -0
- package/dist/components/shared/Column.d.ts +8 -0
- package/dist/components/shared/CustomScrollbar.d.ts +9 -0
- package/dist/components/shared/DCRateStrip.d.ts +2 -0
- package/dist/components/shared/Divider/Divider.d.ts +7 -0
- package/dist/components/shared/Ellipsis.d.ts +10 -0
- package/dist/components/shared/ItemRowWrapper.d.ts +3 -0
- package/dist/components/shared/LabelPill/LabelPill.d.ts +9 -0
- package/dist/components/shared/LabelPill/index.d.ts +1 -0
- package/dist/components/shared/PaginatedContent/PaginatedContent.d.ts +27 -0
- package/dist/components/shared/Pagination/Pagination.d.ts +9 -0
- package/dist/components/shared/Portal/Portal.d.ts +6 -0
- package/dist/components/shared/RadioOption.d.ts +22 -0
- package/dist/components/shared/ScalableContainer.d.ts +7 -0
- package/dist/components/shared/ScrollableContent/ScrollableContent.d.ts +23 -0
- package/dist/components/shared/SearchBar/SearchBar.d.ts +10 -0
- package/dist/components/shared/SearchHeader/SearchHeader.d.ts +18 -0
- package/dist/components/shared/SegmentedToggle/SegmentedToggle.d.ts +12 -0
- package/dist/components/shared/SegmentedToggle/index.d.ts +1 -0
- package/dist/components/shared/ShoppingCart/CartCard.d.ts +14 -0
- package/dist/components/shared/ShoppingCart/CartCardHorizontal.d.ts +13 -0
- package/dist/components/shared/SimpleTooltip.d.ts +12 -0
- package/dist/components/shared/SpriteFromAtlas.d.ts +20 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +13 -0
- package/dist/components/shared/Tabs/index.d.ts +1 -0
- package/dist/components/typography/DynamicText.d.ts +8 -0
- package/dist/constants/skillInfoData.d.ts +8 -0
- package/dist/constants/uiBreakpoints.d.ts +2 -0
- package/dist/constants/uiColors.d.ts +22 -0
- package/dist/constants/uiDevices.d.ts +1 -0
- package/dist/constants/uiFonts.d.ts +12 -0
- package/dist/hooks/useCharacterSkinNavigation.d.ts +7 -0
- package/dist/hooks/useChat.d.ts +19 -0
- package/dist/hooks/useCursorPosition.d.ts +6 -0
- package/dist/hooks/useEventListener.d.ts +1 -0
- package/dist/hooks/useLocalStorage.d.ts +1 -0
- package/dist/hooks/useOutsideAlerter.d.ts +1 -0
- package/dist/hooks/usePackFiltering.d.ts +7 -0
- package/dist/hooks/useQuantityControl.d.ts +10 -0
- package/dist/hooks/useScrollOnDrag.d.ts +11 -0
- package/dist/hooks/useShortcuts.d.ts +12 -0
- package/dist/hooks/useStoreFiltering.d.ts +11 -0
- package/dist/hooks/useTapAndHold.d.ts +10 -0
- package/dist/hooks/useTooltipPosition.d.ts +15 -0
- package/dist/hooks/useTouchTarget.d.ts +5 -0
- package/dist/index.d.ts +97 -0
- package/dist/libs/CastingTypeHelper.d.ts +1 -0
- package/dist/libs/StringHelpers.d.ts +1 -0
- package/dist/libs/itemCounter.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +74400 -0
- package/dist/long-bow.cjs.development.js.map +1 -0
- package/dist/long-bow.esm.js +74264 -0
- package/dist/long-bow.esm.js.map +1 -0
- package/dist/mocks/dailyTasks.mocks.d.ts +2 -0
- package/dist/mocks/equipmentSet.mocks.d.ts +16 -0
- package/dist/mocks/informationCenter.mocks.d.ts +5 -0
- package/dist/mocks/itemContainer.mocks.d.ts +3 -0
- package/dist/mocks/leaderboard.mocks.d.ts +4 -0
- package/dist/mocks/shortcut.mocks.d.ts +19 -0
- package/dist/mocks/skills.mocks.d.ts +2 -0
- package/dist/stories/Character/SkinSelectionGrid.stories.d.ts +1 -0
- package/dist/stories/Character/character/CharacterSelection.stories.d.ts +4 -0
- package/dist/stories/Character/character/CharacterSkinSelectionModal.stories.d.ts +1 -0
- package/dist/stories/Character/character/CharacterStatus.stories.d.ts +5 -0
- package/dist/stories/Character/equipment/EquipmentSet.stories.d.ts +5 -0
- package/dist/stories/Character/skills/SkillProgressBar.stories.d.ts +5 -0
- package/dist/stories/Character/skills/SkillsContainer.stories.d.ts +5 -0
- package/dist/stories/Features/chat/Chat.stories.d.ts +5 -0
- package/dist/stories/Features/chat/ChatDeprecated.stories.d.ts +5 -0
- package/dist/stories/Features/chat/ChatRevamp.stories.d.ts +9 -0
- package/dist/stories/Features/controller/CircullarController.stories.d.ts +5 -0
- package/dist/stories/Features/craftbook/CraftBook.stories.d.ts +8 -0
- package/dist/stories/Features/dailyTasks/DailyTasks.stories.d.ts +1 -0
- package/dist/stories/Features/friend/FriendList.stories.d.ts +5 -0
- package/dist/stories/Features/leaderboard/Leaderboard.stories.d.ts +7 -0
- package/dist/stories/Features/loginStreak/LoginStreakPanel.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BlueprintSearchModal.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BuyOrderPanel.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BuyOrderRows.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/CharacterDetailModal.stories.d.ts +7 -0
- package/dist/stories/Features/marketplace/CharacterListingModal.stories.d.ts +8 -0
- package/dist/stories/Features/marketplace/CharacterMarketplace.stories.d.ts +11 -0
- package/dist/stories/Features/marketplace/HistoryPanel.stories.d.ts +1 -0
- package/dist/stories/Features/party/PartyCreate.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyDashboard.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyInvite.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyManager.stories.d.ts +6 -0
- package/dist/stories/Features/quest/QuestInfo.stories.d.ts +5 -0
- package/dist/stories/Features/quest/QuestList.stories.d.ts +8 -0
- package/dist/stories/Features/shortcuts/Shortcuts.stories.d.ts +5 -0
- package/dist/stories/Features/spells/SpellInfoDisplay.stories.d.ts +8 -0
- package/dist/stories/Features/spells/Spellbook.stories.d.ts +5 -0
- package/dist/stories/Features/store/FeaturedBanner.stories.d.ts +1 -0
- package/dist/stories/Features/store/MetadataCollector.stories.d.ts +1 -0
- package/dist/stories/Features/store/PurchaseSuccess.stories.d.ts +1 -0
- package/dist/stories/Features/store/Store.stories.d.ts +1 -0
- package/dist/stories/Features/store/StoreBadges.stories.d.ts +1 -0
- package/dist/stories/Features/store/TrustBar.stories.d.ts +1 -0
- package/dist/stories/Features/trading/ItemTradingComponent.stories.d.ts +5 -0
- package/dist/stories/Features/trading/Marketplace.stories.d.ts +4 -0
- package/dist/stories/Features/trading/MarketplaceRows.stories.d.ts +6 -0
- package/dist/stories/Features/trading/TradingMenu.stories.d.ts +5 -0
- package/dist/stories/Features/weather/DayNightPeriod.stories.d.ts +5 -0
- package/dist/stories/Features/weather/TimeWidget.stories.d.ts +5 -0
- package/dist/stories/Item/ItemInfoDisplay.stories.d.ts +8 -0
- package/dist/stories/NPC/dialog/NPCDialog.stories.d.ts +7 -0
- package/dist/stories/NPC/dialog/NPCHistoryDialog.stories.d.ts +5 -0
- package/dist/stories/NPC/dialog/NPCMultiDialog.stories.d.ts +5 -0
- package/dist/stories/UI/RPGUI/RPGUIContainers.stories.d.ts +5 -0
- package/dist/stories/UI/books/StaticBook.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/Button.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/CTAButton.stories.d.ts +18 -0
- package/dist/stories/UI/buttonsAndInputs/CheckItem.stories.d.ts +7 -0
- package/dist/stories/UI/buttonsAndInputs/RadioButton.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/RadioInput.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/SegmentedToggle.stories.d.ts +6 -0
- package/dist/stories/UI/containers/DraggableContainer.stories.d.ts +5 -0
- package/dist/stories/UI/containers/ItemContainer.stories.d.ts +11 -0
- package/dist/stories/UI/dropdownsAndSelectors/Arrow.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/Dropdown.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/GemSelector.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemPropertyColorSelector.stories.d.ts +6 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemQuantitySelector.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemSelector.stories.d.ts +4 -0
- package/dist/stories/UI/dropdownsAndSelectors/PropertySelect.stories.d.ts +5 -0
- package/dist/stories/UI/images/ImageCarousel.stories.d.ts +6 -0
- package/dist/stories/UI/images/SimpleImageCarousel.stories.d.ts +5 -0
- package/dist/stories/UI/info/InformationCenter.stories.d.ts +7 -0
- package/dist/stories/UI/joystick/JoystickDPad.stories.d.ts +6 -0
- package/dist/stories/UI/lists/ListMenu.stories.d.ts +5 -0
- package/dist/stories/UI/lists/ScrollList.stories.d.ts +5 -0
- package/dist/stories/UI/modals/ConfirmModal.stories.d.ts +5 -0
- package/dist/stories/UI/modals/ShopModal.stories.d.ts +5 -0
- package/dist/stories/UI/progress/ProgressBar.stories.d.ts +8 -0
- package/dist/stories/UI/progress/SimpleProgressBar.stories.d.ts +5 -0
- package/dist/stories/UI/sliders/RangeSlider.stories.d.ts +5 -0
- package/dist/stories/UI/steppers/Stepper.stories.d.ts +5 -0
- package/dist/stories/UI/steppers/TutorialStepper.stories.d.ts +5 -0
- package/dist/stories/UI/tabs/InternalTabs.stories.d.ts +7 -0
- package/dist/stories/UI/tabs/Multitab.stories.d.ts +6 -0
- package/dist/stories/UI/text/LabelPill.stories.d.ts +7 -0
- package/dist/stories/UI/text/Text.stories.d.ts +7 -0
- package/dist/stories/shared/RadioOption.stories.d.ts +8 -0
- package/dist/types/eventTypes.d.ts +4 -0
- package/dist/utils/atlasUtils.d.ts +2 -0
- package/dist/utils/colorUtils.d.ts +1 -0
- package/dist/utils/itemUtils.d.ts +8 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MarketplaceAcceptedCurrency } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export { MarketplaceAcceptedCurrency };
|
|
4
|
+
export interface IMarketplaceSettingsPanelProps {
|
|
5
|
+
acceptedCurrency: MarketplaceAcceptedCurrency;
|
|
6
|
+
onAcceptedCurrencyChange: (value: MarketplaceAcceptedCurrency) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const MarketplaceSettingsPanel: React.FC<IMarketplaceSettingsPanelProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ICharacter, ICharacterListing } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IMyCharacterListingsPanelProps {
|
|
4
|
+
myCharacterListings: ICharacterListing[];
|
|
5
|
+
totalCount: number;
|
|
6
|
+
currentPage: number;
|
|
7
|
+
itemsPerPage: number;
|
|
8
|
+
onPageChange: (page: number) => void;
|
|
9
|
+
onCharacterDelist: (listingId: string) => void;
|
|
10
|
+
/** Characters that can be listed (used for the List a Character modal) */
|
|
11
|
+
accountCharacters: ICharacter[];
|
|
12
|
+
onCharacterList: (characterId: string, price: number) => void;
|
|
13
|
+
/** Items atlas — for UI sprites like the DC coin */
|
|
14
|
+
atlasJSON: any;
|
|
15
|
+
atlasIMG: any;
|
|
16
|
+
/** Entities atlas — for character sprites */
|
|
17
|
+
characterAtlasJSON: any;
|
|
18
|
+
characterAtlasIMG: any;
|
|
19
|
+
enableHotkeys?: () => void;
|
|
20
|
+
disableHotkeys?: () => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const MyCharacterListingsPanel: React.FC<IMyCharacterListingsPanelProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IOptionsProps } from '../../Dropdown';
|
|
2
|
+
export declare enum OrderByType {
|
|
3
|
+
Name = "Name",
|
|
4
|
+
Price = "Price"
|
|
5
|
+
}
|
|
6
|
+
export declare const itemTypeOptions: IOptionsProps[];
|
|
7
|
+
export declare const itemRarityOptions: IOptionsProps[];
|
|
8
|
+
export declare const orderByOptions: IOptionsProps[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IContainerStyles {
|
|
3
|
+
height?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
}
|
|
6
|
+
interface IProps {
|
|
7
|
+
id: string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
styles?: IContainerStyles;
|
|
10
|
+
centerContent?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const TabBody: React.FC<IProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ITab {
|
|
3
|
+
label: string;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export declare enum MultitabType {
|
|
7
|
+
Brown = "brown",
|
|
8
|
+
Gray = "gray"
|
|
9
|
+
}
|
|
10
|
+
export interface ITabsContainer {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
onCloseButton?: () => void;
|
|
13
|
+
tabs: ITab[];
|
|
14
|
+
type: MultitabType;
|
|
15
|
+
styles?: {
|
|
16
|
+
width?: string;
|
|
17
|
+
minWidth?: string;
|
|
18
|
+
minHeight?: string;
|
|
19
|
+
height?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
imgSrc?: string;
|
|
23
|
+
imgWidth?: string;
|
|
24
|
+
};
|
|
25
|
+
isDraggableModal?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare const TabsContainer: React.FC<ITabsContainer>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IQuestionDialog, IQuestionDialogAnswer } from './QuestionDialog/QuestionDialog';
|
|
3
|
+
export declare enum NPCDialogType {
|
|
4
|
+
TextOnly = "TextOnly",
|
|
5
|
+
TextAndThumbnail = "TextAndThumbnail"
|
|
6
|
+
}
|
|
7
|
+
export interface INPCDialogProps {
|
|
8
|
+
text?: string;
|
|
9
|
+
type: NPCDialogType;
|
|
10
|
+
imagePath?: string;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
isQuestionDialog?: boolean;
|
|
13
|
+
answers?: IQuestionDialogAnswer[];
|
|
14
|
+
questions?: IQuestionDialog[];
|
|
15
|
+
}
|
|
16
|
+
export declare const NPCDialog: React.FC<INPCDialogProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NPCDialogType } from '../..';
|
|
3
|
+
interface IProps {
|
|
4
|
+
text: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onEndStep?: () => void;
|
|
7
|
+
onStartStep?: () => void;
|
|
8
|
+
type?: NPCDialogType;
|
|
9
|
+
}
|
|
10
|
+
export declare const NPCDialogText: React.FC<IProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare enum ImgSide {
|
|
3
|
+
right = "right",
|
|
4
|
+
left = "left"
|
|
5
|
+
}
|
|
6
|
+
export interface NPCMultiDialogType {
|
|
7
|
+
text: string;
|
|
8
|
+
imagePath?: string;
|
|
9
|
+
imageSide: ImgSide;
|
|
10
|
+
}
|
|
11
|
+
export interface INPCMultiDialogProps {
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
textAndTypeArray: NPCMultiDialogType[];
|
|
14
|
+
}
|
|
15
|
+
export declare const NPCMultiDialog: React.FC<INPCMultiDialogProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IQuestionDialogAnswer {
|
|
3
|
+
id: number;
|
|
4
|
+
text: string;
|
|
5
|
+
nextQuestionId?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface IQuestionDialog {
|
|
8
|
+
id: number;
|
|
9
|
+
text: string;
|
|
10
|
+
answerIds?: number[];
|
|
11
|
+
}
|
|
12
|
+
export interface IProps {
|
|
13
|
+
questions: IQuestionDialog[];
|
|
14
|
+
answers: IQuestionDialogAnswer[];
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const QuestionDialog: React.FC<IProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PartyCreate';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IPartyRowProps {
|
|
3
|
+
id: string;
|
|
4
|
+
charName: string;
|
|
5
|
+
charClass: string;
|
|
6
|
+
charLevel: number;
|
|
7
|
+
playerQty: number;
|
|
8
|
+
isInvited: boolean;
|
|
9
|
+
partyName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const PartyRow: React.FC<IPartyRowProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICharacterPartyShared } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IPartyManagerProps {
|
|
4
|
+
partyRows: ICharacterPartyShared | null;
|
|
5
|
+
userId: string;
|
|
6
|
+
onRemovePlayer: (id: string) => void;
|
|
7
|
+
onChangeLeader: (id: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const PartyManager: React.FC<IPartyManagerProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IPartyManagerRowProps {
|
|
3
|
+
id: string;
|
|
4
|
+
charName: string;
|
|
5
|
+
charClass: string;
|
|
6
|
+
isLeader: boolean;
|
|
7
|
+
leaderId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
onRemovePlayer: (id: string) => void;
|
|
10
|
+
onChangeLeader: (id: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const PartyManagerRow: React.FC<IPartyManagerRowProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mockedValues';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICharacterPartyShared } from '@rpg-engine/shared';
|
|
2
|
+
import { IPartyRowProps } from '../PartyDashboard/PartyRows';
|
|
3
|
+
import { IPlayersRowProps } from '../PartyInvite';
|
|
4
|
+
export declare const mockedPartyRows: IPartyRowProps[];
|
|
5
|
+
export declare const mockedPlayersRows2: ICharacterPartyShared;
|
|
6
|
+
export declare const mockedPlayersRows: IPlayersRowProps[];
|
|
7
|
+
export declare const mockedPartyManager: any[];
|
|
8
|
+
export declare const getMockedPlayersRowsLeader: (userId: string) => ICharacterPartyShared;
|
|
9
|
+
export declare const getMockedPlayersRowsNotLeader: (userId: string) => ICharacterPartyShared;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IBarProps {
|
|
3
|
+
max: number;
|
|
4
|
+
value: number;
|
|
5
|
+
color: 'red' | 'blue' | 'green';
|
|
6
|
+
style?: Record<string, any>;
|
|
7
|
+
displayText?: boolean;
|
|
8
|
+
percentageWidth?: number;
|
|
9
|
+
minWidth?: number;
|
|
10
|
+
mobileScale?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const ProgressBar: React.FC<IBarProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IPropertySelectProps {
|
|
3
|
+
availableProperties: Array<IPropertiesProps>;
|
|
4
|
+
selectedProperty?: IPropertiesProps;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
onChange: (selectedProperty: IPropertiesProps) => void;
|
|
7
|
+
}
|
|
8
|
+
export interface IPropertiesProps {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const PropertySelect: React.FC<IPropertySelectProps>;
|
|
13
|
+
export default PropertySelect;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IQuantitySelectorProps {
|
|
3
|
+
maxQuantity: number;
|
|
4
|
+
initialQuantity?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
onConfirm: (quantity: number) => void;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const QuantitySelector: React.FC<IQuantitySelectorProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,13 @@
|
|
|
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>;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SingleShortcut: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
onClick?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const SkillProgressBar: React.FC<ISkillProgressBarProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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>;
|