mayak-common-library 0.1.99 → 0.2.1

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.cts 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, ReactElement, MouseEvent, ButtonHTMLAttributes, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, ReactElement, MouseEventHandler, MouseEvent, ButtonHTMLAttributes, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
4
  import { Document } from '@contentful/rich-text-types';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -15,7 +15,7 @@ import * as _emotion_styled from '@emotion/styled';
15
15
  import * as _mui_system from '@mui/system';
16
16
 
17
17
  type SelectChildrenProps = {
18
- title: string;
18
+ label?: string;
19
19
  ref?: any;
20
20
  onClick?: any;
21
21
  onClose?: any;
@@ -895,12 +895,12 @@ interface RealtyDetailsProps {
895
895
  areaLiving?: string | null;
896
896
  areaKitchen?: string | null;
897
897
  rooms?: number | null;
898
- bathrooms?: number | null;
898
+ bathrooms?: string | null;
899
899
  parkingCount?: string | number | null;
900
900
  floor?: string | null;
901
901
  totalFloors?: string | null;
902
902
  repair?: string | null;
903
- roomCountLink?: string | null;
903
+ roomCountLink?: ReactElement | null;
904
904
  propertyType?: string | null;
905
905
  furnishStatus?: string | null;
906
906
  construction?: string | null;
@@ -1362,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1362
1362
 
1363
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1364
1364
 
1365
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1366
1366
  icon?: ReactNode;
1367
1367
  badgeCount?: number;
1368
- label?: string;
1369
1368
  className?: string;
1370
1369
  }
1371
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1372
1371
 
1373
1372
  interface ErrorMessageProps {
1374
1373
  errorMessage?: string;
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, ReactElement, MouseEvent, ButtonHTMLAttributes, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
3
+ import { ReactNode, FC, PropsWithChildren, ReactElement, MouseEventHandler, MouseEvent, ButtonHTMLAttributes, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
4
  import { Document } from '@contentful/rich-text-types';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -15,7 +15,7 @@ import * as _emotion_styled from '@emotion/styled';
15
15
  import * as _mui_system from '@mui/system';
16
16
 
17
17
  type SelectChildrenProps = {
18
- title: string;
18
+ label?: string;
19
19
  ref?: any;
20
20
  onClick?: any;
21
21
  onClose?: any;
@@ -895,12 +895,12 @@ interface RealtyDetailsProps {
895
895
  areaLiving?: string | null;
896
896
  areaKitchen?: string | null;
897
897
  rooms?: number | null;
898
- bathrooms?: number | null;
898
+ bathrooms?: string | null;
899
899
  parkingCount?: string | number | null;
900
900
  floor?: string | null;
901
901
  totalFloors?: string | null;
902
902
  repair?: string | null;
903
- roomCountLink?: string | null;
903
+ roomCountLink?: ReactElement | null;
904
904
  propertyType?: string | null;
905
905
  furnishStatus?: string | null;
906
906
  construction?: string | null;
@@ -1362,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1362
1362
 
1363
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1364
1364
 
1365
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1366
1366
  icon?: ReactNode;
1367
1367
  badgeCount?: number;
1368
- label?: string;
1369
1368
  className?: string;
1370
1369
  }
1371
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1372
1371
 
1373
1372
  interface ErrorMessageProps {
1374
1373
  errorMessage?: string;