heroes-of-chess-components 0.5.74 → 0.5.76
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/.gitattributes +2 -0
- package/dist/lib/HocComponents/HAccordion/HAccordion.styled.js +33 -0
- package/dist/lib/HocComponents/HBackground/HBackground.styled.js +18 -0
- package/dist/lib/HocComponents/HBlackBack/HBlackBack.styled.js +4 -0
- package/dist/lib/HocComponents/HBox/HBox.styled.js +59 -0
- package/dist/lib/HocComponents/HButton/HButton.styled.js +51 -0
- package/dist/lib/HocComponents/HButton/HButton.styled.ts +6 -1
- package/dist/lib/HocComponents/HCalendarStyled/HCalendarStyled.styled.js +25 -0
- package/dist/lib/HocComponents/HCards/Cards.styled.js +26 -0
- package/dist/lib/HocComponents/HCircularButton/HCircularButton.styled.js +53 -0
- package/dist/lib/HocComponents/HCircularTextButton/HCircularTextButton.styled.js +35 -0
- package/dist/lib/HocComponents/HCoinLabel/HCoin.styled.js +52 -0
- package/dist/lib/HocComponents/HDropdown/HDropdown.styled.js +117 -0
- package/dist/lib/HocComponents/HInitBackgroundAnimation/HInitBackgroundAnimation.styled.js +16 -0
- package/dist/lib/HocComponents/HInput/HInput.styled.js +133 -0
- package/dist/lib/HocComponents/HInputArea/HInputArea.styled.js +68 -0
- package/dist/lib/HocComponents/HLevelUpAnimation/HLevelUpAnimation.styled.js +6 -0
- package/dist/lib/HocComponents/HLogin/HLogin.styled.js +45 -0
- package/dist/lib/HocComponents/HModal/HModal.styled.js +56 -0
- package/dist/lib/HocComponents/HNews/aca +0 -0
- package/dist/lib/HocComponents/HProgressBar/HProgressBar.styled.js +21 -0
- package/dist/lib/HocComponents/HRadio/HRadio.styled.js +56 -0
- package/dist/lib/HocComponents/HScoreBar/HScoreBar.styled.js +53 -0
- package/dist/lib/HocComponents/HSearchInput/HSearchInput.styled.js +72 -0
- package/dist/lib/HocComponents/HSlider/HSlider.styled.js +18 -0
- package/dist/lib/HocComponents/HTabs/HTabs.styled.js +22 -0
- package/dist/lib/HocComponents/HText/HText.styled.js +56 -0
- package/dist/lib/HocComponents/HTitle/HTitle.styled.js +54 -0
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.js +53 -0
- package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.js +61 -0
- package/dist/lib/assets/HocLogos/Titans.svg +25 -25
- package/dist/lib/assets/HocLogos/logoCircular.svg +21 -21
- package/dist/lib/assets/HocLogos/logoLogin.svg +28 -28
- package/dist/lib/assets/HocLogos/shieldWithLogo.svg +33 -33
- package/dist/lib/assets/Icons/ui/accountsConsole.svg +17 -17
- package/dist/lib/assets/Icons/ui/addIcon.svg +10 -10
- package/dist/lib/assets/Icons/ui/aiChessGameConsole.svg +25 -25
- package/dist/lib/assets/Icons/ui/backArrow.svg +10 -10
- package/dist/lib/assets/Icons/ui/bankLogo.svg +9 -9
- package/dist/lib/assets/Icons/ui/battle.svg +20 -20
- package/dist/lib/assets/Icons/ui/bugIcon.svg +13 -13
- package/dist/lib/assets/Icons/ui/calendar.svg +23 -23
- package/dist/lib/assets/Icons/ui/calendarToggle1.svg +15 -15
- package/dist/lib/assets/Icons/ui/calendarToggle2.svg +16 -16
- package/dist/lib/assets/Icons/ui/clientConsole.svg +16 -16
- package/dist/lib/assets/Icons/ui/coin.svg +36 -36
- package/dist/lib/assets/Icons/ui/coinConsole.svg +15 -15
- package/dist/lib/assets/Icons/ui/connectCustomer.svg +17 -17
- package/dist/lib/assets/Icons/ui/correctAnswer.svg +9 -9
- package/dist/lib/assets/Icons/ui/couponConsole.svg +10 -10
- package/dist/lib/assets/Icons/ui/delete.svg +17 -17
- package/dist/lib/assets/Icons/ui/diamond.svg +83 -83
- package/dist/lib/assets/Icons/ui/eventConsole.svg +13 -13
- package/dist/lib/assets/Icons/ui/financialConsole.svg +17 -17
- package/dist/lib/assets/Icons/ui/frame.svg +9 -9
- package/dist/lib/assets/Icons/ui/gameConsole.svg +16 -16
- package/dist/lib/assets/Icons/ui/gameRoomConsole.svg +26 -26
- package/dist/lib/assets/Icons/ui/group.svg +19 -19
- package/dist/lib/assets/Icons/ui/hamburger.svg +18 -18
- package/dist/lib/assets/Icons/ui/noticeConsole.svg +20 -20
- package/dist/lib/assets/Icons/ui/notification.svg +17 -17
- package/dist/lib/assets/Icons/ui/physicGameConsole.svg +30 -30
- package/dist/lib/assets/Icons/ui/profile.svg +17 -17
- package/dist/lib/assets/Icons/ui/profileConsole.svg +10 -10
- package/dist/lib/assets/Icons/ui/queen.svg +13 -13
- package/dist/lib/assets/Icons/ui/queenActive.svg +23 -23
- package/dist/lib/assets/Icons/ui/racer.svg +17 -17
- package/dist/lib/assets/Icons/ui/ranking.svg +27 -27
- package/dist/lib/assets/Icons/ui/rewardsQRConsole.svg +30 -30
- package/dist/lib/assets/Icons/ui/rotateScreen.svg +37 -37
- package/dist/lib/assets/Icons/ui/scannerQR.svg +23 -23
- package/dist/lib/assets/Icons/ui/searchIcon.svg +10 -10
- package/dist/lib/assets/Icons/ui/settings.svg +12 -12
- package/dist/lib/assets/Icons/ui/shieldWithLogo.svg +33 -33
- package/dist/lib/assets/Icons/ui/signOut.svg +17 -17
- package/dist/lib/assets/Icons/ui/star.svg +3 -3
- package/dist/lib/assets/Icons/ui/statistics.svg +13 -13
- package/dist/lib/assets/Icons/ui/store.svg +12 -12
- package/dist/lib/assets/Icons/ui/storeItems.svg +16 -16
- package/dist/lib/assets/Icons/ui/storeMenu.svg +25 -25
- package/dist/lib/assets/Icons/ui/storeProductConsole.svg +20 -20
- package/dist/lib/assets/Icons/ui/storePurchased.svg +15 -15
- package/dist/lib/assets/Icons/ui/tournamentConsole.svg +12 -12
- package/dist/lib/assets/Icons/ui/tournamentConsoleHandle.svg +12 -12
- package/dist/lib/assets/Icons/ui/type3d.svg +14 -14
- package/dist/lib/assets/Icons/ui/type3dYellow.svg +23 -23
- package/dist/lib/assets/Icons/ui/typeCharacters.svg +14 -14
- package/dist/lib/assets/Icons/ui/typeCharactersYellow.svg +23 -23
- package/dist/lib/assets/Icons/ui/typeVr.svg +18 -18
- package/dist/lib/assets/Icons/ui/typeVrYellow.svg +23 -23
- package/dist/lib/assets/Icons/ui/wrongAnswer.svg +542 -542
- package/dist/lib/assets/aiCharacters/defaultFrame.svg +9 -9
- package/dist/lib/assets/bank/bankCoins.svg +14 -14
- package/dist/lib/assets/bank/bankFrame.svg +355 -355
- package/dist/lib/assets/bank/bankMiei.svg +547 -547
- package/dist/lib/assets/bank/verticalToggleBank1.svg +9 -9
- package/dist/lib/assets/bank/verticalToggleBank2.svg +10 -10
- package/dist/lib/assets/games/cardMemory.svg +9 -9
- package/dist/lib/assets/groupRanking/ballGreen.svg +15 -15
- package/dist/lib/assets/groupRanking/ballRed.svg +15 -15
- package/dist/lib/assets/groupRanking/ballThunder.svg +19 -19
- package/dist/lib/assets/groupRanking/ballWater.svg +15 -15
- package/dist/lib/assets/groupRanking/ballYellow.svg +5 -5
- package/dist/lib/assets/groupRanking/knightIcon.svg +17 -17
- package/dist/lib/assets/groupRanking/puzzleIcon.svg +45 -45
- package/dist/lib/assets/groupRanking/stormIcon.svg +229 -229
- package/dist/lib/assets/groupRanking/streakIcon.svg +94 -94
- package/dist/lib/assets/groupRanking/targetIcon.svg +19 -19
- package/dist/lib/assets/groupRanking/verticalFlag.svg +94 -94
- package/dist/lib/assets/notifications/birthday-icon.svg +18 -18
- package/dist/lib/assets/notifications/elo-down.svg +20 -20
- package/dist/lib/assets/notifications/elo-up.svg +20 -20
- package/dist/lib/assets/notifications/finish-tournament.svg +12 -12
- package/dist/lib/assets/notifications/general-earn-coin.svg +21 -21
- package/dist/lib/assets/notifications/general-earn-diamond.svg +27 -27
- package/dist/lib/assets/notifications/general-lose-coin.svg +21 -21
- package/dist/lib/assets/notifications/general-lose-diamond.svg +27 -27
- package/dist/lib/assets/notifications/level-up.svg +20 -20
- package/dist/lib/assets/notifications/new-notice.svg +18 -18
- package/dist/lib/assets/notifications/newStore.svg +15 -15
- package/dist/lib/assets/notifications/pet-evolution.svg +22 -22
- package/dist/lib/assets/notifications/roulette.svg +22 -22
- package/dist/lib/assets/notifications/store-action.svg +22 -22
- package/dist/lib/assets/notifications/ticket-point.svg +17 -17
- package/dist/lib/assets/notifications/vr gastar.svg +21 -21
- package/dist/lib/assets/physicGames/Ludo.svg +190 -190
- package/dist/lib/assets/physicGames/addIcon.svg +25 -25
- package/dist/lib/assets/physicGames/battleship.svg +873 -873
- package/dist/lib/assets/physicGames/drawModal.svg +9 -9
- package/dist/lib/assets/physicGames/errorSubmit.svg +9 -9
- package/dist/lib/assets/physicGames/frameFlag.svg +410 -410
- package/dist/lib/assets/physicGames/gold.svg +9 -9
- package/dist/lib/assets/physicGames/gold2.svg +9 -9
- package/dist/lib/assets/physicGames/gold3.svg +9 -9
- package/dist/lib/assets/physicGames/gold4.svg +14 -14
- package/dist/lib/assets/physicGames/header.svg +26 -26
- package/dist/lib/assets/physicGames/matchTheDots.svg +58 -58
- package/dist/lib/assets/physicGames/morePlayers.svg +23 -23
- package/dist/lib/assets/physicGames/place1icon.svg +21 -21
- package/dist/lib/assets/physicGames/place2icon.svg +21 -21
- package/dist/lib/assets/physicGames/place3icon.svg +21 -21
- package/dist/lib/assets/physicGames/place4icon.svg +21 -21
- package/dist/lib/assets/physicGames/place5icon.svg +23 -23
- package/dist/lib/assets/physicGames/place6icon.svg +21 -21
- package/dist/lib/assets/physicGames/quantik.svg +105 -105
- package/dist/lib/assets/physicGames/removeIcon.svg +31 -31
- package/dist/lib/assets/physicGames/risultatoMore.svg +350 -350
- package/dist/lib/assets/physicGames/surrenderModal.svg +9 -9
- package/dist/lib/assets/physicGames/surrenderPurple.svg +22 -22
- package/dist/lib/assets/physicGames/tabletQR.svg +29 -29
- package/dist/lib/assets/physicGames/timer.svg +25 -25
- package/dist/lib/assets/physicGames/video.svg +44 -44
- package/dist/lib/assets/physicGames/videoGame.svg +28 -28
- package/dist/lib/assets/physicGames/vsPurple.svg +48 -48
- package/dist/lib/assets/puzzleArena/corner.svg +17 -17
- package/dist/lib/assets/puzzleArena/horseIcon.svg +19 -19
- package/dist/lib/assets/puzzleArena/keyDisabledPurple.svg +12 -12
- package/dist/lib/assets/puzzleArena/keyGold.svg +12 -12
- package/dist/lib/assets/puzzleArena/myPuzzles.svg +113 -113
- package/dist/lib/assets/puzzleArena/performanceIcon.svg +22 -22
- package/dist/lib/assets/puzzleArena/playedIcon.svg +18 -18
- package/dist/lib/assets/puzzleArena/practiceIcon.svg +49 -49
- package/dist/lib/assets/puzzleArena/puzzleChess/correctHand.svg +44 -44
- package/dist/lib/assets/puzzleArena/puzzleChess/framePet.svg +9 -9
- package/dist/lib/assets/puzzleArena/puzzleChess/grayStart.svg +3 -3
- package/dist/lib/assets/puzzleArena/puzzleChess/incorrectHand.svg +46 -46
- package/dist/lib/assets/puzzleArena/puzzleChess/violetStar.svg +3 -3
- package/dist/lib/assets/puzzleArena/videoIcon.svg +14 -14
- package/dist/lib/assets/race/blueCar.svg +39 -39
- package/dist/lib/assets/race/lightblueCar.svg +39 -39
- package/dist/lib/assets/race/podioRace.svg +585 -585
- package/dist/lib/assets/race/race_ilustration.svg +32 -32
- package/dist/lib/assets/race/redCar.svg +39 -39
- package/dist/lib/assets/race/yellowCar.svg +39 -39
- 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/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/spamIcon.svg +115 -115
- package/dist/lib/assets/tickets/vulgarityIcon.svg +127 -127
- 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/assets/videoSection/back.svg +10 -10
- package/dist/lib/assets/videoSection/backgroundBox.svg +117 -117
- package/dist/lib/assets/videoSection/en.svg +33 -33
- package/dist/lib/assets/videoSection/es.svg +12 -12
- package/dist/lib/assets/videoSection/frameBox.svg +14 -14
- package/dist/lib/assets/videoSection/frameDefeat.svg +9 -9
- package/dist/lib/assets/videoSection/it.svg +12 -12
- package/dist/lib/assets/videoSection/save.svg +7 -7
- package/dist/lib/assets/videoSection/saves.svg +11 -11
- package/dist/lib/assets/videoSection/studiesLogo1.svg +6 -6
- package/dist/lib/assets/videoSection/studiesLogo2.svg +10 -10
- package/dist/lib/assets/videoSection/youtubeIcon.svg +19 -19
- package/dist/lib/data/AllMiniGames.js +1 -1
- package/dist/lib/data/AllTicketsRewards.js +6 -6
- package/dist/lib/hooks/sounds/soundTypes.js +81 -0
- package/dist/lib/styles/GlobalStyles.css +6 -6
- package/package.json +1 -1
- package/dist/lib/assets/sounds/codeBrakerCheckCode.wav +0 -0
- package/dist/lib/assets/sounds/codeBrakerFinish.wav +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
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"])));
|
|
@@ -0,0 +1,59 @@
|
|
|
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 top: ", "; /* Posici\xF3n superior */\n bottom: ", "; /* Posici\xF3n inferior */\n left: ", "; /* Posici\xF3n izquierda */\n right: ", "; /* Posici\xF3n derecha */\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 (props) {
|
|
29
|
+
return props.top;
|
|
30
|
+
}, function (props) {
|
|
31
|
+
return props.bottom;
|
|
32
|
+
}, function (props) {
|
|
33
|
+
return props.left;
|
|
34
|
+
}, function (props) {
|
|
35
|
+
return props.right;
|
|
36
|
+
}, function (_ref) {
|
|
37
|
+
var theme = _ref.theme,
|
|
38
|
+
background = _ref.background;
|
|
39
|
+
return background && (theme === null || theme === void 0 ? void 0 : theme[background]) || background || "transparent";
|
|
40
|
+
}, function (props) {
|
|
41
|
+
var _props$$overflowX;
|
|
42
|
+
return (_props$$overflowX = props.$overflowX) !== null && _props$$overflowX !== void 0 ? _props$$overflowX : "auto";
|
|
43
|
+
}, function (props) {
|
|
44
|
+
var _props$$overflowY;
|
|
45
|
+
return (_props$$overflowY = props.$overflowY) !== null && _props$$overflowY !== void 0 ? _props$$overflowY : "auto";
|
|
46
|
+
}, function (_ref2) {
|
|
47
|
+
var boxShadow = _ref2.boxShadow,
|
|
48
|
+
theme = _ref2.theme;
|
|
49
|
+
return boxShadow && (theme === null || theme === void 0 ? void 0 : theme[boxShadow]) || boxShadow || "none";
|
|
50
|
+
}, function (_ref3) {
|
|
51
|
+
var theme = _ref3.theme;
|
|
52
|
+
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight) || "#3c1b85";
|
|
53
|
+
}, function (_ref4) {
|
|
54
|
+
var theme = _ref4.theme;
|
|
55
|
+
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#8545c7";
|
|
56
|
+
}, function (_ref5) {
|
|
57
|
+
var theme = _ref5.theme;
|
|
58
|
+
return (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark) || "#3c1b85";
|
|
59
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
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 background && (theme === null || theme === void 0 ? void 0 : theme[background]) || background || (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark);
|
|
8
|
+
}, function (_ref2) {
|
|
9
|
+
var color = _ref2.color,
|
|
10
|
+
theme = _ref2.theme;
|
|
11
|
+
return color && (theme === null || theme === void 0 ? void 0 : theme[color]) || color || (theme === null || theme === void 0 ? void 0 : 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 boxShadow && (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
|
+
});
|
|
@@ -3,7 +3,12 @@ import type { ButtonStyledProps } from "./types";
|
|
|
3
3
|
|
|
4
4
|
export const Button = styled.button.withConfig({
|
|
5
5
|
shouldForwardProp: (prop) =>
|
|
6
|
-
![
|
|
6
|
+
![
|
|
7
|
+
"activeBackground",
|
|
8
|
+
"hoverBackground",
|
|
9
|
+
"borderRadius",
|
|
10
|
+
"boxShadow",
|
|
11
|
+
].includes(prop),
|
|
7
12
|
})<ButtonStyledProps>`
|
|
8
13
|
display: flex;
|
|
9
14
|
align-items: center;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 StyledDatePicker = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-radius: 10px;\n box-shadow: 0px 3px 20px 0px #7025be;\n font-family: inherit;\n margin-top: 15px;\n font-weight: bold;\n width: 100%;\n\n .react-calendar {\n border-radius: 10px;\n }\n\n .react-calendar__month-view__days {\n background: ", ";\n }\n\n .react-calendar__navigation {\n background: linear-gradient(180deg, #7025be 11.32%, #3c096c 100%);\n border-radius: 10px 10px 0 0;\n height: 70px;\n margin-bottom: 0;\n }\n\n .react-calendar__navigation button {\n color: white;\n font-size: var(--h4);\n font-weight: var(--weight-bold);\n }\n\n .react-calendar__month-view__weekdays {\n background: ", ";\n padding: 10px 5px;\n }\n\n .react-calendar__month-view__weekdays__weekday {\n color: ", ";\n font-weight: var(--weight-bold);\n font-size: var(--p14);\n }\n\n .react-calendar__tile {\n color: ", ";\n font-weight: var(--weight-medium);\n font-size: var(--p16);\n padding: 15px 0;\n }\n\n .react-calendar__tile--active,\n .react-calendar__tile--now {\n background: ", ";\n color: white;\n border-radius: 50%;\n }\n\n .react-calendar__tile:enabled:hover,\n .react-calendar__tile:enabled:focus {\n background: ", ";\n color: ", ";\n border-radius: 50%;\n }\n"])), function (_ref) {
|
|
5
|
+
var theme = _ref.theme;
|
|
6
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleLight;
|
|
7
|
+
}, function (_ref2) {
|
|
8
|
+
var theme = _ref2.theme;
|
|
9
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleLight2;
|
|
10
|
+
}, function (_ref3) {
|
|
11
|
+
var theme = _ref3.theme;
|
|
12
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
13
|
+
}, function (_ref4) {
|
|
14
|
+
var theme = _ref4.theme;
|
|
15
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
16
|
+
}, function (_ref5) {
|
|
17
|
+
var theme = _ref5.theme;
|
|
18
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
19
|
+
}, function (_ref6) {
|
|
20
|
+
var theme = _ref6.theme;
|
|
21
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleLight;
|
|
22
|
+
}, function (_ref7) {
|
|
23
|
+
var theme = _ref7.theme;
|
|
24
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
25
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var _templateObject, _templateObject2;
|
|
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 CardContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n max-width: ", ";\n width: 100%;\n height: ", ";\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: ", ";\n border-radius: 25px;\n\n h1 {\n position: absolute;\n left: -25px;\n top: 50%;\n transform: translateY(-50%);\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background: ", ";\n font-weight: var(--weight-bold);\n color: ", ";\n font-size: var(--h3);\n display: flex;\n align-items: center;\n z-index: 999;\n justify-content: center;\n }\n"])), function (_ref) {
|
|
5
|
+
var maxWidth = _ref.maxWidth;
|
|
6
|
+
return maxWidth || "800px";
|
|
7
|
+
}, function (_ref2) {
|
|
8
|
+
var height = _ref2.height;
|
|
9
|
+
return height || "160px";
|
|
10
|
+
}, function (_ref3) {
|
|
11
|
+
var theme = _ref3.theme;
|
|
12
|
+
return theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight;
|
|
13
|
+
}, function (_ref4) {
|
|
14
|
+
var theme = _ref4.theme;
|
|
15
|
+
return theme === null || theme === void 0 ? void 0 : theme.shadePurpleLight;
|
|
16
|
+
}, function (_ref5) {
|
|
17
|
+
var theme = _ref5.theme;
|
|
18
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
19
|
+
});
|
|
20
|
+
export var CardImage = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n height: 100%;\n width: 212px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n border-radius: 25px 0px 0px 25px;\n img {\n position: absolute;\n width: 124px;\n height: 124px;\n border-radius: 50%;\n border: 6px solid ", ";\n }\n\n .portrait {\n position: absolute;\n width: 200px;\n height: 200px;\n border-radius: 50%;\n z-index: 1;\n z-index: 999;\n }\n"])), function (_ref6) {
|
|
21
|
+
var theme = _ref6.theme;
|
|
22
|
+
return theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark;
|
|
23
|
+
}, function (_ref7) {
|
|
24
|
+
var theme = _ref7.theme;
|
|
25
|
+
return theme === null || theme === void 0 ? void 0 : theme.goldColor;
|
|
26
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
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 CircularButtonWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n z-index: 99;\n position: ", ";\n right: ", ";\n left: ", ";\n bottom: ", ";\n top: ", ";\n"])), function (_ref) {
|
|
5
|
+
var position = _ref.position;
|
|
6
|
+
return position !== null && position !== void 0 ? position : "fixed";
|
|
7
|
+
}, function (_ref2) {
|
|
8
|
+
var right = _ref2.right,
|
|
9
|
+
left = _ref2.left;
|
|
10
|
+
return right !== undefined ? right : left === undefined ? "10px" : undefined;
|
|
11
|
+
}, function (_ref3) {
|
|
12
|
+
var left = _ref3.left;
|
|
13
|
+
return left !== undefined ? left : undefined;
|
|
14
|
+
}, function (_ref4) {
|
|
15
|
+
var bottom = _ref4.bottom,
|
|
16
|
+
top = _ref4.top;
|
|
17
|
+
return bottom !== undefined ? bottom : top === undefined ? "10px" : undefined;
|
|
18
|
+
}, function (_ref5) {
|
|
19
|
+
var top = _ref5.top;
|
|
20
|
+
return top !== undefined ? top : undefined;
|
|
21
|
+
});
|
|
22
|
+
export var CircularButton = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n width: ", ";\n height: ", ";\n background: ", ";\n border-radius: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n opacity: ", ";\n pointer-events: ", ";\n color: ", ";\n"])), function (_ref6) {
|
|
23
|
+
var width = _ref6.width;
|
|
24
|
+
return width !== null && width !== void 0 ? width : "70px";
|
|
25
|
+
}, function (_ref7) {
|
|
26
|
+
var height = _ref7.height;
|
|
27
|
+
return height !== null && height !== void 0 ? height : "70px";
|
|
28
|
+
}, function (_ref8) {
|
|
29
|
+
var theme = _ref8.theme,
|
|
30
|
+
background = _ref8.background;
|
|
31
|
+
return background && (theme === null || theme === void 0 ? void 0 : theme[background]) || background || (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark);
|
|
32
|
+
}, function (_ref9) {
|
|
33
|
+
var disabled = _ref9.disabled;
|
|
34
|
+
return disabled ? 0.6 : 1;
|
|
35
|
+
}, function (_ref0) {
|
|
36
|
+
var disabled = _ref0.disabled;
|
|
37
|
+
return disabled ? "none" : "auto";
|
|
38
|
+
}, function (_ref1) {
|
|
39
|
+
var color = _ref1.color,
|
|
40
|
+
theme = _ref1.theme;
|
|
41
|
+
return color && (theme === null || theme === void 0 ? void 0 : theme[color]) || color || "white";
|
|
42
|
+
});
|
|
43
|
+
export var ButtonText = styled.p(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin: 0 12px;\n white-space: nowrap;\n color: ", ";\n font-weight: var(--weight-bold);\n font-size: var(--p16);\n"])), function (_ref10) {
|
|
44
|
+
var theme = _ref10.theme;
|
|
45
|
+
return theme === null || theme === void 0 ? void 0 : theme.purpleMedium;
|
|
46
|
+
});
|
|
47
|
+
export var Badge = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: absolute;\n top: -5px;\n right: -5px;\n background: ", ";\n color: ", ";\n border-radius: 50%;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n font-weight: bold;\n z-index: 1;\n"])), function (_ref11) {
|
|
48
|
+
var theme = _ref11.theme;
|
|
49
|
+
return (theme === null || theme === void 0 ? void 0 : theme.goldColor) || "#FFD700";
|
|
50
|
+
}, function (_ref12) {
|
|
51
|
+
var theme = _ref12.theme;
|
|
52
|
+
return (theme === null || theme === void 0 ? void 0 : theme.purpleDark) || "#4A1A5C";
|
|
53
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
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 CircularTextButton = styled.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: ", ";\n height: ", ";\n background: ", ";\n border-radius: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ", ";\n font-weight: ", ";\n font-size: ", ";\n margin: ", ";\n"])), function (_ref) {
|
|
5
|
+
var width = _ref.width;
|
|
6
|
+
return width !== null && width !== void 0 ? width : "80px";
|
|
7
|
+
}, function (_ref2) {
|
|
8
|
+
var height = _ref2.height;
|
|
9
|
+
return height !== null && height !== void 0 ? height : "80px";
|
|
10
|
+
}, function (_ref3) {
|
|
11
|
+
var theme = _ref3.theme,
|
|
12
|
+
background = _ref3.background;
|
|
13
|
+
return background && (theme === null || theme === void 0 ? void 0 : theme[background]) || background || (theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark);
|
|
14
|
+
}, function (_ref4) {
|
|
15
|
+
var color = _ref4.color,
|
|
16
|
+
theme = _ref4.theme;
|
|
17
|
+
return color && (theme === null || theme === void 0 ? void 0 : theme[color]) || color || (theme === null || theme === void 0 ? void 0 : theme.purpleMedium);
|
|
18
|
+
}, function (_ref5) {
|
|
19
|
+
var $fontWeight = _ref5.$fontWeight;
|
|
20
|
+
if (!$fontWeight) return "var(--weight-bold)";
|
|
21
|
+
if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
|
|
22
|
+
return "var(--".concat($fontWeight, ", var(--weight-bold))");
|
|
23
|
+
}
|
|
24
|
+
return $fontWeight; // 400, 700, 'inherit', etc.
|
|
25
|
+
}, function (_ref6) {
|
|
26
|
+
var $fontSize = _ref6.$fontSize;
|
|
27
|
+
if (!$fontSize) return "var(--h5)";
|
|
28
|
+
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
29
|
+
return "var(--".concat($fontSize, ", var(--h5))");
|
|
30
|
+
}
|
|
31
|
+
return $fontSize;
|
|
32
|
+
}, function (_ref7) {
|
|
33
|
+
var margin = _ref7.margin;
|
|
34
|
+
return margin !== null && margin !== void 0 ? margin : "0";
|
|
35
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
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 CoinContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: ", " !important;\n width: 100%;\n min-width: auto;\n border-radius: 20px;\n\n font-weight: var(--weight-regular) !important;\n padding-right: 10px;\n\n text-align: center;\n z-index: 10;\n display: flex;\n align-items: center;\n img,\n svg {\n width: 53px;\n height: 46px;\n margin-right: 10px;\n }\n\n p {\n font-size: ", " !important;\n font-weight: ", " !important;\n color: ", " !important;\n }\n"])), function (_ref) {
|
|
5
|
+
var theme = _ref.theme,
|
|
6
|
+
background = _ref.background;
|
|
7
|
+
return background ? (theme === null || theme === void 0 ? void 0 : theme[background]) || background : theme === null || theme === void 0 ? void 0 : theme.shadePurpleDark2;
|
|
8
|
+
}, function (_ref2) {
|
|
9
|
+
var $valueSize = _ref2.$valueSize;
|
|
10
|
+
if (!$valueSize) return "var(--p16)";
|
|
11
|
+
if ($valueSize !== null && $valueSize !== void 0 && $valueSize.startsWith("h") || $valueSize !== null && $valueSize !== void 0 && $valueSize.startsWith("p")) {
|
|
12
|
+
return "var(--".concat($valueSize, ", var(--p16))");
|
|
13
|
+
}
|
|
14
|
+
return $valueSize;
|
|
15
|
+
}, function (_ref3) {
|
|
16
|
+
var $valueWeight = _ref3.$valueWeight;
|
|
17
|
+
if (!$valueWeight) return "var(--weight-regular)";
|
|
18
|
+
if ($valueWeight !== null && $valueWeight !== void 0 && $valueWeight.startsWith("weight-")) {
|
|
19
|
+
return "var(--".concat($valueWeight, ", var(--weight-regular))");
|
|
20
|
+
}
|
|
21
|
+
return $valueWeight; // 400, 700, 'inherit', etc.
|
|
22
|
+
}, function (_ref4) {
|
|
23
|
+
var theme = _ref4.theme,
|
|
24
|
+
color = _ref4.color;
|
|
25
|
+
return color && (theme === null || theme === void 0 ? void 0 : theme[color]) || color || (theme === null || theme === void 0 ? void 0 : theme.purpleLight);
|
|
26
|
+
});
|
|
27
|
+
export var CoinLabel = styled.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: ", " !important;\n\n font-weight: ", " !important;\n\n color: ", " !important; /* Color del label */\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n"])), function (_ref5) {
|
|
28
|
+
var $labelSize = _ref5.$labelSize;
|
|
29
|
+
if (!$labelSize) return "var(--p16)";
|
|
30
|
+
if ($labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("h") || $labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("p")) {
|
|
31
|
+
return "var(--".concat($labelSize, ", var(--p16))");
|
|
32
|
+
}
|
|
33
|
+
return $labelSize;
|
|
34
|
+
}, function (_ref6) {
|
|
35
|
+
var $labelWeight = _ref6.$labelWeight;
|
|
36
|
+
if (!$labelWeight) return "var(--weight-regular)";
|
|
37
|
+
if ($labelWeight !== null && $labelWeight !== void 0 && $labelWeight.startsWith("weight-")) {
|
|
38
|
+
return "var(--".concat($labelWeight, ", var(--weight-regular))");
|
|
39
|
+
}
|
|
40
|
+
return $labelWeight; // 400, 700, 'inherit', etc.
|
|
41
|
+
}, function (_ref7) {
|
|
42
|
+
var $labelColor = _ref7.$labelColor,
|
|
43
|
+
theme = _ref7.theme;
|
|
44
|
+
return $labelColor && (theme === null || theme === void 0 ? void 0 : theme[$labelColor]) || $labelColor || (theme === null || theme === void 0 ? void 0 : theme.purpleMedium);
|
|
45
|
+
});
|
|
46
|
+
export var CoinLabelContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: ", " !important;\n width: ", " !important;\n"])), function (_ref8) {
|
|
47
|
+
var direction = _ref8.direction;
|
|
48
|
+
return direction || "column";
|
|
49
|
+
}, function (_ref9) {
|
|
50
|
+
var width = _ref9.width;
|
|
51
|
+
return width || "auto";
|
|
52
|
+
});
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
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 DropdownContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n width: ", ";\n position: relative;\n"])), function (_ref) {
|
|
5
|
+
var direction = _ref.direction;
|
|
6
|
+
return direction || "column";
|
|
7
|
+
}, function (_ref2) {
|
|
8
|
+
var gap = _ref2.gap;
|
|
9
|
+
return gap || "10px";
|
|
10
|
+
}, function (_ref3) {
|
|
11
|
+
var width = _ref3.width;
|
|
12
|
+
return width || "auto";
|
|
13
|
+
});
|
|
14
|
+
export var MultiSelectContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n width: ", ";\n"])), function (_ref4) {
|
|
15
|
+
var width = _ref4.width;
|
|
16
|
+
return width || "200px";
|
|
17
|
+
});
|
|
18
|
+
export var MultiSelectDisplay = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: ", ";\n color: ", "!important;\n padding: ", ";\n border-radius: 8px;\n width: 100%;\n height: ", ";\n background: ", " !important;\n border: none;\n box-shadow: 0px 4px 4px 0px #00000040;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n text-indent: 1px;\n min-height: ", ";\n max-height: ", ";\n overflow: hidden;\n &:focus {\n outline: none;\n }\n"])), function (_ref5) {
|
|
19
|
+
var $fontSize = _ref5.$fontSize;
|
|
20
|
+
if (!$fontSize) return "var(--p16)";
|
|
21
|
+
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
22
|
+
return "var(--".concat($fontSize, ", var(--p16))");
|
|
23
|
+
}
|
|
24
|
+
return $fontSize;
|
|
25
|
+
}, function (_ref6) {
|
|
26
|
+
var theme = _ref6.theme,
|
|
27
|
+
color = _ref6.color;
|
|
28
|
+
return theme && typeof color === "string" && theme[color] || color || theme && theme.white || "white";
|
|
29
|
+
}, function (_ref7) {
|
|
30
|
+
var $selectPadding = _ref7.$selectPadding;
|
|
31
|
+
return $selectPadding || "10px 20px";
|
|
32
|
+
}, function (_ref8) {
|
|
33
|
+
var height = _ref8.height;
|
|
34
|
+
return height || "40px";
|
|
35
|
+
}, function (_ref9) {
|
|
36
|
+
var _ref0, _ref1, _ref10;
|
|
37
|
+
var theme = _ref9.theme,
|
|
38
|
+
background = _ref9.background;
|
|
39
|
+
return (_ref0 = (_ref1 = (_ref10 = theme && typeof background === "string" && theme[background]) !== null && _ref10 !== void 0 ? _ref10 : background) !== null && _ref1 !== void 0 ? _ref1 : theme && theme.shadePurpleDark) !== null && _ref0 !== void 0 ? _ref0 : "#2d1e4a";
|
|
40
|
+
}, function (_ref11) {
|
|
41
|
+
var height = _ref11.height;
|
|
42
|
+
return height || "40px";
|
|
43
|
+
}, function (_ref12) {
|
|
44
|
+
var height = _ref12.height;
|
|
45
|
+
return height || "40px";
|
|
46
|
+
});
|
|
47
|
+
export var DropdownArrow = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 8px;\n transition: transform 0.2s;\n transform: ", ";\n font-size: 14px;\n display: flex;\n align-items: center;\n"])), function (_ref13) {
|
|
48
|
+
var $isOpen = _ref13.$isOpen;
|
|
49
|
+
return $isOpen ? "rotate(180deg)" : "rotate(0deg)";
|
|
50
|
+
});
|
|
51
|
+
export var MultiSelectDropdown = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: ", " !important;\n border-radius: 8px;\n box-shadow: 0px 4px 4px 0px #00000040;\n z-index: 1000;\n max-height: 200px;\n overflow-y: auto;\n display: ", ";\n margin-top: 4px;\n"])), function (_ref14) {
|
|
52
|
+
var _ref15, _ref16, _ref17;
|
|
53
|
+
var theme = _ref14.theme,
|
|
54
|
+
background = _ref14.background;
|
|
55
|
+
return (_ref15 = (_ref16 = (_ref17 = theme && typeof background === "string" && theme[background]) !== null && _ref17 !== void 0 ? _ref17 : background) !== null && _ref16 !== void 0 ? _ref16 : theme && theme.shadePurpleDark) !== null && _ref15 !== void 0 ? _ref15 : "#2d1e4a";
|
|
56
|
+
}, function (_ref18) {
|
|
57
|
+
var $isOpen = _ref18.$isOpen;
|
|
58
|
+
return $isOpen ? "block" : "none";
|
|
59
|
+
});
|
|
60
|
+
export var SearchInput = styled.input(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n font-size: ", ";\n color: ", "!important;\n padding: 8px 12px;\n border: none;\n border-bottom: 1px solid\n ", "33;\n background: transparent;\n width: 100%;\n outline: none;\n margin-bottom: 4px;\n &::placeholder {\n color: ", ";\n }\n"])), function (_ref19) {
|
|
61
|
+
var $fontSize = _ref19.$fontSize;
|
|
62
|
+
if (!$fontSize) return "var(--p16)";
|
|
63
|
+
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
64
|
+
return "var(--".concat($fontSize, ", var(--p16))");
|
|
65
|
+
}
|
|
66
|
+
return $fontSize;
|
|
67
|
+
}, function (_ref20) {
|
|
68
|
+
var theme = _ref20.theme,
|
|
69
|
+
color = _ref20.color;
|
|
70
|
+
return theme && typeof color === "string" && theme[color] || color || theme && theme.white || "white";
|
|
71
|
+
}, function (_ref21) {
|
|
72
|
+
var theme = _ref21.theme;
|
|
73
|
+
return theme && theme.purpleMedium || "#7c4dff";
|
|
74
|
+
}, function (_ref22) {
|
|
75
|
+
var theme = _ref22.theme,
|
|
76
|
+
color = _ref22.color;
|
|
77
|
+
return (theme && typeof color === "string" && theme[color] || color || theme && theme.white || "white") + "66";
|
|
78
|
+
});
|
|
79
|
+
export var MultiSelectOption = styled.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n padding: 8px 12px;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: ", ";\n color: ", " !important;\n &:hover {\n background: ", " !important;\n }\n input[type=\"checkbox\"] {\n margin: 0;\n cursor: pointer;\n }\n"])), function (_ref23) {
|
|
80
|
+
var $fontSize = _ref23.$fontSize;
|
|
81
|
+
if (!$fontSize) return "var(--p16)";
|
|
82
|
+
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
83
|
+
return "var(--".concat($fontSize, ", var(--p16))");
|
|
84
|
+
}
|
|
85
|
+
return $fontSize;
|
|
86
|
+
}, function (_ref24) {
|
|
87
|
+
var theme = _ref24.theme,
|
|
88
|
+
$optionColor = _ref24.$optionColor,
|
|
89
|
+
color = _ref24.color;
|
|
90
|
+
return color && (theme && typeof color === "string" && theme[color] || color) || theme && typeof $optionColor === "string" && theme[$optionColor] || $optionColor || theme && theme.white || "white";
|
|
91
|
+
}, function (_ref25) {
|
|
92
|
+
var theme = _ref25.theme,
|
|
93
|
+
$optionColor = _ref25.$optionColor,
|
|
94
|
+
color = _ref25.color;
|
|
95
|
+
return (color && (theme && typeof color === "string" && theme[color] || color) || theme && typeof $optionColor === "string" && theme[$optionColor] || $optionColor || theme && theme.purpleMedium || "#7c4dff") + "33";
|
|
96
|
+
});
|
|
97
|
+
export var DropdownLabel = styled.label(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n font-size: ", " !important;\n font-weight: var(--weight-regular) !important;\n color: ", "!important;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n"])), function (_ref26) {
|
|
98
|
+
var $labelSize = _ref26.$labelSize,
|
|
99
|
+
$fontSize = _ref26.$fontSize;
|
|
100
|
+
if ($labelSize) {
|
|
101
|
+
if ($labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("h") || $labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("p")) {
|
|
102
|
+
return "var(--".concat($labelSize, ", var(--p16))");
|
|
103
|
+
}
|
|
104
|
+
return $labelSize;
|
|
105
|
+
}
|
|
106
|
+
if ($fontSize) {
|
|
107
|
+
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
108
|
+
return "var(--".concat($fontSize, ", var(--p16))");
|
|
109
|
+
}
|
|
110
|
+
return $fontSize;
|
|
111
|
+
}
|
|
112
|
+
return "var(--p16)";
|
|
113
|
+
}, function (_ref27) {
|
|
114
|
+
var $labelColor = _ref27.$labelColor,
|
|
115
|
+
theme = _ref27.theme;
|
|
116
|
+
return theme && typeof $labelColor === "string" && theme[$labelColor] || $labelColor || theme && theme.purpleMedium || "#7c4dff";
|
|
117
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
2
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
+
import styled, { css, keyframes } from "styled-components";
|
|
4
|
+
var fadeOut = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n display: none;\n }\n"])));
|
|
5
|
+
var translate = keyframes(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n from {\n }\n to {\n transform: translateY(100%);\n }\n"])));
|
|
6
|
+
export var Container = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n min-height: 100vh;\n width: 100%;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n background: ", ";\n position: fixed;\n top: 0;\n left: 0;\n z-index: 5;\n ", "\n"])), function (_ref) {
|
|
7
|
+
var _shadePurpleDark;
|
|
8
|
+
var theme = _ref.theme;
|
|
9
|
+
return (_shadePurpleDark = theme.shadePurpleDark2) !== null && _shadePurpleDark !== void 0 ? _shadePurpleDark : "#1a1332";
|
|
10
|
+
}, function (props) {
|
|
11
|
+
return props.fadeOut && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n animation: ", " 3s forwards;\n "])), fadeOut);
|
|
12
|
+
});
|
|
13
|
+
export var LoginContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 20px;\n padding: 20px;\n border-radius: 10px;\n margin: 20px;\n z-index: 6;\n margin-top: 50px;\n"])));
|
|
14
|
+
export var Logo = styled.img(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n ", "\n"])), function (props) {
|
|
15
|
+
return props.translate && css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n animation: ", " 1s forwards;\n "])), translate);
|
|
16
|
+
});
|