heroes-of-chess-components 0.6.20 → 0.6.23
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/lib/HocComponents/HTrafficLight/HTrafficLight.js +57 -0
- package/dist/lib/HocComponents/index.js +2 -1
- package/dist/lib/assets/HocLogos/Titans.svg +25 -25
- package/dist/lib/assets/HocLogos/shieldTitans.svg +32 -32
- package/dist/lib/assets/Icons/ui/connectCustomer.svg +17 -17
- package/dist/lib/assets/Icons/ui/petStore.svg +14 -14
- package/dist/lib/assets/Icons/ui/petStoreYellow.svg +7 -7
- package/dist/lib/assets/Icons/ui/ticketsNavbar.svg +5 -5
- package/dist/lib/assets/chessboard/blackBishop.svg +47 -47
- package/dist/lib/assets/chessboard/blackKing.svg +51 -51
- package/dist/lib/assets/chessboard/blackKnight.svg +63 -63
- package/dist/lib/assets/chessboard/blackPawn.svg +30 -30
- package/dist/lib/assets/chessboard/blackQueen.svg +68 -68
- package/dist/lib/assets/chessboard/blackRook.svg +81 -81
- package/dist/lib/assets/chessboard/whiteBishop.svg +40 -40
- package/dist/lib/assets/chessboard/whiteKing.svg +35 -35
- package/dist/lib/assets/chessboard/whiteKnight.svg +44 -44
- package/dist/lib/assets/chessboard/whitePawn.svg +26 -26
- package/dist/lib/assets/chessboard/whiteQueen.svg +54 -54
- package/dist/lib/assets/chessboard/whiteRook.svg +50 -50
- package/dist/lib/assets/games/cardMemory.svg +9 -9
- package/dist/lib/assets/notifications/newStore.svg +15 -15
- package/dist/lib/assets/store/brainRot.svg +23 -23
- package/dist/lib/assets/store/brainRotActive.svg +23 -23
- package/dist/lib/assets/store/brawlStars.svg +16 -16
- package/dist/lib/assets/store/brawlStarsActive.svg +16 -16
- package/dist/lib/assets/store/devilHunters.svg +33 -33
- package/dist/lib/assets/store/devilHuntersActive.svg +33 -33
- package/dist/lib/assets/store/halloween.svg +18 -18
- package/dist/lib/assets/store/halloweenActive.svg +18 -18
- package/dist/lib/assets/store/stitch.svg +19 -19
- package/dist/lib/assets/store/stitchActive.svg +19 -19
- package/dist/lib/assets/tickets/DoNotBurp.svg +41 -41
- package/dist/lib/assets/tickets/DontFart.svg +80 -80
- package/dist/lib/assets/tickets/NotReportBugs.svg +52 -52
- package/dist/lib/assets/tickets/NotUsePhone.svg +40 -40
- package/dist/lib/assets/tickets/notObjectInMouth.svg +64 -64
- package/dist/lib/assets/tickets/notRemoveMat.svg +59 -59
- package/dist/lib/assets/tickets/notYoutube.svg +65 -65
- package/dist/lib/assets/tickets/vulgaritiesInChat.svg +49 -49
- package/dist/lib/assets/tournament/christmasLogo.svg +120 -120
- package/dist/lib/assets/tournament/classicTournament.svg +18 -18
- package/dist/lib/assets/tournament/clockTournament.svg +19 -19
- package/dist/lib/assets/tournament/darkTorch.svg +202 -202
- package/dist/lib/assets/tournament/digimonLogo.svg +101 -101
- package/dist/lib/assets/tournament/halloweenLogo.svg +43 -43
- package/dist/lib/assets/tournament/marioLogo.svg +81 -81
- package/dist/lib/assets/tournament/marioVillainsLogo.svg +111 -111
- package/dist/lib/assets/tournament/mickeyLogo.svg +17 -17
- package/dist/lib/assets/tournament/phygitalTournament.svg +23 -23
- package/dist/lib/assets/tournament/sonicLogo.svg +127 -127
- package/dist/lib/assets/tournament/tournamentLeague.svg +8 -8
- package/dist/lib/assets/tournament/trophyHocLeague.svg +10 -10
- package/dist/lib/assets/tournament/trophyModal2.svg +9 -9
- package/dist/lib/assets/tournament/turtlesLogo.svg +102 -102
- package/dist/lib/assets/tournament/uCategoryBall.svg +61 -61
- package/dist/lib/assets/tournament/whistleAdmin.svg +11 -11
- package/dist/lib/data/AllAICharacters.js +50 -50
- package/dist/lib/data/AllPets.js +9 -9
- package/package.json +1 -1
- package/dist/lib/HocComponents/HAccordion/HAccordion.js +0 -105
- package/dist/lib/HocComponents/HAccordion/HAccordion.styled.js +0 -33
- package/dist/lib/HocComponents/HBackground/HBackground.js +0 -32
- package/dist/lib/HocComponents/HBackground/HBackground.styled.js +0 -18
- package/dist/lib/HocComponents/HBlackBack/HBlackBack.js +0 -15
- package/dist/lib/HocComponents/HBlackBack/HBlackBack.styled.js +0 -4
- package/dist/lib/HocComponents/HBox/HBox.js +0 -66
- package/dist/lib/HocComponents/HBox/HBox.styled.js +0 -51
- package/dist/lib/HocComponents/HButton/HButton.js +0 -55
- package/dist/lib/HocComponents/HButton/HButton.styled.js +0 -51
- package/dist/lib/HocComponents/HCalendar/HCalendar.js +0 -34
- package/dist/lib/HocComponents/HCalendar/HCalendar.styled.js +0 -5
- package/dist/lib/HocComponents/HCalendarStyled/HCalendarStyled.js +0 -30
- package/dist/lib/HocComponents/HCalendarStyled/HCalendarStyled.styled.js +0 -25
- package/dist/lib/HocComponents/HCards/Cards.styled.js +0 -26
- package/dist/lib/HocComponents/HCards/HCardLayout.js +0 -41
- package/dist/lib/HocComponents/HCards/HPlayerCard/HCardPlayerActions.js +0 -78
- package/dist/lib/HocComponents/HCards/HPlayerCard/HCardPlayerInfo.js +0 -51
- package/dist/lib/HocComponents/HCards/HProductCard/HCardProductInfo.js +0 -82
- package/dist/lib/HocComponents/HCards/HProductCard/HCardProductsActions.js +0 -33
- package/dist/lib/HocComponents/HCircularButton/HCircularButton.js +0 -80
- package/dist/lib/HocComponents/HCircularButton/HCircularButton.styled.js +0 -43
- package/dist/lib/HocComponents/HCircularTextButton/HCircularTextButton.js +0 -37
- package/dist/lib/HocComponents/HCircularTextButton/HCircularTextButton.styled.js +0 -37
- package/dist/lib/HocComponents/HCoinLabel/HCoin.styled.js +0 -53
- package/dist/lib/HocComponents/HCoinLabel/HCoinLabel.js +0 -67
- package/dist/lib/HocComponents/HDropdown/HDropdown.js +0 -281
- package/dist/lib/HocComponents/HDropdown/HDropdown.styled.js +0 -162
- package/dist/lib/HocComponents/HInitBackgroundAnimation/HInitBackgroundAnimation.js +0 -32
- package/dist/lib/HocComponents/HInitBackgroundAnimation/HInitBackgroundAnimation.styled.js +0 -15
- package/dist/lib/HocComponents/HInput/HInput.js +0 -150
- package/dist/lib/HocComponents/HInput/HInput.styled.js +0 -137
- package/dist/lib/HocComponents/HInputArea/HInputArea.js +0 -73
- package/dist/lib/HocComponents/HInputArea/HInputArea.styled.js +0 -81
- package/dist/lib/HocComponents/HLevelUpAnimation/HLevelUpAnimation.js +0 -83
- package/dist/lib/HocComponents/HLevelUpAnimation/HLevelUpAnimation.styled.js +0 -6
- package/dist/lib/HocComponents/HLoaderSpinner/HLoaderSpinner.js +0 -22
- package/dist/lib/HocComponents/HLogin/HLogin.js +0 -325
- package/dist/lib/HocComponents/HLogin/HLogin.styled.js +0 -30
- package/dist/lib/HocComponents/HModal/HModal.js +0 -201
- package/dist/lib/HocComponents/HModal/HModal.styled.js +0 -60
- package/dist/lib/HocComponents/HModal/HModalSecurityCode.js +0 -38
- package/dist/lib/HocComponents/HModalData/HModalData.js +0 -167
- package/dist/lib/HocComponents/HNavbar/HHeader/HHeader.js +0 -0
- package/dist/lib/HocComponents/HNavbar/HHeader/Header.styled.js +0 -48
- package/dist/lib/HocComponents/HNavbar/HHeaderCharacter/HeaderCharacter.js +0 -353
- package/dist/lib/HocComponents/HNavbar/HHeaderCharacter/HeaderCharacter.styled.js +0 -63
- package/dist/lib/HocComponents/HNavbar/HHeaderSideMenu/HeaderSideMenu.js +0 -106
- package/dist/lib/HocComponents/HNavbar/HHeaderSideMenu/HeaderSideMenu.styled.js +0 -47
- package/dist/lib/HocComponents/HPagination/HPagination.js +0 -79
- package/dist/lib/HocComponents/HPopUp/HPopUp.js +0 -98
- package/dist/lib/HocComponents/HProgressBar/HProgressBar.js +0 -31
- package/dist/lib/HocComponents/HProgressBar/HProgressBar.styled.js +0 -14
- package/dist/lib/HocComponents/HRadio/HRadio.js +0 -107
- package/dist/lib/HocComponents/HRadio/HRadio.styled.js +0 -50
- package/dist/lib/HocComponents/HScoreBar/HScoreBar.js +0 -46
- package/dist/lib/HocComponents/HScoreBar/HScoreBar.styled.js +0 -49
- package/dist/lib/HocComponents/HSearchInput/HSearchInput.js +0 -68
- package/dist/lib/HocComponents/HSearchInput/HSearchInput.styled.js +0 -64
- package/dist/lib/HocComponents/HSlider/HSlider.js +0 -31
- package/dist/lib/HocComponents/HSlider/HSlider.styled.js +0 -15
- package/dist/lib/HocComponents/HTabs/HTabs.js +0 -45
- package/dist/lib/HocComponents/HTabs/HTabs.styled.js +0 -19
- package/dist/lib/HocComponents/HText/HText.js +0 -50
- package/dist/lib/HocComponents/HText/HText.styled.js +0 -56
- package/dist/lib/HocComponents/HTitle/HTitle.js +0 -54
- package/dist/lib/HocComponents/HTitle/HTitle.styled.js +0 -54
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.js +0 -76
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.js +0 -49
- package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.js +0 -59
- package/dist/lib/HocComponents/HToggleButtonCustom/HToggleButtonCustom.js +0 -65
- package/dist/lib/HocComponents/HVideoPlayer/HVideoPlayer.js +0 -36
- package/dist/lib/assets/HocLogos/shiledTitans.svg +0 -33
- package/dist/lib/assets/Icons/ui/blackBishop.svg +0 -1
- package/dist/lib/assets/Icons/ui/blackKing.svg +0 -32
- package/dist/lib/assets/Icons/ui/blackKnight.svg +0 -1
- package/dist/lib/assets/Icons/ui/blackQueen.svg +0 -1
- package/dist/lib/assets/Icons/ui/blackRook.svg +0 -1
- package/dist/lib/assets/Icons/ui/booking/index.js +0 -1
- package/dist/lib/assets/Icons/ui/booking/videos.svg +0 -14
- package/dist/lib/assets/Icons/ui/close.svg +0 -18
- package/dist/lib/assets/Icons/ui/message.svg +0 -11
- package/dist/lib/assets/Icons/ui/notificationRing.svg +0 -13
- package/dist/lib/assets/Icons/ui/startGold.svg +0 -10
- package/dist/lib/assets/Icons/ui/whiteBishop.svg +0 -1
- package/dist/lib/assets/Icons/ui/whiteKing.svg +0 -25
- package/dist/lib/assets/Icons/ui/whiteKnight.svg +0 -1
- package/dist/lib/assets/Icons/ui/whiteQueen.svg +0 -1
- package/dist/lib/assets/Icons/ui/whiteRook.svg +0 -1
- package/dist/lib/assets/backgrounds/backgroundBoard.svg +0 -203
- package/dist/lib/assets/characters/Evelot barber.png +0 -0
- package/dist/lib/assets/characters/Perdita farmer.png +0 -0
- package/dist/lib/assets/characters/Rowan.webp +0 -0
- package/dist/lib/assets/levelZero/lv0Capture.svg +0 -27
- package/dist/lib/assets/levelZero/lv0Capture2.svg +0 -27
- package/dist/lib/assets/levelZero/lv0Combat.svg +0 -32
- package/dist/lib/assets/levelZero/lv0Combat2.svg +0 -32
- package/dist/lib/assets/levelZero/lv0MateInOne.svg +0 -16
- package/dist/lib/assets/levelZero/lv0MateInOne2.svg +0 -16
- package/dist/lib/assets/levelZero/lv0OutOfCheck.svg +0 -27
- package/dist/lib/assets/levelZero/lv0OutOfCheck2.svg +0 -27
- package/dist/lib/assets/levelZero/lv0Protection.svg +0 -20
- package/dist/lib/assets/levelZero/lv0Protection2.svg +0 -20
- package/dist/lib/assets/miniGames/sudoku/bgMiniGames.svg +0 -962
- package/dist/lib/assets/sounds/Attention Sound.wav +0 -0
- package/dist/lib/assets/sounds/Boton de reclamar.wav +0 -0
- package/dist/lib/assets/sounds/Cancelar.wav +0 -0
- package/dist/lib/assets/sounds/Chat Message.wav +0 -0
- package/dist/lib/assets/sounds/Confirmar.wav +0 -0
- package/dist/lib/assets/sounds/Draw.wav +0 -0
- package/dist/lib/assets/sounds/Invitacion a duelo 1.wav +0 -0
- package/dist/lib/assets/sounds/Mover ficha de ajedrez.wav +0 -0
- package/dist/lib/assets/sounds/Next level.wav +0 -0
- package/dist/lib/assets/sounds/Rechazar duelo.wav +0 -0
- package/dist/lib/assets/sounds/Ruleta sound.wav +0 -0
- package/dist/lib/assets/sounds/Sonido correcto.wav +0 -0
- package/dist/lib/assets/sounds/Sonido incorrecto.wav +0 -0
- package/dist/lib/assets/sounds/Sonido semaforo.wav +0 -0
- package/dist/lib/assets/sounds/Vanquish Pop.wav +0 -0
- package/dist/lib/assets/sounds/VanquishPop.wav +0 -0
- package/dist/lib/assets/sounds/abrir chat.wav +0 -0
- package/dist/lib/assets/sounds/abrir settings.wav +0 -0
- package/dist/lib/assets/sounds/acceptModal.wav +0 -0
- package/dist/lib/assets/sounds/aceptar duelo.wav +0 -0
- package/dist/lib/assets/sounds/amenaza al rey.wav +0 -0
- package/dist/lib/assets/sounds/attentionSound.wav +0 -0
- package/dist/lib/assets/sounds/avatarButton.wav +0 -0
- package/dist/lib/assets/sounds/bloqueado no deja acceder.wav +0 -0
- package/dist/lib/assets/sounds/book-cover-close-01.wav +0 -0
- package/dist/lib/assets/sounds/book.wav +0 -0
- package/dist/lib/assets/sounds/boton avatar.wav +0 -0
- package/dist/lib/assets/sounds/button-1.wav +0 -0
- package/dist/lib/assets/sounds/button-2.wav +0 -0
- package/dist/lib/assets/sounds/button-25.wav +0 -0
- package/dist/lib/assets/sounds/cambiar opcion.wav +0 -0
- package/dist/lib/assets/sounds/cancel.wav +0 -0
- package/dist/lib/assets/sounds/cerrar sonido.wav +0 -0
- package/dist/lib/assets/sounds/chatMessage.wav +0 -0
- package/dist/lib/assets/sounds/chicken.wav +0 -0
- package/dist/lib/assets/sounds/chooseGame.wav +0 -0
- package/dist/lib/assets/sounds/claimButton.wav +0 -0
- package/dist/lib/assets/sounds/coins-Jackpot.wav +0 -0
- package/dist/lib/assets/sounds/comfirmacion modal.wav +0 -0
- package/dist/lib/assets/sounds/comienzo del duelo.wav +0 -0
- package/dist/lib/assets/sounds/confirm.wav +0 -0
- package/dist/lib/assets/sounds/correctMove.wav +0 -0
- package/dist/lib/assets/sounds/correctMovement.wav +0 -0
- package/dist/lib/assets/sounds/diamantes.mp3 +0 -0
- package/dist/lib/assets/sounds/enroque.wav +0 -0
- package/dist/lib/assets/sounds/escoger juego.wav +0 -0
- package/dist/lib/assets/sounds/in passant.wav +0 -0
- package/dist/lib/assets/sounds/inicio video.wav +0 -0
- package/dist/lib/assets/sounds/jugada correcta.wav +0 -0
- package/dist/lib/assets/sounds/level-up.wav +0 -0
- package/dist/lib/assets/sounds/levelUp.wav +0 -0
- package/dist/lib/assets/sounds/link.wav +0 -0
- package/dist/lib/assets/sounds/monedas.wav +0 -0
- package/dist/lib/assets/sounds/muerte rey.wav +0 -0
- package/dist/lib/assets/sounds/next.wav +0 -0
- package/dist/lib/assets/sounds/nextLevel.wav +0 -0
- package/dist/lib/assets/sounds/notificacion.wav +0 -0
- package/dist/lib/assets/sounds/openChat.wav +0 -0
- package/dist/lib/assets/sounds/openSettings.wav +0 -0
- package/dist/lib/assets/sounds/optionSettings.wav +0 -0
- package/dist/lib/assets/sounds/page-flip-1.wav +0 -0
- package/dist/lib/assets/sounds/page-flip-8.wav +0 -0
- package/dist/lib/assets/sounds/pageFlip1.wav +0 -0
- package/dist/lib/assets/sounds/pageFlip2.wav +0 -0
- package/dist/lib/assets/sounds/pasar las cartas.wav +0 -0
- package/dist/lib/assets/sounds/passCards.wav +0 -0
- package/dist/lib/assets/sounds/presionar opciones settings.wav +0 -0
- package/dist/lib/assets/sounds/quiz.wav +0 -0
- package/dist/lib/assets/sounds/regresar.wav +0 -0
- package/dist/lib/assets/sounds/secondaryAreaSelection.wav +0 -0
- package/dist/lib/assets/sounds/seleccion de areas secundarias.wav +0 -0
- package/dist/lib/assets/sounds/seleccionar pilar.wav +0 -0
- package/dist/lib/assets/sounds/slot.wav +0 -0
- package/dist/lib/assets/sounds/sonido de matar pieza.wav +0 -0
- package/dist/lib/assets/sounds/startVideo.wav +0 -0
- package/dist/lib/assets/sounds/tape-recorder-close-1.wav +0 -0
- package/dist/lib/assets/sounds/tape-recorder-eject-1.wav +0 -0
- package/dist/lib/assets/sounds/toggle off.wav +0 -0
- package/dist/lib/assets/sounds/toggle on.wav +0 -0
- package/dist/lib/assets/sounds/toggle secundario.wav +0 -0
- package/dist/lib/assets/sounds/toggleOff.wav +0 -0
- package/dist/lib/assets/sounds/toggleOn.wav +0 -0
- package/dist/lib/assets/sounds/whip-whoosh-02.wav +0 -0
- package/dist/lib/assets/sounds/whip-whoosh-03.wav +0 -0
- package/dist/lib/assets/store/dragonball.svg +0 -16
- package/dist/lib/assets/store/dragonballActive.svg +0 -16
- package/dist/lib/assets/studiesCards/1-Learn To Play Chess_1-Pawn Promotion.png +0 -0
- package/dist/lib/assets/studiesCards/1-Learn To Play Chess_2-En Passant.png +0 -0
- package/dist/lib/assets/studiesCards/1-Learn To Play Chess_3-Moving and Capturing.png +0 -0
- package/dist/lib/assets/studiesCards/1-Learn To Play Chess_4-Castling.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_1-Sacrificing to Win.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_10-Desperado and Zwischenzug.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_2-Trapped Piece.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_3-Discovered Attack.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_4-Discovered Check.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_5-Double Check.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_6-Remove the Defender.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_7-smothered mate.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_8-Deflection.png +0 -0
- package/dist/lib/assets/studiesCards/10-Winning with Tactics_9-Decoy.png +0 -0
- package/dist/lib/assets/studiesCards/11-Forcing Moves_1-Powerful moves.png +0 -0
- package/dist/lib/assets/studiesCards/11-Forcing Moves_2-Combinations.png +0 -0
- package/dist/lib/assets/studiesCards/11-Forcing Moves_3-Checkmate in 3 Moves.png +0 -0
- package/dist/lib/assets/studiesCards/11-Forcing Moves_4-Queen Sacrifices.png +0 -0
- package/dist/lib/assets/studiesCards/11-Forcing Moves_5-Saving Draws.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_1-Pawn Structures.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_2-Pawn Chains.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_3-Space.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_4-Open, Closed, Semi-open Games.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_5-Push, Capture, or Ignore.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_5-When to Trade Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/12-Reading the Board_6-Advanced Chess Notation.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_1-Offbeat Openings.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_1-Offbeat Openings/342/200/250.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_2-Popular e4 Openings.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_3-Popular e4 Defenses The Sicilian.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_4-Popular e4 Defenses French and Caro-Kann.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_5-Popular d4 Openings.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_6-Popular d4 Defenses nf6 and the Dutch.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_7-Gambits.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_7-Gambits/342/200/250.png +0 -0
- package/dist/lib/assets/studiesCards/13-Key Openings_8-Opening Traps.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_1-How to Choose a Move.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_2-Making a Plan.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_3-Positional Play.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_4-Good & Bad Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_5-Playing a Bad Position.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_6-When You're Losing.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_7-Winning the Won Game.png +0 -0
- package/dist/lib/assets/studiesCards/14-Choosing the Best Move_8-Overcoming Your Emotions.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_1-Breakthrough.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_10-Windmill.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_2-Pawns in the Middlegame.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_3-Blockading Pawns.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_4-Isolated and Hanging Pawns.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_5-Outposts.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_6-Using the Bishop Pair.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_7-Bishops vs Knights.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_8-Batteries.png +0 -0
- package/dist/lib/assets/studiesCards/15-Activating Your Pieces_9-Pigs on the 7th Rank.png +0 -0
- package/dist/lib/assets/studiesCards/16-Advanced Endgames_1-Endgame Principles.png +0 -0
- package/dist/lib/assets/studiesCards/16-Advanced Endgames_2-Common Rook Endgames.png +0 -0
- package/dist/lib/assets/studiesCards/16-Advanced Endgames_3-King Opposition.png +0 -0
- package/dist/lib/assets/studiesCards/16-Advanced Endgames_4-Zugzwang.png +0 -0
- package/dist/lib/assets/studiesCards/16-Advanced Endgames_5-Opposite Colored Bishops in the Endgame.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_1-King in Danger.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_2-Attacking the Castled King.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_3-Advanced Checkmate Patterns.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_4-Mating Net.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_5-Provoking Weaknesses.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_6-Defending the King.png +0 -0
- package/dist/lib/assets/studiesCards/17-Attacking the King_6-Pawn Storms.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_1-Exchange Sacrifices.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_1-Exchange Sacrifices/342/200/250.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_2-Clearance Sacrifices.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_3-Overloading.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_4-Interference.png +0 -0
- package/dist/lib/assets/studiesCards/18-Advanced Tactics_5-Underpromotion.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_1-Distant Opposition.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_2-Triangulation.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_3-Lucena Position.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_4-Philidor Position.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_5-Pieces and Pawns.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_6-Queen vs Pawn.png +0 -0
- package/dist/lib/assets/studiesCards/19-Endgame Patterns_7-Two Bishop Checkmate.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_1-The Value Of The Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_2-Finding the Right Move.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_3-The Language of Chess.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_4-Playing a Game.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_5-Stalemate.png +0 -0
- package/dist/lib/assets/studiesCards/2-Playing the Game_6-Other Draws.png +0 -0
- package/dist/lib/assets/studiesCards/3-Opening Principles_1-Control the Center.png +0 -0
- package/dist/lib/assets/studiesCards/3-Opening Principles_2-Develop Your Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/3-Opening Principles_3-Protect Your King.png +0 -0
- package/dist/lib/assets/studiesCards/3-Opening Principles_4-Active Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/3-Opening Principles_5-Phases of the Game.png +0 -0
- package/dist/lib/assets/studiesCards/4-Winning the game_1-The 4-Move Checkmate.png +0 -0
- package/dist/lib/assets/studiesCards/4-Winning the game_2-Assisted Checkmates.png +0 -0
- package/dist/lib/assets/studiesCards/4-Winning the game_3-Checkmate with Two Rooks.png +0 -0
- package/dist/lib/assets/studiesCards/4-Winning the game_4-Checkmate with the Queen.png +0 -0
- package/dist/lib/assets/studiesCards/4-Winning the game_5-Checkmate with the Rook.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_1-Evaluating Captures.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_2-Tactics and Hanging Pieces.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_3-Counting Captures.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_4-Forks.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_5-Pins.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_6-Piling Up.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_7-Skewers.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_8-Avoiding Bad Trades.png +0 -0
- package/dist/lib/assets/studiesCards/5-Capturing Pieces_9-Your Opponent's Move.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_1-Pawn Race.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_2-Back Rank Checkmates.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_3-Weak Targets f2 and f7.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_4-King Safety.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_5-Don't Just Check.png +0 -0
- package/dist/lib/assets/studiesCards/6-Finding Checkmate_6-Checkmate in 2 Moves.png +0 -0
- package/dist/lib/assets/studiesCards/7-Intro to Book Openings_1-e4 Openings for Beginners.png +0 -0
- package/dist/lib/assets/studiesCards/7-Intro to Book Openings_2-d4 Openings for Beginners.png +0 -0
- package/dist/lib/assets/studiesCards/7-Intro to Book Openings_3-Defending Against e4 e5 and the Sicilian.png +0 -0
- package/dist/lib/assets/studiesCards/7-Intro to Book Openings_4-Defending Against e4 French Caro-Kann Scandinavian.png +0 -0
- package/dist/lib/assets/studiesCards/7-Intro to Book Openings_5-Defending Against d4 d5 and Nf6.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_1-Using Your Knights.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_1-Using Your Knights/342/200/250.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_2-Using Your Bishops.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_3-Using Your Rooks.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_4-Using Your Queen.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_5-Using Your King.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_6-Using Your Pawns.png +0 -0
- package/dist/lib/assets/studiesCards/8-Make the Most of Your Pieces_7-Pieces Working Together.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_1-Passed Pawns.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_2-Escort the Pawn.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_3-Sacrificing to Promote.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_4-3 v 3 Pawn Breakthrough.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_4-Exchanging Down to a Win.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_5-Rule of the Square.png +0 -0
- package/dist/lib/assets/studiesCards/9-Understanding End games_6-Creating a Passed Pawn.png +0 -0
- package/dist/lib/assets/ticketsPage/buttonTicket1.svg +0 -18
- package/dist/lib/assets/ticketsPage/buttonTicket2.svg +0 -3
- package/dist/lib/data/AllExercises copy.js +0 -1311
- package/dist/lib/data/AllStudies.js +0 -1265
- package/dist/lib/data/AllStudiesLegacy.js +0 -40
- package/dist/lib/data/Characters.js +0 -783
- package/dist/lib/hooks/useArchetype.js +0 -19
- package/dist/lib/hooks/useBooking.js +0 -247
- package/dist/lib/hooks/useCharacters.js +0 -36
- package/dist/lib/hooks/useDates.js +0 -115
- package/dist/lib/hooks/useDebounce.js +0 -17
- package/dist/lib/hooks/useMobile.js +0 -106
- package/dist/lib/hooks/useSounds.js +0 -335
- package/dist/lib/hooks/useTournament.js +0 -219
- package/dist/types.d.ts +0 -9
package/dist/lib/data/AllPets.js
CHANGED
|
@@ -48,7 +48,7 @@ export var AllFreePets = [{
|
|
|
48
48
|
personality: ['Curious', 'Loyal', 'Protective'],
|
|
49
49
|
personalityIT: ['Curioso', 'Leale', 'Protettivo'],
|
|
50
50
|
extraInfo: ['Lux: Despite its vibrant nature, it is a loyal and protective companion to its allies, always ready to charge and defend its team. Curiosity guides it, and its sharp intelligence allows it to solve puzzles and challenges with surprising agility.', 'Luxor: Its presence in the video game is synonymous with power and leadership, guiding its companions with a mix of wisdom and electric strength. However, it retains the spark of curiosity from its youth, allowing it to innovate strategies and discover creative solutions to challenges. Although imposing, it has a capacity for empathy that resonates with its allies, ensuring that its powerful legacy is both protective and inspiring.', 'Luxfelis: His personality shines with the confidence and mastery of someone who has fully reached their potential, and in the video game, he is a natural leader whose mere presence energizes his allies. He displays a mix of nobility and playful mischief, indicative of his mental agility and ability to surprise both in and out of combat. Despite his imposing aura, he still maintains a deep sense of loyalty and protection towards those he considers his family.'],
|
|
51
|
-
extraInfoIT: ['Lux:
|
|
51
|
+
extraInfoIT: ['Lux: Compagno leale e curioso, sempre pronto a proteggere il team. Risolve enigmi con grande intelligenza.', 'Luxor: Leader potente che guida con saggezza ed energia elettrica. Curioso e innovativo nelle strategie.', 'Luxfelis: Leader naturale che energizza gli alleati. Nobile e giocoso, leale verso la sua famiglia.'],
|
|
52
52
|
evo: [2000, 2400]
|
|
53
53
|
}, {
|
|
54
54
|
name: 'Ignis',
|
|
@@ -58,7 +58,7 @@ export var AllFreePets = [{
|
|
|
58
58
|
personality: ['Bold', 'Determined', 'Loyal'],
|
|
59
59
|
personalityIT: ['Audace', 'Determinato', 'Leale'],
|
|
60
60
|
extraInfo: ["Ignis, With a penetrating gaze and plumage that burns with the heat of its unbreakable spirit, it inspires both warmth and courage in those who accompany it on its journey. Its temperament is as radiant as its flame; it is bold and determined, never backing down from a challenge, and its loyalty is as steadfast as its willpower.", 'Ignius: In the game, it stands out for its fearless leadership and burning passion, guiding its companions through challenges with fiery confidence. Its insightful gaze and regal bearing inspire both respect and admiration, and its ability to rise from the ashes symbolizes hope and renewal. Although fierce in combat, its essence is protective, making it a pillar of light and warmth in the darkest moments.', 'Ignifer: Despite his imposing appearance and ability to control flames, he prefers the path of wisdom and guidance, leading his allies with his clairvoyant vision. A bearer of courage that burns brighter than his own flame, he acts with firm purpose and a passion that fuels hope in the most critical moments. His majesty is not only reflected in his flight but also in his ability to be reborn and adapt, symbolizing resurrection and constant renewal.'],
|
|
61
|
-
extraInfoIT: ["Ignis:
|
|
61
|
+
extraInfoIT: ["Ignis: Ispira coraggio con il suo spirito ardente. Audace, determinato e leale.", 'Ignius: Leader coraggioso con passione infuocata. Risorge dalle ceneri portando speranza.', 'Ignifer: Saggio e potente, guida gli alleati con coraggio. Simbolo di rinascita e rinnovamento.'],
|
|
62
62
|
evo: [2000, 2400]
|
|
63
63
|
}, {
|
|
64
64
|
name: 'Oris',
|
|
@@ -68,7 +68,7 @@ export var AllFreePets = [{
|
|
|
68
68
|
personality: ['Calm', 'Wise', 'Resilient'],
|
|
69
69
|
personalityIT: ['Calmo', 'Saggio', 'Resiliente'],
|
|
70
70
|
extraInfo: ["Oris, This water-type turtle, with its serene and wise gaze, reflects a deeply calm and contemplative personality. Despite its slow appearance, it possesses a cunning and adaptability that surprise its travel companions, proving that speed is not always synonymous with effectiveness. With a heart as vast as the ocean it inhabits, this turtle is a safe haven for its allies and a symbol of endurance and lasting resilience in the game.", "Oreum: This being possesses even greater depth and calmness, reflecting the vast wisdom of the oceans it has traversed. Its personality in the game is contemplative, emanating a soothing presence that calms spirits in times of storm. Its approach is strategic and methodical, allowing it to overcome obstacles with a patience that only time can teach. Although its demeanor is one of serenity, when the situation demands it, it demonstrates strength and courage as immense as the sea.", 'Oreamus: She is known for her ancient wisdom and her ability to perceive beyond the surface of things. Her personality is as calm and fluid as the ocean currents, providing firm guidance and tranquility to her teammates. Although she appears unchangeable and peaceful, within her shell resides a powerful warrior, capable of unleashing storms with the same ease as she brings calm.'],
|
|
71
|
-
extraInfoIT: ["Oris:
|
|
71
|
+
extraInfoIT: ["Oris: Tartaruga serena e saggia. Astuta e adattabile, è un rifugio sicuro per gli alleati.", "Oreum: Saggezza profonda come l'oceano. Calma gli spiriti e supera ostacoli con pazienza.", 'Oreamus: Antica saggezza e calma oceanica. Pacifica ma potente quando necessario.'],
|
|
72
72
|
evo: [2000, 2400]
|
|
73
73
|
}, {
|
|
74
74
|
name: 'Vireo',
|
|
@@ -78,7 +78,7 @@ export var AllFreePets = [{
|
|
|
78
78
|
personality: ['Playful', 'Cunning', 'Healing'],
|
|
79
79
|
personalityIT: ['Giocoso', 'Astuto', 'Curativo'],
|
|
80
80
|
extraInfo: ["Vireo, this grass-type iguana, with its large expressive eyes and a perpetual look of curiosity, emanates a playful and curious personality in the game. It is ingenious and adaptable, using its natural environment to navigate the challenges that arise. Although it may seem carefree, its cunning is vital in collection and strategy missions, and its presence is a source of morale for its teammates. Its ability to camouflage and its sharp sense of observation make it an invaluable ally, always ready to carry out a mission with a touch of fun.", "Virio: Its character has been refined to project a wisdom that can only come from a life in harmony with nature. Although its appearance has become more imposing, it retains an innate gentleness, guiding its adventure companions with a generous and healing spirit. In the heat of battle, its serenity is as revitalizing as the morning dew, and its connection with the earth grants it unbreakable strength.", 'Virenti: With a wise and serene gaze, she radiates a peaceful and healing presence, exerting a calming effect on those around her. Despite her serene appearance, she has an unbreakable will and a tenacity that reflects the resilient nature of the vegetation that has seen her grow. Her personality is a balance between the gentleness of a calm forest and the relentless strength of nature in its splendor.'],
|
|
81
|
-
extraInfoIT: ["Vireo:
|
|
81
|
+
extraInfoIT: ["Vireo: Iguana giocosa e curiosa. Ingegnoso e astuto, si mimetizza e completa missioni con divertimento.", "Virio: Saggio in armonia con la natura. Gentile e curativo, rivitalizza con serenità.", 'Virenti: Pacifica e curativa. Volontà forte come la natura, dolce ma inarrestabile.'],
|
|
82
82
|
evo: [2000, 2400]
|
|
83
83
|
}, {
|
|
84
84
|
name: 'Mus',
|
|
@@ -88,7 +88,7 @@ export var AllFreePets = [{
|
|
|
88
88
|
personality: ['Steady', 'Reliable', 'Balanced'],
|
|
89
89
|
personalityIT: ['Stabile', 'Affidabile', 'Equilibrato'],
|
|
90
90
|
extraInfo: ["TerraSnout, this little earth-type piglet, is the personification of tenacity and calm strength. In the world of the video game, it is known for its resilient nature and ability to face obstacles without hesitation. Its character is affable and reliable, making it a valuable companion in missions that require a stabilizing presence. Although its step is steady and it may seem immovable, it has a gentle heart and a playful disposition that endears it to its allies. Its balanced personality and solid resilience make it an indispensable pillar for any team in the game.", "TerraTrot: Its psychology is as solid as the ground it treads; it is reliable and steadfast, offering unwavering support to its allies. With a patience that can only be compared to ancient mountains, it faces each challenge with an unflappable calm. Although its appearance may seem robust and rough, within it resides a heart full of earthly kindness, nourishing and protecting those around it.", 'Muscus: Through his insightful eyes, a sharp intelligence and a deep understanding of the world around him are revealed. This noble guardian of the earth is a trustworthy leader, whose seriousness is balanced with a warm and protective heart. His character is as solid as the earth he symbolizes, offering unbreakable stability to his allies in times of adversity.'],
|
|
91
|
-
extraInfoIT: ["Mus:
|
|
91
|
+
extraInfoIT: ["Mus: Maialino tenace e affidabile. Resiliente e gentile, è un compagno prezioso.", "Musco: Solido e paziente come una montagna. Supporto incrollabile con cuore gentile.", 'Muscus: Intelligente guardiano della terra. Leader affidabile con cuore protettivo.'],
|
|
92
92
|
evo: [2000, 2400]
|
|
93
93
|
}, {
|
|
94
94
|
name: 'Nocti',
|
|
@@ -98,7 +98,7 @@ export var AllFreePets = [{
|
|
|
98
98
|
personality: ['Mysterious', 'Wise', 'Strategic'],
|
|
99
99
|
personalityIT: ['Misterioso', 'Saggio', 'Strategico'],
|
|
100
100
|
extraInfo: ["Nocti: This darkness-type owl is a mysterious guardian in the realm of the video game, whose large eyes reflect a wisdom that transcends the eternal night. It is cunning and observant, capable of deciphering the most hidden secrets and easily navigating through the most enigmatic labyrinths. Despite its somber appearance, it possesses a noble spirit and unbreakable loyalty towards those who earn its trust. On the battlefield, it is a natural strategist, always three steps ahead of its adversary, an invaluable ally in the fight against the shadows.", "Noctum: Its deep gaze is a portal to ancient knowledge, offering guidance and wisdom to those who seek the truth in the shadows. Despite its association with darkness, it radiates a calming presence, serving as a beacon in the darkness for its allies. On the battlefield, its strategy is as unpredictable as shooting stars, leaving its enemies in a perpetual state of wonder and caution.", 'Nocturnus: His psychological profile is that of a natural strategist and a guardian of ancient secrets. He exhibits an impenetrable calmness and an intelligence that is reflected in his intense eyes, which see beyond illusions and darkness. As a leader on the battlefield, he is as silent as the night, moving with a grace that defies his intimidating appearance, and his presence inspires a mix of respect and deep trust in his allies.'],
|
|
101
|
-
extraInfoIT: ["Nocti:
|
|
101
|
+
extraInfoIT: ["Nocti: Gufo misterioso e saggio. Astuto stratega, decifra segreti e naviga labirinti.", "Noctum: Guida saggia nell'oscurità. Calma e imprevedibile in battaglia.", 'Nocturnus: Stratega silenzioso e guardiano di segreti. Ispira rispetto e fiducia.'],
|
|
102
102
|
evo: [2000, 2400]
|
|
103
103
|
}];
|
|
104
104
|
export var AllStorePets = [{
|
|
@@ -109,7 +109,7 @@ export var AllStorePets = [{
|
|
|
109
109
|
personality: ['Fierce', 'Agile', 'Unpredictable'],
|
|
110
110
|
personalityIT: ['Feroce', 'Agile', 'Imprevedibile'],
|
|
111
111
|
extraInfo: ['Toxigron: This legendary fire otter is a force of nature wrapped in flames and fury. With armor forged from volcanic scales and a tail that blazes like a living inferno, it moves with astonishing agility through any battlefield. Its fierce personality is matched only by its unpredictable combat style, switching between calculated strikes and explosive attacks that leave opponents bewildered. Despite its intimidating appearance, Toxigron possesses a playful spirit that emerges in moments of victory, celebrating with dazzling fire displays. Its loyalty to its master is absolute, and it will not hesitate to unleash its full power to protect those it considers family.'],
|
|
112
|
-
extraInfoIT: ['Toxigron:
|
|
112
|
+
extraInfoIT: ['Toxigron: Lontra leggendaria di fuoco. Agile e imprevedibile in battaglia, giocosa nelle vittorie. Lealtà assoluta.'],
|
|
113
113
|
elo: 2200,
|
|
114
114
|
price: 15000,
|
|
115
115
|
quantity: 2
|
|
@@ -121,7 +121,7 @@ export var AllStorePets = [{
|
|
|
121
121
|
personality: ['Majestic', 'Patient', 'Regenerative'],
|
|
122
122
|
personalityIT: ['Maestoso', 'Paziente', 'Rigenerativo'],
|
|
123
123
|
extraInfo: ['Pyrodriax: This magnificent legendary creature embodies the perfect fusion between nature and crystalline power. With armor made of living emerald crystals and a body that seems to grow flora from its very essence, it represents the eternal cycle of growth and renewal. Its majestic personality reflects centuries of wisdom, moving with deliberate patience that belies its massive power. Pyrodriax has the unique ability to regenerate both itself and its allies through the life force flowing from its crystalline structures. The purple flowers blooming from its armor are not mere decoration but conduits of ancient magic. In battle, it is a bastion of endurance, weathering attacks while nurturing its team with healing energies.'],
|
|
124
|
-
extraInfoIT: ['Pyrodriax:
|
|
124
|
+
extraInfoIT: ['Pyrodriax: Creatura di natura e cristalli. Saggio e paziente, rigenera alleati con energia vitale. Resistente e curativo.'],
|
|
125
125
|
elo: 2200,
|
|
126
126
|
price: 15000,
|
|
127
127
|
quantity: 2
|
|
@@ -133,7 +133,7 @@ export var AllStorePets = [{
|
|
|
133
133
|
personality: ['Enigmatic', 'Vigilant', 'Ethereal'],
|
|
134
134
|
personalityIT: ['Enigmatico', 'Vigilante', 'Etereo'],
|
|
135
135
|
extraInfo: ['Umbratox: This ethereal legendary phoenix represents the convergence of shadow and spectral energy. With wings that shimmer between darkness and cyan light, and crystalline formations that pulse with otherworldly power, it soars through dimensions that others cannot perceive. Its enigmatic personality makes it difficult to predict, as it exists partially between worlds, observing all with its vigilant gaze. Umbratox possesses the rare ability to manipulate both darkness and spectral energy, creating devastating combinations that confuse and overwhelm opponents. The emerald crystals embedded in its form are fragments of pure magical essence, granting it powers that defy conventional understanding. Despite its ghostly nature, it forms deep bonds with those who earn its trust, becoming an eternal guardian whose protection transcends the boundaries of life and death.'],
|
|
136
|
-
extraInfoIT: ['Umbratox:
|
|
136
|
+
extraInfoIT: ['Umbratox: Fenice eterea di ombra e luce. Enigmatica e vigilante, manipola energie spettrali. Guardiano eterno e leale.'],
|
|
137
137
|
elo: 2200,
|
|
138
138
|
price: 15000,
|
|
139
139
|
quantity: 2
|
package/package.json
CHANGED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["items", "sectionTitle", "singleOpen", "style", "className", "openIndexes", "setOpenIndexes"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
10
|
-
import React, { useState } from "react";
|
|
11
|
-
import PropTypes from "prop-types";
|
|
12
|
-
import { HAccordionContainer, HAccordionSection, HAccordionHeader, HAccordionContent } from "./HAccordion.styled";
|
|
13
|
-
import HText from "../HText/HText";
|
|
14
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
-
var renderAnswer = function renderAnswer(answer) {
|
|
16
|
-
if (Array.isArray(answer)) {
|
|
17
|
-
return /*#__PURE__*/_jsx("ul", {
|
|
18
|
-
style: {
|
|
19
|
-
paddingLeft: 0,
|
|
20
|
-
margin: 0,
|
|
21
|
-
listStyle: "none"
|
|
22
|
-
},
|
|
23
|
-
children: answer.map(function (item, idx) {
|
|
24
|
-
return /*#__PURE__*/_jsxs("li", {
|
|
25
|
-
style: {
|
|
26
|
-
display: "flex",
|
|
27
|
-
alignItems: "flex-start",
|
|
28
|
-
marginBottom: 6,
|
|
29
|
-
fontWeight: item.bold ? 700 : 400,
|
|
30
|
-
fontSize: 16
|
|
31
|
-
},
|
|
32
|
-
children: [item.bullet && /*#__PURE__*/_jsx("span", {
|
|
33
|
-
style: {
|
|
34
|
-
display: "inline-block",
|
|
35
|
-
width: 8,
|
|
36
|
-
height: 8,
|
|
37
|
-
background: "#6c3eb6",
|
|
38
|
-
borderRadius: "50%",
|
|
39
|
-
marginRight: 10,
|
|
40
|
-
marginTop: 7,
|
|
41
|
-
flexShrink: 0
|
|
42
|
-
}
|
|
43
|
-
}), /*#__PURE__*/_jsx("span", {
|
|
44
|
-
children: item.text
|
|
45
|
-
})]
|
|
46
|
-
}, idx);
|
|
47
|
-
})
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return answer;
|
|
51
|
-
};
|
|
52
|
-
var HAccordion = function HAccordion(_ref) {
|
|
53
|
-
var _items$items;
|
|
54
|
-
var _ref$items = _ref.items,
|
|
55
|
-
items = _ref$items === void 0 ? [] : _ref$items,
|
|
56
|
-
sectionTitle = _ref.sectionTitle,
|
|
57
|
-
_ref$singleOpen = _ref.singleOpen,
|
|
58
|
-
singleOpen = _ref$singleOpen === void 0 ? true : _ref$singleOpen,
|
|
59
|
-
style = _ref.style,
|
|
60
|
-
className = _ref.className,
|
|
61
|
-
openIndexes = _ref.openIndexes,
|
|
62
|
-
setOpenIndexes = _ref.setOpenIndexes,
|
|
63
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
64
|
-
var toggle = function toggle(idx) {
|
|
65
|
-
setOpenIndexes(function (prev) {
|
|
66
|
-
var _prev$section;
|
|
67
|
-
var section = sectionTitle || "default";
|
|
68
|
-
return _defineProperty({}, section, _defineProperty({}, idx, !((_prev$section = prev[section]) !== null && _prev$section !== void 0 && _prev$section[idx])));
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
var section = sectionTitle || "default";
|
|
72
|
-
var sectionOpenIndexes = openIndexes[section] || {};
|
|
73
|
-
return /*#__PURE__*/_jsxs(HAccordionContainer, _objectSpread(_objectSpread({
|
|
74
|
-
style: style,
|
|
75
|
-
className: className
|
|
76
|
-
}, props), {}, {
|
|
77
|
-
children: [sectionTitle && /*#__PURE__*/_jsx(HText, {
|
|
78
|
-
as: "h6",
|
|
79
|
-
margin: "40px 0px 0px 0px",
|
|
80
|
-
children: sectionTitle
|
|
81
|
-
}), items === null || items === void 0 || (_items$items = items.items) === null || _items$items === void 0 ? void 0 : _items$items.map(function (item, idx) {
|
|
82
|
-
var isOpen = !!sectionOpenIndexes[idx];
|
|
83
|
-
return /*#__PURE__*/_jsxs(HAccordionSection, {
|
|
84
|
-
isOpen: isOpen,
|
|
85
|
-
onClick: function onClick() {
|
|
86
|
-
return toggle(idx);
|
|
87
|
-
},
|
|
88
|
-
children: [/*#__PURE__*/_jsxs(HAccordionHeader, {
|
|
89
|
-
isOpen: isOpen,
|
|
90
|
-
"aria-expanded": isOpen,
|
|
91
|
-
"aria-controls": "hacontent-".concat(idx),
|
|
92
|
-
children: [item.question, /*#__PURE__*/_jsx("span", {
|
|
93
|
-
children: isOpen ? "-" : "+"
|
|
94
|
-
})]
|
|
95
|
-
}), /*#__PURE__*/_jsx(HAccordionContent, {
|
|
96
|
-
isOpen: isOpen,
|
|
97
|
-
id: "hacontent-".concat(idx),
|
|
98
|
-
"aria-hidden": !isOpen,
|
|
99
|
-
children: renderAnswer(item.answer)
|
|
100
|
-
})]
|
|
101
|
-
}, idx);
|
|
102
|
-
})]
|
|
103
|
-
}));
|
|
104
|
-
};
|
|
105
|
-
export default HAccordion;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
2
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
export var HAccordionContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 12px;\n"])));
|
|
5
|
-
export var HAccordionSection = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n border-radius: 12px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);\n padding: 0;\n transition: background 0.2s;\n"])), function (_ref) {
|
|
6
|
-
var isOpen = _ref.isOpen,
|
|
7
|
-
theme = _ref.theme;
|
|
8
|
-
return isOpen ? (theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight) || "#f3eaff" : (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "linear-gradient(180deg, #7025be 6.25%, #3c1b85 91.73%)";
|
|
9
|
-
});
|
|
10
|
-
export var HAccordionHeader = styled.button(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n background: transparent;\n color: ", ";\n border: none;\n outline: none;\n border-radius: 12px;\n padding: ", ";\n font-size: 18px;\n font-weight: 700;\n text-align: left;\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n box-shadow: ", ";\n letter-spacing: 0.01em;\n transition: color 0.2s, box-shadow 0.2s;\n"])), function (_ref2) {
|
|
11
|
-
var isOpen = _ref2.isOpen,
|
|
12
|
-
theme = _ref2.theme;
|
|
13
|
-
return isOpen ? (theme === null || theme === void 0 ? void 0 : theme.purpleMedium) || "#6c3eb6" : (theme === null || theme === void 0 ? void 0 : theme.white) || "#fff";
|
|
14
|
-
}, function (_ref3) {
|
|
15
|
-
var isOpen = _ref3.isOpen;
|
|
16
|
-
return isOpen ? "18px 20px 0px 20px" : "18px 20px 20px 20px";
|
|
17
|
-
}, function (_ref4) {
|
|
18
|
-
var isOpen = _ref4.isOpen;
|
|
19
|
-
return isOpen ? "none" : "0 1px 4px 0 rgba(60,27,133,0.10)";
|
|
20
|
-
});
|
|
21
|
-
export var HAccordionContent = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n max-height: ", ";\n overflow: hidden;\n transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);\n padding: ", ";\n color: ", ";\n font-size: 16px;\n text-align: left;\n opacity: ", ";\n transition-property: max-height, opacity, padding;\n transition-duration: 0.25s, 0.15s, 0.25s;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease,\n cubic-bezier(0.4, 0, 0.2, 1);\n"])), function (_ref5) {
|
|
22
|
-
var isOpen = _ref5.isOpen;
|
|
23
|
-
return isOpen ? "1000px" : "0px";
|
|
24
|
-
}, function (_ref6) {
|
|
25
|
-
var isOpen = _ref6.isOpen;
|
|
26
|
-
return isOpen ? "8px 15px 20px 38px" : "0 0 0 38px";
|
|
27
|
-
}, function (_ref7) {
|
|
28
|
-
var theme = _ref7.theme;
|
|
29
|
-
return (theme === null || theme === void 0 ? void 0 : theme.purpleMedium) || "#6c3eb6";
|
|
30
|
-
}, function (_ref8) {
|
|
31
|
-
var isOpen = _ref8.isOpen;
|
|
32
|
-
return isOpen ? 1 : 0;
|
|
33
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["bgImg", "bgSize"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
10
|
-
import { HBackgroundContainer, HDarkBackgroundContainer, HDarkBackgroundSquare } from "./HBackground.styled";
|
|
11
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
var HBackground = function HBackground(_ref) {
|
|
13
|
-
var bgImg = _ref.bgImg,
|
|
14
|
-
_ref$bgSize = _ref.bgSize,
|
|
15
|
-
bgSize = _ref$bgSize === void 0 ? "100px" : _ref$bgSize,
|
|
16
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
-
if (!(bgImg !== null && bgImg !== void 0 && bgImg.includes("dark"))) {
|
|
18
|
-
return /*#__PURE__*/_jsx(HBackgroundContainer, _objectSpread(_objectSpread({}, props), {}, {
|
|
19
|
-
bgSize: bgSize,
|
|
20
|
-
bgImg: bgImg,
|
|
21
|
-
children: props.children
|
|
22
|
-
}));
|
|
23
|
-
} else {
|
|
24
|
-
return /*#__PURE__*/_jsxs(HDarkBackgroundContainer, _objectSpread(_objectSpread({}, props), {}, {
|
|
25
|
-
bgSize: bgSize,
|
|
26
|
-
children: [/*#__PURE__*/_jsx(HDarkBackgroundSquare, {
|
|
27
|
-
bgImg: bgImg
|
|
28
|
-
}), props.children]
|
|
29
|
-
}));
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export default HBackground;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
2
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
export var HBackgroundContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-height: 100vh;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n background-color: rgb(244, 242, 247);\n background-image: ", ";\n background-repeat: repeat;\n background-size: ", ";\n"])), function (_ref) {
|
|
5
|
-
var bgImg = _ref.bgImg;
|
|
6
|
-
return "url(".concat(bgImg, ")");
|
|
7
|
-
}, function (_ref2) {
|
|
8
|
-
var bgSize = _ref2.bgSize;
|
|
9
|
-
return bgSize || "100px";
|
|
10
|
-
});
|
|
11
|
-
export var HDarkBackgroundContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n min-height: 100vh;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n background: ", ";\n"])), function (_ref3) {
|
|
12
|
-
var theme = _ref3.theme;
|
|
13
|
-
return theme.shadePurpleDark2;
|
|
14
|
-
});
|
|
15
|
-
export var HDarkBackgroundSquare = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: ", ";\n"])), function (_ref4) {
|
|
16
|
-
var bgImg = _ref4.bgImg;
|
|
17
|
-
return "url(".concat(bgImg, ")");
|
|
18
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
|
|
8
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
9
|
-
import { HBlackBackContainer } from "./HBlackBack.styled";
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
var HBlackBack = function HBlackBack(_ref) {
|
|
12
|
-
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13
|
-
return /*#__PURE__*/_jsx(HBlackBackContainer, _objectSpread({}, props));
|
|
14
|
-
};
|
|
15
|
-
export default HBlackBack;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
export var HBlackBackContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: 100vh;\n width: 100vw;\n position: fixed;\n top: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 99999;\n"])));
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["children", "direction", "gap", "align", "justify", "wrap", "width", "height", "padding", "margin", "border", "borderRadius", "background", "overflowX", "overflowY", "boxShadow", "position"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
10
|
-
import { HBoxContainer } from "./HBox.styled";
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
var HBox = function HBox(_ref) {
|
|
13
|
-
var children = _ref.children,
|
|
14
|
-
_ref$direction = _ref.direction,
|
|
15
|
-
direction = _ref$direction === void 0 ? "row" : _ref$direction,
|
|
16
|
-
_ref$gap = _ref.gap,
|
|
17
|
-
gap = _ref$gap === void 0 ? "10px" : _ref$gap,
|
|
18
|
-
_ref$align = _ref.align,
|
|
19
|
-
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
20
|
-
_ref$justify = _ref.justify,
|
|
21
|
-
justify = _ref$justify === void 0 ? "center" : _ref$justify,
|
|
22
|
-
_ref$wrap = _ref.wrap,
|
|
23
|
-
wrap = _ref$wrap === void 0 ? "nowrap" : _ref$wrap,
|
|
24
|
-
_ref$width = _ref.width,
|
|
25
|
-
width = _ref$width === void 0 ? "auto" : _ref$width,
|
|
26
|
-
_ref$height = _ref.height,
|
|
27
|
-
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
28
|
-
_ref$padding = _ref.padding,
|
|
29
|
-
padding = _ref$padding === void 0 ? "0" : _ref$padding,
|
|
30
|
-
_ref$margin = _ref.margin,
|
|
31
|
-
margin = _ref$margin === void 0 ? "0" : _ref$margin,
|
|
32
|
-
_ref$border = _ref.border,
|
|
33
|
-
border = _ref$border === void 0 ? "none" : _ref$border,
|
|
34
|
-
_ref$borderRadius = _ref.borderRadius,
|
|
35
|
-
borderRadius = _ref$borderRadius === void 0 ? "0" : _ref$borderRadius,
|
|
36
|
-
background = _ref.background,
|
|
37
|
-
_ref$overflowX = _ref.overflowX,
|
|
38
|
-
overflowX = _ref$overflowX === void 0 ? "visible" : _ref$overflowX,
|
|
39
|
-
_ref$overflowY = _ref.overflowY,
|
|
40
|
-
overflowY = _ref$overflowY === void 0 ? "visible" : _ref$overflowY,
|
|
41
|
-
boxShadow = _ref.boxShadow,
|
|
42
|
-
_ref$position = _ref.position,
|
|
43
|
-
position = _ref$position === void 0 ? "relative" : _ref$position,
|
|
44
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
45
|
-
return /*#__PURE__*/_jsx(HBoxContainer, _objectSpread(_objectSpread({
|
|
46
|
-
background: background,
|
|
47
|
-
direction: direction,
|
|
48
|
-
gap: gap,
|
|
49
|
-
align: align,
|
|
50
|
-
justify: justify,
|
|
51
|
-
wrap: wrap,
|
|
52
|
-
width: width,
|
|
53
|
-
height: height,
|
|
54
|
-
padding: padding,
|
|
55
|
-
margin: margin,
|
|
56
|
-
border: border,
|
|
57
|
-
$borderRadius: borderRadius,
|
|
58
|
-
$overflowX: overflowX,
|
|
59
|
-
$overflowY: overflowY,
|
|
60
|
-
boxShadow: boxShadow,
|
|
61
|
-
position: position
|
|
62
|
-
}, props), {}, {
|
|
63
|
-
children: children
|
|
64
|
-
}));
|
|
65
|
-
};
|
|
66
|
-
export default HBox;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
export var HBoxContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", "; /* Direcci\xF3n (row o column) */\n gap: ", "; /* Espaciado entre elementos */\n align-items: ", "; /* Alineaci\xF3n en el eje cruzado */\n justify-content: ", "; /* Justificaci\xF3n en el eje principal */\n flex-wrap: ", "; /* Flex wrap */\n width: ", "; /* Ancho del contenedor */\n height: ", "; /* Altura del contenedor */\n padding: ", "; /* Padding */\n margin: ", "; /* Margin */\n border: ", "; /* Border */\n border-radius: ", "; /* Bordes redondeados */\n position: ", "; /* Posici\xF3n del contenedor */\n background: ", ";\n transition: all 0.3s ease;\n overflow-x: ", ";\n overflow-y: ", ";\n box-shadow: ", "; /* Sombra */\n\n /* Estilos de la barra de scroll */\n &::-webkit-scrollbar {\n width: 8px; /* Ancho de la barra vertical */\n height: 10px; /* Alto de la barra horizontal */\n }\n\n &::-webkit-scrollbar-track {\n background: ", "; /* Color del track */\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ", "; /* Color del \"pulgar\" */\n border-radius: 10px;\n border: 2px solid ", ";\n }\n"])), function (props) {
|
|
5
|
-
return props.direction;
|
|
6
|
-
}, function (props) {
|
|
7
|
-
return props.gap;
|
|
8
|
-
}, function (props) {
|
|
9
|
-
return props.align;
|
|
10
|
-
}, function (props) {
|
|
11
|
-
return props.justify;
|
|
12
|
-
}, function (props) {
|
|
13
|
-
return props.wrap;
|
|
14
|
-
}, function (props) {
|
|
15
|
-
return props.width;
|
|
16
|
-
}, function (props) {
|
|
17
|
-
return props.height;
|
|
18
|
-
}, function (props) {
|
|
19
|
-
return props.padding;
|
|
20
|
-
}, function (props) {
|
|
21
|
-
return props.margin;
|
|
22
|
-
}, function (props) {
|
|
23
|
-
return props.border;
|
|
24
|
-
}, function (props) {
|
|
25
|
-
return props.$borderRadius;
|
|
26
|
-
}, function (props) {
|
|
27
|
-
return props.position;
|
|
28
|
-
}, function (_ref) {
|
|
29
|
-
var theme = _ref.theme,
|
|
30
|
-
background = _ref.background;
|
|
31
|
-
return (theme === null || theme === void 0 ? void 0 : theme[background]) || background || "transparent";
|
|
32
|
-
}, function (props) {
|
|
33
|
-
var _props$$overflowX;
|
|
34
|
-
return (_props$$overflowX = props.$overflowX) !== null && _props$$overflowX !== void 0 ? _props$$overflowX : "auto";
|
|
35
|
-
}, function (props) {
|
|
36
|
-
var _props$$overflowY;
|
|
37
|
-
return (_props$$overflowY = props.$overflowY) !== null && _props$$overflowY !== void 0 ? _props$$overflowY : "auto";
|
|
38
|
-
}, function (_ref2) {
|
|
39
|
-
var boxShadow = _ref2.boxShadow,
|
|
40
|
-
theme = _ref2.theme;
|
|
41
|
-
return (theme === null || theme === void 0 ? void 0 : theme[boxShadow]) || boxShadow || "none";
|
|
42
|
-
}, function (_ref3) {
|
|
43
|
-
var theme = _ref3.theme;
|
|
44
|
-
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight) || "#3c1b85";
|
|
45
|
-
}, function (_ref4) {
|
|
46
|
-
var theme = _ref4.theme;
|
|
47
|
-
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#8545c7";
|
|
48
|
-
}, function (_ref5) {
|
|
49
|
-
var theme = _ref5.theme;
|
|
50
|
-
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#3c1b85";
|
|
51
|
-
});
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["onClick", "children", "text", "background", "boxShadow", "color", "width", "height", "fontSize", "fontWeight", "borderRadius", "hoverBackground", "activeBackground", "padding", "disabled", "type", "margin"];
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
10
|
-
import { Button } from "./HButton.styled";
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
var HButton = function HButton(_ref) {
|
|
13
|
-
var onClick = _ref.onClick,
|
|
14
|
-
children = _ref.children,
|
|
15
|
-
_ref$text = _ref.text,
|
|
16
|
-
text = _ref$text === void 0 ? "" : _ref$text,
|
|
17
|
-
background = _ref.background,
|
|
18
|
-
boxShadow = _ref.boxShadow,
|
|
19
|
-
color = _ref.color,
|
|
20
|
-
width = _ref.width,
|
|
21
|
-
height = _ref.height,
|
|
22
|
-
fontSize = _ref.fontSize,
|
|
23
|
-
fontWeight = _ref.fontWeight,
|
|
24
|
-
borderRadius = _ref.borderRadius,
|
|
25
|
-
hoverBackground = _ref.hoverBackground,
|
|
26
|
-
activeBackground = _ref.activeBackground,
|
|
27
|
-
padding = _ref.padding,
|
|
28
|
-
_ref$disabled = _ref.disabled,
|
|
29
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
30
|
-
type = _ref.type,
|
|
31
|
-
margin = _ref.margin,
|
|
32
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
33
|
-
return /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
34
|
-
margin: margin,
|
|
35
|
-
type: type,
|
|
36
|
-
onClick: onClick,
|
|
37
|
-
background: background,
|
|
38
|
-
boxShadow: boxShadow,
|
|
39
|
-
color: color,
|
|
40
|
-
width: width,
|
|
41
|
-
height: height,
|
|
42
|
-
$fontSize: fontSize,
|
|
43
|
-
$fontWeight: fontWeight,
|
|
44
|
-
$borderRadius: borderRadius,
|
|
45
|
-
$hoverBackground: hoverBackground,
|
|
46
|
-
$activeBackground: activeBackground,
|
|
47
|
-
padding: padding,
|
|
48
|
-
disabled: disabled,
|
|
49
|
-
opacity: disabled ? 0.5 : 1,
|
|
50
|
-
pointerEvents: disabled ? "none" : "auto"
|
|
51
|
-
}, props), {}, {
|
|
52
|
-
children: children || text
|
|
53
|
-
}));
|
|
54
|
-
};
|
|
55
|
-
export default HButton;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var _templateObject;
|
|
2
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
export var Button = styled.button(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", " !important;\n color: ", " !important;\n\n font-size: ", " !important;\n\n font-weight: ", " !important;\n\n width: ", ";\n height: ", ";\n border-radius: ", " !important;\n border: none;\n outline: none;\n transition: all 0.3s ease;\n padding: ", ";\n text-transform: uppercase;\n margin: ", ";\n box-shadow: ", " !important; /* Sombra */\n opacity: ", ";\n pointer-events: ", ";\n"])), function (_ref) {
|
|
5
|
-
var background = _ref.background,
|
|
6
|
-
theme = _ref.theme;
|
|
7
|
-
return (theme === null || theme === void 0 ? void 0 : theme[background]) || background || theme.shadePurpleDark;
|
|
8
|
-
}, function (_ref2) {
|
|
9
|
-
var color = _ref2.color,
|
|
10
|
-
theme = _ref2.theme;
|
|
11
|
-
return (theme === null || theme === void 0 ? void 0 : theme[color]) || color || theme.goldColor;
|
|
12
|
-
}, function (_ref3) {
|
|
13
|
-
var $fontSize = _ref3.$fontSize;
|
|
14
|
-
if (!$fontSize) return "var(--h4)";
|
|
15
|
-
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
16
|
-
return "var(--".concat($fontSize, ", var(--h4))");
|
|
17
|
-
}
|
|
18
|
-
return $fontSize;
|
|
19
|
-
}, function (_ref4) {
|
|
20
|
-
var $fontWeight = _ref4.$fontWeight;
|
|
21
|
-
if (!$fontWeight) return "var(--weight-bold)";
|
|
22
|
-
if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
|
|
23
|
-
return "var(--".concat($fontWeight, ", var(--weight-bold))");
|
|
24
|
-
}
|
|
25
|
-
return $fontWeight; // 400, 700, 'inherit', etc.
|
|
26
|
-
}, function (_ref5) {
|
|
27
|
-
var width = _ref5.width;
|
|
28
|
-
return width || "auto";
|
|
29
|
-
}, function (_ref6) {
|
|
30
|
-
var height = _ref6.height;
|
|
31
|
-
return height || "auto";
|
|
32
|
-
}, function (_ref7) {
|
|
33
|
-
var $borderRadius = _ref7.$borderRadius;
|
|
34
|
-
return $borderRadius || "8px";
|
|
35
|
-
}, function (_ref8) {
|
|
36
|
-
var padding = _ref8.padding;
|
|
37
|
-
return padding !== null && padding !== void 0 ? padding : "10px";
|
|
38
|
-
}, function (_ref9) {
|
|
39
|
-
var margin = _ref9.margin;
|
|
40
|
-
return margin || "0";
|
|
41
|
-
}, function (_ref0) {
|
|
42
|
-
var boxShadow = _ref0.boxShadow,
|
|
43
|
-
theme = _ref0.theme;
|
|
44
|
-
return (theme === null || theme === void 0 ? void 0 : theme[boxShadow]) || boxShadow || "none";
|
|
45
|
-
}, function (_ref1) {
|
|
46
|
-
var opacity = _ref1.opacity;
|
|
47
|
-
return opacity || 1;
|
|
48
|
-
}, function (_ref10) {
|
|
49
|
-
var pointerEvents = _ref10.pointerEvents;
|
|
50
|
-
return pointerEvents || "auto";
|
|
51
|
-
});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { HCalendarWrapper } from "./HCalendar.styled";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
var HCalendar = function HCalendar(_ref) {
|
|
4
|
-
var value = _ref.value,
|
|
5
|
-
onChange = _ref.onChange,
|
|
6
|
-
label = _ref.label,
|
|
7
|
-
name = _ref.name,
|
|
8
|
-
min = _ref.min,
|
|
9
|
-
max = _ref.max,
|
|
10
|
-
disabled = _ref.disabled,
|
|
11
|
-
labelPosition = _ref.labelPosition,
|
|
12
|
-
labelWidth = _ref.labelWidth,
|
|
13
|
-
labelColor = _ref.labelColor,
|
|
14
|
-
labelSize = _ref.labelSize,
|
|
15
|
-
labelWeight = _ref.labelWeight,
|
|
16
|
-
width = _ref.width;
|
|
17
|
-
return /*#__PURE__*/_jsx(HCalendarWrapper, {
|
|
18
|
-
labelWeight: labelWeight !== null && labelWeight !== void 0 ? labelWeight : "bold",
|
|
19
|
-
labelPosition: labelPosition !== null && labelPosition !== void 0 ? labelPosition : "flex-start",
|
|
20
|
-
labelWidth: labelWidth !== null && labelWidth !== void 0 ? labelWidth : "100%",
|
|
21
|
-
labelSize: labelSize !== null && labelSize !== void 0 ? labelSize : "var(--p16)",
|
|
22
|
-
labelColor: labelColor !== null && labelColor !== void 0 ? labelColor : "purpleMedium",
|
|
23
|
-
label: label !== null && label !== void 0 ? label : "Date",
|
|
24
|
-
type: "date",
|
|
25
|
-
name: name !== null && name !== void 0 ? name : "date",
|
|
26
|
-
onChange: onChange,
|
|
27
|
-
value: value,
|
|
28
|
-
width: width !== null && width !== void 0 ? width : "100%",
|
|
29
|
-
min: min !== null && min !== void 0 ? min : null,
|
|
30
|
-
max: max !== null && max !== void 0 ? max : null,
|
|
31
|
-
disabled: disabled
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
export default HCalendar;
|