mayak-common-library 0.0.193 → 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 +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/messages/en.json +194 -0
- package/messages/ru.json +194 -0
- package/messages/uk.json +193 -0
- package/next.config.mjs +1 -1
- package/package.json +1 -1
- package/styles/assets.ts +3 -6
- package/tailwind.config.js +10 -6
- package/theme.ts +15 -0
- package/dist/chunk-I2QAX2N6.mjs +0 -2
- package/dist/en-UF6XH24R.mjs +0 -2
- package/dist/ru-QYVI77U6.mjs +0 -2
- package/dist/uk-SBSODGEU.mjs +0 -2
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 {
|
|
@@ -926,8 +923,9 @@ interface IHeaderProps {
|
|
|
926
923
|
site: Site;
|
|
927
924
|
homePage: string;
|
|
928
925
|
whatsUp?: boolean;
|
|
926
|
+
defLocale: string;
|
|
929
927
|
}
|
|
930
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
928
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
931
929
|
|
|
932
930
|
interface HeaderContactButtonProps {
|
|
933
931
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -1093,7 +1091,7 @@ interface ToggleSortProps {
|
|
|
1093
1091
|
}
|
|
1094
1092
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1095
1093
|
|
|
1096
|
-
declare const StyledButton: _emotion_styled.StyledComponent<
|
|
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"> & {
|
|
1097
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;
|
|
1098
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"> & {
|
|
1099
1097
|
theme?: _emotion_react.Theme;
|
|
@@ -1107,7 +1105,7 @@ declare const ToggleButton: FC<ToggleButtonProps & {
|
|
|
1107
1105
|
|
|
1108
1106
|
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
1109
1107
|
textView?: boolean;
|
|
1110
|
-
flexDirection?:
|
|
1108
|
+
flexDirection?: 'row' | 'col';
|
|
1111
1109
|
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
1112
1110
|
value: any;
|
|
1113
1111
|
}
|
|
@@ -1260,7 +1258,7 @@ declare const StyledAccordion: FC<AccordionProps & {
|
|
|
1260
1258
|
declare const StyledAccordionSummary: FC;
|
|
1261
1259
|
declare const StyledAccordionDetails: FC;
|
|
1262
1260
|
|
|
1263
|
-
declare const Paginator: () => react_jsx_runtime.JSX.Element | null;
|
|
1261
|
+
declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
|
|
1264
1262
|
|
|
1265
1263
|
declare const PaginationItem: FC<PaginationItemOwnProps>;
|
|
1266
1264
|
|
|
@@ -1289,4 +1287,4 @@ declare const H5: FC<HProps>;
|
|
|
1289
1287
|
|
|
1290
1288
|
declare const H6: FC<HProps>;
|
|
1291
1289
|
|
|
1292
|
-
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,
|
|
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 {
|
|
@@ -926,8 +923,9 @@ interface IHeaderProps {
|
|
|
926
923
|
site: Site;
|
|
927
924
|
homePage: string;
|
|
928
925
|
whatsUp?: boolean;
|
|
926
|
+
defLocale: string;
|
|
929
927
|
}
|
|
930
|
-
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
928
|
+
declare function Header({ menuItems, mainPhone, locales, site, homePage, whatsUp, defLocale, }: IHeaderProps): react_jsx_runtime.JSX.Element;
|
|
931
929
|
|
|
932
930
|
interface HeaderContactButtonProps {
|
|
933
931
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -1093,7 +1091,7 @@ interface ToggleSortProps {
|
|
|
1093
1091
|
}
|
|
1094
1092
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1095
1093
|
|
|
1096
|
-
declare const StyledButton: _emotion_styled.StyledComponent<
|
|
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"> & {
|
|
1097
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;
|
|
1098
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"> & {
|
|
1099
1097
|
theme?: _emotion_react.Theme;
|
|
@@ -1107,7 +1105,7 @@ declare const ToggleButton: FC<ToggleButtonProps & {
|
|
|
1107
1105
|
|
|
1108
1106
|
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
1109
1107
|
textView?: boolean;
|
|
1110
|
-
flexDirection?:
|
|
1108
|
+
flexDirection?: 'row' | 'col';
|
|
1111
1109
|
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
1112
1110
|
value: any;
|
|
1113
1111
|
}
|
|
@@ -1260,7 +1258,7 @@ declare const StyledAccordion: FC<AccordionProps & {
|
|
|
1260
1258
|
declare const StyledAccordionSummary: FC;
|
|
1261
1259
|
declare const StyledAccordionDetails: FC;
|
|
1262
1260
|
|
|
1263
|
-
declare const Paginator: () => react_jsx_runtime.JSX.Element | null;
|
|
1261
|
+
declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
|
|
1264
1262
|
|
|
1265
1263
|
declare const PaginationItem: FC<PaginationItemOwnProps>;
|
|
1266
1264
|
|
|
@@ -1289,4 +1287,4 @@ declare const H5: FC<HProps>;
|
|
|
1289
1287
|
|
|
1290
1288
|
declare const H6: FC<HProps>;
|
|
1291
1289
|
|
|
1292
|
-
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,
|
|
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 };
|