mayak-common-library 0.0.344 → 0.0.346

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.d.mts CHANGED
@@ -40,7 +40,13 @@ interface LocaleSwitcherProps {
40
40
  homePage: string;
41
41
  defLocale: string;
42
42
  }
43
- type Site = 'kyiv' | 'dubai';
43
+ declare const SITE: {
44
+ KYIV: string;
45
+ DUBAI: string;
46
+ GLOBAL: string;
47
+ ZAPORIZHZHIA: string;
48
+ };
49
+ type Site = (typeof SITE)[keyof typeof SITE];
44
50
  type TitlePosition = 'center' | 'left';
45
51
  type BreadCrumbsItem = {
46
52
  name: string;
@@ -179,14 +185,14 @@ interface IArticlesFull$1 {
179
185
  }
180
186
  declare function ArticlesFull({ title, articles, classes, href, totalArticles, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
181
187
 
182
- interface IBannerBlock {
188
+ interface BannerBlockProps {
183
189
  videoLink?: string;
184
190
  bigText?: string;
185
191
  smallText?: string;
186
192
  classes?: string;
187
193
  imgLink?: string;
188
194
  }
189
- declare function BannerBlock({ bigText, smallText, classes, videoLink, imgLink, }: IBannerBlock): react_jsx_runtime.JSX.Element;
195
+ declare const BannerBlock: FC<PropsWithChildren & BannerBlockProps>;
190
196
 
191
197
  interface IBannerBlock2 {
192
198
  image_url?: string;
@@ -1037,7 +1043,7 @@ interface IHeaderProps {
1037
1043
  defLocale: string;
1038
1044
  oneLogo?: string;
1039
1045
  }
1040
- declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, children, oneLogo, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
1046
+ declare const Header: FC<IHeaderProps & PropsWithChildren>;
1041
1047
 
1042
1048
  interface HeaderContactButtonProps {
1043
1049
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1298,6 +1304,7 @@ interface SelectProProps$1 {
1298
1304
  paperSx?: SystemStyleObject;
1299
1305
  openUp?: boolean;
1300
1306
  controlled?: boolean;
1307
+ transparentView?: boolean;
1301
1308
  }
1302
1309
  declare const Select: FC<PropsWithChildren & SelectProProps$1>;
1303
1310
 
@@ -1341,6 +1348,12 @@ declare const Switch: FC<CustomSwitchProps & SwitchProps>;
1341
1348
 
1342
1349
  declare const LocaleSwitch: FC<LocaleSwitcherProps>;
1343
1350
 
1351
+ interface SiteSwitcherProps {
1352
+ currentSite: Site;
1353
+ select?: boolean;
1354
+ }
1355
+ declare const SiteSwitch: FC<SiteSwitcherProps>;
1356
+
1344
1357
  declare const LocaleSwitchToggle: FC<LocaleSwitcherProps>;
1345
1358
 
1346
1359
  declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
@@ -1535,4 +1548,4 @@ interface RealtyCardProps {
1535
1548
  }
1536
1549
  declare function RealtyCard({ classes, images, address, addressWithIcon, metro, realtyForRent, title, subTitle, slug, href, tags, details, newRealty, publisher, }: RealtyCardProps): react_jsx_runtime.JSX.Element;
1537
1550
 
1538
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1551
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -40,7 +40,13 @@ interface LocaleSwitcherProps {
40
40
  homePage: string;
41
41
  defLocale: string;
42
42
  }
43
- type Site = 'kyiv' | 'dubai';
43
+ declare const SITE: {
44
+ KYIV: string;
45
+ DUBAI: string;
46
+ GLOBAL: string;
47
+ ZAPORIZHZHIA: string;
48
+ };
49
+ type Site = (typeof SITE)[keyof typeof SITE];
44
50
  type TitlePosition = 'center' | 'left';
45
51
  type BreadCrumbsItem = {
46
52
  name: string;
@@ -179,14 +185,14 @@ interface IArticlesFull$1 {
179
185
  }
180
186
  declare function ArticlesFull({ title, articles, classes, href, totalArticles, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
181
187
 
182
- interface IBannerBlock {
188
+ interface BannerBlockProps {
183
189
  videoLink?: string;
184
190
  bigText?: string;
185
191
  smallText?: string;
186
192
  classes?: string;
187
193
  imgLink?: string;
188
194
  }
189
- declare function BannerBlock({ bigText, smallText, classes, videoLink, imgLink, }: IBannerBlock): react_jsx_runtime.JSX.Element;
195
+ declare const BannerBlock: FC<PropsWithChildren & BannerBlockProps>;
190
196
 
191
197
  interface IBannerBlock2 {
192
198
  image_url?: string;
@@ -1037,7 +1043,7 @@ interface IHeaderProps {
1037
1043
  defLocale: string;
1038
1044
  oneLogo?: string;
1039
1045
  }
1040
- declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, children, oneLogo, }: IHeaderProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
1046
+ declare const Header: FC<IHeaderProps & PropsWithChildren>;
1041
1047
 
1042
1048
  interface HeaderContactButtonProps {
1043
1049
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1298,6 +1304,7 @@ interface SelectProProps$1 {
1298
1304
  paperSx?: SystemStyleObject;
1299
1305
  openUp?: boolean;
1300
1306
  controlled?: boolean;
1307
+ transparentView?: boolean;
1301
1308
  }
1302
1309
  declare const Select: FC<PropsWithChildren & SelectProProps$1>;
1303
1310
 
@@ -1341,6 +1348,12 @@ declare const Switch: FC<CustomSwitchProps & SwitchProps>;
1341
1348
 
1342
1349
  declare const LocaleSwitch: FC<LocaleSwitcherProps>;
1343
1350
 
1351
+ interface SiteSwitcherProps {
1352
+ currentSite: Site;
1353
+ select?: boolean;
1354
+ }
1355
+ declare const SiteSwitch: FC<SiteSwitcherProps>;
1356
+
1344
1357
  declare const LocaleSwitchToggle: FC<LocaleSwitcherProps>;
1345
1358
 
1346
1359
  declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
@@ -1535,4 +1548,4 @@ interface RealtyCardProps {
1535
1548
  }
1536
1549
  declare function RealtyCard({ classes, images, address, addressWithIcon, metro, realtyForRent, title, subTitle, slug, href, tags, details, newRealty, publisher, }: RealtyCardProps): react_jsx_runtime.JSX.Element;
1537
1550
 
1538
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1551
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };