mayak-common-library 0.0.128 → 0.0.130
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 +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/next-env.d.ts +5 -0
- package/next.config.mjs +23 -20
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode, MouseEventHandler } from 'react';
|
|
4
5
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
5
6
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
6
7
|
import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
|
|
@@ -81,9 +82,9 @@ interface CustomRadioProps {
|
|
|
81
82
|
label?: string;
|
|
82
83
|
value?: string;
|
|
83
84
|
}
|
|
84
|
-
declare const CustomRadio:
|
|
85
|
+
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
85
86
|
|
|
86
|
-
declare const CustomRadioGroup:
|
|
87
|
+
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
87
88
|
|
|
88
89
|
interface CustomSwitchProps {
|
|
89
90
|
beforeText?: string;
|
|
@@ -296,7 +297,6 @@ type MenuItem = {
|
|
|
296
297
|
interface HeaderProps {
|
|
297
298
|
menuItems: MenuItem[];
|
|
298
299
|
mainPhone?: string;
|
|
299
|
-
buttonTitle: string;
|
|
300
300
|
locales: string[];
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -450,4 +450,10 @@ interface IOffices {
|
|
|
450
450
|
}
|
|
451
451
|
declare function Offices({ classes, offices }: IOffices): react_jsx_runtime.JSX.Element;
|
|
452
452
|
|
|
453
|
-
|
|
453
|
+
interface HeaderContactButtonProps {
|
|
454
|
+
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
455
|
+
title: string;
|
|
456
|
+
}
|
|
457
|
+
declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
|
|
458
|
+
|
|
459
|
+
export { AboutUsFirstBlock, AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BenefitsBlock, BigNumber, BlockContacts, BlockImages, BlockOurTeam, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FormBlock, FromToInput, Greet, Header, _default as HeaderContactButton, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, Offices, PhoneNumberInput as PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, SocialBlock, SocialBlockMain, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import React__default, { FC, PropsWithChildren, ReactElement, MouseEvent, ReactNode, MouseEventHandler } from 'react';
|
|
4
5
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
5
6
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
6
7
|
import { SystemStyleObject } from '@mui/system/styleFunctionSx/styleFunctionSx';
|
|
@@ -81,9 +82,9 @@ interface CustomRadioProps {
|
|
|
81
82
|
label?: string;
|
|
82
83
|
value?: string;
|
|
83
84
|
}
|
|
84
|
-
declare const CustomRadio:
|
|
85
|
+
declare const CustomRadio: React__default.FC<CustomRadioProps>;
|
|
85
86
|
|
|
86
|
-
declare const CustomRadioGroup:
|
|
87
|
+
declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
87
88
|
|
|
88
89
|
interface CustomSwitchProps {
|
|
89
90
|
beforeText?: string;
|
|
@@ -296,7 +297,6 @@ type MenuItem = {
|
|
|
296
297
|
interface HeaderProps {
|
|
297
298
|
menuItems: MenuItem[];
|
|
298
299
|
mainPhone?: string;
|
|
299
|
-
buttonTitle: string;
|
|
300
300
|
locales: string[];
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -450,4 +450,10 @@ interface IOffices {
|
|
|
450
450
|
}
|
|
451
451
|
declare function Offices({ classes, offices }: IOffices): react_jsx_runtime.JSX.Element;
|
|
452
452
|
|
|
453
|
-
|
|
453
|
+
interface HeaderContactButtonProps {
|
|
454
|
+
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
455
|
+
title: string;
|
|
456
|
+
}
|
|
457
|
+
declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
|
|
458
|
+
|
|
459
|
+
export { AboutUsFirstBlock, AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BenefitsBlock, BigNumber, BlockContacts, BlockImages, BlockOurTeam, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FormBlock, FromToInput, Greet, Header, _default as HeaderContactButton, IconButton, ImageContainer, Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, Offices, PhoneNumberInput as PhoneInput, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, SocialBlock, SocialBlockMain, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, hrefSlugPrefix, useLocaleSlugStore };
|