mayak-common-library 0.0.480 → 0.0.481

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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement, DetailedHTMLProps, InputHTMLAttributes } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -18,7 +18,6 @@ import { FormControlLabelProps } from '@mui/material/FormControlLabel/FormContro
18
18
  import { SwitchProps } from '@mui/material/Switch/Switch';
19
19
  import { ListProps } from '@mui/material/List/List';
20
20
  import { InputProps } from '@mui/material/Input/Input';
21
- import { InputProps as InputProps$1 } from '@mui/material/Input';
22
21
  import { CountryIso2 } from 'react-international-phone';
23
22
  import { AccordionProps } from '@mui/material/Accordion/Accordion';
24
23
  import { OptionsType } from '@fancyapps/ui/types/Fancybox/options';
@@ -1439,19 +1438,7 @@ interface ErrorMessageProps {
1439
1438
  }
1440
1439
  declare const ErrorMessage: FC<ErrorMessageProps>;
1441
1440
 
1442
- declare const Input: FC<InputProps>;
1443
-
1444
- interface PhoneNumberInputProps {
1445
- name: string;
1446
- border?: boolean;
1447
- showError?: boolean;
1448
- fullWidth?: boolean;
1449
- centerText?: boolean;
1450
- white?: boolean;
1451
- format: string;
1452
- placeholder: string;
1453
- }
1454
- declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
1441
+ declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
1455
1442
 
1456
1443
  interface SearchInputProps$1 {
1457
1444
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
@@ -1463,9 +1450,9 @@ interface SearchInputProps$1 {
1463
1450
  }
1464
1451
  declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
1465
1452
 
1466
- declare const FormInput: FC<InputProps$1 & {
1453
+ declare const FormInput: FC<{
1467
1454
  name: string;
1468
- }>;
1455
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
1469
1456
 
1470
1457
  interface NumberInputProps extends InputProps {
1471
1458
  adornmentText: string;
@@ -1637,4 +1624,4 @@ interface FeedbackCardProps {
1637
1624
  }
1638
1625
  declare const FeedbackCard: FC<FeedbackCardProps>;
1639
1626
 
1640
- 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, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, 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, PhoneInput, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, 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 };
1627
+ 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, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, 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, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, 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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement, DetailedHTMLProps, InputHTMLAttributes } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -18,7 +18,6 @@ import { FormControlLabelProps } from '@mui/material/FormControlLabel/FormContro
18
18
  import { SwitchProps } from '@mui/material/Switch/Switch';
19
19
  import { ListProps } from '@mui/material/List/List';
20
20
  import { InputProps } from '@mui/material/Input/Input';
21
- import { InputProps as InputProps$1 } from '@mui/material/Input';
22
21
  import { CountryIso2 } from 'react-international-phone';
23
22
  import { AccordionProps } from '@mui/material/Accordion/Accordion';
24
23
  import { OptionsType } from '@fancyapps/ui/types/Fancybox/options';
@@ -1439,19 +1438,7 @@ interface ErrorMessageProps {
1439
1438
  }
1440
1439
  declare const ErrorMessage: FC<ErrorMessageProps>;
1441
1440
 
1442
- declare const Input: FC<InputProps>;
1443
-
1444
- interface PhoneNumberInputProps {
1445
- name: string;
1446
- border?: boolean;
1447
- showError?: boolean;
1448
- fullWidth?: boolean;
1449
- centerText?: boolean;
1450
- white?: boolean;
1451
- format: string;
1452
- placeholder: string;
1453
- }
1454
- declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
1441
+ declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
1455
1442
 
1456
1443
  interface SearchInputProps$1 {
1457
1444
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
@@ -1463,9 +1450,9 @@ interface SearchInputProps$1 {
1463
1450
  }
1464
1451
  declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
1465
1452
 
1466
- declare const FormInput: FC<InputProps$1 & {
1453
+ declare const FormInput: FC<{
1467
1454
  name: string;
1468
- }>;
1455
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
1469
1456
 
1470
1457
  interface NumberInputProps extends InputProps {
1471
1458
  adornmentText: string;
@@ -1637,4 +1624,4 @@ interface FeedbackCardProps {
1637
1624
  }
1638
1625
  declare const FeedbackCard: FC<FeedbackCardProps>;
1639
1626
 
1640
- 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, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, 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, PhoneInput, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, 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 };
1627
+ 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, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, 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, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, 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 };