mayak-common-library 0.0.124 → 0.0.126

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/index.css CHANGED
@@ -1,2 +1,2 @@
1
- @keyframes fadeIn{0%{opacity:0;transform:translateY(2rem)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInReverse{0%{opacity:0;transform:translateY(-2rem)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(2rem)}}@keyframes fadeOutReverse{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2rem)}}.select{transition:unset!important}.select--close{animation:fadeOut .4s}.select--open{animation:fadeIn .5s}.select--close-reverse{animation:fadeOutReverse .4s}.select--open-reverse{animation:fadeInReverse .5s}
1
+ @keyframes fadeIn{0%{opacity:0;transform:translateY(2rem)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInReverse{0%{opacity:0;transform:translateY(-2rem)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(2rem)}}@keyframes fadeOutReverse{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2rem)}}.select{transition:unset!important}.select--close{animation:fadeOut .4s}.select--open{animation:fadeIn .5s}.select--close-reverse{animation:fadeOutReverse .4s}.select--open-reverse{animation:fadeInReverse .5s}@tailwind base;@tailwind components;@tailwind utilities;.button{width:fit-content;padding:12px 30px;text-transform:unset;border-radius:0;min-width:145px;font-size:14px;line-height:16px;box-shadow:none}.button_dark{background-color:#343434;color:#fff}.button_dark:hover{background-color:#343434}.customImage{position:relative}.customImage img{object-position:center;object-fit:cover}@layer components{.white-block-snack{@apply bg-white px-[10px] py-[2px] w-fit text-12;}.white-block-snack-border{@apply bg-white border-solid px-[10px] py-[2px] w-fit text-14 border-[1px] border-dark;}.gold-block-snack-border{@apply bg-gold border-solid px-[10px] py-[2px] w-fit text-14 border-[1px] border-gold;}.black-block-snack{@apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;}.gray-block-snack{@apply bg-gray-light px-[10px] w-fit text-12;}.border-block-snack{@apply px-[10px] py-[2px] text-12 border-[1px] border-custom-gray-medium w-fit;}.border-gold-block-snack{@apply w-fit px-[10px] py-[2px] text-gray border-[1px] border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;}.text-gold2{color:#99835f}.text-gray{color:#757575}.text-34{font-size:34px;line-height:38px;@apply uppercase font-extrabold;}.text-32{font-size:32px;line-height:35px}.text-100{font-size:100px;line-height:110px}.text-50{font-size:50px;line-height:55px}.text-60{font-size:60px;line-height:66px}.text-10{font-size:10px;line-height:12px}.text-12{font-size:12px;line-height:16px}.text-14{font-size:14px;line-height:22px}.text-14-gray{font-size:14px;line-height:22px;color:#757575}.text-14-bold{font-size:14px;line-height:22px;@apply font-extrabold;}.text-16{font-size:16px;line-height:20px}.text-18{font-size:18px;line-height:19px}.text-20{font-size:20px;line-height:22px}.text-22{font-size:22px;line-height:26px}.text-24{font-size:24px;line-height:30px}.text-26{font-size:26px;line-height:31px;@apply font-extrabold;}.text-30{font-size:30px;line-height:33px}.text-40{font-size:40px;line-height:48px;@apply uppercase font-extrabold;}.text-light{color:#fff}.text-dark{color:#343434}.text-gold{color:#c8bca1}.text-gray-light{color:#f5f5f5}.bg-gray-light{background-color:#f5f5f5}.bg-gray-medium{background-color:#d0ced2}.bg-gray{background-color:#757575}.bg-gray2{background-color:#fbfbfb}.bg-dark{background-color:#343434}.bg-light{background-color:#fff}.bg-gold{background-color:#c8bca1}.border-custom-gray{border-color:#757575}.border-custom-gray-medium{border-color:#d0ced2}.border-custom-gray-light{border-color:#f5f5f5}.border-custom-dark,.border-dark{border-color:#343434}.border-gold{border-color:#c8bca1}.border-gold2{border-color:#99835f}.big-title{@apply uppercase font-extrabold text-34;}.wrapper-gold{@apply bg-gold py-[6px] px-[16px] w-fit md:py-[2px] md:px-[6px];}.block-gold{@apply bg-gold py-[30px] px-[40px] flex flex-col;}.block-simple-border{@apply block border-[1px] py-[16px] px-[24px] text-14 w-fit border-dark border-solid;}.block-white-wrapper{@apply text-32 bg-white py-[20px] px-[30px] block md:pt-[10px] md:pb-[6px] md:px-[10px];}.block-white{@apply bg-white py-[30px] px-[40px];}.block-center{@apply block mx-auto w-fit;}.filter-gold2{filter:invert(64%) sepia(5%) saturate(2284%) hue-rotate(358deg) brightness(81%) contrast(87%)}.filter-gold{filter:invert(87%) sepia(15%) saturate(382%) hue-rotate(4deg) brightness(85%) contrast(91%)}.filter-gray{filter:invert(50%) sepia(10%) saturate(17%) hue-rotate(354deg) brightness(89%) contrast(90%)}.filter-dark{filter:invert(18%) sepia(13%) saturate(19%) hue-rotate(5deg) brightness(60%) contrast(90%)}.trim-2{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:2}.trim-4{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:4}.container-mini{width:100%;margin-left:auto;box-sizing:border-box;margin-right:auto;display:block;max-width:790px!important}.dot-slider{border:none;width:10px;height:10px;background:#343434;border-radius:50%;cursor:pointer}.dot-slider_big{width:14px;height:14px}@media screen and (max-width: 1100px){.dot-slider_big{width:10px;height:10px}}.dot:focus{outline:none}.dot-slider_active{background:#c8bca1}.trim-text-1{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:1}.simpleZoomImgHover{@apply opacity-90 transform scale-110 transition duration-300 ease-out;}.simpleZoomImg{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-transition:.3s ease-out;transition:.3s ease-out}.bg-gold-gradient{@apply bg-gradient-to-r from-[#99835F] to-[#C8BCA1];}}.richTextBlock{font-family:RockStar,sans-serif;line-height:24px}.richTextBlock p{color:#343434!important;margin:10px 0}@media screen and (max-width: 1100px){.richTextBlock p{margin:6px 0}}.richTextBlock ul{margin:16px 0;padding-left:20px;list-style:disc}@media screen and (max-width: 1100px){.richTextBlock ul{margin:10px 0}}.richTextBlock h2{font-size:20px;line-height:22px;font-weight:800;margin-top:20px;margin-bottom:6px}.richTextBlock h3{font-size:18px;line-height:19px;font-weight:800;margin-top:20px;margin-bottom:6px}.input-form::placeholder{color:#343434;opacity:1}.fader{height:738px;position:relative;overflow:hidden}@media screen and (max-width: 800px){.fader{height:950px}}.fader__slide{cursor:pointer;width:100%;height:100%;position:absolute;top:0}.homeLocaleSwitcher p{color:#fff!important}.homeLocaleSwitcher svg{filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)}.homeLocaleSwitcher:hover p{color:#343434!important}.homeLocaleSwitcher:hover svg{filter:none}.placeholder-style::placeholder{position:relative;left:2px}.placeholder-style-2::placeholder{position:relative;left:2px;color:#939393!important}.placeholder-style-phone::placeholder{color:#343434;opacity:1}@font-face{font-family:RockStar;src:url("./Rock Star_Regular_Web-VMOWTS6V.woff2");font-weight:400}@font-face{font-family:RockStar;src:url("./Rock Star_Extra Bold_Web-B3PLEFIF.woff2");font-weight:800}body{max-width:100vw;margin:0;display:flex;flex-direction:column;min-height:100vh;color:#343434;background-color:#f5f5f5!important;font-size:14px;line-height:22px;font-weight:400;font-family:RockStar,sans-serif}div{box-sizing:border-box}html{overflow-x:hidden}main{flex-grow:1}a{color:inherit;text-decoration:none;transition:all .3s ease-out}a:not(.noHover):hover{color:#99835f}*:focus-visible{outline:none}.MuiContainer-root{padding-left:0!important;padding-right:0!important}@media screen and (max-width: 1270px){.MuiContainer-root{padding-left:40px!important;padding-right:40px!important}}@media screen and (max-width: 1100px){.MuiContainer-root{padding-left:60px!important;padding-right:60px!important}}@media screen and (max-width: 800px){.MuiContainer-root{padding-left:25px!important;padding-right:25px!important}}:root{--map-tiles-filter: grayscale(.5) saturate(0) }.map-tiles{filter:var(--map-tiles-filter, none)}::-webkit-input-placeholder{opacity:1!important}input,textarea,button,select,a{-webkit-tap-highlight-color:transparent}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Select/styles.css"],"sourcesContent":["@keyframes fadeIn {\n 0% {\n opacity: 0;\n transform: translateY(2rem) ;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes fadeOut {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(2rem) ;\n }\n}\n\n\n@keyframes fadeInReverse {\n 0% {\n opacity: 0;\n transform: translateY(-2rem) ;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes fadeOut {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(2rem);\n }\n}\n\n@keyframes fadeOutReverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-2rem);\n }\n}\n\n\n.select {\n transition: unset !important;\n}\n\n.select--close {\n animation: fadeOut 0.4s;\n}\n\n.select--open {\n animation: fadeIn 0.5s;\n}\n\n.select--close-reverse {\n animation: fadeOutReverse 0.4s;\n}\n\n.select--open-reverse {\n animation: fadeInReverse 0.5s ;\n}\n"],"mappings":"AAAA,WAAW,OACT,GACE,QAAS,EACT,UAAW,WAAW,KACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACF,CAcA,WAAW,cACT,GACE,QAAS,EACT,UAAW,WAAW,MACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACF,CAEA,WAvBW,QAwBT,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,KACxB,CACF,CAEA,WAAW,eACT,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,MACxB,CACF,CAGA,CAAC,OACC,WAAY,eACd,CAEA,CAAC,cACC,UAAW,QAAQ,GACrB,CAEA,CAAC,aACC,UAAW,OAAO,GACpB,CAEA,CAAC,sBACC,UAAW,eAAe,GAC5B,CAEA,CAAC,qBACC,UAAW,cAAc,GAC3B","names":[]}
1
+ {"version":3,"sources":["../src/components/Select/styles.css","../src/styles/globals.scss","../src/styles/common.scss"],"sourcesContent":["@keyframes fadeIn {\n 0% {\n opacity: 0;\n transform: translateY(2rem) ;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes fadeOut {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(2rem) ;\n }\n}\n\n\n@keyframes fadeInReverse {\n 0% {\n opacity: 0;\n transform: translateY(-2rem) ;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes fadeOut {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(2rem);\n }\n}\n\n@keyframes fadeOutReverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 100% {\n opacity: 0;\n transform: translateY(-2rem);\n }\n}\n\n\n.select {\n transition: unset !important;\n}\n\n.select--close {\n animation: fadeOut 0.4s;\n}\n\n.select--open {\n animation: fadeIn 0.5s;\n}\n\n.select--close-reverse {\n animation: fadeOutReverse 0.4s;\n}\n\n.select--open-reverse {\n animation: fadeInReverse 0.5s ;\n}\n","@tailwind base;\n@tailwind components;\n@tailwind utilities;\n@import 'common';\n\n@font-face {\n font-family: RockStar;\n src: url(\"../../assets/fonts/RockStar/Rock Star_Regular_Web.woff2\");\n font-weight: 400;\n}\n@font-face {\n font-family: RockStar;\n src: url(\"../../assets/fonts/RockStar/Rock Star_Extra Bold_Web.woff2\");\n font-weight: 800;\n}\n\nbody {\n max-width: 100vw;\n margin: 0;\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n color: $colorTextDark;\n background-color: #F5F5F5 !important;//$colorGrayLight;\n @include f14;\n font-weight: 400;\n @include fontRock;\n}\n\ndiv {\n box-sizing: border-box;\n}\n\nhtml {\n overflow-x: hidden;\n}\n\nmain {\n flex-grow: 1;\n}\n\na {\n color: inherit;\n text-decoration: none;\n transition: all 0.3s ease-out;\n &:not(.noHover):hover {\n color: $colorGold2;\n }\n}\n\n*:focus-visible {\n outline: none;\n}\n\n.MuiContainer-root {\n padding-left: 0!important;\n padding-right: 0!important;\n @media screen and (max-width: 1270px) {\n padding-left: 40px!important;\n padding-right: 40px!important;\n }\n @include md {\n padding-left: 60px!important;\n padding-right: 60px!important;\n }\n @include sm {\n //padding-left: 30px!important;\n //padding-right: 30px!important;\n padding-left: 25px!important;\n padding-right: 25px!important;\n }\n}\n\n:root {\n --map-tiles-filter: grayscale(0.5) saturate(0) ;\n}\n\n.map-tiles {\n filter:var(--map-tiles-filter, none);\n}\n\n::-webkit-input-placeholder {\n opacity: 1!important;\n}\n\ninput,\ntextarea,\nbutton,\nselect,\na {\n -webkit-tap-highlight-color: transparent;\n}","// colors\n$colorTextDark: #343434;\n$colorTextLight: #fff;\n$colorTextGold: #C8BCA1;\n$colorTextGold2: #99835F;\n$colorGray: #757575;\n$colorGrayLight: #F5F5F5;\n$colorGrayMedium: #D0CED2;\n$colorGray2: #FBFBFB;\n\n$colorDark: #343434;\n\n$bgGold: #C8BCA1;\n$bgDark: #343434;\n$bgLight: #fff;\n\n$colorGold: #C8BCA1;\n$colorGold2: #99835F;\n\n$filterColorGold: invert(87%) sepia(15%) saturate(382%) hue-rotate(4deg) brightness(85%) contrast(91%);\n$filterColorGold2: invert(64%) sepia(5%) saturate(2284%) hue-rotate(358deg) brightness(81%) contrast(87%);\n$filterColorDark: invert(18%) sepia(13%) saturate(19%) hue-rotate(5deg) brightness(60%) contrast(90%);\n$filterColorGray: invert(50%) sepia(10%) saturate(17%) hue-rotate(354deg) brightness(89%) contrast(90%);\n\n// fonts\n@mixin fontRock {\n font-family: RockStar, sans-serif;\n}\n\n// font sizes\n@mixin f10 {\n font-size: 10px;\n line-height: 12px;\n}\n@mixin f12 {\n font-size: 12px;\n line-height: 16px;\n}\n@mixin f14 {\n font-size: 14px;\n line-height: 22px ;\n}\n@mixin f16 {\n font-size: 16px;\n line-height: 20px;\n}\n@mixin f18 {\n font-size: 18px;\n line-height: 19px;\n}\n@mixin f20 {\n font-size: 20px;\n line-height: 22px;\n}\n@mixin f22 {\n font-size: 22px;\n line-height: 26px;\n}\n@mixin f26 {\n font-size: 26px;\n line-height: 31px;\n}\n@mixin f30 {\n font-size: 30px;\n line-height: 33px;\n}\n@mixin f32 {\n font-size: 32px;\n line-height: 35px;\n}\n@mixin f34 {\n font-size: 34px;\n line-height: 38px;\n}\n@mixin f40 {\n font-size: 40px;\n line-height: 48px;\n}\n@mixin f50 {\n font-size: 50px;\n line-height: 55px;\n}\n@mixin f60 {\n font-size: 60px;\n line-height: 66px;\n}\n@mixin f100 {\n font-size: 100px;\n line-height: 110px;\n}\n\n// font weights\n@mixin f400 {\n font-weight: 400;\n}\n@mixin f800 {\n font-weight: 800;\n}\n\n// screens width\n$screen-sm: 800px;\n$screen-md: 1100px;\n$screen-lg: 1200px;\n$screen-xl: 1620px;\n\n// media queries\n@mixin sm {\n @media screen and (max-width: #{$screen-sm}) {\n @content;\n }\n}\n@mixin sm-md {\n @media screen and (min-width: #{$screen-sm}) and (max-width: #{$screen-md}) {\n @content;\n }\n}\n@mixin md {\n @media screen and (max-width: #{$screen-md}) {\n @content;\n }\n}\n@mixin md-lg {\n @media screen and (min-width: #{$screen-md}) and (max-width: #{$screen-lg}) {\n @content;\n }\n}\n@mixin lg {\n @media screen and (max-width: #{$screen-lg}) {\n @content;\n }\n}\n@mixin min-lg {\n @media screen and (min-width: #{$screen-lg}) {\n @content;\n }\n}\n@mixin xl {\n @media screen and (max-width: #{$screen-xl}) {\n @content;\n }\n}\n\n.button {\n width: fit-content;\n padding: 12px 30px;\n text-transform: unset;\n border-radius: 0;\n min-width: 145px;\n font-size: 14px;\n line-height: 16px;\n box-shadow: none;\n &_dark {\n background-color: $bgDark;\n color: $colorTextLight;\n &:hover {\n background-color: $bgDark;\n }\n }\n}\n\n\n\n.customImage {\n position: relative;\n img {\n object-position: center;\n object-fit: cover;\n }\n}\n\n@layer components {\n .white-block-snack {\n @apply bg-white px-[10px] py-[2px] w-fit text-12;\n }\n .white-block-snack-border {\n @apply bg-white border-solid px-[10px] py-[2px] w-fit text-14 border-[1px] border-dark;\n }\n .gold-block-snack-border {\n @apply bg-gold border-solid px-[10px] py-[2px] w-fit text-14 border-[1px] border-gold;\n }\n .black-block-snack {\n @apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;\n }\n .gray-block-snack {\n @apply bg-gray-light px-[10px] w-fit text-12;\n }\n .border-block-snack {\n @apply px-[10px] py-[2px] text-12 border-[1px] border-custom-gray-medium w-fit;\n }\n .border-gold-block-snack {\n @apply w-fit px-[10px] py-[2px] text-gray border-[1px] border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;\n }\n .text-gold2 {\n color: $colorGold2;\n }\n .text-gold {\n color: $colorGold;\n }\n .text-gray {\n color: $colorGray;\n }\n .text-34 {\n @include f34;\n @apply uppercase font-extrabold\n }\n .text-32 {\n @include f32;\n }\n .text-100 {\n @include f100;\n }\n .text-50 {\n @include f50;\n }\n .text-60 {\n @include f60;\n }\n .text-10 {\n @include f10;\n }\n .text-12 {\n @include f12;\n }\n .text-14 {\n @include f14;\n }\n .text-14-gray {\n @include f14;\n color: $colorGray;\n }\n .text-14-bold {\n @include f14;\n @apply font-extrabold\n }\n .text-16 {\n @include f16;\n }\n .text-18 {\n @include f18;\n }\n .text-20 {\n @include f20;\n }\n .text-22 {\n @include f22;\n }\n .text-24 {\n font-size: 24px;\n line-height: 30px;\n }\n .text-26 {\n @include f26;\n @apply font-extrabold;\n }\n .text-30 {\n @include f30;\n }\n .text-40 {\n @include f40;\n @apply uppercase font-extrabold;\n }\n .text-light {\n color: $colorTextLight;\n }\n .text-dark {\n color: $colorTextDark;\n }\n .text-gold {\n color: $colorTextGold;\n }\n .text-gray-light {\n color: $colorGrayLight;\n }\n .bg-gray-light {\n background-color: $colorGrayLight;\n }\n .bg-gray-medium {\n background-color: $colorGrayMedium;\n }\n .bg-gray {\n background-color: $colorGray;\n }\n .bg-gray2 {\n background-color: $colorGray2;\n }\n .bg-dark {\n background-color: $bgDark;\n }\n .bg-light {\n background-color: $bgLight;\n }\n .bg-gold {\n background-color: $bgGold;\n }\n .border-custom-gray {\n border-color: $colorGray;\n }\n\n .border-custom-gray-medium {\n border-color: $colorGrayMedium\n }\n\n .border-custom-gray-light {\n border-color: $colorGrayLight;\n }\n\n .border-custom-dark {\n border-color: $colorTextDark;\n }\n\n .border-dark {\n border-color: $colorTextDark;\n }\n\n .border-gold {\n border-color: $colorGold;\n }\n\n .border-gold2 {\n border-color: $colorGold2;\n }\n\n .big-title {\n @apply uppercase font-extrabold text-34\n }\n\n .wrapper-gold {\n @apply bg-gold py-[6px] px-[16px] w-fit md:py-[2px] md:px-[6px]\n }\n\n .block-gold {\n @apply bg-gold py-[30px] px-[40px] flex flex-col\n }\n\n .block-simple-border {\n @apply block border-[1px] py-[16px] px-[24px] text-14 w-fit border-dark border-solid\n }\n\n .block-white-wrapper {\n @apply text-32 bg-white py-[20px] px-[30px] block md:pt-[10px] md:pb-[6px] md:px-[10px]\n }\n\n .block-white {\n @apply bg-white py-[30px] px-[40px]\n }\n\n .block-center {\n @apply block mx-auto w-fit\n }\n\n .filter-gold2 {\n filter: $filterColorGold2;\n }\n\n .filter-gold {\n filter: $filterColorGold;\n }\n\n .filter-gray {\n filter: $filterColorGray;\n }\n\n .filter-dark {\n filter: $filterColorDark;\n }\n\n .trim-2 {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n -webkit-line-clamp: 2;\n }\n\n .trim-4 {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n -webkit-line-clamp: 4;\n }\n\n .container-mini {\n width: 100%;\n margin-left: auto;\n box-sizing: border-box;\n margin-right: auto;\n display: block;\n max-width: 790px!important;\n }\n\n .dot-slider {\n border: none;\n width: 10px;\n height: 10px;\n background: $colorDark;\n border-radius: 50%;\n cursor: pointer;\n &_big {\n width: 14px;\n height: 14px;\n @include md {\n width: 10px;\n height: 10px;\n }\n }\n }\n\n .dot:focus {\n outline: none;\n }\n\n .dot-slider_active {\n background: $colorGold;\n }\n\n .trim-text-1 {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n -webkit-line-clamp: 1;\n }\n\n .simpleZoomImgHover {\n @apply opacity-90 transform scale-110 transition duration-300 ease-out\n }\n\n .simpleZoomImg {\n -webkit-transform: scale(1);\n -ms-transform: scale(1);\n transform: scale(1);\n -webkit-transition: .3s ease-out;\n transition: .3s ease-out;\n }\n\n .bg-gold-gradient {\n @apply bg-gradient-to-r from-[#{$colorGold2}] to-[#{$colorGold}]\n }\n}\n\n.richTextBlock {\n @include fontRock;\n line-height: 24px;\n p {\n color: $colorDark!important;\n margin: 10px 0;\n @include md {\n margin: 6px 0;\n }\n }\n ul {\n margin: 16px 0;\n padding-left: 20px;\n list-style: disc;\n @include md {\n margin: 10px 0;\n }\n }\n h2 {\n @include f20;\n font-weight: 800;\n margin-top: 20px;\n margin-bottom: 6px;\n }\n h3 {\n @include f18;\n font-weight: 800;\n margin-top: 20px;\n margin-bottom: 6px;\n }\n}\n\n.input-form::placeholder {\n color: $colorDark;\n opacity: 1;\n}\n\n.fader {\n height: 738px;\n position: relative;\n overflow: hidden;\n @include sm {\n height: 950px;\n }\n}\n\n.fader__slide {\n cursor: pointer;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n}\n\n.homeLocaleSwitcher {\n p {\n color: white!important;\n }\n svg {\n filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);\n }\n &:hover {\n p {\n color: $colorDark!important;\n }\n svg {\n filter: none;\n }\n }\n}\n\n.placeholder-style::placeholder {\n position: relative;\n //top: 2px;\n left: 2px;\n}\n\n\n\n.placeholder-style-2::placeholder {\n position: relative;\n //top: 2px;\n left: 2px;\n color: #939393 !important;\n}\n\n\n.placeholder-style-phone::placeholder {\n //position: absolute;\n //top: 0px;\n //right: 30px;\n\n color: $colorDark;\n opacity: 1;\n}\n\n"],"mappings":"AAAA,WAAW,OACT,GACE,QAAS,EACT,UAAW,WAAW,KACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACF,CAcA,WAAW,cACT,GACE,QAAS,EACT,UAAW,WAAW,MACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACF,CAEA,WAvBW,QAwBT,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,KACxB,CACF,CAEA,WAAW,eACT,GACE,QAAS,EACT,UAAW,WAAW,EACxB,CACA,GACE,QAAS,EACT,UAAW,WAAW,MACxB,CACF,CAGA,CAAC,OACC,WAAY,eACd,CAEA,CAAC,cACC,UAAW,QAAQ,GACrB,CAEA,CAAC,aACC,UAAW,OAAO,GACpB,CAEA,CAAC,sBACC,UAAW,eAAe,GAC5B,CAEA,CAAC,qBACC,UAAW,cAAc,GAC3B,CC3EA,UAAA,KACA,UAAA,WACA,UAAA,UC4IA,CAAA,OACE,MAAA,YD/IF,QCgJE,KAAA,KACA,eAAA,MDjJF,cCkJE,EACA,UAAA,MACA,UAAA,KACA,YAAA,KACA,WAAA,KACA,CAAA,YACE,iBA3IK,QA4IL,MAvJa,KAwJb,CAHF,WAGE,OACE,iBA9IG,QAqJT,CAAA,YACE,SAAA,SACA,CAFF,YAEE,IACE,gBAAA,OACA,WAAA,MAIJ,kBACE,CAAA,kBACE,OAAA,SAAA,GAAA,CAAA,MAAA,GAAA,CAAA,KAAA,MAAA,SAEF,CAAA,yBACE,OAAA,SAAA,aAAA,GAAA,CAAA,MAAA,GAAA,CAAA,KAAA,MAAA,QAAA,OAAA,CAAA,KAAA,aAEF,CAAA,wBACE,OAAA,QAAA,aAAA,GAAA,CAAA,MAAA,GAAA,CAAA,KAAA,MAAA,QAAA,OAAA,CA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AA,gBC0DN,OAAA,OAAA,IAAA,CAAA,SAAA,EAAA,QD/DF,CAAA,kBAQQ,aAAA,eACA,cAAA,gBC4CN,OAAA,OAAA,IAAA,CAAA,SAAA,EAAA,ODrDF,CAAA,kBAcQ,aAAA,eACA,cAAA,gBAIR,MACI,oBAAA,UAAA,IAAA,SAAA,IAGJ,CAAA,UACI,OAAA,IAAA,kBAAA,EAAA,MAGJ,4BACI,QAAA,YAGJ,MAAA,SAAA,OAAA,OAAA,EAKI,4BAAA","names":[]}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonProps } from '@mui/material/Button';
3
- import * as React from 'react';
4
- import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode } from 'react';
3
+ import React, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode } from 'react';
5
4
  import { IconButtonProps } from '@mui/material/IconButton/IconButton';
