mayak-common-library 0.0.194 → 0.0.195

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
@@ -12,7 +12,6 @@ import * as _emotion_react from '@emotion/react';
12
12
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
13
13
  import * as _mui_material from '@mui/material';
14
14
  import { ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PaginationItemOwnProps } from '@mui/material';
15
- import * as _mui_material_Button_Button from '@mui/material/Button/Button';
16
15
  import { UseControllerProps, FieldValues } from 'react-hook-form';
17
16
  import { SystemStyleObject } from '@mui/system';
18
17
  import { SwitchProps } from '@mui/material/Switch/Switch';
@@ -595,8 +594,6 @@ declare function TextBlock({ classes, text, title }: ITextBlock): react_jsx_runt
595
594
 
596
595
  declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
597
596
 
598
- declare const ThanksBlockWithButton: () => react_jsx_runtime.JSX.Element;
599
-
600
597
  type TitlePosition = 'center' | 'left';
601
598
 
602
599
  interface ITitleBlock extends TypographyProps {
@@ -928,7 +925,7 @@ interface IHeaderProps {
928
925
  whatsUp?: boolean;
929
926
  defLocale: string;
930
927
  }
931
- declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale }: IHeaderProps): react_jsx_runtime.JSX.Element;
928
+ declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
932
929
 
933
930
  interface HeaderContactButtonProps {
934
931
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1094,7 +1091,7 @@ interface ToggleSortProps {
1094
1091
  }
1095
1092
  declare const ToggleSort: FC<ToggleSortProps>;
1096
1093
 
1097
- declare const StyledButton: _emotion_styled.StyledComponent<_mui_material_Button_Button.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1094
+ declare const StyledButton: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1098
1095
  ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
1099
1096
  }, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & {
1100
1097
  theme?: _emotion_react.Theme;
@@ -1108,7 +1105,7 @@ declare const ToggleButton: FC<ToggleButtonProps & {
1108
1105
 
1109
1106
  interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
1110
1107
  textView?: boolean;
1111
- flexDirection?: "row" | "col";
1108
+ flexDirection?: 'row' | 'col';
1112
1109
  onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
1113
1110
  value: any;
1114
1111
  }
@@ -1261,7 +1258,7 @@ declare const StyledAccordion: FC<AccordionProps & {
1261
1258
  declare const StyledAccordionSummary: FC;
1262
1259
  declare const StyledAccordionDetails: FC;
1263
1260
 
1264
- declare const Paginator: () => react_jsx_runtime.JSX.Element | null;
1261
+ declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
1265
1262
 
1266
1263
  declare const PaginationItem: FC<PaginationItemOwnProps>;
1267
1264
 
@@ -1290,4 +1287,4 @@ declare const H5: FC<HProps>;
1290
1287
 
1291
1288
  declare const H6: FC<HProps>;
1292
1289
 
1293
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1290
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -12,7 +12,6 @@ import * as _emotion_react from '@emotion/react';
12
12
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
13
13
  import * as _mui_material from '@mui/material';
14
14
  import { ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PaginationItemOwnProps } from '@mui/material';
15
- import * as _mui_material_Button_Button from '@mui/material/Button/Button';
16
15
  import { UseControllerProps, FieldValues } from 'react-hook-form';
17
16
  import { SystemStyleObject } from '@mui/system';
18
17
  import { SwitchProps } from '@mui/material/Switch/Switch';
@@ -595,8 +594,6 @@ declare function TextBlock({ classes, text, title }: ITextBlock): react_jsx_runt
595
594
 
596
595
  declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
597
596
 
598
- declare const ThanksBlockWithButton: () => react_jsx_runtime.JSX.Element;
599
-
600
597
  type TitlePosition = 'center' | 'left';
601
598
 
602
599
  interface ITitleBlock extends TypographyProps {
@@ -928,7 +925,7 @@ interface IHeaderProps {
928
925
  whatsUp?: boolean;
929
926
  defLocale: string;
930
927
  }
931
- declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale }: IHeaderProps): react_jsx_runtime.JSX.Element;
928
+ declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
932
929
 
933
930
  interface HeaderContactButtonProps {
934
931
  onClick: MouseEventHandler<HTMLButtonElement> | undefined;
@@ -1094,7 +1091,7 @@ interface ToggleSortProps {
1094
1091
  }
1095
1092
  declare const ToggleSort: FC<ToggleSortProps>;
1096
1093
 
1097
- declare const StyledButton: _emotion_styled.StyledComponent<_mui_material_Button_Button.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1094
+ declare const StyledButton: _emotion_styled.StyledComponent<_mui_material.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1098
1095
  ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
1099
1096
  }, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & {
1100
1097
  theme?: _emotion_react.Theme;
@@ -1108,7 +1105,7 @@ declare const ToggleButton: FC<ToggleButtonProps & {
1108
1105
 
1109
1106
  interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
1110
1107
  textView?: boolean;
1111
- flexDirection?: "row" | "col";
1108
+ flexDirection?: 'row' | 'col';
1112
1109
  onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
1113
1110
  value: any;
1114
1111
  }
@@ -1261,7 +1258,7 @@ declare const StyledAccordion: FC<AccordionProps & {
1261
1258
  declare const StyledAccordionSummary: FC;
1262
1259
  declare const StyledAccordionDetails: FC;
1263
1260
 
1264
- declare const Paginator: () => react_jsx_runtime.JSX.Element | null;
1261
+ declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
1265
1262
 
1266
1263
  declare const PaginationItem: FC<PaginationItemOwnProps>;
1267
1264
 
@@ -1290,4 +1287,4 @@ declare const H5: FC<HProps>;
1290
1287
 
1291
1288
  declare const H6: FC<HProps>;
1292
1289
 
1293
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1290
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };