heroes-of-chess-components 0.5.70 → 0.5.72
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/HLogin/HLogin.styled.ts +9 -5
- package/dist/lib/HocComponents/HLogin/HLogin.tsx +1 -1
- package/dist/lib/HocComponents/HLogin/types.d.ts +1 -1
- package/dist/lib/HocComponents/HTabs/HTabs.styled.ts +8 -6
- package/dist/lib/HocComponents/HTabs/HTabs.tsx +2 -2
- package/dist/lib/HocComponents/HTabs/types.d.ts +2 -2
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.ts +17 -11
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.tsx +4 -4
- package/dist/lib/HocComponents/HToggleButton/types.d.ts +3 -3
- package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.ts +20 -15
- package/dist/lib/HocComponents/HToggleButtonCustom/HToggleButtonCustom.tsx +4 -4
- package/dist/lib/HocComponents/HToggleButtonCustom/types.d.ts +4 -4
- 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/sounds/codeBrakerCheckCode.wav +0 -0
- package/dist/lib/assets/sounds/codeBrakerFinish.wav +0 -0
- 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/styles/GlobalStyles.css +6 -6
- package/package.json +1 -1
- package/dist/lib/.gitattributes +0 -2
- package/dist/lib/HocComponents/HAccordion/HAccordion.styled.js +0 -33
- package/dist/lib/HocComponents/HBackground/HBackground.styled.js +0 -18
- package/dist/lib/HocComponents/HBlackBack/HBlackBack.styled.js +0 -4
- package/dist/lib/HocComponents/HBox/HBox.styled.js +0 -59
- package/dist/lib/HocComponents/HButton/HButton.styled.js +0 -51
- package/dist/lib/HocComponents/HCalendarStyled/HCalendarStyled.styled.js +0 -25
- package/dist/lib/HocComponents/HCards/Cards.styled.js +0 -26
- package/dist/lib/HocComponents/HCircularButton/HCircularButton.styled.js +0 -53
- package/dist/lib/HocComponents/HCircularTextButton/HCircularTextButton.styled.js +0 -35
- package/dist/lib/HocComponents/HCoinLabel/HCoin.styled.js +0 -52
- package/dist/lib/HocComponents/HDropdown/HDropdown.styled.js +0 -117
- package/dist/lib/HocComponents/HInitBackgroundAnimation/HInitBackgroundAnimation.styled.js +0 -16
- package/dist/lib/HocComponents/HInput/HInput.styled.js +0 -133
- package/dist/lib/HocComponents/HInputArea/HInputArea.styled.js +0 -68
- package/dist/lib/HocComponents/HLevelUpAnimation/HLevelUpAnimation.styled.js +0 -6
- package/dist/lib/HocComponents/HLogin/HLogin.styled.js +0 -45
- package/dist/lib/HocComponents/HModal/HModal.styled.js +0 -56
- package/dist/lib/HocComponents/HNews/aca +0 -0
- package/dist/lib/HocComponents/HProgressBar/HProgressBar.styled.js +0 -21
- package/dist/lib/HocComponents/HRadio/HRadio.styled.js +0 -56
- package/dist/lib/HocComponents/HScoreBar/HScoreBar.styled.js +0 -53
- package/dist/lib/HocComponents/HSearchInput/HSearchInput.styled.js +0 -72
- package/dist/lib/HocComponents/HSlider/HSlider.styled.js +0 -18
- package/dist/lib/HocComponents/HTabs/HTabs.styled.js +0 -22
- package/dist/lib/HocComponents/HText/HText.styled.js +0 -56
- package/dist/lib/HocComponents/HTitle/HTitle.styled.js +0 -54
- package/dist/lib/HocComponents/HToggleButton/HToggleButton.styled.js +0 -53
- package/dist/lib/HocComponents/HToggleButtonCustom/HCustomToggle.styled.js +0 -61
- package/dist/lib/hooks/sounds/soundTypes.js +0 -81
|
@@ -1,59 +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 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
|
-
});
|
|
@@ -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 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
|
-
});
|
|
@@ -1,25 +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 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
|
-
});
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,53 +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 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
|
-
});
|
|
@@ -1,35 +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 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
|
-
});
|
|
@@ -1,52 +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 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
|
-
});
|
|
@@ -1,117 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
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 HInputContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n width: ", ";\n align-items: center;\n justify-content: space-between;\n"])), function (_ref) {
|
|
5
|
-
var direction = _ref.direction;
|
|
6
|
-
return direction || "column";
|
|
7
|
-
}, function (_ref2) {
|
|
8
|
-
var gap = _ref2.gap;
|
|
9
|
-
return gap;
|
|
10
|
-
}, function (_ref3) {
|
|
11
|
-
var width = _ref3.width;
|
|
12
|
-
return width !== null && width !== void 0 ? width : "auto";
|
|
13
|
-
});
|
|
14
|
-
export var InputLabel = styled.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: ", "!important;\n font-weight: ", "!important;\n color: ", "!important;\n display: flex;\n align-items: center;\n justify-content: ", ";\n width: ", ";\n"])), function (_ref4) {
|
|
15
|
-
var $labelSize = _ref4.$labelSize;
|
|
16
|
-
if (!$labelSize) return "var(--p16)";
|
|
17
|
-
if ($labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("h") || $labelSize !== null && $labelSize !== void 0 && $labelSize.startsWith("p")) {
|
|
18
|
-
return "var(--".concat($labelSize, ", var(--p16))");
|
|
19
|
-
}
|
|
20
|
-
return $labelSize;
|
|
21
|
-
}, function (_ref5) {
|
|
22
|
-
var $labelWeight = _ref5.$labelWeight;
|
|
23
|
-
if (!$labelWeight) return "var(--weight-medium)";
|
|
24
|
-
if ($labelWeight !== null && $labelWeight !== void 0 && $labelWeight.startsWith("weight-")) {
|
|
25
|
-
return "var(--".concat($labelWeight, ", var(--weight-medium))");
|
|
26
|
-
}
|
|
27
|
-
return $labelWeight;
|
|
28
|
-
}, function (_ref6) {
|
|
29
|
-
var _ref7;
|
|
30
|
-
var $labelColor = _ref6.$labelColor,
|
|
31
|
-
theme = _ref6.theme;
|
|
32
|
-
return $labelColor && theme && typeof $labelColor === "string" && theme[$labelColor] ? theme[$labelColor] : (_ref7 = $labelColor !== null && $labelColor !== void 0 ? $labelColor : theme && theme.purpleMedium) !== null && _ref7 !== void 0 ? _ref7 : "#7c4dff";
|
|
33
|
-
}, function (_ref8) {
|
|
34
|
-
var $labelPosition = _ref8.$labelPosition;
|
|
35
|
-
return $labelPosition || "center";
|
|
36
|
-
}, function (_ref9) {
|
|
37
|
-
var $labelWidth = _ref9.$labelWidth;
|
|
38
|
-
return $labelWidth || "auto";
|
|
39
|
-
});
|
|
40
|
-
export var Input = styled.input(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n font-size: ", " !important;\n font-weight: ", " !important;\n color: ", " !important;\n background: ", " !important;\n border: ", " !important;\n text-align: ", ";\n padding: 0.2em 1em;\n border-radius: ", ";\n font-family: \"Poppins\", sans-serif;\n line-height: 1.5;\n box-shadow: rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset;\n &::placeholder {\n color: ", ";\n text-align: ", ";\n }\n &:focus,\n &:focus-visible {\n outline: none;\n }\n"])), function (_ref0) {
|
|
41
|
-
var $fontSize = _ref0.$fontSize;
|
|
42
|
-
if (!$fontSize) return "var(--p16)";
|
|
43
|
-
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
44
|
-
return "var(--".concat($fontSize, ", var(--p16))");
|
|
45
|
-
}
|
|
46
|
-
return $fontSize;
|
|
47
|
-
}, function (_ref1) {
|
|
48
|
-
var $fontWeight = _ref1.$fontWeight;
|
|
49
|
-
if (!$fontWeight) return "var(--weight-book)";
|
|
50
|
-
if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
|
|
51
|
-
return "var(--".concat($fontWeight, ", var(--weight-book))");
|
|
52
|
-
}
|
|
53
|
-
return $fontWeight;
|
|
54
|
-
}, function (_ref10) {
|
|
55
|
-
var _ref11;
|
|
56
|
-
var $fontColor = _ref10.$fontColor,
|
|
57
|
-
theme = _ref10.theme;
|
|
58
|
-
return $fontColor && theme && typeof $fontColor === "string" && theme[$fontColor] ? theme[$fontColor] : (_ref11 = $fontColor !== null && $fontColor !== void 0 ? $fontColor : theme && theme.purpleDark) !== null && _ref11 !== void 0 ? _ref11 : "#2d1e4a";
|
|
59
|
-
}, function (_ref12) {
|
|
60
|
-
var $background = _ref12.$background,
|
|
61
|
-
theme = _ref12.theme;
|
|
62
|
-
return $background && theme && typeof $background === "string" && theme[$background] ? theme[$background] : $background !== null && $background !== void 0 ? $background : "white";
|
|
63
|
-
}, function (_ref13) {
|
|
64
|
-
var $border = _ref13.$border,
|
|
65
|
-
theme = _ref13.theme;
|
|
66
|
-
return $border !== null && $border !== void 0 ? $border : "2px solid ".concat(theme.purpleMedium);
|
|
67
|
-
}, function (_ref14) {
|
|
68
|
-
var $textAlign = _ref14.$textAlign;
|
|
69
|
-
return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
|
|
70
|
-
}, function (props) {
|
|
71
|
-
return props.$borderRadius || "20px";
|
|
72
|
-
}, function (_ref15) {
|
|
73
|
-
var $placeholderColor = _ref15.$placeholderColor,
|
|
74
|
-
theme = _ref15.theme;
|
|
75
|
-
return $placeholderColor && theme && typeof $placeholderColor === "string" && theme[$placeholderColor] ? theme[$placeholderColor] : $placeholderColor !== null && $placeholderColor !== void 0 ? $placeholderColor : "#999";
|
|
76
|
-
}, function (_ref16) {
|
|
77
|
-
var $textAlign = _ref16.$textAlign;
|
|
78
|
-
return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
|
|
79
|
-
});
|
|
80
|
-
export var TextareaStyled = styled.textarea(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n font-size: ", " !important;\n font-weight: ", " !important;\n color: ", " !important;\n background: ", " !important;\n border: ", " !important;\n text-align: ", ";\n padding: 0.2em 1em !important;\n border-radius: ", ";\n font-family: \"Poppins\", sans-serif;\n line-height: 1.5;\n box-shadow: rgba(112, 37, 190, 0.11) 0px -6px 26px inset,\n rgba(112, 37, 190, 0.27) 4px 4px 26px inset;\n &::placeholder {\n color: ", ";\n text-align: ", ";\n }\n &:focus,\n &:focus-visible {\n outline: none;\n }\n resize: none;\n min-height: 40px;\n max-height: 120px;\n box-sizing: border-box;\n overflow: hidden;\n"])), function (_ref17) {
|
|
81
|
-
var $fontSize = _ref17.$fontSize;
|
|
82
|
-
if (!$fontSize) return "var(--p16)";
|
|
83
|
-
if ($fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("h") || $fontSize !== null && $fontSize !== void 0 && $fontSize.startsWith("p")) {
|
|
84
|
-
return "var(--".concat($fontSize, ", var(--p16))");
|
|
85
|
-
}
|
|
86
|
-
return $fontSize;
|
|
87
|
-
}, function (_ref18) {
|
|
88
|
-
var $fontWeight = _ref18.$fontWeight;
|
|
89
|
-
if (!$fontWeight) return "var(--weight-book)";
|
|
90
|
-
if ($fontWeight !== null && $fontWeight !== void 0 && $fontWeight.startsWith("weight-")) {
|
|
91
|
-
return "var(--".concat($fontWeight, ", var(--weight-book))");
|
|
92
|
-
}
|
|
93
|
-
return $fontWeight;
|
|
94
|
-
}, function (_ref19) {
|
|
95
|
-
var _ref20;
|
|
96
|
-
var $fontColor = _ref19.$fontColor,
|
|
97
|
-
theme = _ref19.theme;
|
|
98
|
-
return $fontColor && theme && typeof $fontColor === "string" && theme[$fontColor] ? theme[$fontColor] : (_ref20 = $fontColor !== null && $fontColor !== void 0 ? $fontColor : theme && theme.purpleDark) !== null && _ref20 !== void 0 ? _ref20 : "#2d1e4a";
|
|
99
|
-
}, function (_ref21) {
|
|
100
|
-
var $background = _ref21.$background,
|
|
101
|
-
theme = _ref21.theme;
|
|
102
|
-
return $background && theme && typeof $background === "string" && theme[$background] ? theme[$background] : $background !== null && $background !== void 0 ? $background : "white";
|
|
103
|
-
}, function (_ref22) {
|
|
104
|
-
var $border = _ref22.$border,
|
|
105
|
-
theme = _ref22.theme;
|
|
106
|
-
return $border !== null && $border !== void 0 ? $border : "2px solid ".concat(theme.purpleMedium);
|
|
107
|
-
}, function (_ref23) {
|
|
108
|
-
var $textAlign = _ref23.$textAlign;
|
|
109
|
-
return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
|
|
110
|
-
}, function (props) {
|
|
111
|
-
return props.$borderRadius || "20px";
|
|
112
|
-
}, function (_ref24) {
|
|
113
|
-
var $placeholderColor = _ref24.$placeholderColor,
|
|
114
|
-
theme = _ref24.theme;
|
|
115
|
-
return $placeholderColor && theme && typeof $placeholderColor === "string" && theme[$placeholderColor] ? theme[$placeholderColor] : $placeholderColor !== null && $placeholderColor !== void 0 ? $placeholderColor : "#999";
|
|
116
|
-
}, function (_ref25) {
|
|
117
|
-
var $textAlign = _ref25.$textAlign;
|
|
118
|
-
return $textAlign !== null && $textAlign !== void 0 ? $textAlign : "left";
|
|
119
|
-
});
|
|
120
|
-
export var InputContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n background-color: ", ";\n border-radius: ", ";\n flex-direction: ", ";\n height: ", ";\n width: ", ";\n img {\n margin: 0 ", ";\n }\n"])), function (_ref26) {
|
|
121
|
-
var theme = _ref26.theme;
|
|
122
|
-
return theme.purpleDark;
|
|
123
|
-
}, function (props) {
|
|
124
|
-
return props.$borderRadius || "20px";
|
|
125
|
-
}, function (props) {
|
|
126
|
-
return props.direction || "row";
|
|
127
|
-
}, function (props) {
|
|
128
|
-
return props.height || "auto";
|
|
129
|
-
}, function (props) {
|
|
130
|
-
return props.width || "auto";
|
|
131
|
-
}, function (props) {
|
|
132
|
-
return props.gap || "5px";
|
|
133
|
-
});
|