6
5
  import { SelectProps } from '@mui/material/Select/Select';
7
6
  import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
@@ -15,9 +14,8 @@ import { RadioGroupProps } from '@mui/material/RadioGroup';
15
14
  import { SwitchProps } from '@mui/material/Switch/Switch';
16
15
  import { SliderProps } from '@mui/material/Slider/Slider';
17
16
  import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
18
- import { InputProps } from '@mui/material/Input';
19
- import { PatternFormatProps } from 'react-number-format/types/types';
20
- import { UseControllerProps, FieldValues } from 'react-hook-form';
17
+ import { InputProps } from '@mui/material/Input/Input';
18
+ import { FieldValues, UseControllerProps } from 'react-hook-form';
21
19
  export { default as MapIcon } from '@/icons/map-search.svg';
22
20
  import { ListProps } from '@mui/material/List/List';
23
21
  import { CheckboxProps } from '@mui/material/Checkbox';
@@ -83,9 +81,9 @@ interface CustomRadioProps {
83
81
  label?: string;
84
82
  value?: string;
85
83
  }
86
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
84
+ declare const CustomRadio: React.FC<CustomRadioProps>;
87
85
 
88
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
86
+ declare const CustomRadioGroup: React.FC<RadioGroupProps & PropsWithChildren>;
89
87
 
