mayak-common-library-payload 0.2.4 → 0.2.6

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 { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
3
+ import { PropsWithChildren, ReactNode, FC, ReactElement, MouseEventHandler, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
4
  import * as zustand from 'zustand';
5
5
  import { StateCreator } from 'zustand';
6
6
  import { CheckboxProps } from '@mui/material/Checkbox';
@@ -302,15 +302,9 @@ interface ICallMeBlock {
302
302
  }
303
303
  declare function CallMeBlock({ className }: ICallMeBlock): react_jsx_runtime.JSX.Element;
304
304
 
305
- interface ICategoryCard {
306
- imageUrl?: string | null;
307
- title?: string;
308
- text?: string;
309
- link?: string;
310
- }
311
305
  interface CatalogCategoriesBlockProps {
312
306
  title?: string;
313
- categories?: ICategoryCard[];
307
+ categories?: ReactElement[];
314
308
  className?: string;
315
309
  }
316
310
  declare const CatalogCategoriesBlock: ({ title, categories, className, }: CatalogCategoriesBlockProps) => react_jsx_runtime.JSX.Element;
@@ -1478,11 +1472,10 @@ interface IRealtorCard {
1478
1472
  declare const RealtorCard: FC<IRealtorCard>;
1479
1473
 
1480
1474
  interface CategoryCardProps {
1481
- image_url: string;
1475
+ image_url?: string | null;
1482
1476
  title: string;
1483
- link: string;
1484
1477
  }
1485
- declare function CategoryCard({ link, title, image_url, }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1478
+ declare function CategoryCard({ title, image_url }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1486
1479
 
1487
1480
  interface DetailsProps {
1488
1481
  studio?: boolean | null;
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 { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
3
+ import { PropsWithChildren, ReactNode, FC, ReactElement, MouseEventHandler, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
4
  import * as zustand from 'zustand';
5
5
  import { StateCreator } from 'zustand';
6
6
  import { CheckboxProps } from '@mui/material/Checkbox';
@@ -302,15 +302,9 @@ interface ICallMeBlock {
302
302
  }
303
303
  declare function CallMeBlock({ className }: ICallMeBlock): react_jsx_runtime.JSX.Element;
304
304
 
305
- interface ICategoryCard {
306
- imageUrl?: string | null;
307
- title?: string;
308
- text?: string;
309
- link?: string;
310
- }
311
305
  interface CatalogCategoriesBlockProps {
312
306
  title?: string;
313
- categories?: ICategoryCard[];
307
+ categories?: ReactElement[];
314
308
  className?: string;
315
309
  }
316
310
  declare const CatalogCategoriesBlock: ({ title, categories, className, }: CatalogCategoriesBlockProps) => react_jsx_runtime.JSX.Element;
@@ -1478,11 +1472,10 @@ interface IRealtorCard {
1478
1472
  declare const RealtorCard: FC<IRealtorCard>;
1479
1473
 
1480
1474
  interface CategoryCardProps {
1481
- image_url: string;
1475
+ image_url?: string | null;
1482
1476
  title: string;
1483
- link: string;
1484
1477
  }
1485
- declare function CategoryCard({ link, title, image_url, }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1478
+ declare function CategoryCard({ title, image_url }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1486
1479
 
1487
1480
  interface DetailsProps {
1488
1481
  studio?: boolean | null;