mayak-common-library 0.0.970 → 0.0.972
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 +7 -14
- package/dist/index.d.ts +7 -14
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
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, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import { ReactNode, FC, PropsWithChildren, MouseEventHandler, ButtonHTMLAttributes, MouseEvent, ReactElement, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import { Document } from '@contentful/rich-text-types/dist/types/types';
|
|
5
5
|
import { Document as Document$1 } from '@contentful/rich-text-types';
|
|
6
6
|
import * as zustand from 'zustand';
|
|
7
7
|
import { StateCreator } from 'zustand';
|
|
8
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
9
8
|
import * as _mui_material from '@mui/material';
|
|
10
9
|
import { IconButtonProps, ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, FormControlLabelProps, SwitchProps, ListProps, PaginationItemOwnProps } from '@mui/material';
|
|
11
|
-
import * as _emotion_styled from '@emotion/styled';
|
|
12
|
-
import * as _emotion_react from '@emotion/react';
|
|
13
|
-
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
14
10
|
import { UseControllerProps } from 'react-hook-form';
|
|
15
11
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
16
12
|
import { CountryIso2 } from 'react-international-phone';
|
|
17
13
|
import { AccordionProps } from '@mui/material/Accordion';
|
|
18
14
|
import { OptionsType } from '@fancyapps/ui/types/Fancybox/options';
|
|
19
15
|
import { KeenSliderOptions } from 'keen-slider/react';
|
|
16
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
20
17
|
import * as _mui_system from '@mui/system';
|
|
21
18
|
|
|
22
19
|
type SelectChildrenProps = {
|
|
@@ -1106,14 +1103,16 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
1106
1103
|
}
|
|
1107
1104
|
declare const Button: FC<CustomButtonProps>;
|
|
1108
1105
|
|
|
1109
|
-
interface ButtonDarkProps {
|
|
1106
|
+
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1110
1107
|
title: string;
|
|
1111
1108
|
className?: string;
|
|
1112
1109
|
view?: 'dark' | 'transparent' | 'header';
|
|
1113
1110
|
icon?: ReactNode;
|
|
1114
1111
|
minWidth?: boolean;
|
|
1112
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
1113
|
+
loading?: boolean;
|
|
1115
1114
|
}
|
|
1116
|
-
declare const ButtonDark: FC<ButtonDarkProps
|
|
1115
|
+
declare const ButtonDark: FC<ButtonDarkProps>;
|
|
1117
1116
|
|
|
1118
1117
|
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
1119
1118
|
isblack?: string;
|
|
@@ -1206,12 +1205,6 @@ interface ToggleSortProps {
|
|
|
1206
1205
|
}
|
|
1207
1206
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1208
1207
|
|
|
1209
|
-
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"> & {
|
|
1210
|
-
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;
|
|
1211
|
-
}, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "endIcon" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
|
|
1212
|
-
theme?: _emotion_react.Theme;
|
|
1213
|
-
}, {}, {}>;
|
|
1214
|
-
|
|
1215
1208
|
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1216
1209
|
|
|
1217
1210
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
@@ -1663,4 +1656,4 @@ declare const DeveloperCard: FC<DeveloperCardProps>;
|
|
|
1663
1656
|
|
|
1664
1657
|
declare const Dialog: _emotion_styled.StyledComponent<_mui_material.DialogProps & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
1665
1658
|
|
|
1666
|
-
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, Badge, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockContacts, BlockImages, BlockOurTeam, BlockOurTeamGrid, BreadCrumbs, Button, ButtonBadge, ButtonDark, CallConsult, CallMeBlock, CardsCatalog, CasesBlock, CasesSlider, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperCard, DeveloperTwoBlocks, Dialog, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, H1, 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, MainContainer, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OtherVacancies, OurAdvantages, OurServices, PageContainer, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, RichTextBlock, ScrollButton, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle,
|
|
1659
|
+
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, Badge, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockContacts, BlockImages, BlockOurTeam, BlockOurTeamGrid, BreadCrumbs, Button, ButtonBadge, ButtonDark, CallConsult, CallMeBlock, CardsCatalog, CasesBlock, CasesSlider, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperCard, DeveloperTwoBlocks, Dialog, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, H1, 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, MainContainer, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OtherVacancies, OurAdvantages, OurServices, PageContainer, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, RichTextBlock, ScrollButton, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, TextAreaInput, TextBlock, TextImageTileBlock, ThanksBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyCard, VacancyContainer, VacancyContent, VacancyInfoItems, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
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, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import { ReactNode, FC, PropsWithChildren, MouseEventHandler, ButtonHTMLAttributes, MouseEvent, ReactElement, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import { Document } from '@contentful/rich-text-types/dist/types/types';
|
|
5
5
|
import { Document as Document$1 } from '@contentful/rich-text-types';
|
|
6
6
|
import * as zustand from 'zustand';
|
|
7
7
|
import { StateCreator } from 'zustand';
|
|
8
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
9
8
|
import * as _mui_material from '@mui/material';
|
|
10
9
|
import { IconButtonProps, ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, FormControlLabelProps, SwitchProps, ListProps, PaginationItemOwnProps } from '@mui/material';
|
|
11
|
-
import * as _emotion_styled from '@emotion/styled';
|
|
12
|
-
import * as _emotion_react from '@emotion/react';
|
|
13
|
-
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
14
10
|
import { UseControllerProps } from 'react-hook-form';
|
|
15
11
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
16
12
|
import { CountryIso2 } from 'react-international-phone';
|
|
17
13
|
import { AccordionProps } from '@mui/material/Accordion';
|
|
18
14
|
import { OptionsType } from '@fancyapps/ui/types/Fancybox/options';
|
|
19
15
|
import { KeenSliderOptions } from 'keen-slider/react';
|
|
16
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
20
17
|
import * as _mui_system from '@mui/system';
|
|
21
18
|
|
|
22
19
|
type SelectChildrenProps = {
|
|
@@ -1106,14 +1103,16 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
1106
1103
|
}
|
|
1107
1104
|
declare const Button: FC<CustomButtonProps>;
|
|
1108
1105
|
|
|
1109
|
-
interface ButtonDarkProps {
|
|
1106
|
+
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1110
1107
|
title: string;
|
|
1111
1108
|
className?: string;
|
|
1112
1109
|
view?: 'dark' | 'transparent' | 'header';
|
|
1113
1110
|
icon?: ReactNode;
|
|
1114
1111
|
minWidth?: boolean;
|
|
1112
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
1113
|
+
loading?: boolean;
|
|
1115
1114
|
}
|
|
1116
|
-
declare const ButtonDark: FC<ButtonDarkProps
|
|
1115
|
+
declare const ButtonDark: FC<ButtonDarkProps>;
|
|
1117
1116
|
|
|
1118
1117
|
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
1119
1118
|
isblack?: string;
|
|
@@ -1206,12 +1205,6 @@ interface ToggleSortProps {
|
|
|
1206
1205
|
}
|
|
1207
1206
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1208
1207
|
|
|
1209
|
-
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"> & {
|
|
1210
|
-
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;
|
|
1211
|
-
}, "style" | "children" | "className" | "tabIndex" | "color" | "href" | "sx" | "disabled" | "action" | "loading" | "size" | "endIcon" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
|
|
1212
|
-
theme?: _emotion_react.Theme;
|
|
1213
|
-
}, {}, {}>;
|
|
1214
|
-
|
|
1215
1208
|
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1216
1209
|
|
|
1217
1210
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
@@ -1663,4 +1656,4 @@ declare const DeveloperCard: FC<DeveloperCardProps>;
|
|
|
1663
1656
|
|
|
1664
1657
|
declare const Dialog: _emotion_styled.StyledComponent<_mui_material.DialogProps & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
1665
1658
|
|
|
1666
|
-
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, Badge, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockContacts, BlockImages, BlockOurTeam, BlockOurTeamGrid, BreadCrumbs, Button, ButtonBadge, ButtonDark, CallConsult, CallMeBlock, CardsCatalog, CasesBlock, CasesSlider, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperCard, DeveloperTwoBlocks, Dialog, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, H1, 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, MainContainer, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OtherVacancies, OurAdvantages, OurServices, PageContainer, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, RichTextBlock, ScrollButton, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle,
|
|
1659
|
+
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, Badge, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockContacts, BlockImages, BlockOurTeam, BlockOurTeamGrid, BreadCrumbs, Button, ButtonBadge, ButtonDark, CallConsult, CallMeBlock, CardsCatalog, CasesBlock, CasesSlider, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Checkbox, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperCard, DeveloperTwoBlocks, Dialog, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, GalleryBlock, H1, 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, MainContainer, type Modal, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OtherVacancies, OurAdvantages, OurServices, PageContainer, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyAddress, RealtyCard, RealtyDescription, RealtyDetails, RealtyPrice, RealtyTitle, ReferralProgramFirstBlock, RichTextBlock, ScrollButton, SearchInput, SearchPlaceInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SiteSwitch, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TermList, TextAreaInput, TextBlock, TextImageTileBlock, ThanksBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyCard, VacancyContainer, VacancyContent, VacancyInfoItems, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
|