90
88
  interface CustomSwitchProps {
91
89
  beforeText?: string;
@@ -97,34 +95,60 @@ declare const CustomSlider: FC<SliderProps>;
97
95
 
98
96
  declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
99
97
 
100
- interface CustomInputProps {
101
- type?: "number" | "string";
102
- adornmentText?: string;
103
- big?: boolean;
104
- }
105
- declare const CustomInput: FC<CustomInputProps & InputProps>;
98
+ declare const Input: FC<InputProps>;
106
99
 
107
- interface PhoneInputProps {
108
- onChange: (event: {
109
- target: {
110
- name: string;
111
- value: string;
112
- };
113
- }) => void;
100
+ interface PhoneNumberInputProps {
114
101
  name: string;
102
+ border?: boolean;
103
+ showError?: boolean;
115
104
  }
116
- declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
105
+ declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
117
106
 
118
107
  interface FromToInputProps {
119
108
  label?: string;
120
109
  }
121
110
  declare const FromToInput: FC<FromToInputProps>;
122
111
 
112
+ type ESTag = 'borough' | 'district' | 'city' | 'metro' | 'street' | 'housing' | 'region' | 'property';
113
+ interface ESObject {
114
+ id: number;
115
+ slug: string;
116
+ tag: ESTag;
117
+ value_en: string;
118
+ value_ru: string;
119
+ value_uk: string;
120
+ }
121
+ interface ESGlobalObject extends ESObject {
122
+ crmId?: number;
123
+ countryId?: number;
124
+ boroughId?: number;
125
+ borough_crmid?: number;
126
+ borough_en?: string;
127
+ borough_ru?: string;
128
+ borough_ua?: string;
129
+ cityId?: number;
130
+ city_crmid?: number;
131
+ city_en?: string;
132
+ city_ru?: string;
133
+ city_uk?: string;
134
+ districtId?: number;
135
+ district_crmid?: number;
136
+ district_en?: string;
137
+ district_ru?: string;
138
+ district_uk?: string;
139
+ regionId?: number;
140
+ region_crmid?: number;
141
+ region_en?: string;
142
+ region_ru?: string;
143
+ region_uk?: string;
144
+ }
145
+
123
146
  interface SearchInputProps {
124
147
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
125
148
  collapse?: boolean;
149
+ chips: ESGlobalObject[] | undefined;
126
150
  }
127
- declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
151
+ declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
128
152
 
129
153
  interface AppBarProps {
130
154
  links: {
@@ -319,4 +343,111 @@ interface LocaleSlugActions {
319
343
  type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
320
344
  declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
321
345
 
322
- export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };
346
+ interface IBox {
347
+ title?: string;
348
+ items?: {
349
+ text1?: string;
350
+ text2?: string;
351
+ }[];
352
+ }
353
+ interface IAboutUsFirstBlockProps {
354
+ classes?: string;
355
+ title?: string;
356
+ text1?: string;
357
+ text2?: string;
358
+ box?: IBox;
359
+ }
360
+ declare function AboutUsFirstBlock({ classes, box, text1, text2, title, }: IAboutUsFirstBlockProps): react_jsx_runtime.JSX.Element;
361
+
362
+ interface IBlockImages {
363
+ classes?: string;
364
+ images?: string[];
365
+ title?: string;
366
+ }
367
+ declare function BlockImages({ classes, images, title }: IBlockImages): react_jsx_runtime.JSX.Element;
368
+
369
+ interface IWorker {
370
+ imageUrl?: string;
371
+ description?: string;
372
+ firstName?: string;
373
+ lastName?: string;
374
+ fullName?: string;
375
+ position?: string;
376
+ instagram?: string;
377
+ facebook?: string;
378
+ youTube?: string;
379
+ linkedIn?: string;
380
+ phone?: string;
381
+ email?: string;
382
+ }
383
+ interface IBlockOurTeam {
384
+ title?: string;
385
+ text?: string;
386
+ team?: IWorker[];
387
+ classes?: string;
388
+ full?: boolean;
389
+ }
390
+ declare function BlockOurTeam({ team, title, text, classes, full, }: IBlockOurTeam): react_jsx_runtime.JSX.Element;
391
+
392
+ interface IBenefit {
393
+ imageUrl?: string;
394
+ text1?: string;
395
+ text2?: string;
396
+ }
397
+ interface IBenefitsBlock {
398
+ benefits?: IBenefit[];
399
+ title?: string;
400
+ classes?: string;
401
+ }
402
+ declare function BenefitsBlock({ benefits, classes, title, }: IBenefitsBlock): Promise<react_jsx_runtime.JSX.Element>;
403
+
404
+ interface SocialBlockMainProps {
405
+ classes?: string;
406
+ instagram?: string;
407
+ facebook?: string;
408
+ youtube?: string;
409
+ linkedIn?: string;
410
+ }
411
+ declare const SocialBlockMain: FC<SocialBlockMainProps>;
412
+
413
+ interface ISocialBlock {
414
+ classes?: string;
415
+ instagram?: string;
416
+ whatsapp?: string;
417
+ telegram?: string;
418
+ }
419
+ declare function SocialBlock({ classes, telegram, whatsapp, instagram, }: ISocialBlock): react_jsx_runtime.JSX.Element;
420
+
421
+ declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
422
+
423
+ interface IOfficeItem {
424
+ phone?: string;
425
+ city?: string;
426
+ address?: string;
427
+ workTime?: string;
428
+ email?: string;
429
+ site?: string;
430
+ instagram?: string;
431
+ whatsapp?: string;
432
+ telegram?: string;
433
+ }
434
+ interface IBlockContacts {
435
+ classes?: string;
436
+ title?: string;
437
+ text?: string;
438
+ offices?: IOfficeItem[];
439
+ }
440
+ declare function BlockContacts({ classes, offices, title, text, }: IBlockContacts): react_jsx_runtime.JSX.Element;
441
+
442
+ interface IFormBlock {
443
+ classes?: string;
444
+ }
445
+ declare function FormBlock({ classes }: IFormBlock): react_jsx_runtime.JSX.Element;
446
+
447
+ interface IOffices {
448
+ offices?: IOfficeItem[];
449
+ classes?: string;
450
+ }
451
+ declare function Offices({ classes, offices }: IOffices): react_jsx_runtime.JSX.Element;
452
+
453
+ export { AboutUsFirstBlock, AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BenefitsBlock, BigNumber, BlockContacts, BlockImages, BlockOurTeam, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FormBlock, FromToInput, Greet, Header, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, Offices, PhoneNumberInput as PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, SocialBlock, SocialBlockMain, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonProps } from '@mui/material/Button';
3
- import * as React from 'react';
4
- import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode } from 'react';
3
+ import React, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode } from 'react';
5
4
  import { IconButtonProps } from '@mui/material/IconButton/IconButton';
6
5
  import { SelectProps } from '@mui/material/Select/Select';
7
6
  import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
@@ -15,9 +14,8 @@ import { RadioGroupProps } from '@mui/material/RadioGroup';
15
14
  import { SwitchProps } from '@mui/material/Switch/Switch';
16
15
  import { SliderProps } from '@mui/material/Slider/Slider';
17
16
  import { MenuItemProps } from '@mui/material/MenuItem/MenuItem';
18
- import { InputProps } from '@mui/material/Input';
19
- import { PatternFormatProps } from 'react-number-format/types/types';
20
- import { UseControllerProps, FieldValues } from 'react-hook-form';
17
+ import { InputProps } from '@mui/material/Input/Input';
18
+ import { FieldValues, UseControllerProps } from 'react-hook-form';
21
19
  export { default as MapIcon } from '@/icons/map-search.svg';
22
20
  import { ListProps } from '@mui/material/List/List';
23
21
  import { CheckboxProps } from '@mui/material/Checkbox';
@@ -83,9 +81,9 @@ interface CustomRadioProps {
83
81
  label?: string;
84
82
  value?: string;
85
83
  }
86
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
84
+ declare const CustomRadio: React.FC<CustomRadioProps>;
87
85
 
88
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
86
+ declare const CustomRadioGroup: React.FC<RadioGroupProps & PropsWithChildren>;
89
87
 
90
88
  interface CustomSwitchProps {
91
89
  beforeText?: string;
@@ -97,34 +95,60 @@ declare const CustomSlider: FC<SliderProps>;
97
95
 
98
96
  declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
99
97
 
100
- interface CustomInputProps {
101
- type?: "number" | "string";
102
- adornmentText?: string;
103
- big?: boolean;
104
- }
105
- declare const CustomInput: FC<CustomInputProps & InputProps>;
98
+ declare const Input: FC<InputProps>;
106
99
 
107
- interface PhoneInputProps {
108
- onChange: (event: {
109
- target: {
110
- name: string;
111
- value: string;
112
- };
113
- }) => void;
100
+ interface PhoneNumberInputProps {
114
101
  name: string;
102
+ border?: boolean;
103
+ showError?: boolean;
115
104
  }
116
- declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PatternFormatProps>>;
105
+ declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
117
106
 
118
107
  interface FromToInputProps {
119
108
  label?: string;
120
109
  }
121
110
  declare const FromToInput: FC<FromToInputProps>;
122
111
 
112
+ type ESTag = 'borough' | 'district' | 'city' | 'metro' | 'street' | 'housing' | 'region' | 'property';
113
+ interface ESObject {
114
+ id: number;
115
+ slug: string;
116
+ tag: ESTag;
117
+ value_en: string;
118
+ value_ru: string;
119
+ value_uk: string;
120
+ }
121
+ interface ESGlobalObject extends ESObject {
122
+ crmId?: number;
123
+ countryId?: number;
124
+ boroughId?: number;
125
+ borough_crmid?: number;
126
+ borough_en?: string;
127
+ borough_ru?: string;
128
+ borough_ua?: string;
129
+ cityId?: number;
130
+ city_crmid?: number;
131
+ city_en?: string;
132
+ city_ru?: string;
133
+ city_uk?: string;
134
+ districtId?: number;
135
+ district_crmid?: number;
136
+ district_en?: string;
137
+ district_ru?: string;
138
+ district_uk?: string;
139
+ regionId?: number;
140
+ region_crmid?: number;
141
+ region_en?: string;
142
+ region_ru?: string;
143
+ region_uk?: string;
144
+ }
145
+
123
146
  interface SearchInputProps {
124
147
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
125
148
  collapse?: boolean;
149
+ chips: ESGlobalObject[] | undefined;
126
150
  }
127
- declare const SearchInput: <T extends object>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
151
+ declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
128
152
 
129
153
  interface AppBarProps {
130
154
  links: {
@@ -319,4 +343,111 @@ interface LocaleSlugActions {
319
343
  type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
320
344
  declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
321
345
 
322
- export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };
346
+ interface IBox {
347
+ title?: string;
348
+ items?: {
349
+ text1?: string;
350
+ text2?: string;
351
+ }[];
352
+ }
353
+ interface IAboutUsFirstBlockProps {
354
+ classes?: string;
355
+ title?: string;
356
+ text1?: string;
357
+ text2?: string;
358
+ box?: IBox;
359
+ }
360
+ declare function AboutUsFirstBlock({ classes, box, text1, text2, title, }: IAboutUsFirstBlockProps): react_jsx_runtime.JSX.Element;
361
+
362
+ interface IBlockImages {
363
+ classes?: string;
364
+ images?: string[];
365
+ title?: string;
366
+ }
367
+ declare function BlockImages({ classes, images, title }: IBlockImages): react_jsx_runtime.JSX.Element;
368
+
369
+ interface IWorker {
370
+ imageUrl?: string;
371
+ description?: string;
372
+ firstName?: string;
373
+ lastName?: string;
374
+ fullName?: string;
375
+ position?: string;
376
+ instagram?: string;
377
+ facebook?: string;
378
+ youTube?: string;
379
+ linkedIn?: string;
380
+ phone?: string;
381
+ email?: string;
382
+ }
383
+ interface IBlockOurTeam {
384
+ title?: string;
385
+ text?: string;
386
+ team?: IWorker[];
387
+ classes?: string;
388
+ full?: boolean;
389
+ }
390
+ declare function BlockOurTeam({ team, title, text, classes, full, }: IBlockOurTeam): react_jsx_runtime.JSX.Element;
391
+
392
+ interface IBenefit {
393
+ imageUrl?: string;
394
+ text1?: string;
395
+ text2?: string;
396
+ }
397
+ interface IBenefitsBlock {
398
+ benefits?: IBenefit[];
399
+ title?: string;
400
+ classes?: string;
401
+ }
402
+ declare function BenefitsBlock({ benefits, classes, title, }: IBenefitsBlock): Promise<react_jsx_runtime.JSX.Element>;
403
+
404
+ interface SocialBlockMainProps {
405
+ classes?: string;
406
+ instagram?: string;
407
+ facebook?: string;
408
+ youtube?: string;
409
+ linkedIn?: string;
410
+ }
411
+ declare const SocialBlockMain: FC<SocialBlockMainProps>;
412
+
413
+ interface ISocialBlock {
414
+ classes?: string;
415
+ instagram?: string;
416
+ whatsapp?: string;
417
+ telegram?: string;
418
+ }
419
+ declare function SocialBlock({ classes, telegram, whatsapp, instagram, }: ISocialBlock): react_jsx_runtime.JSX.Element;
420
+
421
+ declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
422
+
423
+ interface IOfficeItem {
424
+ phone?: string;
425
+ city?: string;
426
+ address?: string;
427
+ workTime?: string;
428
+ email?: string;
429
+ site?: string;
430
+ instagram?: string;
431
+ whatsapp?: string;
432
+ telegram?: string;
433
+ }
434
+ interface IBlockContacts {
435
+ classes?: string;
436
+ title?: string;
437
+ text?: string;
438
+ offices?: IOfficeItem[];
439
+ }
440
+ declare function BlockContacts({ classes, offices, title, text, }: IBlockContacts): react_jsx_runtime.JSX.Element;
441
+
442
+ interface IFormBlock {
443
+ classes?: string;
444
+ }
445
+ declare function FormBlock({ classes }: IFormBlock): react_jsx_runtime.JSX.Element;
446
+
447
+ interface IOffices {
448
+ offices?: IOfficeItem[];
449
+ classes?: string;
450
+ }
451
+ declare function Offices({ classes, offices }: IOffices): react_jsx_runtime.JSX.Element;
452
+
453
+ export { AboutUsFirstBlock, AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BenefitsBlock, BigNumber, BlockContacts, BlockImages, BlockOurTeam, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FormBlock, FromToInput, Greet, Header, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, Offices, PhoneNumberInput as PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, SocialBlock, SocialBlockMain, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };