mayak-common-library 0.0.123 → 0.0.125
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 +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +66 -26
- package/dist/index.d.ts +66 -26
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
- package/svg.d.ts +4 -0
- package/dist/Rock Star_Extra Bold_Web-B3PLEFIF.woff2 +0 -0
- package/dist/Rock Star_Regular_Web-VMOWTS6V.woff2 +0 -0
- package/next-env.d.ts +0 -5
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}
|
|
2
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,CAA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A,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":[]}
|
|
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":[]}
|
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
|
|
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,14 +14,13 @@ 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 {
|
|
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';
|
|
24
22
|
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
25
|
-
|
|
23
|
+
import * as zustand from 'zustand';
|
|
26
24
|
|
|
27
25
|
declare function Greet(props: {
|
|
28
26
|
name: string;
|
|
@@ -83,9 +81,9 @@ interface CustomRadioProps {
|
|
|
83
81
|
label?: string;
|
|
84
82
|
value?: string;
|
|
85
83
|
}
|
|
86
|
-
declare const CustomRadio:
|
|
84
|
+
declare const CustomRadio: React.FC<CustomRadioProps>;
|
|
87
85
|
|
|
88
|
-
declare const CustomRadioGroup:
|
|
86
|
+
declare const CustomRadioGroup: React.FC<RadioGroupProps & PropsWithChildren>;
|
|
89
87
|
|
|
90
88
|
interface CustomSwitchProps {
|
|
91
89
|
beforeText?: string;
|
|
@@ -97,36 +95,60 @@ declare const CustomSlider: FC<SliderProps>;
|
|
|
97
95
|
|
|
98
96
|
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
99
97
|
|
|
100
|
-
|
|
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
|
|
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
|
|
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
|
|
128
|
-
|
|
129
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
151
|
+
declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
130
152
|
|
|
131
153
|
interface AppBarProps {
|
|
132
154
|
links: {
|
|
@@ -287,6 +309,9 @@ interface LogoBlockProps {
|
|
|
287
309
|
}
|
|
288
310
|
declare const LogoBlock: FC<LogoBlockProps>;
|
|
289
311
|
|
|
312
|
+
type LanguageSlugsType = {
|
|
313
|
+
[key: string]: string;
|
|
314
|
+
};
|
|
290
315
|
type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
|
|
291
316
|
interface LocaleSwitcherProps {
|
|
292
317
|
locales: string[];
|
|
@@ -303,4 +328,19 @@ declare const LinkOut: FC<LinkOutProps>;
|
|
|
303
328
|
|
|
304
329
|
declare const LocaleSwitcherToggle: FC<LocaleSwitcherProps>;
|
|
305
330
|
|
|
306
|
-
|
|
331
|
+
declare enum hrefSlugPrefix {
|
|
332
|
+
CATALOG = "/catalog/object/",
|
|
333
|
+
NEWS = "/news/",
|
|
334
|
+
VACANCY = "/vacancies/"
|
|
335
|
+
}
|
|
336
|
+
interface LocaleSlugSlice {
|
|
337
|
+
slugs: LanguageSlugsType | undefined;
|
|
338
|
+
hrefPrefix: hrefSlugPrefix | undefined;
|
|
339
|
+
}
|
|
340
|
+
interface LocaleSlugActions {
|
|
341
|
+
setLocaleSlugs: (_slugs?: LanguageSlugsType, hrefPrefix?: hrefSlugPrefix) => void;
|
|
342
|
+
}
|
|
343
|
+
type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
344
|
+
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
345
|
+
|
|
346
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneNumberInput as 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 };
|
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
|
|
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,14 +14,13 @@ 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 {
|
|
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';
|
|
24
22
|
import { FormControlLabelProps as FormControlLabelProps$1 } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
25
|
-
|
|
23
|
+
import * as zustand from 'zustand';
|
|
26
24
|
|
|
27
25
|
declare function Greet(props: {
|
|
28
26
|
name: string;
|
|
@@ -83,9 +81,9 @@ interface CustomRadioProps {
|
|
|
83
81
|
label?: string;
|
|
84
82
|
value?: string;
|
|
85
83
|
}
|
|
86
|
-
declare const CustomRadio:
|
|
84
|
+
declare const CustomRadio: React.FC<CustomRadioProps>;
|
|
87
85
|
|
|
88
|
-
declare const CustomRadioGroup:
|
|
86
|
+
declare const CustomRadioGroup: React.FC<RadioGroupProps & PropsWithChildren>;
|
|
89
87
|
|
|
90
88
|
interface CustomSwitchProps {
|
|
91
89
|
beforeText?: string;
|
|
@@ -97,36 +95,60 @@ declare const CustomSlider: FC<SliderProps>;
|
|
|
97
95
|
|
|
98
96
|
declare const CustomMenuItem: FC<MenuItemProps & PropsWithChildren>;
|
|
99
97
|
|
|
100
|
-
|
|
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
|
|
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
|
|
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
|
|
128
|
-
|
|
129
|
-
declare const Providers: FC<PropsWithChildren>;
|
|
151
|
+
declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
130
152
|
|
|
131
153
|
interface AppBarProps {
|
|
132
154
|
links: {
|
|
@@ -287,6 +309,9 @@ interface LogoBlockProps {
|
|
|
287
309
|
}
|
|
288
310
|
declare const LogoBlock: FC<LogoBlockProps>;
|
|
289
311
|
|
|
312
|
+
type LanguageSlugsType = {
|
|
313
|
+
[key: string]: string;
|
|
314
|
+
};
|
|
290
315
|
type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
|
|
291
316
|
interface LocaleSwitcherProps {
|
|
292
317
|
locales: string[];
|
|
@@ -303,4 +328,19 @@ declare const LinkOut: FC<LinkOutProps>;
|
|
|
303
328
|
|
|
304
329
|
declare const LocaleSwitcherToggle: FC<LocaleSwitcherProps>;
|
|
305
330
|
|
|
306
|
-
|
|
331
|
+
declare enum hrefSlugPrefix {
|
|
332
|
+
CATALOG = "/catalog/object/",
|
|
333
|
+
NEWS = "/news/",
|
|
334
|
+
VACANCY = "/vacancies/"
|
|
335
|
+
}
|
|
336
|
+
interface LocaleSlugSlice {
|
|
337
|
+
slugs: LanguageSlugsType | undefined;
|
|
338
|
+
hrefPrefix: hrefSlugPrefix | undefined;
|
|
339
|
+
}
|
|
340
|
+
interface LocaleSlugActions {
|
|
341
|
+
setLocaleSlugs: (_slugs?: LanguageSlugsType, hrefPrefix?: hrefSlugPrefix) => void;
|
|
342
|
+
}
|
|
343
|
+
type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
344
|
+
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
345
|
+
|
|
346
|
+
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneNumberInput as 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 };
|