@ludo.ninja/components 1.8.1 → 1.8.3

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.
Files changed (90) hide show
  1. package/dist/components/CreationCard/CardHead.js +9 -9
  2. package/dist/components/CreationCard/index.d.ts +1 -1
  3. package/dist/components/CreationCard/index.js +5 -8
  4. package/dist/components/deleteDialog/index.js +13 -15
  5. package/dist/components/filters/index.js +4 -5
  6. package/dist/components/forms/form/index.js +3 -3
  7. package/dist/components/forms/formsNavigation/index.js +4 -5
  8. package/dist/components/forms/formsTemplate/index.js +6 -6
  9. package/dist/components/headers/components/headerExperienceLabel/index.js +6 -6
  10. package/dist/components/headers/components/headerUserPic/index.js +4 -4
  11. package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.js +9 -14
  12. package/dist/components/linkTabs/index.js +2 -3
  13. package/dist/components/linkTabs/linkTab/index.js +4 -6
  14. package/dist/components/navigation/index.js +5 -5
  15. package/dist/components/profile/MultiversXAudit/MultiversXAudit.js +5 -5
  16. package/dist/components/profile/aboutText/index.js +16 -21
  17. package/dist/components/profile/addToGalleryBtns/index.js +9 -12
  18. package/dist/components/profile/info/index.js +3 -3
  19. package/dist/components/profile/interests/index.js +2 -2
  20. package/dist/components/profile/profileUserCards/profileUserCard/index.js +2 -2
  21. package/dist/components/profile/rank/index.js +3 -3
  22. package/dist/components/profile/stats/index.js +2 -2
  23. package/dist/components/profile/wallets/index.js +2 -2
  24. package/dist/components/registrationPage/registrationSelection/index.js +2 -2
  25. package/dist/components/rewards/FAQ/index.js +8 -8
  26. package/dist/components/rewards/clarifications/index.js +4 -4
  27. package/dist/components/rewards/logoBottom/index.js +2 -2
  28. package/dist/components/rewards/prograssBar/index.js +2 -2
  29. package/dist/components/rewards/rewardsButton/index.js +2 -2
  30. package/dist/components/rewards/seasonBanner/index.js +3 -3
  31. package/dist/components/rewards/taskExpTab/index.js +7 -7
  32. package/dist/components/rewards/tasksGrid/index.js +4 -4
  33. package/dist/components/rewards/userExp/index.js +8 -8
  34. package/dist/components/search/SearchInputContainer.js +4 -4
  35. package/dist/components/search/index.js +4 -4
  36. package/dist/components/search/searchCloseMoreButtons/index.js +3 -3
  37. package/dist/components/search/searchResultCaption/index.js +2 -2
  38. package/dist/components/search/searchSimpleInput/index.js +5 -5
  39. package/dist/components/search/searchSuggestions/index.js +2 -2
  40. package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.js +2 -2
  41. package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.js +2 -2
  42. package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.js +2 -2
  43. package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
  44. package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +2 -2
  45. package/dist/components/shareDialog/index.js +3 -3
  46. package/dist/components/sidebar/index.js +5 -5
  47. package/dist/components/sidebar/sidebarInviteCodeLabel/index.js +2 -2
  48. package/dist/components/toTopBtn/index.js +2 -2
  49. package/dist/layouts/custom/styles.js +3 -3
  50. package/dist/modules/gallery/ui/Description.js +2 -2
  51. package/dist/modules/gallery/ui/PlaceholderItemsGallery.js +2 -2
  52. package/dist/modules/gallery/ui/STopSections.js +2 -2
  53. package/dist/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +2 -2
  54. package/dist/modules/gallery/ui/chooseGalleryItems/index.js +2 -2
  55. package/dist/modules/gallery/ui/createGalleryForm/index.js +2 -2
  56. package/dist/modules/gallery/ui/editGalleryForm/index.js +2 -2
  57. package/dist/modules/gallery/ui/itemsPreview/index.js +2 -2
  58. package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +5 -5
  59. package/dist/system/Cards/CardCheckbox/index.js +2 -3
  60. package/dist/system/Cards/CardContent/CardCategory/index.js +2 -3
  61. package/dist/system/Cards/CardContent/CardShowMore/index.js +2 -4
  62. package/dist/system/Cards/CardContent/index.js +2 -4
  63. package/dist/system/Cards/CardHeadIcons/index.js +2 -2
  64. package/dist/system/Cards/CardRank/index.js +4 -4
  65. package/dist/system/Cards/CardsGrid/index.js +2 -2
  66. package/dist/system/Cards/MultiMediaCard/index.js +2 -5
  67. package/dist/system/Cards/RegularCard/index.js +2 -5
  68. package/dist/system/Cards/Styles/Head.js +2 -2
  69. package/dist/system/Cards/Styles/Headicons.js +2 -3
  70. package/dist/system/Cards/Styles/Image.js +2 -2
  71. package/dist/system/Cards/Styles/Likes.js +3 -4
  72. package/dist/system/Cards/Styles/MultiHead.js +2 -2
  73. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +4 -4
  74. package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.js +2 -2
  75. package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +5 -7
  76. package/dist/system/Forms/DatePicker/index.js +2 -2
  77. package/dist/system/Forms/ErrorLabel/index.js +2 -2
  78. package/dist/system/Forms/Input/index.js +2 -2
  79. package/dist/system/Forms/Selects/DesktopSelect/index.js +7 -9
  80. package/dist/system/Forms/TextArea/index.js +2 -2
  81. package/dist/system/Img/Userpic/index.js +6 -7
  82. package/dist/system/Labels/ExperienceLabel/index.js +5 -7
  83. package/dist/system/Modals/Modal/index.js +4 -6
  84. package/dist/system/Modals/ModalSidebar/index.js +4 -6
  85. package/dist/system/ShareIconResize.js +5 -6
  86. package/dist/system/Tabs/TabNavLink/index.d.ts +1 -1
  87. package/dist/system/Tabs/TabNavLink/index.js +4 -5
  88. package/dist/tsconfig.tsbuildinfo +1 -1
  89. package/dist/utils/adaptive/check4k.js +2 -2
  90. package/package.json +1 -1
@@ -10,9 +10,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  // Styles
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
13
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
14
- var colors_1 = require("@/styles/colors");
15
- var StyledHeadIcons = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: 0.2s opacity ease-out;\n opacity: 0;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100px;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n background: linear-gradient(180deg, #12183a 0%, rgba(18, 24, 58, 0) 100%);\n opacity: 0.3;\n }\n\n .rank {\n position: absolute;\n top: 16px;\n left: 16px;\n }\n\n .icons {\n position: absolute;\n top: 16px;\n right: 7px;\n display: flex;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n border-radius: 6px;\n width: ", ";\n height: ", ";\n\n svg {\n overflow: visible;\n will-change: transform;\n transition: transform 0.2s;\n transform: scale(1);\n width: ", ";\n height: ", ";\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n\n :hover svg {\n transform: scale(1.1);\n transition: transform 0.2s;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n }\n\n .icon.like {\n margin-left: 12px;\n }\n\n .icon.like.liked {\n svg path {\n fill: #f94c66;\n }\n }\n\n ", " {\n &:before {\n height: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n .rank {\n top: ", ";\n left: ", ";\n }\n\n .icons {\n top: ", ";\n right: ", ";\n }\n\n .icon {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n\n svg {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon.like {\n margin-left: ", ";\n }\n }\n"], ["\n transition: 0.2s opacity ease-out;\n opacity: 0;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100px;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n background: linear-gradient(180deg, #12183a 0%, rgba(18, 24, 58, 0) 100%);\n opacity: 0.3;\n }\n\n .rank {\n position: absolute;\n top: 16px;\n left: 16px;\n }\n\n .icons {\n position: absolute;\n top: 16px;\n right: 7px;\n display: flex;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n border-radius: 6px;\n width: ", ";\n height: ", ";\n\n svg {\n overflow: visible;\n will-change: transform;\n transition: transform 0.2s;\n transform: scale(1);\n width: ", ";\n height: ", ";\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n\n :hover svg {\n transform: scale(1.1);\n transition: transform 0.2s;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n }\n\n .icon.like {\n margin-left: 12px;\n }\n\n .icon.like.liked {\n svg path {\n fill: #f94c66;\n }\n }\n\n ", " {\n &:before {\n height: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n .rank {\n top: ", ";\n left: ", ";\n }\n\n .icons {\n top: ", ";\n right: ", ";\n }\n\n .icon {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n\n svg {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon.like {\n margin-left: ", ";\n }\n }\n"])), colors_1.WhiteColor, function (props) { return (props.isMobile ? '24px' : '36px'); }, function (props) { return (props.isMobile ? '24px' : '36px'); }, function (props) { return (props.isMobile ? '13px' : '20px'); }, function (props) { return (props.isMobile ? '12px' : '18px'); }, colors_1.TextDarkGrayColor, colors_1.BlackColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(100), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(7), (0, _4k_1.adaptiveValueCalc)(6), function (props) { return (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36)); }, function (props) { return (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36)); }, function (props) { return (props.isMobile ? '13px' : (0, _4k_1.adaptiveValueCalc)(20)); }, function (props) { return (props.isMobile ? '12px' : (0, _4k_1.adaptiveValueCalc)(18)); }, (0, _4k_1.adaptiveValueCalc)(12));
13
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
14
+ var StyledHeadIcons = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: 0.2s opacity ease-out;\n opacity: 0;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100px;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n background: linear-gradient(180deg, #12183a 0%, rgba(18, 24, 58, 0) 100%);\n opacity: 0.3;\n }\n\n .rank {\n position: absolute;\n top: 16px;\n left: 16px;\n }\n\n .icons {\n position: absolute;\n top: 16px;\n right: 7px;\n display: flex;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n border-radius: 6px;\n width: ", ";\n height: ", ";\n\n svg {\n overflow: visible;\n will-change: transform;\n transition: transform 0.2s;\n transform: scale(1);\n width: ", ";\n height: ", ";\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n\n :hover svg {\n transform: scale(1.1);\n transition: transform 0.2s;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n }\n\n .icon.like {\n margin-left: 12px;\n }\n\n .icon.like.liked {\n svg path {\n fill: #f94c66;\n }\n }\n\n ", " {\n &:before {\n height: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n .rank {\n top: ", ";\n left: ", ";\n }\n\n .icons {\n top: ", ";\n right: ", ";\n }\n\n .icon {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n\n svg {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon.like {\n margin-left: ", ";\n }\n }\n"], ["\n transition: 0.2s opacity ease-out;\n opacity: 0;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100px;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n background: linear-gradient(180deg, #12183a 0%, rgba(18, 24, 58, 0) 100%);\n opacity: 0.3;\n }\n\n .rank {\n position: absolute;\n top: 16px;\n left: 16px;\n }\n\n .icons {\n position: absolute;\n top: 16px;\n right: 7px;\n display: flex;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n border-radius: 6px;\n width: ", ";\n height: ", ";\n\n svg {\n overflow: visible;\n will-change: transform;\n transition: transform 0.2s;\n transform: scale(1);\n width: ", ";\n height: ", ";\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n\n :hover svg {\n transform: scale(1.1);\n transition: transform 0.2s;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n }\n }\n\n .icon.like {\n margin-left: 12px;\n }\n\n .icon.like.liked {\n svg path {\n fill: #f94c66;\n }\n }\n\n ", " {\n &:before {\n height: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n\n .rank {\n top: ", ";\n left: ", ";\n }\n\n .icons {\n top: ", ";\n right: ", ";\n }\n\n .icon {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n\n svg {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon.like {\n margin-left: ", ";\n }\n }\n"])), styles_1.WhiteColor, function (props) { return (props.isMobile ? '24px' : '36px'); }, function (props) { return (props.isMobile ? '24px' : '36px'); }, function (props) { return (props.isMobile ? '13px' : '20px'); }, function (props) { return (props.isMobile ? '12px' : '18px'); }, styles_1.TextDarkGrayColor, styles_1.BlackColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(100), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(7), (0, _4k_1.adaptiveValueCalc)(6), function (props) { return (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36)); }, function (props) { return (props.isMobile ? '24px' : (0, _4k_1.adaptiveValueCalc)(36)); }, function (props) { return (props.isMobile ? '13px' : (0, _4k_1.adaptiveValueCalc)(20)); }, function (props) { return (props.isMobile ? '12px' : (0, _4k_1.adaptiveValueCalc)(18)); }, (0, _4k_1.adaptiveValueCalc)(12));
16
15
  StyledHeadIcons.defaultProps = {
17
16
  isMobile: false,
18
17
  };
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var styled_components_1 = __importDefault(require("styled-components"));
11
11
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
12
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
13
- var StyledImg = styled_components_1.default.img(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n opacity: ", ";\n transition: opacity ease-in 0.3s;\n\n ", " {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n"], ["\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n opacity: ", ";\n transition: opacity ease-in 0.3s;\n\n ", " {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n"])), function (props) { return (props.isLoading ? '0' : '1'); }, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(6));
12
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
13
+ var StyledImg = styled_components_1.default.img(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n opacity: ", ";\n transition: opacity ease-in 0.3s;\n\n ", " {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n"], ["\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n opacity: ", ";\n transition: opacity ease-in 0.3s;\n\n ", " {\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n }\n"])), function (props) { return (props.isLoading ? '0' : '1'); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(6));
14
14
  exports.default = StyledImg;
15
15
  var templateObject_1;
@@ -9,10 +9,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var styled_components_1 = __importDefault(require("styled-components"));
11
11
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
12
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
13
- var colors_1 = require("@/styles/colors");
14
- var typography_1 = require("@/styles/typography");
12
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
13
+ var system_1 = require("@ludo.ninja/components/dist/system");
15
14
  // Styles
16
- var StyledLikes = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: end;\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n margin-right: 5px;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n\n :hover path {\n fill: ", ";\n }\n }\n\n .counter {\n ", ";\n font-size: 15px;\n color: ", ";\n line-height: 1;\n }\n\n ", " {\n .icon {\n width: ", ";\n height: ", ";\n margin-right: ", ";\n }\n\n .counter {\n font-size: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: end;\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n margin-right: 5px;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n\n :hover path {\n fill: ", ";\n }\n }\n\n .counter {\n ", ";\n font-size: 15px;\n color: ", ";\n line-height: 1;\n }\n\n ", " {\n .icon {\n width: ", ";\n height: ", ";\n margin-right: ", ";\n }\n\n .counter {\n font-size: ", ";\n }\n }\n"])), function (props) { return (props.isLiked ? '#F94C66' : '#cfd5ea'); }, function (props) { return (props.isLiked ? '' : '#696F90'); }, typography_1.MainText, colors_1.TextGrayColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(15));
15
+ var StyledLikes = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: end;\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n margin-right: 5px;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n\n :hover path {\n fill: ", ";\n }\n }\n\n .counter {\n ", ";\n font-size: 15px;\n color: ", ";\n line-height: 1;\n }\n\n ", " {\n .icon {\n width: ", ";\n height: ", ";\n margin-right: ", ";\n }\n\n .counter {\n font-size: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: end;\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n margin-right: 5px;\n\n path {\n fill: ", ";\n transition: fill 0.2s;\n }\n\n :hover path {\n fill: ", ";\n }\n }\n\n .counter {\n ", ";\n font-size: 15px;\n color: ", ";\n line-height: 1;\n }\n\n ", " {\n .icon {\n width: ", ";\n height: ", ";\n margin-right: ", ";\n }\n\n .counter {\n font-size: ", ";\n }\n }\n"])), function (props) { return (props.isLiked ? '#F94C66' : '#cfd5ea'); }, function (props) { return (props.isLiked ? '' : '#696F90'); }, system_1.MainText, styles_1.TextGrayColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(15));
17
16
  exports.default = StyledLikes;
18
17
  var templateObject_1;
@@ -9,8 +9,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var styled_components_1 = __importDefault(require("styled-components"));
11
11
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
12
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
12
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
13
13
  // Styles
14
- var StyledMultiHead = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-auto-rows: 114px;\n gap: 8px;\n position: relative;\n height: 252px;\n width: 252px;\n cursor: pointer;\n padding: 8px;\n\n @media (max-width: 1200px) {\n height: 75%;\n width: 100%;\n grid-auto-rows: auto;\n gap: 5.21px;\n padding: 5.21px;\n }\n\n @media (max-width: 767px) {\n height: 75%;\n width: 100%;\n gap: 4px;\n padding: 4px;\n }\n\n ", " {\n grid-auto-rows: ", ";\n gap: ", ";\n padding: ", ";\n height: ", ";\n width: ", ";\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-auto-rows: 114px;\n gap: 8px;\n position: relative;\n height: 252px;\n width: 252px;\n cursor: pointer;\n padding: 8px;\n\n @media (max-width: 1200px) {\n height: 75%;\n width: 100%;\n grid-auto-rows: auto;\n gap: 5.21px;\n padding: 5.21px;\n }\n\n @media (max-width: 767px) {\n height: 75%;\n width: 100%;\n gap: 4px;\n padding: 4px;\n }\n\n ", " {\n grid-auto-rows: ", ";\n gap: ", ";\n padding: ", ";\n height: ", ";\n width: ", ";\n }\n"])), ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(114), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(252), (0, _4k_1.adaptiveValueCalc)(252));
14
+ var StyledMultiHead = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-auto-rows: 114px;\n gap: 8px;\n position: relative;\n height: 252px;\n width: 252px;\n cursor: pointer;\n padding: 8px;\n\n @media (max-width: 1200px) {\n height: 75%;\n width: 100%;\n grid-auto-rows: auto;\n gap: 5.21px;\n padding: 5.21px;\n }\n\n @media (max-width: 767px) {\n height: 75%;\n width: 100%;\n gap: 4px;\n padding: 4px;\n }\n\n ", " {\n grid-auto-rows: ", ";\n gap: ", ";\n padding: ", ";\n height: ", ";\n width: ", ";\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-auto-rows: 114px;\n gap: 8px;\n position: relative;\n height: 252px;\n width: 252px;\n cursor: pointer;\n padding: 8px;\n\n @media (max-width: 1200px) {\n height: 75%;\n width: 100%;\n grid-auto-rows: auto;\n gap: 5.21px;\n padding: 5.21px;\n }\n\n @media (max-width: 767px) {\n height: 75%;\n width: 100%;\n gap: 4px;\n padding: 4px;\n }\n\n ", " {\n grid-auto-rows: ", ";\n gap: ", ";\n padding: ", ";\n height: ", ";\n width: ", ";\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(114), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(252), (0, _4k_1.adaptiveValueCalc)(252));
15
15
  exports.default = StyledMultiHead;
16
16
  var templateObject_1;
@@ -12,10 +12,10 @@ var react_1 = __importDefault(require("react"));
12
12
  var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
13
13
  var styled_components_1 = __importDefault(require("styled-components"));
14
14
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
15
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
16
- var Head_1 = __importDefault(require("@/system/Cards/Styles/Head"));
15
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
16
+ var system_1 = require("@ludo.ninja/components/dist/system");
17
17
  // Styles
18
- var StyledCardSkeleton = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .content {\n display: flex;\n flex-direction: column;\n padding: 12px 0 0 0;\n }\n\n .footer {\n display: flex;\n justify-content: space-between;\n }\n\n ", " {\n .content {\n padding: ", " 0 0 0;\n gap: ", ";\n\n .react-loading-skeleton {\n height: ", " !important;\n }\n\n .footer {\n & > *:first-child .react-loading-skeleton {\n width: ", " !important;\n }\n\n & > *:last-child .react-loading-skeleton {\n width: ", " !important;\n }\n }\n }\n }\n"], ["\n .content {\n display: flex;\n flex-direction: column;\n padding: 12px 0 0 0;\n }\n\n .footer {\n display: flex;\n justify-content: space-between;\n }\n\n ", " {\n .content {\n padding: ", " 0 0 0;\n gap: ", ";\n\n .react-loading-skeleton {\n height: ", " !important;\n }\n\n .footer {\n & > *:first-child .react-loading-skeleton {\n width: ", " !important;\n }\n\n & > *:last-child .react-loading-skeleton {\n width: ", " !important;\n }\n }\n }\n }\n"])), ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(120), (0, _4k_1.adaptiveValueCalc)(30));
18
+ var StyledCardSkeleton = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .content {\n display: flex;\n flex-direction: column;\n padding: 12px 0 0 0;\n }\n\n .footer {\n display: flex;\n justify-content: space-between;\n }\n\n ", " {\n .content {\n padding: ", " 0 0 0;\n gap: ", ";\n\n .react-loading-skeleton {\n height: ", " !important;\n }\n\n .footer {\n & > *:first-child .react-loading-skeleton {\n width: ", " !important;\n }\n\n & > *:last-child .react-loading-skeleton {\n width: ", " !important;\n }\n }\n }\n }\n"], ["\n .content {\n display: flex;\n flex-direction: column;\n padding: 12px 0 0 0;\n }\n\n .footer {\n display: flex;\n justify-content: space-between;\n }\n\n ", " {\n .content {\n padding: ", " 0 0 0;\n gap: ", ";\n\n .react-loading-skeleton {\n height: ", " !important;\n }\n\n .footer {\n & > *:first-child .react-loading-skeleton {\n width: ", " !important;\n }\n\n & > *:last-child .react-loading-skeleton {\n width: ", " !important;\n }\n }\n }\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(120), (0, _4k_1.adaptiveValueCalc)(30));
19
19
  var CardsSkeleton = function (_a) {
20
20
  var cardCount = _a.cardCount;
21
21
  var arr = Array.from(Array(cardCount).keys());
@@ -24,7 +24,7 @@ var CardsSkeleton = function (_a) {
24
24
  // Component
25
25
  var CardSkeleton = function () {
26
26
  return (react_1.default.createElement(StyledCardSkeleton, null,
27
- react_1.default.createElement(Head_1.default, null,
27
+ react_1.default.createElement(system_1.StyledCardHead, null,
28
28
  react_1.default.createElement(react_loading_skeleton_1.default, { height: '100%', width: '100%' })),
29
29
  react_1.default.createElement("div", { className: 'content' },
30
30
  react_1.default.createElement(react_loading_skeleton_1.default, { height: '18px', width: '70%' }),
@@ -9,14 +9,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
12
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
13
13
  var CardsGrid_1 = __importDefault(require("@/system/Cards/CardsGrid"));
14
14
  var CardsError_1 = __importDefault(require("@/system/CardsHolderWithSkeleton/CardsHolder/CardsError"));
15
15
  var CardsNoResults_1 = __importDefault(require("@/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults"));
16
16
  // Styles
17
17
  var StyledCardsHolder = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: ", ";\n gap: 24px;\n overflow: hidden;\n\n ", " {\n gap: 16px;\n }\n\n ", " {\n gap: 12px;\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n grid-template-columns: ", ";\n gap: 24px;\n overflow: hidden;\n\n ", " {\n gap: 16px;\n }\n\n ", " {\n gap: 12px;\n grid-template-columns: ", ";\n }\n"])), function (props) {
18
18
  return props.isOneColumn || props.isForVirtualize ? '1fr' : 'repeat( 4, 1fr)';
19
- }, ScreenWidth_1.mediaQuery.desktop, ScreenWidth_1.mediaQuery.tablet, function (props) {
19
+ }, styles_1.mediaQuery.desktop, styles_1.mediaQuery.tablet, function (props) {
20
20
  return props.isOneColumn || props.isForVirtualize ? '1fr' : 'repeat( 2, 1fr)';
21
21
  });
22
22
  // Component
@@ -10,17 +10,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
13
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
14
- var animations_1 = require("@/styles/animations");
15
- var scale_1 = require("@/utils/adaptive/scale");
16
- var screen_1 = require("@/utils/screen");
13
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
14
+ var utils_1 = require("@ludo.ninja/components/dist/utils");
17
15
  var loader_svg_1 = __importDefault(require("@/public/cardsHolderLoader/loader.svg"));
18
16
  // Styles
19
- var StyledCardsHolderLoader = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 24px;\n\n .loader {\n animation: ", " 1s ease-in-out infinite;\n }\n\n ", " {\n padding-top: ", ";\n }\n\n /* &.virtual {\n position: fixed;\n bottom: 90px;\n right: 30px;\n } */\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 24px;\n\n .loader {\n animation: ", " 1s ease-in-out infinite;\n }\n\n ", " {\n padding-top: ", ";\n }\n\n /* &.virtual {\n position: fixed;\n bottom: 90px;\n right: 30px;\n } */\n"])), animations_1.rotate, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(24));
17
+ var StyledCardsHolderLoader = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 24px;\n\n .loader {\n animation: ", " 1s ease-in-out infinite;\n }\n\n ", " {\n padding-top: ", ";\n }\n\n /* &.virtual {\n position: fixed;\n bottom: 90px;\n right: 30px;\n } */\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 24px;\n\n .loader {\n animation: ", " 1s ease-in-out infinite;\n }\n\n ", " {\n padding-top: ", ";\n }\n\n /* &.virtual {\n position: fixed;\n bottom: 90px;\n right: 30px;\n } */\n"])), styles_1.rotate, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(24));
20
18
  // Component
21
19
  var CardsHolderLoader = function () {
22
- var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
23
- return (react_1.default.createElement(StyledCardsHolderLoader, { style: (0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) },
20
+ var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
21
+ return (react_1.default.createElement(StyledCardsHolderLoader, { style: (0, utils_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) },
24
22
  react_1.default.createElement(loader_svg_1.default, { className: 'loader' })));
25
23
  };
26
24
  // Export
@@ -16,7 +16,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
16
16
  var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
17
17
  var boxShadow_1 = __importDefault(require("@ludo.ninja/ui/build/styles/mixins/boxShadow"));
18
18
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
19
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
19
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
20
20
  var colors_2 = require("@/styles/colors");
21
21
  var typography_1 = require("@/styles/typography");
22
22
  var vars_1 = require("@/fonts/vars");
@@ -24,7 +24,7 @@ var calendar_svg_1 = __importDefault(require("@/public/calendar.svg"));
24
24
  var close20_svg_1 = __importDefault(require("@/public/close20.svg"));
25
25
  var ErrorLabel_1 = __importDefault(require("../ErrorLabel"));
26
26
  // Styles
27
- var StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 8px 12px;\n\n .react-date-picker__wrapper {\n border: none;\n\n .react-date-picker__inputGroup {\n padding: 0;\n }\n\n .react-date-picker__inputGroup__input:focus-visible {\n outline: none;\n }\n\n .react-date-picker__button {\n padding: 4px;\n border-radius: 50%;\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-date-picker__clear-button {\n svg path {\n stroke: ", ";\n }\n }\n }\n\n .react-calendar {\n padding: 4px;\n width: 280px;\n border-radius: 6px;\n border: 1px solid ", ";\n box-shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);\n font-family: ", ";\n\n button {\n border-radius: 30px;\n border: 1px solid white;\n }\n\n .react-calendar__tile--hasActive {\n background: #76baff;\n }\n\n .react-calendar__tile--now {\n ", ";\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-calendar__tile--active,\n .react-calendar__tile--hasActive {\n ", ";\n background: ", ";\n color: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n }\n\n .react-calendar__year-view .react-calendar__tile,\n .react-calendar__decade-view .react-calendar__tile,\n .react-calendar__century-view .react-calendar__tile {\n padding: 8px 0;\n }\n }\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 8px 12px;\n\n .react-date-picker__wrapper {\n border: none;\n\n .react-date-picker__inputGroup {\n padding: 0;\n }\n\n .react-date-picker__inputGroup__input:focus-visible {\n outline: none;\n }\n\n .react-date-picker__button {\n padding: 4px;\n border-radius: 50%;\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-date-picker__clear-button {\n svg path {\n stroke: ", ";\n }\n }\n }\n\n .react-calendar {\n padding: 4px;\n width: 280px;\n border-radius: 6px;\n border: 1px solid ", ";\n box-shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);\n font-family: ", ";\n\n button {\n border-radius: 30px;\n border: 1px solid white;\n }\n\n .react-calendar__tile--hasActive {\n background: #76baff;\n }\n\n .react-calendar__tile--now {\n ", ";\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-calendar__tile--active,\n .react-calendar__tile--hasActive {\n ", ";\n background: ", ";\n color: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n }\n\n .react-calendar__year-view .react-calendar__tile,\n .react-calendar__decade-view .react-calendar__tile,\n .react-calendar__century-view .react-calendar__tile {\n padding: 8px 0;\n }\n }\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, colors_2.WhiteColor, colors_2.BlackColor, colors_1.InactiveButtonColor, colors_1.TextDarkGrayColor, colors_2.BorderColorLight, vars_1.dmsansFontVarCss.css, boxShadow_1.default, colors_1.ProgressColorMedium, colors_1.ProgressColorMedium, boxShadow_1.default, colors_1.AccentColor, colors_2.WhiteColor, colors_1.AccentColor, colors_2.WhiteColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_2.TextGrayColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(46), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
27
+ var StyledReactDatePicker = (0, styled_components_1.default)(react_date_picker_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 8px 12px;\n\n .react-date-picker__wrapper {\n border: none;\n\n .react-date-picker__inputGroup {\n padding: 0;\n }\n\n .react-date-picker__inputGroup__input:focus-visible {\n outline: none;\n }\n\n .react-date-picker__button {\n padding: 4px;\n border-radius: 50%;\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-date-picker__clear-button {\n svg path {\n stroke: ", ";\n }\n }\n }\n\n .react-calendar {\n padding: 4px;\n width: 280px;\n border-radius: 6px;\n border: 1px solid ", ";\n box-shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);\n font-family: ", ";\n\n button {\n border-radius: 30px;\n border: 1px solid white;\n }\n\n .react-calendar__tile--hasActive {\n background: #76baff;\n }\n\n .react-calendar__tile--now {\n ", ";\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-calendar__tile--active,\n .react-calendar__tile--hasActive {\n ", ";\n background: ", ";\n color: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n }\n\n .react-calendar__year-view .react-calendar__tile,\n .react-calendar__decade-view .react-calendar__tile,\n .react-calendar__century-view .react-calendar__tile {\n padding: 8px 0;\n }\n }\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 8px 12px;\n\n .react-date-picker__wrapper {\n border: none;\n\n .react-date-picker__inputGroup {\n padding: 0;\n }\n\n .react-date-picker__inputGroup__input:focus-visible {\n outline: none;\n }\n\n .react-date-picker__button {\n padding: 4px;\n border-radius: 50%;\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-date-picker__clear-button {\n svg path {\n stroke: ", ";\n }\n }\n }\n\n .react-calendar {\n padding: 4px;\n width: 280px;\n border-radius: 6px;\n border: 1px solid ", ";\n box-shadow: 0 10px 32px -16px rgba(0, 0, 0, 0.6);\n font-family: ", ";\n\n button {\n border-radius: 30px;\n border: 1px solid white;\n }\n\n .react-calendar__tile--hasActive {\n background: #76baff;\n }\n\n .react-calendar__tile--now {\n ", ";\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n }\n\n .react-calendar__tile--active,\n .react-calendar__tile--hasActive {\n ", ";\n background: ", ";\n color: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n }\n\n .react-calendar__year-view .react-calendar__tile,\n .react-calendar__decade-view .react-calendar__tile,\n .react-calendar__century-view .react-calendar__tile {\n padding: 8px 0;\n }\n }\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, colors_2.WhiteColor, colors_2.BlackColor, colors_1.InactiveButtonColor, colors_1.TextDarkGrayColor, colors_2.BorderColorLight, vars_1.dmsansFontVarCss.css, boxShadow_1.default, colors_1.ProgressColorMedium, colors_1.ProgressColorMedium, boxShadow_1.default, colors_1.AccentColor, colors_2.WhiteColor, colors_1.AccentColor, colors_2.WhiteColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_2.TextGrayColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(46), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
28
28
  var DatePicker = function (_a) {
29
29
  var name = _a.name, control = _a.control, error = _a.error;
30
30
  var renderError = function () {
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
13
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
14
- var StyledLabel = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n padding-top: 8px;\n color: #f4205f;\n font-size: 13px;\n font-weight: 400;\n\n ", " {\n padding-top: ", ";\n font-size: ", ";\n }\n"], ["\n user-select: none;\n padding-top: 8px;\n color: #f4205f;\n font-size: 13px;\n font-weight: 400;\n\n ", " {\n padding-top: ", ";\n font-size: ", ";\n }\n"])), ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(13));
13
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
14
+ var StyledLabel = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n padding-top: 8px;\n color: #f4205f;\n font-size: 13px;\n font-weight: 400;\n\n ", " {\n padding-top: ", ";\n font-size: ", ";\n }\n"], ["\n user-select: none;\n padding-top: 8px;\n color: #f4205f;\n font-size: 13px;\n font-weight: 400;\n\n ", " {\n padding-top: ", ";\n font-size: ", ";\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(13));
15
15
  var BasicErrorLabel = function (_a) {
16
16
  var children = _a.children, id = _a.id;
17
17
  return react_1.default.createElement(StyledLabel, { htmlFor: id }, children);
@@ -23,13 +23,13 @@ var react_1 = __importDefault(require("react"));
23
23
  var styled_components_1 = __importDefault(require("styled-components"));
24
24
  var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
25
25
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
26
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
26
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
27
27
  var colors_2 = require("@/styles/colors");
28
28
  var typography_1 = require("@/styles/typography");
29
29
  var ErrorLabel_1 = __importDefault(require("@/system/Forms/ErrorLabel"));
30
30
  var vars_1 = require("@/fonts/vars");
31
31
  // Styles
32
- exports.StyledInput = styled_components_1.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n :disabled {\n background: ", ";\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n :disabled {\n background: ", ";\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, colors_2.WhiteColor, colors_2.BlackColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_1.DisabledLightGrayColor, colors_1.DisabledGrayColor, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(46), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
32
+ exports.StyledInput = styled_components_1.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n :disabled {\n background: ", ";\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n height: 46px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n :disabled {\n background: ", ";\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n ", " {\n height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, colors_2.WhiteColor, colors_2.BlackColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_2.TextGrayColor, colors_1.DisabledLightGrayColor, colors_1.DisabledGrayColor, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(46), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_2.ProgressColorMinimum : colors_2.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
33
33
  var Input = function (_a) {
34
34
  var data = _a.data, register = _a.register, error = _a.error;
35
35
  var renderError = function () {
@@ -93,14 +93,12 @@ var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton")
93
93
  var react_select_1 = __importStar(require("react-select"));
94
94
  var styled_components_1 = __importDefault(require("styled-components"));
95
95
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
96
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
97
- var colors_1 = require("@/styles/colors");
98
- var typography_1 = require("@/styles/typography");
99
- var scale_1 = require("@/utils/adaptive/scale");
100
- var screen_1 = require("@/utils/screen");
101
- var vars_1 = require("@/fonts/vars");
96
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
97
+ var system_1 = require("@ludo.ninja/components/dist/system");
98
+ var utils_1 = require("@ludo.ninja/components/dist/utils");
99
+ var fonts_1 = require("@ludo.ninja/components/dist/fonts");
102
100
  var arrow_down_svg_1 = __importDefault(require("@/public/selects/arrow_down.svg"));
103
- var SelectElement = (0, styled_components_1.default)(react_select_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n\n .react-select__value-container {\n padding: 0 0 0 20px;\n }\n\n .react-select__control {\n border: none;\n background-color: white;\n border-radius: 6px;\n box-shadow: none;\n min-height: ", ";\n cursor: pointer;\n\n &:hover,\n &:focus,\n &:active {\n box-shadow: none;\n border-color: transparent;\n }\n }\n\n .react-select__indicator {\n padding: 0;\n }\n\n .react-select__indicators {\n padding-right: 12px;\n }\n\n .react-select__menu {\n ", ";\n color: ", ";\n margin: 4px 0;\n background: ", ";\n box-shadow: 0 8px 16px -16px rgba(33, 21, 95, 0.1);\n border-radius: 6px;\n z-index: 9999;\n }\n\n .react-select__single-value {\n ", ";\n margin: 0;\n color: ", ";\n }\n\n .react-select__menu-list {\n padding: 8px 0;\n }\n\n .react-select__option {\n padding: 8.5px 20px;\n font-weight: 400;\n }\n\n .react-select__option--is-selected {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n }\n\n .react-select__option--is-focused {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n transition: font-weight 0.3s ease-in-out;\n cursor: pointer;\n }\n\n ", " {\n .react-select__value-container {\n padding: 0 0 0 ", ";\n }\n\n .react-select__control {\n border-radius: ", ";\n min-height: ", ";\n }\n\n .react-select__indicator {\n transform: ", ";\n }\n\n .react-select__indicators {\n padding-right: ", ";\n }\n\n .react-select__menu {\n margin: ", " 0;\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n }\n\n .react-select__menu-list {\n padding: ", " 0;\n max-height: ", ";\n }\n\n .react-select__option {\n padding: ", " ", ";\n }\n }\n"], ["\n font-family: ", ";\n\n .react-select__value-container {\n padding: 0 0 0 20px;\n }\n\n .react-select__control {\n border: none;\n background-color: white;\n border-radius: 6px;\n box-shadow: none;\n min-height: ", ";\n cursor: pointer;\n\n &:hover,\n &:focus,\n &:active {\n box-shadow: none;\n border-color: transparent;\n }\n }\n\n .react-select__indicator {\n padding: 0;\n }\n\n .react-select__indicators {\n padding-right: 12px;\n }\n\n .react-select__menu {\n ", ";\n color: ", ";\n margin: 4px 0;\n background: ", ";\n box-shadow: 0 8px 16px -16px rgba(33, 21, 95, 0.1);\n border-radius: 6px;\n z-index: 9999;\n }\n\n .react-select__single-value {\n ", ";\n margin: 0;\n color: ", ";\n }\n\n .react-select__menu-list {\n padding: 8px 0;\n }\n\n .react-select__option {\n padding: 8.5px 20px;\n font-weight: 400;\n }\n\n .react-select__option--is-selected {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n }\n\n .react-select__option--is-focused {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n transition: font-weight 0.3s ease-in-out;\n cursor: pointer;\n }\n\n ", " {\n .react-select__value-container {\n padding: 0 0 0 ", ";\n }\n\n .react-select__control {\n border-radius: ", ";\n min-height: ", ";\n }\n\n .react-select__indicator {\n transform: ", ";\n }\n\n .react-select__indicators {\n padding-right: ", ";\n }\n\n .react-select__menu {\n margin: ", " 0;\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n }\n\n .react-select__menu-list {\n padding: ", " 0;\n max-height: ", ";\n }\n\n .react-select__option {\n padding: ", " ", ";\n }\n }\n"])), vars_1.dmsansFontVarCss.css, function (props) { return "".concat(props.minHeight, "px"); }, typography_1.MainText, colors_1.TextGrayColor, colors_1.WhiteColor, typography_1.MainText, colors_1.BlackColor, colors_1.BlackColor, colors_1.BlackColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(6), function (props) { return (0, _4k_1.adaptiveValueCalc)(props.minHeight); }, function (props) {
101
+ var SelectElement = (0, styled_components_1.default)(react_select_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n\n .react-select__value-container {\n padding: 0 0 0 20px;\n }\n\n .react-select__control {\n border: none;\n background-color: white;\n border-radius: 6px;\n box-shadow: none;\n min-height: ", ";\n cursor: pointer;\n\n &:hover,\n &:focus,\n &:active {\n box-shadow: none;\n border-color: transparent;\n }\n }\n\n .react-select__indicator {\n padding: 0;\n }\n\n .react-select__indicators {\n padding-right: 12px;\n }\n\n .react-select__menu {\n ", ";\n color: ", ";\n margin: 4px 0;\n background: ", ";\n box-shadow: 0 8px 16px -16px rgba(33, 21, 95, 0.1);\n border-radius: 6px;\n z-index: 9999;\n }\n\n .react-select__single-value {\n ", ";\n margin: 0;\n color: ", ";\n }\n\n .react-select__menu-list {\n padding: 8px 0;\n }\n\n .react-select__option {\n padding: 8.5px 20px;\n font-weight: 400;\n }\n\n .react-select__option--is-selected {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n }\n\n .react-select__option--is-focused {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n transition: font-weight 0.3s ease-in-out;\n cursor: pointer;\n }\n\n ", " {\n .react-select__value-container {\n padding: 0 0 0 ", ";\n }\n\n .react-select__control {\n border-radius: ", ";\n min-height: ", ";\n }\n\n .react-select__indicator {\n transform: ", ";\n }\n\n .react-select__indicators {\n padding-right: ", ";\n }\n\n .react-select__menu {\n margin: ", " 0;\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n }\n\n .react-select__menu-list {\n padding: ", " 0;\n max-height: ", ";\n }\n\n .react-select__option {\n padding: ", " ", ";\n }\n }\n"], ["\n font-family: ", ";\n\n .react-select__value-container {\n padding: 0 0 0 20px;\n }\n\n .react-select__control {\n border: none;\n background-color: white;\n border-radius: 6px;\n box-shadow: none;\n min-height: ", ";\n cursor: pointer;\n\n &:hover,\n &:focus,\n &:active {\n box-shadow: none;\n border-color: transparent;\n }\n }\n\n .react-select__indicator {\n padding: 0;\n }\n\n .react-select__indicators {\n padding-right: 12px;\n }\n\n .react-select__menu {\n ", ";\n color: ", ";\n margin: 4px 0;\n background: ", ";\n box-shadow: 0 8px 16px -16px rgba(33, 21, 95, 0.1);\n border-radius: 6px;\n z-index: 9999;\n }\n\n .react-select__single-value {\n ", ";\n margin: 0;\n color: ", ";\n }\n\n .react-select__menu-list {\n padding: 8px 0;\n }\n\n .react-select__option {\n padding: 8.5px 20px;\n font-weight: 400;\n }\n\n .react-select__option--is-selected {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n }\n\n .react-select__option--is-focused {\n background-color: transparent;\n color: ", ";\n font-weight: 500;\n transition: font-weight 0.3s ease-in-out;\n cursor: pointer;\n }\n\n ", " {\n .react-select__value-container {\n padding: 0 0 0 ", ";\n }\n\n .react-select__control {\n border-radius: ", ";\n min-height: ", ";\n }\n\n .react-select__indicator {\n transform: ", ";\n }\n\n .react-select__indicators {\n padding-right: ", ";\n }\n\n .react-select__menu {\n margin: ", " 0;\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n }\n\n .react-select__menu-list {\n padding: ", " 0;\n max-height: ", ";\n }\n\n .react-select__option {\n padding: ", " ", ";\n }\n }\n"])), fonts_1.dmsansFontVarCss.css, function (props) { return "".concat(props.minHeight, "px"); }, system_1.MainText, styles_1.TextGrayColor, styles_1.WhiteColor, system_1.MainText, styles_1.BlackColor, styles_1.BlackColor, styles_1.BlackColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(6), function (props) { return (0, _4k_1.adaptiveValueCalc)(props.minHeight); }, function (props) {
104
102
  return 'transform' in props.scale && props.scale.transform;
105
103
  }, (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(-16), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(8.5), (0, _4k_1.adaptiveValueCalc)(20));
106
104
  var minHeight = 40;
@@ -141,10 +139,10 @@ var DesktopSelect = function (_a) {
141
139
  var getOptionValue = function (option) {
142
140
  return option.id;
143
141
  };
144
- var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
142
+ var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
145
143
  if (isLoading)
146
144
  return react_1.default.createElement(react_loading_skeleton_1.default, { height: "".concat(minHeight, "px"), width: "154px" });
147
- return (react_1.default.createElement(SelectElement, __assign({ id: String(Math.random()), minHeight: minHeight, scale: (0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }), classNamePrefix: "react-select", name: name, getOptionLabel: function (option) { return getOptionLabel(option); }, getOptionValue: function (option) { return getOptionValue(option); }, options: options, value: selectedOption, defaultValue: selectedOption, onChange: function (option) { return handleChangeOption(option); }, isSearchable: false, components: {
145
+ return (react_1.default.createElement(SelectElement, __assign({ id: String(Math.random()), minHeight: minHeight, scale: (0, utils_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }), classNamePrefix: "react-select", name: name, getOptionLabel: function (option) { return getOptionLabel(option); }, getOptionValue: function (option) { return getOptionValue(option); }, options: options, value: selectedOption, defaultValue: selectedOption, onChange: function (option) { return handleChangeOption(option); }, isSearchable: false, components: {
148
146
  DropdownIndicator: DropdownIndicator,
149
147
  IndicatorSeparator: function () { return null; },
150
148
  } }, props)));
@@ -21,13 +21,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  var react_1 = __importDefault(require("react"));
22
22
  var styled_components_1 = __importDefault(require("styled-components"));
23
23
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
24
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
24
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
25
25
  var colors_1 = require("@/styles/colors");
26
26
  var typography_1 = require("@/styles/typography");
27
27
  var vars_1 = require("@/fonts/vars");
28
28
  var ErrorLabel_1 = __importDefault(require("../ErrorLabel"));
29
29
  // Styles
30
- var StyledTextArea = styled_components_1.default.textarea(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n min-height: 92px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n resize: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n\n ", " {\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n min-height: 92px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n resize: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n\n ", " {\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_1.ProgressColorMinimum : colors_1.BorderColorLight); }, colors_1.WhiteColor, colors_1.BlackColor, colors_1.TextGrayColor, colors_1.TextGrayColor, colors_1.TextGrayColor, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(92), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_1.ProgressColorMinimum : colors_1.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
30
+ var StyledTextArea = styled_components_1.default.textarea(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n ", ";\n width: 100%;\n min-height: 92px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n resize: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n\n ", " {\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"], ["\n font-family: ", ";\n ", ";\n width: 100%;\n min-height: 92px;\n border-radius: 6px;\n border: 1px solid\n ", ";\n background: ", ";\n color: ", ";\n outline: none;\n resize: none;\n padding: 12px;\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n :-ms-input-placeholder {\n color: ", ";\n }\n\n ::-ms-input-placeholder {\n color: ", ";\n }\n\n // :focus {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n // :hover {\n // transition: border-color 0.3s ease-in-out;\n // border: 2px solid ", ";\n // }\n\n ", " {\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid\n ", ";\n padding: ", ";\n }\n"])), vars_1.dmsansFontVarCss.css, typography_1.MainText, function (props) { return (props.status ? colors_1.ProgressColorMinimum : colors_1.BorderColorLight); }, colors_1.WhiteColor, colors_1.BlackColor, colors_1.TextGrayColor, colors_1.TextGrayColor, colors_1.TextGrayColor, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, function (props) { return (props.status ? '#F4205F' : '#C1C8DE'); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(92), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(1), function (props) { return (props.status ? colors_1.ProgressColorMinimum : colors_1.BorderColorLight); }, (0, _4k_1.adaptiveValueCalc)(12));
31
31
  // const maxCountLength = 400;
32
32
  var BasicTextArea = function (_a) {
33
33
  var data = _a.data, register = _a.register, isNeedBiggerArea = _a.isNeedBiggerArea, error = _a.error;
@@ -36,15 +36,14 @@ var link_1 = __importDefault(require("next/link"));
36
36
  var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
37
37
  var styled_components_1 = __importDefault(require("styled-components"));
38
38
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
39
- var store_1 = require("@/modules/user/store");
39
+ var modules_1 = require("@ludo.ninja/components/dist/modules");
40
40
  var useFetchUserPic_1 = __importDefault(require("@/api/server-medias/queries/useFetchUserPic"));
41
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
42
- var boxTransform_1 = __importDefault(require("@/styles/mixins/boxTransform"));
43
- var ImageInterceptor_1 = require("@/system/Img/ImageInterceptor");
41
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
42
+ var system_1 = require("@ludo.ninja/components/dist/system");
44
43
  var env_1 = require("@/utils/env");
45
44
  var defaultUserpic_svg_1 = __importDefault(require("@/public/defaultUserpics/defaultUserpic.svg"));
46
45
  // Styles
47
- var StyledHeaderUserPic = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n .userPicBlock {\n display: flex;\n }\n\n .userPicImage {\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n ", " {\n width: ", ";\n height: ", ";\n }\n }\n"], ["\n ", "\n .userPicBlock {\n display: flex;\n }\n\n .userPicImage {\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n ", " {\n width: ", ";\n height: ", ";\n }\n }\n"])), function (props) { return (props.isNeedBoxTransform ? boxTransform_1.default : null); }, function (props) { return props.imageWidth; }, function (props) { return props.imageHeight; }, ScreenWidth_1.mediaQuery.minWidthFourK, function (props) {
46
+ var StyledHeaderUserPic = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n .userPicBlock {\n display: flex;\n }\n\n .userPicImage {\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n ", " {\n width: ", ";\n height: ", ";\n }\n }\n"], ["\n ", "\n .userPicBlock {\n display: flex;\n }\n\n .userPicImage {\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n ", " {\n width: ", ";\n height: ", ";\n }\n }\n"])), function (props) { return (props.isNeedBoxTransform ? styles_1.BoxTransform : null); }, function (props) { return props.imageWidth; }, function (props) { return props.imageHeight; }, styles_1.mediaQuery.minWidthFourK, function (props) {
48
47
  return (0, _4k_1.adaptiveValueCalc)(Number(props.imageWidth.replace('px', '')));
49
48
  }, function (props) {
50
49
  return (0, _4k_1.adaptiveValueCalc)(Number(props.imageHeight.replace('px', '')));
@@ -52,7 +51,7 @@ var StyledHeaderUserPic = styled_components_1.default.div(templateObject_1 || (t
52
51
  // Component
53
52
  var UserPic = function (_a) {
54
53
  var userId = _a.userId, width = _a.width, height = _a.height, isNeedBoxTransform = _a.isNeedBoxTransform, children = _a.children;
55
- var _b = (0, store_1.useUserStore)(function (state) { return ({
54
+ var _b = (0, modules_1.useUserStore)(function (state) { return ({
56
55
  isSignedIn: state.isSignedIn,
57
56
  isLoadingProfileData: state.isLoadingProfileData,
58
57
  profileData: state.profileData,
@@ -78,7 +77,7 @@ var UserPic = function (_a) {
78
77
  return react_1.default.createElement(defaultUserpic_svg_1.default, { className: 'userPicImage' });
79
78
  };
80
79
  var renderImage = function () {
81
- return (react_1.default.createElement(ImageInterceptor_1.ImageInterceptor, { borderRadiusSkeleton: '50%' },
80
+ return (react_1.default.createElement(system_1.ImageInterceptor, { borderRadiusSkeleton: '50%' },
82
81
  react_1.default.createElement(image_1.default, { src: (profileUserPic || userPic), className: 'userPicImage', width: width, height: height, priority: true, alt: 'ludo ninja userPick' })));
83
82
  };
84
83
  var renderImageOrDefaultUserPic = function () {
@@ -12,21 +12,19 @@ var image_1 = __importDefault(require("next/image"));
12
12
  var link_1 = __importDefault(require("next/link"));
13
13
  var styled_components_1 = __importDefault(require("styled-components"));
14
14
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
15
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
16
- var boxShadow_1 = __importDefault(require("@/styles/mixins/boxShadow"));
17
- var boxTransform_1 = __importDefault(require("@/styles/mixins/boxTransform"));
15
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
18
16
  var SkeletonLabel_1 = __importDefault(require("@/system/Labels/SkeletonLabel"));
19
- var vars_1 = require("@/fonts/vars");
17
+ var fonts_1 = require("@ludo.ninja/components/dist/fonts");
20
18
  // Styles
21
- var StyledExpTab = (0, styled_components_1.default)(link_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n ", ";\n display: flex;\n gap: 8px;\n user-select: none;\n justify-content: flex-start;\n align-items: center;\n padding: 5px 8px 5px 6px;\n max-width: max-content;\n min-width: 116px;\n min-height: 32px;\n border-radius: 24px;\n background: ", ";\n\n .value {\n font-family: ", ";\n font-size: 1.6em;\n font-weight: 600;\n line-height: 1.3;\n color: ", ";\n }\n ", " {\n gap: ", ";\n padding: ", " ", "\n ", " ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n\n img {\n width: ", ";\n height: ", ";\n }\n\n .value {\n font-size: ", ";\n }\n }\n"], ["\n ", ";\n ", ";\n display: flex;\n gap: 8px;\n user-select: none;\n justify-content: flex-start;\n align-items: center;\n padding: 5px 8px 5px 6px;\n max-width: max-content;\n min-width: 116px;\n min-height: 32px;\n border-radius: 24px;\n background: ", ";\n\n .value {\n font-family: ", ";\n font-size: 1.6em;\n font-weight: 600;\n line-height: 1.3;\n color: ", ";\n }\n ", " {\n gap: ", ";\n padding: ", " ", "\n ", " ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n\n img {\n width: ", ";\n height: ", ";\n }\n\n .value {\n font-size: ", ";\n }\n }\n"])), boxShadow_1.default, boxTransform_1.default, function (_a) {
19
+ var StyledExpTab = (0, styled_components_1.default)(link_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n ", ";\n display: flex;\n gap: 8px;\n user-select: none;\n justify-content: flex-start;\n align-items: center;\n padding: 5px 8px 5px 6px;\n max-width: max-content;\n min-width: 116px;\n min-height: 32px;\n border-radius: 24px;\n background: ", ";\n\n .value {\n font-family: ", ";\n font-size: 1.6em;\n font-weight: 600;\n line-height: 1.3;\n color: ", ";\n }\n ", " {\n gap: ", ";\n padding: ", " ", "\n ", " ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n\n img {\n width: ", ";\n height: ", ";\n }\n\n .value {\n font-size: ", ";\n }\n }\n"], ["\n ", ";\n ", ";\n display: flex;\n gap: 8px;\n user-select: none;\n justify-content: flex-start;\n align-items: center;\n padding: 5px 8px 5px 6px;\n max-width: max-content;\n min-width: 116px;\n min-height: 32px;\n border-radius: 24px;\n background: ", ";\n\n .value {\n font-family: ", ";\n font-size: 1.6em;\n font-weight: 600;\n line-height: 1.3;\n color: ", ";\n }\n ", " {\n gap: ", ";\n padding: ", " ", "\n ", " ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n\n img {\n width: ", ";\n height: ", ";\n }\n\n .value {\n font-size: ", ";\n }\n }\n"])), styles_1.BoxShadow, styles_1.BoxTransform, function (_a) {
22
20
  var _b, _c;
23
21
  var theme = _a.theme;
24
22
  return (_c = (_b = theme.colors) === null || _b === void 0 ? void 0 : _b.experienceGradientLabel) === null || _c === void 0 ? void 0 : _c.gradient;
25
- }, vars_1.poppinsFontVarCss.css, function (_a) {
23
+ }, fonts_1.poppinsFontVarCss.css, function (_a) {
26
24
  var _b, _c;
27
25
  var theme = _a.theme;
28
26
  return (_c = (_b = theme.colors) === null || _b === void 0 ? void 0 : _b.experienceGradientLabel) === null || _c === void 0 ? void 0 : _c.color;
29
- }, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(116), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(16));
27
+ }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(116), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(16));
30
28
  //Component
31
29
  var ExperienceLabel = function (_a) {
32
30
  var _b = _a.value, value = _b === void 0 ? 0 : _b, link = _a.link, loading = _a.loading;
@@ -10,14 +10,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
13
- var ui_1 = require("@/store/ui");
14
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
15
- var colors_1 = require("@/styles/colors");
16
- var z_indexes_1 = require("@/styles/mixins/z-indexes");
13
+ var store_1 = require("@ludo.ninja/components/dist/store");
14
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
17
15
  // import ModalCloseIcon from '@/public/modal/close.svg';
18
- var StyledModal = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 250px;\n min-width: 300px;\n width: auto;\n z-index: ", ";\n padding: 16px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n //top: 20%;\n //left: 0;\n //right: 0;\n //transform: none;\n //margin: auto;\n max-width: 320px;\n max-height: calc(var(--app-height) - 20px);\n overflow: hidden;\n .modalContent {\n max-height: calc(var(--app-height) - 20px - 16px - 16px - 24px);\n overflow-y: auto;\n }\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n min-width: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"], ["\n min-height: 250px;\n min-width: 300px;\n width: auto;\n z-index: ", ";\n padding: 16px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n //top: 20%;\n //left: 0;\n //right: 0;\n //transform: none;\n //margin: auto;\n max-width: 320px;\n max-height: calc(var(--app-height) - 20px);\n overflow: hidden;\n .modalContent {\n max-height: calc(var(--app-height) - 20px - 16px - 16px - 24px);\n overflow-y: auto;\n }\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n min-width: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"])), z_indexes_1.zIndexModal.toString(), colors_1.WhiteColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(250), (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(24));
16
+ var StyledModal = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 250px;\n min-width: 300px;\n width: auto;\n z-index: ", ";\n padding: 16px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n //top: 20%;\n //left: 0;\n //right: 0;\n //transform: none;\n //margin: auto;\n max-width: 320px;\n max-height: calc(var(--app-height) - 20px);\n overflow: hidden;\n .modalContent {\n max-height: calc(var(--app-height) - 20px - 16px - 16px - 24px);\n overflow-y: auto;\n }\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n min-width: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"], ["\n min-height: 250px;\n min-width: 300px;\n width: auto;\n z-index: ", ";\n padding: 16px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n //top: 20%;\n //left: 0;\n //right: 0;\n //transform: none;\n //margin: auto;\n max-width: 320px;\n max-height: calc(var(--app-height) - 20px);\n overflow: hidden;\n .modalContent {\n max-height: calc(var(--app-height) - 20px - 16px - 16px - 24px);\n overflow-y: auto;\n }\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n min-width: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"])), styles_1.zIndexModal.toString(), styles_1.WhiteColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(250), (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(24));
19
17
  var Modal = function () {
20
- var _a = (0, ui_1.useUiStore)(function (state) { return ({
18
+ var _a = (0, store_1.useUiStore)(function (state) { return ({
21
19
  contentModals: state.contentModals,
22
20
  stylesModals: state.stylesModals,
23
21
  isModalOpen: state.isModalOpen,
@@ -11,14 +11,12 @@ exports.StyledModalSidebar = void 0;
11
11
  var react_1 = __importDefault(require("react"));
12
12
  var styled_components_1 = __importDefault(require("styled-components"));
13
13
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
14
- var ui_1 = require("@/store/ui");
15
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
16
- var colors_1 = require("@/styles/colors");
17
- var z_indexes_1 = require("@/styles/mixins/z-indexes");
14
+ var store_1 = require("@ludo.ninja/components/dist/store");
15
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
18
16
  // import ModalCloseIcon from '@/public/modal/close.svg';
19
- exports.StyledModalSidebar = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 300px;\n //max-width: 536px;\n z-index: ", ";\n padding: 24px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n padding: 32px;\n border-radius: 0;\n max-width: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transform: none;\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"], ["\n min-height: 300px;\n //max-width: 536px;\n z-index: ", ";\n padding: 24px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n padding: 32px;\n border-radius: 0;\n max-width: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transform: none;\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"])), z_indexes_1.zIndexModal.toString(), colors_1.WhiteColor, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(24));
17
+ exports.StyledModalSidebar = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 300px;\n //max-width: 536px;\n z-index: ", ";\n padding: 24px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n padding: 32px;\n border-radius: 0;\n max-width: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transform: none;\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"], ["\n min-height: 300px;\n //max-width: 536px;\n z-index: ", ";\n padding: 24px;\n background-color: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 8px;\n\n @media (max-width: 767px) {\n padding: 32px;\n border-radius: 0;\n max-width: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n transform: none;\n }\n\n .modalCloseIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n }\n\n .modalContent {\n margin-top: 24px;\n }\n\n ", " {\n min-height: ", ";\n padding: ", ";\n border-radius: ", ";\n\n .modalCloseIcon {\n width: ", ";\n height: ", ";\n top: ", ";\n right: ", ";\n }\n\n .modalContent {\n margin-top: ", ";\n }\n }\n"])), styles_1.zIndexModal.toString(), styles_1.WhiteColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(24));
20
18
  var ModalSidebar = function () {
21
- var _a = (0, ui_1.useUiStore)(function (state) { return ({
19
+ var _a = (0, store_1.useUiStore)(function (state) { return ({
22
20
  contentModals: state.contentModals,
23
21
  isModalSidebarOpen: state.isModalSidebarOpen,
24
22
  closeModalSidebar: state.closeModalSidebar,
@@ -10,15 +10,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.ShareIconResize = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
13
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
14
- var scale_1 = require("@/utils/adaptive/scale");
15
- var screen_1 = require("@/utils/screen");
13
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
14
+ var utils_1 = require("@ludo.ninja/components/dist/utils");
16
15
  var share_svg_1 = __importDefault(require("@/public/iconButton/share.svg"));
17
- var SIcon = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"])), ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(19), (0, _4k_1.adaptiveValueCalc)(20));
16
+ var SIcon = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(19), (0, _4k_1.adaptiveValueCalc)(20));
18
17
  var ShareIconResize = function () {
19
- var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
18
+ var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
20
19
  return (React.createElement(SIcon, null,
21
- React.createElement(share_svg_1.default, { style: (0, scale_1.getAdaptiveScale)({
20
+ React.createElement(share_svg_1.default, { style: (0, utils_1.getAdaptiveScale)({
22
21
  windowDimensions: windowDimensions,
23
22
  currentSize: 1,
24
23
  }) })));
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TabsNavType } from '@/system/Tabs/TabsNav/type';
2
+ import { TabsNavType } from '@ludo.ninja/components/dist/system';
3
3
  export declare const StyledTabsNavLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
4
  isActive: boolean;
5
5
  }>> & string;
@@ -11,12 +11,11 @@ exports.StyledTabsNavLink = void 0;
11
11
  var react_1 = __importDefault(require("react"));
12
12
  var styled_components_1 = __importDefault(require("styled-components"));
13
13
  var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
14
- var ScreenWidth_1 = require("@/styles/ScreenWidth");
15
- var colors_1 = require("@/styles/colors");
16
- var typography_1 = require("@/styles/typography");
17
- var vars_1 = require("@/fonts/vars");
14
+ var styles_1 = require("@ludo.ninja/components/dist/styles");
15
+ var system_1 = require("@ludo.ninja/components/dist/system");
16
+ var fonts_1 = require("@ludo.ninja/components/dist/fonts");
18
17
  // Styles
19
- exports.StyledTabsNavLink = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n\n ", ";\n position: relative;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n text-align: left;\n display: inline-block;\n width: max-content;\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n width: 100%;\n height: 2px;\n bottom: -2px;\n left: 0;\n background-color: #000;\n transform: ", ";\n transition: transform 0.3s ease;\n\n ", " {\n height: ", ";\n bottom: ", ";\n }\n }\n\n :hover {\n color: ", ";\n }\n\n :hover::before {\n transform: scaleX(1);\n }\n"], ["\n font-family: ", ";\n\n ", ";\n position: relative;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n text-align: left;\n display: inline-block;\n width: max-content;\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n width: 100%;\n height: 2px;\n bottom: -2px;\n left: 0;\n background-color: #000;\n transform: ", ";\n transition: transform 0.3s ease;\n\n ", " {\n height: ", ";\n bottom: ", ";\n }\n }\n\n :hover {\n color: ", ";\n }\n\n :hover::before {\n transform: scaleX(1);\n }\n"])), vars_1.poppinsFontVarCss.css, typography_1.FH5, function (props) { return (props.isActive ? colors_1.BlackColor : colors_1.TextDarkGrayColor); }, function (props) { return (props.isActive ? 'scaleX(1)' : 'scaleX(0)'); }, ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(2), (0, _4k_1.adaptiveValueCalc)(-2), colors_1.BlackColor);
18
+ exports.StyledTabsNavLink = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n\n ", ";\n position: relative;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n text-align: left;\n display: inline-block;\n width: max-content;\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n width: 100%;\n height: 2px;\n bottom: -2px;\n left: 0;\n background-color: #000;\n transform: ", ";\n transition: transform 0.3s ease;\n\n ", " {\n height: ", ";\n bottom: ", ";\n }\n }\n\n :hover {\n color: ", ";\n }\n\n :hover::before {\n transform: scaleX(1);\n }\n"], ["\n font-family: ", ";\n\n ", ";\n position: relative;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n text-align: left;\n display: inline-block;\n width: max-content;\n\n &:before {\n content: '';\n position: absolute;\n display: block;\n width: 100%;\n height: 2px;\n bottom: -2px;\n left: 0;\n background-color: #000;\n transform: ", ";\n transition: transform 0.3s ease;\n\n ", " {\n height: ", ";\n bottom: ", ";\n }\n }\n\n :hover {\n color: ", ";\n }\n\n :hover::before {\n transform: scaleX(1);\n }\n"])), fonts_1.poppinsFontVarCss.css, system_1.FH5, function (props) { return (props.isActive ? styles_1.BlackColor : styles_1.TextDarkGrayColor); }, function (props) { return (props.isActive ? 'scaleX(1)' : 'scaleX(0)'); }, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(2), (0, _4k_1.adaptiveValueCalc)(-2), styles_1.BlackColor);
20
19
  // Component
21
20
  var TabsNavLink = function (_a) {
22
21
  var tabNavLink = _a.tabNavLink, activeNavLink = _a.activeNavLink, setActiveTab = _a.setActiveTab;