@rpg-engine/long-bow 0.8.194 → 0.8.196
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/SkillInfoModal.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 +74415 -0
- package/dist/long-bow.cjs.development.js.map +1 -0
- 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 +74279 -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 +1 -1
- package/src/components/SkillInfoModal.tsx +147 -0
- package/src/components/SkillsContainer.tsx +2 -3
- package/src/components/SkillInfoOverlay.tsx +0 -100
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IGemSchema, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IGemSelectorProps {
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
item: IItem;
|
|
7
|
+
scale?: number;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onSelect: (selectedGems: IGemSchema[]) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const GemSelector: React.FC<IGemSelectorProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IOptionsItemSelectorProps {
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
imageKey: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IItemSelectorProps {
|
|
8
|
+
atlasJSON: any;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
options: IOptionsItemSelectorProps[];
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onSelect: (value: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const ItemSelector: React.FC<IItemSelectorProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IFilterOption {
|
|
3
|
+
id: number;
|
|
4
|
+
value: string;
|
|
5
|
+
option: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IFilterSection {
|
|
8
|
+
type: 'range' | 'dropdown';
|
|
9
|
+
label: string;
|
|
10
|
+
key: string;
|
|
11
|
+
options?: IFilterOption[];
|
|
12
|
+
value?: string | [number | undefined, number | undefined];
|
|
13
|
+
onChange: (value: any) => void;
|
|
14
|
+
}
|
|
15
|
+
interface IAdvancedFiltersProps {
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
onToggle: () => void;
|
|
18
|
+
sections: IFilterSection[];
|
|
19
|
+
onClearAll: () => void;
|
|
20
|
+
hasActiveFilters: boolean;
|
|
21
|
+
onClose?: () => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const AdvancedFilters: React.FC<IAdvancedFiltersProps>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IBaseTooltipProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
width?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const TooltipTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const Section: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const SectionTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const StatsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export declare const StatItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const BaseTooltip: React.FC<IBaseTooltipProps>;
|
|
12
|
+
export default BaseTooltip;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICTAButtonProps {
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
textColor?: string;
|
|
9
|
+
iconColor?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
pulse?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const CTAButton: React.FC<ICTAButtonProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICardProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imageUrl?: string | {
|
|
6
|
+
src: string;
|
|
7
|
+
default?: string;
|
|
8
|
+
};
|
|
9
|
+
category?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
footer?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ShoppingCard: React.FC<ICardProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A reusable CSS mixin for a sleek, thin, 4px webkit scrollbar.
|
|
3
|
+
* Drops the thick native OS scrollbar arrows and housing.
|
|
4
|
+
*/
|
|
5
|
+
export declare const customScrollbarCSS: import("styled-components").FlattenSimpleInterpolation;
|
|
6
|
+
/**
|
|
7
|
+
* A basic div wrapper that applies the custom scrollbar style and guarantees overflow-y.
|
|
8
|
+
*/
|
|
9
|
+
export declare const CustomScrollbarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
maxLines?: 1 | 2 | 3 | 4 | 5;
|
|
5
|
+
maxWidth: string;
|
|
6
|
+
fontSize?: string;
|
|
7
|
+
center?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Ellipsis: ({ children, maxLines, maxWidth, fontSize, center, }: IProps) => JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LabelPill';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionsProps } from '../../Dropdown';
|
|
3
|
+
interface IPaginatedContentProps<T> {
|
|
4
|
+
items: T[];
|
|
5
|
+
itemsPerPage?: number;
|
|
6
|
+
renderItem: (item: T) => React.ReactNode;
|
|
7
|
+
emptyMessage?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
filterOptions?: {
|
|
10
|
+
options: IOptionsProps[];
|
|
11
|
+
selectedOption: string;
|
|
12
|
+
onOptionChange: (value: string) => void;
|
|
13
|
+
};
|
|
14
|
+
searchOptions?: {
|
|
15
|
+
value: string;
|
|
16
|
+
onChange: (value: string) => void;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
rightElement?: React.ReactNode;
|
|
19
|
+
};
|
|
20
|
+
dependencies?: any[];
|
|
21
|
+
tabId?: string;
|
|
22
|
+
layout?: 'grid' | 'list';
|
|
23
|
+
gridColumns?: number;
|
|
24
|
+
itemHeight?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const PaginatedContent: <T extends unknown>({ items, itemsPerPage, renderItem, emptyMessage, className, filterOptions, searchOptions, dependencies, tabId, layout, gridColumns, itemHeight, }: IPaginatedContentProps<T>) => React.ReactElement;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IRadioOptionProps {
|
|
3
|
+
selected: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onSelect: () => void;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A selectable row with an amber radio circle indicator.
|
|
10
|
+
* Used for single-select option lists throughout the Marketplace UI.
|
|
11
|
+
* Export `RadioCircle` separately so consumers can compose custom layouts.
|
|
12
|
+
*/
|
|
13
|
+
export declare const RadioOption: React.FC<IRadioOptionProps>;
|
|
14
|
+
export declare const RadioCircle: import("styled-components").StyledComponent<"div", any, {
|
|
15
|
+
$selected: boolean;
|
|
16
|
+
}, never>;
|
|
17
|
+
/** Convenience wrapper for option label text with RPGUI font override. */
|
|
18
|
+
export declare const RadioOptionLabel: import("styled-components").StyledComponent<"span", any, {
|
|
19
|
+
$disabled?: boolean | undefined;
|
|
20
|
+
}, never>;
|
|
21
|
+
/** Convenience wrapper for option sub-text with RPGUI font override. */
|
|
22
|
+
export declare const RadioOptionSub: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionsProps } from '../../Dropdown';
|
|
3
|
+
interface IScrollableContentProps<T> {
|
|
4
|
+
items: T[];
|
|
5
|
+
renderItem: (item: T) => React.ReactNode;
|
|
6
|
+
emptyMessage?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
filterOptions?: {
|
|
9
|
+
options: IOptionsProps[];
|
|
10
|
+
selectedOption: string;
|
|
11
|
+
onOptionChange: (value: string) => void;
|
|
12
|
+
};
|
|
13
|
+
searchOptions?: {
|
|
14
|
+
value: string;
|
|
15
|
+
onChange: (value: string) => void;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
};
|
|
18
|
+
layout?: 'grid' | 'list';
|
|
19
|
+
gridColumns?: number;
|
|
20
|
+
maxHeight?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const ScrollableContent: <T extends unknown>({ items, renderItem, emptyMessage, className, filterOptions, searchOptions, layout, gridColumns, maxHeight, }: IScrollableContentProps<T>) => React.ReactElement;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ISearchBarProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
rightElement?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const SearchBar: React.FC<ISearchBarProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionsProps } from '../../Dropdown';
|
|
3
|
+
interface ISearchHeaderProps {
|
|
4
|
+
searchOptions?: {
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
rightElement?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
filterOptions?: {
|
|
11
|
+
options: IOptionsProps[];
|
|
12
|
+
selectedOption: string;
|
|
13
|
+
onOptionChange: (value: string) => void;
|
|
14
|
+
};
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const SearchHeader: React.FC<ISearchHeaderProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ISegmentedToggleOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export interface ISegmentedToggleProps {
|
|
7
|
+
options: ISegmentedToggleOption[];
|
|
8
|
+
activeId: string;
|
|
9
|
+
onChange: (id: string) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const SegmentedToggle: React.FC<ISegmentedToggleProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SegmentedToggle';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICardProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imageUrl?: string | {
|
|
6
|
+
src: string;
|
|
7
|
+
default?: string;
|
|
8
|
+
};
|
|
9
|
+
category?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
footer?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ShoppingCard: React.FC<ICardProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICardProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
imageUrl?: string | {
|
|
6
|
+
src: string;
|
|
7
|
+
default?: string;
|
|
8
|
+
};
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
footer?: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const ShoppingCardHorizontal: React.FC<ICardProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
content: string | ReactNode;
|
|
4
|
+
direction?: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
textColor?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
showDelay?: number;
|
|
9
|
+
hideDelay?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const SimpleTooltip: React.FC<TooltipProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
atlasJSON: any;
|
|
4
|
+
atlasIMG: any;
|
|
5
|
+
spriteKey: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
grayScale?: boolean;
|
|
9
|
+
opacity?: number;
|
|
10
|
+
tintColor?: string;
|
|
11
|
+
onPointerDown?: () => void;
|
|
12
|
+
containerStyle?: any;
|
|
13
|
+
imgStyle?: any;
|
|
14
|
+
imgScale?: number;
|
|
15
|
+
imgClassname?: string;
|
|
16
|
+
centered?: boolean;
|
|
17
|
+
borderRadius?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const SpriteFromAtlas: React.FC<IProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ITabOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface ITabsProps {
|
|
8
|
+
options: ITabOption[];
|
|
9
|
+
activeTabId: string;
|
|
10
|
+
onTabChange: (tabId: string) => void;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Tabs: React.FC<ITabsProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const uiColors: {
|
|
2
|
+
lightGray: string;
|
|
3
|
+
gray: string;
|
|
4
|
+
darkGray: string;
|
|
5
|
+
darkYellow: string;
|
|
6
|
+
yellow: string;
|
|
7
|
+
orange: string;
|
|
8
|
+
cardinal: string;
|
|
9
|
+
red: string;
|
|
10
|
+
darkRed: string;
|
|
11
|
+
raisinBlack: string;
|
|
12
|
+
navyBlue: string;
|
|
13
|
+
purple: string;
|
|
14
|
+
darkPurple: string;
|
|
15
|
+
blue: string;
|
|
16
|
+
darkBlue: string;
|
|
17
|
+
brown: string;
|
|
18
|
+
lightGreen: string;
|
|
19
|
+
green: string;
|
|
20
|
+
brownGreen: string;
|
|
21
|
+
white: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IS_MOBILE_OR_TABLET: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ICharacterProps } from '../components/Character/CharacterSelection';
|
|
2
|
+
export declare const useCharacterSkinNavigation: (availableCharacters: ICharacterProps[], itemKey: string) => {
|
|
3
|
+
currentIndex: number;
|
|
4
|
+
currentCharacter: ICharacterProps;
|
|
5
|
+
handlePreviousSkin: () => void;
|
|
6
|
+
handleNextSkin: () => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PrivateChatCharacter } from '../components/ChatRevamp/types';
|
|
2
|
+
interface IUseChat {
|
|
3
|
+
minimizedByDefault: boolean;
|
|
4
|
+
isPrivate: boolean;
|
|
5
|
+
onChangeTab: (tabId: string) => void;
|
|
6
|
+
onPreviousChatCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
7
|
+
hideSearchCharacterUI?: () => void;
|
|
8
|
+
unseenMessageCharacterIds?: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare const useChat: ({ minimizedByDefault, isPrivate, onChangeTab, onPreviousChatCharacterClick, hideSearchCharacterUI, unseenMessageCharacterIds, }: IUseChat) => {
|
|
11
|
+
showRecentChats: boolean;
|
|
12
|
+
isExpanded: boolean;
|
|
13
|
+
toggleExpand: () => void;
|
|
14
|
+
toggleRecentChats: () => void;
|
|
15
|
+
handleTabChange: (tabId: string) => void;
|
|
16
|
+
handlePreviousChatCharacterClick: (character: PrivateChatCharacter) => void;
|
|
17
|
+
hasUnseenMessages: boolean | undefined;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useEventListener: (type: any, handler: any, el?: Window & typeof globalThis) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useLocalStorage<T>(key: string, initialValue: T): readonly [T, (value: T | ((val: T) => T)) => void];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useOutsideClick(ref: any, id: string): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IItemPack } from '@rpg-engine/shared';
|
|
3
|
+
export declare const usePackFiltering: (packs: IItemPack[]) => {
|
|
4
|
+
searchQuery: string;
|
|
5
|
+
setSearchQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
6
|
+
filteredPacks: IItemPack[];
|
|
7
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const useQuantityControl: (initialQuantity?: number, min?: number, max?: number) => {
|
|
3
|
+
quantity: number;
|
|
4
|
+
setQuantity: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
5
|
+
handleQuantityChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
handleBlur: () => void;
|
|
7
|
+
incrementQuantity: () => void;
|
|
8
|
+
decrementQuantity: () => void;
|
|
9
|
+
resetQuantity: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IUseScrollOnDragProps {
|
|
3
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
4
|
+
threshold: number;
|
|
5
|
+
scrollStep: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const useScrollOnDrag: ({ containerRef, threshold, scrollStep, }: IUseScrollOnDragProps) => {
|
|
8
|
+
startScrolling: (clientY: number) => void;
|
|
9
|
+
stopScrolling: () => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IItem, IShortcut } from '@rpg-engine/shared';
|
|
2
|
+
interface IUseShortcuts {
|
|
3
|
+
itemContainer: {
|
|
4
|
+
slots: Record<number, IItem | null | undefined>;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export declare const useShortcuts: ({ itemContainer }: IUseShortcuts) => {
|
|
8
|
+
shortcuts: IShortcut[];
|
|
9
|
+
setItemShortcut: (key: string, index: number) => void;
|
|
10
|
+
removeShortcut: (index: number) => void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IProductBlueprint, ItemType } from '@rpg-engine/shared';
|
|
3
|
+
import { IOptionsProps } from '../components/Dropdown';
|
|
4
|
+
export declare const useStoreFiltering: (items: IProductBlueprint[]) => {
|
|
5
|
+
searchQuery: string;
|
|
6
|
+
setSearchQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
7
|
+
selectedCategory: ItemType | "all";
|
|
8
|
+
setSelectedCategory: import("react").Dispatch<import("react").SetStateAction<ItemType | "all">>;
|
|
9
|
+
categoryOptions: IOptionsProps[];
|
|
10
|
+
filteredItems: IProductBlueprint[];
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface ITapAndHoldProps {
|
|
2
|
+
onHoldFn: (...args: any[]) => void;
|
|
3
|
+
holdTime?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const useTapAndHold: ({ onHoldFn: onHold, holdTime }: ITapAndHoldProps) => {
|
|
6
|
+
onTouchStart: () => void;
|
|
7
|
+
onTouchEnd: () => void;
|
|
8
|
+
onTouchCancel: () => void;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ITooltipPosition {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}
|
|
5
|
+
interface ITooltipState<T> {
|
|
6
|
+
item: T | null;
|
|
7
|
+
position: ITooltipPosition;
|
|
8
|
+
}
|
|
9
|
+
export declare const useTooltipPosition: <T>() => {
|
|
10
|
+
tooltipState: ITooltipState<T> | null;
|
|
11
|
+
handleMouseEnter: (item: T, event: React.MouseEvent) => void;
|
|
12
|
+
handleMouseLeave: () => void;
|
|
13
|
+
TOOLTIP_WIDTH: number;
|
|
14
|
+
};
|
|
15
|
+
export {};
|