stone-kit 0.0.859 → 0.0.861
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/package.json +1 -1
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Button/ui/Button.d.ts +0 -4
- package/dist/components/Button/ui/Button.types.d.ts +0 -37
- package/dist/components/CheckBox/CheckBox.d.ts +0 -3
- package/dist/components/CheckBox/CheckBox.types.d.ts +0 -18
- package/dist/components/CheckBox/index.d.ts +0 -2
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +0 -17
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +0 -11
- package/dist/components/CheckboxSelect/index.d.ts +0 -1
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +0 -13
- package/dist/components/DestinationTab/index.d.ts +0 -1
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -4
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -31
- package/dist/components/FieldInput/index.d.ts +0 -1
- package/dist/components/FieldInput/ui/FieldInput.d.ts +0 -4
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +0 -10
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +0 -44
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +0 -29
- package/dist/components/Flex/index.d.ts +0 -1
- package/dist/components/Flex/ui/Flex.d.ts +0 -3
- package/dist/components/Flex/ui/Flex.types.d.ts +0 -16
- package/dist/components/FormModal/ui/ModalForm.d.ts +0 -50
- package/dist/components/FormModal/utils/reg.d.ts +0 -4
- package/dist/components/GroupedInput/index.d.ts +0 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -3
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -5
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Input/ui/Input.types.d.ts +0 -26
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/Logo/ui/Logo.d.ts +0 -3
- package/dist/components/Logo/ui/Logo.types.d.ts +0 -17
- package/dist/components/LotCard/hooks/useLotCard.d.ts +0 -24
- package/dist/components/LotCard/index.d.ts +0 -1
- package/dist/components/LotCard/ui/LotCard.d.ts +0 -3
- package/dist/components/LotCard/ui/LotCard.types.d.ts +0 -255
- package/dist/components/LotCard/utils/checkBedroomsCount.d.ts +0 -1
- package/dist/components/LotCard/utils/const.d.ts +0 -8
- package/dist/components/LotCard/utils/formatPrice.d.ts +0 -1
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +0 -5
- package/dist/components/LotCard/utils/monthlyPayment.d.ts +0 -1
- package/dist/components/LotCardSkeleton/index.d.ts +0 -1
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.d.ts +0 -5
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -3
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -18
- package/dist/components/MetroTag/index.d.ts +0 -1
- package/dist/components/MetroTag/ui/MetroTag.d.ts +0 -3
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +0 -31
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Modal/ui/Modal.d.ts +0 -4
- package/dist/components/Modal/ui/Modal.types.d.ts +0 -22
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +0 -3
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +0 -9
- package/dist/components/NewIcon/icons/PinTrans.d.ts +0 -4
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +0 -4
- package/dist/components/NewIcon/index.d.ts +0 -1
- package/dist/components/NewIcon/ui/NewIcon.d.ts +0 -16
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -8
- package/dist/components/NewIcon/ui/iconTypes.d.ts +0 -4
- package/dist/components/ProjectCardSkeleton/index.d.ts +0 -1
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.d.ts +0 -1
- package/dist/components/RoundButton/index.d.ts +0 -1
- package/dist/components/RoundButton/ui/RoundButton.d.ts +0 -4
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +0 -30
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/model/selectMode.d.ts +0 -15
- package/dist/components/Select/ui/Category.d.ts +0 -14
- package/dist/components/Select/ui/Option.d.ts +0 -14
- package/dist/components/Select/ui/Select.d.ts +0 -3
- package/dist/components/Select/ui/Select.types.d.ts +0 -59
- package/dist/components/SliderNavigation/index.d.ts +0 -3
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +0 -3
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.d.ts +0 -16
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +0 -29
- package/dist/components/SortSelect/index.d.ts +0 -1
- package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -4
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +0 -21
- package/dist/components/SummarySelect/index.d.ts +0 -1
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +0 -9
- package/dist/components/Switcher/index.d.ts +0 -1
- package/dist/components/Switcher/ui/Switcher.d.ts +0 -3
- package/dist/components/Switcher/ui/Switcher.types.d.ts +0 -6
- package/dist/components/TabSelect/index.d.ts +0 -1
- package/dist/components/TabSelect/ui/TabSelect.d.ts +0 -27
- package/dist/components/TabSelect/ui/TabSelect.types.d.ts +0 -0
- package/dist/components/TabSwitcher/index.d.ts +0 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +0 -6
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +0 -34
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Tag/ui/Tag.d.ts +0 -4
- package/dist/components/Tag/ui/Tag.types.d.ts +0 -33
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/Text/ui/Text.d.ts +0 -3
- package/dist/components/Text/ui/Text.types.d.ts +0 -10
- package/dist/components/TextArea/TextArea.types.d.ts +0 -11
- package/dist/components/ZoomControls/index.d.ts +0 -1
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +0 -3
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +0 -7
- package/dist/components/mobileButton/index.d.ts +0 -1
- package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -4
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -24
- package/dist/main.d.ts +0 -33
- package/dist/shared/deepEqual.d.ts +0 -1
- package/dist/shared/useClientWidth.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Button } from './ui/Button';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentProps } from './Button.types';
|
|
3
|
-
|
|
4
|
-
export declare const Button: ({ size, size_m, size_l, onCLick, pre, children, post, variant, width, additionalClass, isLoading, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export type btnWidth = 'auto' | 'full';
|
|
4
|
-
export declare const BUTTON_VARIANTS: {
|
|
5
|
-
blue: string;
|
|
6
|
-
gray: string;
|
|
7
|
-
whiteStroke: string;
|
|
8
|
-
sokolniki: string;
|
|
9
|
-
black: string;
|
|
10
|
-
whiteFilled: string;
|
|
11
|
-
shade: string;
|
|
12
|
-
volodiyaLight: string;
|
|
13
|
-
lightBlue: string;
|
|
14
|
-
transparent: string;
|
|
15
|
-
};
|
|
16
|
-
export type btnVariant = keyof typeof BUTTON_VARIANTS;
|
|
17
|
-
type btnSizes = 'large' | 'medium' | 'small' | 'tiny';
|
|
18
|
-
interface ButtonProps {
|
|
19
|
-
size?: btnSizes;
|
|
20
|
-
size_m?: btnSizes;
|
|
21
|
-
size_l?: btnSizes;
|
|
22
|
-
pre?: ReactNode;
|
|
23
|
-
post?: ReactNode;
|
|
24
|
-
children?: string | ReactNode;
|
|
25
|
-
variant?: btnVariant;
|
|
26
|
-
width?: btnWidth;
|
|
27
|
-
additionalClass?: string;
|
|
28
|
-
isLoading?: boolean;
|
|
29
|
-
as?: 'button' | 'link';
|
|
30
|
-
onCLick?: () => any;
|
|
31
|
-
}
|
|
32
|
-
export type ComponentProps = ButtonProps & ((React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
|
-
as?: 'button';
|
|
34
|
-
}) | (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
35
|
-
as?: 'link';
|
|
36
|
-
} & Required<Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>>));
|
|
37
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
export type CheckBoxVariant = 'light' | 'dark';
|
|
4
|
-
export type CheckBoxSize = 'small' | 'medium' | 'large';
|
|
5
|
-
export interface CheckBoxProps {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
isChecked: boolean | undefined;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
modifierClassesStyle?: string[];
|
|
10
|
-
emitIsChecked?: (isChecked: boolean) => void;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
variant?: CheckBoxVariant;
|
|
13
|
-
size_s?: boolean;
|
|
14
|
-
size_l?: boolean;
|
|
15
|
-
size_m?: boolean;
|
|
16
|
-
[key: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export type CheckBoxComponent = ForwardRefExoticComponent<CheckBoxProps & RefAttributes<HTMLInputElement>>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const CHECKBOX_VARIANTS: {
|
|
4
|
-
light: string;
|
|
5
|
-
};
|
|
6
|
-
export type checkBoxVariant = keyof typeof CHECKBOX_VARIANTS;
|
|
7
|
-
type checkBoxSizes = 'medium';
|
|
8
|
-
interface InputProps {
|
|
9
|
-
size_s?: checkBoxSizes;
|
|
10
|
-
size_m?: checkBoxSizes;
|
|
11
|
-
size_l?: checkBoxSizes;
|
|
12
|
-
error?: boolean;
|
|
13
|
-
variant?: checkBoxVariant;
|
|
14
|
-
additionalClass?: string;
|
|
15
|
-
}
|
|
16
|
-
export type ComponentProps = InputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
17
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props {
|
|
3
|
-
text?: string;
|
|
4
|
-
error: boolean;
|
|
5
|
-
emitIsChecked?: (isChecked: boolean) => void;
|
|
6
|
-
isChecked?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export type Ref = HTMLInputElement;
|
|
10
|
-
export declare const CheckBoxNew: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CheckboxSelect } from './ui/CheckboxSelect';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ICheckboxSelectProps {
|
|
3
|
-
label?: string;
|
|
4
|
-
checkboxes: {
|
|
5
|
-
label: string;
|
|
6
|
-
isSelected: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
setValue: () => void;
|
|
9
|
-
}[];
|
|
10
|
-
addClassname?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const CheckboxSelect: React.FC<ICheckboxSelectProps>;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DestinationTab } from './ui/DestinationTab';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentProps } from './DestinationTab.types';
|
|
3
|
-
|
|
4
|
-
export declare const DestinationTab: ({ size, size_m, size_l, destination, variant, width, routes, checked, onChange, additionalClass, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type destinationSizesWidth = 'auto' | 'full';
|
|
4
|
-
export declare const DESTINATIONS_VARIANTS: {
|
|
5
|
-
whiteStroke: string;
|
|
6
|
-
};
|
|
7
|
-
export type destinationSizesVariant = keyof typeof DESTINATIONS_VARIANTS;
|
|
8
|
-
type destinationSizes = 'large' | 'medium';
|
|
9
|
-
interface IDestinationProps {
|
|
10
|
-
size?: destinationSizes;
|
|
11
|
-
size_m?: destinationSizes;
|
|
12
|
-
size_l?: destinationSizes;
|
|
13
|
-
checked?: boolean;
|
|
14
|
-
destination?: {
|
|
15
|
-
destName?: string;
|
|
16
|
-
color?: string;
|
|
17
|
-
};
|
|
18
|
-
routes?: {
|
|
19
|
-
type?: ReactNode;
|
|
20
|
-
text?: string;
|
|
21
|
-
}[];
|
|
22
|
-
onChange?: () => void;
|
|
23
|
-
children?: string | ReactNode;
|
|
24
|
-
variant?: destinationSizesVariant;
|
|
25
|
-
width?: destinationSizesWidth;
|
|
26
|
-
additionalClass?: string;
|
|
27
|
-
isLoading?: boolean;
|
|
28
|
-
as?: 'button' | 'link';
|
|
29
|
-
}
|
|
30
|
-
export type ComponentProps = IDestinationProps & React.ButtonHTMLAttributes<HTMLLabelElement>;
|
|
31
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FieldInput } from './ui/FieldInput';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface InputProps {
|
|
4
|
-
label: string;
|
|
5
|
-
handleClear?: () => void;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
isShowClear?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export type ComponentProps = InputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
10
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { TOption } from '../../Select/ui/Select.types';
|
|
2
|
-
|
|
3
|
-
interface IuseFilterWithSave {
|
|
4
|
-
selectOptions?: TOption[];
|
|
5
|
-
disabledOptions?: TOption[];
|
|
6
|
-
selectedValues?: TOption[];
|
|
7
|
-
tabs?: {
|
|
8
|
-
value: string;
|
|
9
|
-
state: boolean;
|
|
10
|
-
}[];
|
|
11
|
-
selectedTabs?: {
|
|
12
|
-
value: string;
|
|
13
|
-
state: boolean;
|
|
14
|
-
}[];
|
|
15
|
-
setSelectedTabs?: React.Dispatch<React.SetStateAction<{
|
|
16
|
-
value: string;
|
|
17
|
-
state: boolean;
|
|
18
|
-
}[]>>;
|
|
19
|
-
onChange?: (selectedOptions: TOption[]) => unknown;
|
|
20
|
-
onClickItem?: (option: TOption | TOption[]) => void;
|
|
21
|
-
onSaveClick: () => void;
|
|
22
|
-
onClearClick: () => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const useFilterWithSave: ({ selectedTabs, selectedValues, onClickItem, disabledOptions, tabs, onChange, setSelectedTabs, onSaveClick, onClearClick, }: IuseFilterWithSave) => {
|
|
25
|
-
isMobile: boolean;
|
|
26
|
-
handleClearClick: () => void;
|
|
27
|
-
handleCloseModal: () => void;
|
|
28
|
-
handleOptionClick: (option: TOption) => void;
|
|
29
|
-
handleSaveClick: import('react').MouseEventHandler<HTMLButtonElement>;
|
|
30
|
-
localSelectedTabs: {
|
|
31
|
-
value: string;
|
|
32
|
-
state: boolean;
|
|
33
|
-
}[];
|
|
34
|
-
selectedOptions: TOption[];
|
|
35
|
-
setSelectedOptions: import('react').Dispatch<import('react').SetStateAction<TOption[]>>;
|
|
36
|
-
isModalOpen: boolean;
|
|
37
|
-
setIsModalOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
38
|
-
setLocalSelectedTabs: import('react').Dispatch<import('react').SetStateAction<{
|
|
39
|
-
value: string;
|
|
40
|
-
state: boolean;
|
|
41
|
-
}[]>>;
|
|
42
|
-
containerRef: import('react').MutableRefObject<HTMLDivElement | null>;
|
|
43
|
-
};
|
|
44
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TOption } from '../../Select/ui/Select.types';
|
|
2
|
-
|
|
3
|
-
interface IFilterWithSave {
|
|
4
|
-
selectOptions?: TOption[];
|
|
5
|
-
disabledOptions?: TOption[];
|
|
6
|
-
selectedValues?: TOption[];
|
|
7
|
-
onSaveClick?: () => void;
|
|
8
|
-
onClearClick?: () => void;
|
|
9
|
-
onTabClick?: () => void;
|
|
10
|
-
tabs?: {
|
|
11
|
-
value: string;
|
|
12
|
-
state: boolean;
|
|
13
|
-
}[];
|
|
14
|
-
selectedTabs?: {
|
|
15
|
-
value: string;
|
|
16
|
-
state: boolean;
|
|
17
|
-
}[];
|
|
18
|
-
setSelectedTabs?: React.Dispatch<React.SetStateAction<{
|
|
19
|
-
value: string;
|
|
20
|
-
state: boolean;
|
|
21
|
-
}[]>>;
|
|
22
|
-
onChange?: (selectedOptions: TOption[]) => unknown;
|
|
23
|
-
onClickItem?: (option: TOption | TOption[]) => void;
|
|
24
|
-
onCLickSelect?: () => void;
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
btnName?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const FilterWithSave: ({ disabledOptions, tabs, selectOptions, onChange, onClick, selectedValues, setSelectedTabs, selectedTabs, onClickItem, onCLickSelect, onSaveClick, onClearClick, onTabClick, btnName, }: IFilterWithSave) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Flex } from './ui/Flex';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type IFlex = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16';
|
|
3
|
-
type IJustifyContent = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
4
|
-
type IAlignItems = 'start' | 'end' | 'center' | 'stretch';
|
|
5
|
-
type IFlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
6
|
-
type IFlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
7
|
-
export interface IFlexProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
-
className?: string;
|
|
9
|
-
jc?: IJustifyContent;
|
|
10
|
-
ai?: IAlignItems;
|
|
11
|
-
gap?: IFlex;
|
|
12
|
-
fd?: IFlexDirection;
|
|
13
|
-
w?: IFlexWrap;
|
|
14
|
-
additionalClass?: string;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
interface IModalFormProps {
|
|
2
|
-
isFormOpen: boolean;
|
|
3
|
-
setIsFormOpen: (isOpen: boolean) => void;
|
|
4
|
-
submitHandler: (data: IFormPageInputs) => void;
|
|
5
|
-
blurHandler?: ({ e, analyticParams }: {
|
|
6
|
-
e: unknown;
|
|
7
|
-
analyticParams: {
|
|
8
|
-
action_element: string;
|
|
9
|
-
action_element_status: 'error' | 'success';
|
|
10
|
-
block_name?: string;
|
|
11
|
-
};
|
|
12
|
-
}) => void;
|
|
13
|
-
modalWidth?: string;
|
|
14
|
-
isPhone?: boolean;
|
|
15
|
-
title: string;
|
|
16
|
-
isEmail?: boolean;
|
|
17
|
-
telegramLink?: string;
|
|
18
|
-
isTextArea?: boolean;
|
|
19
|
-
subTitle: string;
|
|
20
|
-
advCheckBox?: {
|
|
21
|
-
text: string;
|
|
22
|
-
isRequired: boolean;
|
|
23
|
-
} | undefined | null;
|
|
24
|
-
textAreaPlaceholder?: string;
|
|
25
|
-
rowsTextArea?: number;
|
|
26
|
-
isRequiredPhone?: boolean;
|
|
27
|
-
isNews?: boolean;
|
|
28
|
-
isRequiredEmail?: boolean;
|
|
29
|
-
isRequiredPhoneOrEmail?: boolean;
|
|
30
|
-
isAdvCheckBox?: boolean;
|
|
31
|
-
telegramClickHandler?: () => void;
|
|
32
|
-
addTitleClassName?: string;
|
|
33
|
-
block_name?: string;
|
|
34
|
-
createPortalObj?: {
|
|
35
|
-
domNode: HTMLElement | null;
|
|
36
|
-
key?: string | null | undefined;
|
|
37
|
-
};
|
|
38
|
-
emitCheckBox?: () => void;
|
|
39
|
-
emitAdvCheckBox?: () => void;
|
|
40
|
-
}
|
|
41
|
-
type IFormPageInputs = {
|
|
42
|
-
phone: string;
|
|
43
|
-
name: string;
|
|
44
|
-
email?: string;
|
|
45
|
-
personalCheckBox: boolean;
|
|
46
|
-
advCheckBox?: boolean;
|
|
47
|
-
textarea?: string;
|
|
48
|
-
};
|
|
49
|
-
export declare const ModalForm: ({ isFormOpen, setIsFormOpen, isNews, title, isEmail, isPhone, isTextArea, telegramLink, isRequiredPhone, isRequiredEmail, isRequiredPhoneOrEmail, textAreaPlaceholder, subTitle, submitHandler, modalWidth, rowsTextArea, advCheckBox, isAdvCheckBox, addTitleClassName, createPortalObj, telegramClickHandler, blurHandler, block_name, emitCheckBox, emitAdvCheckBox, }: IModalFormProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
50
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { GroupedInputs } from './ui/GroupedInputs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Input } from './ui/Input';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type inputWidth = 'auto' | 'full';
|
|
4
|
-
export declare const INPUT_VARIANTS: {
|
|
5
|
-
light: string;
|
|
6
|
-
dark: string;
|
|
7
|
-
gray: string;
|
|
8
|
-
transparent: string;
|
|
9
|
-
};
|
|
10
|
-
export type inputVariant = keyof typeof INPUT_VARIANTS;
|
|
11
|
-
type inputSizes = 'large' | 'medium' | 'small' | 'tiny';
|
|
12
|
-
interface InputProps {
|
|
13
|
-
size_s?: inputSizes;
|
|
14
|
-
size_m?: inputSizes;
|
|
15
|
-
size_l?: inputSizes;
|
|
16
|
-
pre?: ReactNode;
|
|
17
|
-
error?: boolean;
|
|
18
|
-
post?: ReactNode;
|
|
19
|
-
children?: ReactNode;
|
|
20
|
-
variant?: inputVariant;
|
|
21
|
-
width?: inputWidth;
|
|
22
|
-
additionalClass?: string;
|
|
23
|
-
isPhoneIMask?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export type ComponentProps = InputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
26
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Logo } from './ui/Logo';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface ILogoProps {
|
|
2
|
-
uk?: boolean;
|
|
3
|
-
variant?: 'black' | 'white' | 'value' | 'dom' | 'office' | 'newOffice' | 'newDom' | 'realty';
|
|
4
|
-
between?: boolean;
|
|
5
|
-
addClassName?: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const logoVariant: {
|
|
9
|
-
black: any;
|
|
10
|
-
white: any;
|
|
11
|
-
value: any;
|
|
12
|
-
dom: any;
|
|
13
|
-
office: any;
|
|
14
|
-
newOffice: any;
|
|
15
|
-
newDom: any;
|
|
16
|
-
realty: any;
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ILot } from '../ui/LotCard.types';
|
|
2
|
-
|
|
3
|
-
interface IUseLotCard {
|
|
4
|
-
lot: ILot;
|
|
5
|
-
rowConditions?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const useLotCard: ({ lot, rowConditions }: IUseLotCard) => {
|
|
8
|
-
currentClientWidth: number;
|
|
9
|
-
isBuilding: boolean;
|
|
10
|
-
LotCardInfo: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
tagFeatures: {
|
|
12
|
-
text: string;
|
|
13
|
-
}[];
|
|
14
|
-
FloorByType: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
isTablet: boolean;
|
|
16
|
-
isDesktop: boolean;
|
|
17
|
-
isReserved: boolean;
|
|
18
|
-
areaStr: string;
|
|
19
|
-
floorStr: string;
|
|
20
|
-
isShowSnippet: boolean;
|
|
21
|
-
setIsShowSnippet: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
22
|
-
rowConditionsVar: boolean;
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LotCard } from './ui/LotCard';
|