mayak-common-library 0.0.120 → 0.0.122
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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -275,6 +275,7 @@ interface HeaderProps {
|
|
|
275
275
|
menuItems: MenuItem[];
|
|
276
276
|
mainPhone?: string;
|
|
277
277
|
buttonTitle: string;
|
|
278
|
+
locales: string[];
|
|
278
279
|
}
|
|
279
280
|
|
|
280
281
|
declare const Header: FC<HeaderProps>;
|
|
@@ -287,6 +288,9 @@ interface LogoBlockProps {
|
|
|
287
288
|
declare const LogoBlock: FC<LogoBlockProps>;
|
|
288
289
|
|
|
289
290
|
type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
|
|
291
|
+
interface LocaleSwitcherProps {
|
|
292
|
+
locales: string[];
|
|
293
|
+
}
|
|
290
294
|
|
|
291
295
|
interface LinkOutProps {
|
|
292
296
|
data?: string;
|
|
@@ -297,6 +301,6 @@ interface LinkOutProps {
|
|
|
297
301
|
}
|
|
298
302
|
declare const LinkOut: FC<LinkOutProps>;
|
|
299
303
|
|
|
300
|
-
declare const LocaleSwitcherToggle:
|
|
304
|
+
declare const LocaleSwitcherToggle: FC<LocaleSwitcherProps>;
|
|
301
305
|
|
|
302
306
|
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|
package/dist/index.d.ts
CHANGED
|
@@ -275,6 +275,7 @@ interface HeaderProps {
|
|
|
275
275
|
menuItems: MenuItem[];
|
|
276
276
|
mainPhone?: string;
|
|
277
277
|
buttonTitle: string;
|
|
278
|
+
locales: string[];
|
|
278
279
|
}
|
|
279
280
|
|
|
280
281
|
declare const Header: FC<HeaderProps>;
|
|
@@ -287,6 +288,9 @@ interface LogoBlockProps {
|
|
|
287
288
|
declare const LogoBlock: FC<LogoBlockProps>;
|
|
288
289
|
|
|
289
290
|
type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
|
|
291
|
+
interface LocaleSwitcherProps {
|
|
292
|
+
locales: string[];
|
|
293
|
+
}
|
|
290
294
|
|
|
291
295
|
interface LinkOutProps {
|
|
292
296
|
data?: string;
|
|
@@ -297,6 +301,6 @@ interface LinkOutProps {
|
|
|
297
301
|
}
|
|
298
302
|
declare const LinkOut: FC<LinkOutProps>;
|
|
299
303
|
|
|
300
|
-
declare const LocaleSwitcherToggle:
|
|
304
|
+
declare const LocaleSwitcherToggle: FC<LocaleSwitcherProps>;
|
|
301
305
|
|
|
302
306
|
export { AppBar, ArticleCard, Autocomplete, CustomAvatar as Avatar, CustomBadge as Badge, BannerBlock, BigNumber, Button, CategoryCard, CustomCheckbox as Checkbox, Chip, FromToInput, Greet, Header, IconButton, ImageContainer, CustomInput as Input, JobCard, LinkOut, List, ListItem, LocaleSwitcherToggle, LogoBlock, CustomMenuItem as MenuItem, PhoneInput, Providers, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, SearchInput, CustomSelect as Select, SelectPro, CustomSlider as Slider, CustomSwitch as Switch, TeamPersonCard, Text, TextBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel };
|