@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,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IShopModalProps } from '../../../components/ShopModal/ShopModal';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IShopModalProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IBarProps } from '../../../components/ProgressBar';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<IBarProps>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IBarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ISimpleProgressBarProps } from '../../../components/SimpleProgressBar';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ISimpleProgressBarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IRangeSliderProps } from '../../../components/RangeSlider';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IRangeSliderProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ArrowBarProps } from '../../../components/Arrow/SelectArrow';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ArrowBarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ITutorialStepperProps } from '../../../components/Tutorial/TutorialStepper';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITutorialStepperProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { TableTabProps } from '../../../components/InternalTabs/InternalTabs';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableTabProps>;
|
|
6
|
+
export declare const SingleTab: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableTabProps>;
|
|
7
|
+
export declare const ManyTabs: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableTabProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ITabsContainer } from '../../..';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Brown: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITabsContainer>;
|
|
6
|
+
export declare const Gray: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITabsContainer>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ILabelPillProps } from '../../../components/shared/LabelPill';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ILabelPillProps>;
|
|
6
|
+
export declare const BuyRequest: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ILabelPillProps>;
|
|
7
|
+
export declare const Status: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ILabelPillProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IInputProps } from '../../../../src/components/Input';
|
|
3
|
+
import { ITextArea } from '../../../../src/components/TextArea';
|
|
4
|
+
declare const meta: Meta;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Input: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IInputProps>;
|
|
7
|
+
export declare const TextArea: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ITextArea>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/react';
|
|
2
|
+
import { IRadioOptionProps } from '../../components/shared/RadioOption';
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Unselected: Story<IRadioOptionProps>;
|
|
6
|
+
export declare const Selected: Story<IRadioOptionProps>;
|
|
7
|
+
export declare const Disabled: Story<IRadioOptionProps>;
|
|
8
|
+
export declare const InteractiveGroup: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toUppercaseHexColor: (color: string | undefined) => string | undefined;
|
package/package.json
CHANGED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import React, { useCallback } from 'react';
|
|
2
|
+
import { FaTimes } from 'react-icons/fa';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { ISkillInfoEntry } from '../constants/skillInfoData';
|
|
5
|
+
import ModalPortal from './Abstractions/ModalPortal';
|
|
6
|
+
|
|
7
|
+
interface IProps {
|
|
8
|
+
info: ISkillInfoEntry;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const SkillInfoModal: React.FC<IProps> = ({ info, onClose }) => {
|
|
13
|
+
const stopPropagation = useCallback((e: React.PointerEvent) => {
|
|
14
|
+
e.stopPropagation();
|
|
15
|
+
}, []);
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<ModalPortal>
|
|
19
|
+
<Overlay onPointerDown={onClose} />
|
|
20
|
+
<ModalContainer>
|
|
21
|
+
<ModalContent onPointerDown={stopPropagation}>
|
|
22
|
+
<Header>
|
|
23
|
+
<ColorBar $color={info.color} />
|
|
24
|
+
<Title $color={info.color}>{info.name}</Title>
|
|
25
|
+
<CloseButton onPointerDown={onClose}>
|
|
26
|
+
<FaTimes />
|
|
27
|
+
</CloseButton>
|
|
28
|
+
</Header>
|
|
29
|
+
|
|
30
|
+
<Section>
|
|
31
|
+
<Label>What it does</Label>
|
|
32
|
+
<Text>{info.description}</Text>
|
|
33
|
+
</Section>
|
|
34
|
+
|
|
35
|
+
<Section>
|
|
36
|
+
<Label>How to train</Label>
|
|
37
|
+
<Text>{info.howToTrain}</Text>
|
|
38
|
+
</Section>
|
|
39
|
+
|
|
40
|
+
{info.notes && (
|
|
41
|
+
<Section>
|
|
42
|
+
<Label>Notes</Label>
|
|
43
|
+
<Text>{info.notes}</Text>
|
|
44
|
+
</Section>
|
|
45
|
+
)}
|
|
46
|
+
</ModalContent>
|
|
47
|
+
</ModalContainer>
|
|
48
|
+
</ModalPortal>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const Overlay = styled.div`
|
|
53
|
+
position: fixed;
|
|
54
|
+
inset: 0;
|
|
55
|
+
background: rgba(0, 0, 0, 0.65);
|
|
56
|
+
z-index: 1000;
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
const ModalContainer = styled.div`
|
|
60
|
+
position: fixed;
|
|
61
|
+
inset: 0;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
z-index: 1001;
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
`;
|
|
68
|
+
|
|
69
|
+
const ModalContent = styled.div`
|
|
70
|
+
background: #1a1a2e;
|
|
71
|
+
border: 2px solid #f59e0b;
|
|
72
|
+
border-radius: 8px;
|
|
73
|
+
padding: 20px 24px 24px;
|
|
74
|
+
width: 340px;
|
|
75
|
+
max-width: 90%;
|
|
76
|
+
max-height: 80dvh;
|
|
77
|
+
overflow-y: auto;
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
gap: 14px;
|
|
81
|
+
pointer-events: auto;
|
|
82
|
+
animation: scaleIn 0.15s ease-out;
|
|
83
|
+
|
|
84
|
+
@keyframes scaleIn {
|
|
85
|
+
from { transform: scale(0.85); opacity: 0; }
|
|
86
|
+
to { transform: scale(1); opacity: 1; }
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
|
|
90
|
+
const Header = styled.div`
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: 8px;
|
|
94
|
+
`;
|
|
95
|
+
|
|
96
|
+
const ColorBar = styled.div<{ $color: string }>`
|
|
97
|
+
width: 3px;
|
|
98
|
+
height: 1rem;
|
|
99
|
+
background: ${({ $color }) => $color};
|
|
100
|
+
border-radius: 2px;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
`;
|
|
103
|
+
|
|
104
|
+
const Title = styled.h3<{ $color: string }>`
|
|
105
|
+
margin: 0;
|
|
106
|
+
flex: 1;
|
|
107
|
+
font-family: 'Press Start 2P', cursive;
|
|
108
|
+
font-size: 0.65rem;
|
|
109
|
+
color: ${({ $color }) => $color};
|
|
110
|
+
`;
|
|
111
|
+
|
|
112
|
+
const CloseButton = styled.button`
|
|
113
|
+
background: none;
|
|
114
|
+
border: none;
|
|
115
|
+
color: rgba(255, 255, 255, 0.6);
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
font-size: 1rem;
|
|
118
|
+
padding: 4px;
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
pointer-events: auto;
|
|
122
|
+
|
|
123
|
+
&:hover {
|
|
124
|
+
color: #ffffff;
|
|
125
|
+
}
|
|
126
|
+
`;
|
|
127
|
+
|
|
128
|
+
const Section = styled.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
gap: 6px;
|
|
132
|
+
`;
|
|
133
|
+
|
|
134
|
+
const Label = styled.span`
|
|
135
|
+
font-size: 0.5rem;
|
|
136
|
+
font-weight: bold;
|
|
137
|
+
text-transform: uppercase;
|
|
138
|
+
letter-spacing: 0.05em;
|
|
139
|
+
color: rgba(255, 255, 255, 0.45);
|
|
140
|
+
`;
|
|
141
|
+
|
|
142
|
+
const Text = styled.p`
|
|
143
|
+
font-size: 0.55rem;
|
|
144
|
+
line-height: 1.6;
|
|
145
|
+
color: rgba(255, 255, 255, 0.85);
|
|
146
|
+
margin: 0;
|
|
147
|
+
`;
|
|
@@ -11,7 +11,7 @@ import styled from 'styled-components';
|
|
|
11
11
|
import { uiColors } from '../constants/uiColors';
|
|
12
12
|
import { SKILL_INFO_DATA } from '../constants/skillInfoData';
|
|
13
13
|
import { DraggableContainer } from './DraggableContainer';
|
|
14
|
-
import {
|
|
14
|
+
import { SkillInfoModal } from './SkillInfoModal';
|
|
15
15
|
import { SkillProgressBar } from './SkillProgressBar';
|
|
16
16
|
|
|
17
17
|
export interface ISkillContainerProps {
|
|
@@ -159,7 +159,7 @@ export const SkillsContainer: React.FC<ISkillContainerProps> = ({
|
|
|
159
159
|
<CloseButton onPointerDown={onCloseButton}>X</CloseButton>
|
|
160
160
|
)}
|
|
161
161
|
{selectedInfo && (
|
|
162
|
-
<
|
|
162
|
+
<SkillInfoModal
|
|
163
163
|
info={selectedInfo}
|
|
164
164
|
onClose={() => setSelectedSkillKey(null)}
|
|
165
165
|
/>
|
|
@@ -208,7 +208,6 @@ export const SkillsContainer: React.FC<ISkillContainerProps> = ({
|
|
|
208
208
|
};
|
|
209
209
|
|
|
210
210
|
const SkillsDraggableContainer = styled(DraggableContainer)`
|
|
211
|
-
position: relative;
|
|
212
211
|
border: 1px solid black;
|
|
213
212
|
|
|
214
213
|
max-width: 450px;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import { ISkillInfoEntry } from '../constants/skillInfoData';
|
|
4
|
-
|
|
5
|
-
interface IProps {
|
|
6
|
-
info: ISkillInfoEntry;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const SkillInfoOverlay: React.FC<IProps> = ({ info, onClose }) => (
|
|
11
|
-
<Overlay>
|
|
12
|
-
<Header>
|
|
13
|
-
<ColorBar $color={info.color} />
|
|
14
|
-
<Title $color={info.color}>{info.name}</Title>
|
|
15
|
-
<CloseBtn onPointerDown={onClose}>✕</CloseBtn>
|
|
16
|
-
</Header>
|
|
17
|
-
<Section>
|
|
18
|
-
<Label>What it does</Label>
|
|
19
|
-
<Text>{info.description}</Text>
|
|
20
|
-
</Section>
|
|
21
|
-
<Section>
|
|
22
|
-
<Label>How to train</Label>
|
|
23
|
-
<Text>{info.howToTrain}</Text>
|
|
24
|
-
</Section>
|
|
25
|
-
{info.notes && (
|
|
26
|
-
<Section>
|
|
27
|
-
<Label>Notes</Label>
|
|
28
|
-
<Text>{info.notes}</Text>
|
|
29
|
-
</Section>
|
|
30
|
-
)}
|
|
31
|
-
</Overlay>
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
const Overlay = styled.div`
|
|
35
|
-
position: absolute;
|
|
36
|
-
inset: 0;
|
|
37
|
-
background: rgba(20, 20, 30, 0.97);
|
|
38
|
-
z-index: 10;
|
|
39
|
-
overflow-y: auto;
|
|
40
|
-
padding: 0.75rem;
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
gap: 0.75rem;
|
|
44
|
-
`;
|
|
45
|
-
|
|
46
|
-
const Header = styled.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
align-items: center;
|
|
50
|
-
gap: 0.4rem;
|
|
51
|
-
margin-bottom: 0.25rem;
|
|
52
|
-
`;
|
|
53
|
-
|
|
54
|
-
const ColorBar = styled.div<{ $color: string }>`
|
|
55
|
-
width: 3px;
|
|
56
|
-
height: 1rem;
|
|
57
|
-
background: ${({ $color }) => $color};
|
|
58
|
-
border-radius: 2px;
|
|
59
|
-
flex-shrink: 0;
|
|
60
|
-
`;
|
|
61
|
-
|
|
62
|
-
const Title = styled.span<{ $color: string }>`
|
|
63
|
-
font-size: 0.65rem;
|
|
64
|
-
font-weight: bold;
|
|
65
|
-
flex: 1;
|
|
66
|
-
color: ${({ $color }) => $color};
|
|
67
|
-
`;
|
|
68
|
-
|
|
69
|
-
const CloseBtn = styled.div`
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
color: rgba(255, 255, 255, 0.6);
|
|
72
|
-
font-size: 0.7rem;
|
|
73
|
-
line-height: 1;
|
|
74
|
-
padding: 2px 4px;
|
|
75
|
-
|
|
76
|
-
&:hover {
|
|
77
|
-
color: rgba(255, 255, 255, 0.9);
|
|
78
|
-
}
|
|
79
|
-
`;
|
|
80
|
-
|
|
81
|
-
const Section = styled.div`
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
gap: 0.15rem;
|
|
85
|
-
`;
|
|
86
|
-
|
|
87
|
-
const Label = styled.span`
|
|
88
|
-
font-size: 0.5rem;
|
|
89
|
-
font-weight: bold;
|
|
90
|
-
text-transform: uppercase;
|
|
91
|
-
letter-spacing: 0.05em;
|
|
92
|
-
color: rgba(255, 255, 255, 0.45);
|
|
93
|
-
`;
|
|
94
|
-
|
|
95
|
-
const Text = styled.p`
|
|
96
|
-
font-size: 0.55rem;
|
|
97
|
-
line-height: 1.5;
|
|
98
|
-
color: rgba(255, 255, 255, 0.85);
|
|
99
|
-
margin: 0;
|
|
100
|
-
`;
|