stone-kit 0.0.873 → 0.0.875
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/App.js +10 -0
- package/dist/ButtonState.module-DtW3aevR.js +8 -0
- package/dist/Menu-CgCfinVZ.js +513 -0
- package/dist/Router.js +103 -0
- package/dist/components/Input/ui/Input.js +45 -36
- package/dist/components/Input/ui/Input.types.js +1 -9
- package/dist/components/TextArea/TextArea.js +0 -1
- package/dist/index-DmANy9jd.js +890 -0
- package/dist/layout/Layout.js +11 -0
- package/dist/layout/components/Header/Header.js +164 -0
- package/dist/layout/components/Menu.js +28 -0
- package/dist/main.d.ts +984 -33
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +121 -0
- package/dist/pages/ButtonsPage/Buttons.js +134 -0
- package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
- package/dist/pages/FormsPage/FormsPage.js +78 -0
- package/dist/pages/HomePage/HomePage.js +7 -0
- package/dist/pages/IconsPage/IconsPage.js +41 -0
- package/dist/pages/InputPage/InputPage.js +35 -0
- package/dist/pages/LogoPage/LogoPage.js +38 -0
- package/dist/pages/LotsPage/LotsPage.js +542 -0
- package/dist/pages/ModalsPage/ModalPage.js +130 -0
- package/dist/pages/SelectPage/SelectPage.js +192 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.js +175 -0
- package/dist/pages/TagsPage/TagsPage.js +75 -0
- package/dist/style.css +1 -1
- package/package.json +2 -5
- 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 -19
- 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 -25
- 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 -256
- 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 -8
- 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/shared/checkLargeOffice.d.ts +0 -3
- package/dist/shared/deepEqual.d.ts +0 -1
- package/dist/shared/useClientWidth.d.ts +0 -8
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const ROUND_BUTTON_VARIANTS: {
|
|
4
|
-
whiteStroke: string;
|
|
5
|
-
blackFill: string;
|
|
6
|
-
fullGray: string;
|
|
7
|
-
blue: string;
|
|
8
|
-
blackStroke: string;
|
|
9
|
-
};
|
|
10
|
-
export type roundBtnVariant = keyof typeof ROUND_BUTTON_VARIANTS;
|
|
11
|
-
export type btnSizes = 'large' | 'medium' | 'small' | 'tiny';
|
|
12
|
-
export declare const sizeMap: {
|
|
13
|
-
large: string;
|
|
14
|
-
medium: string;
|
|
15
|
-
small: string;
|
|
16
|
-
tiny: string;
|
|
17
|
-
};
|
|
18
|
-
interface IRoundButtonProps {
|
|
19
|
-
size?: btnSizes;
|
|
20
|
-
size_m?: btnSizes;
|
|
21
|
-
size_l?: btnSizes;
|
|
22
|
-
children?: string | ReactNode;
|
|
23
|
-
variant?: roundBtnVariant;
|
|
24
|
-
additionalClass?: string;
|
|
25
|
-
additionalClassIcon?: string;
|
|
26
|
-
iconName?: string;
|
|
27
|
-
deg?: string;
|
|
28
|
-
}
|
|
29
|
-
export type ComponentProps = IRoundButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
30
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Select } from './ui/Select';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TCategory, TModeSelect, TOption } from '../ui/Select.types.ts';
|
|
2
|
-
import { SetStateAction } from 'react';
|
|
3
|
-
|
|
4
|
-
export type TClickOptionProps = {
|
|
5
|
-
option: TOption | TOption[];
|
|
6
|
-
disabledOptions: TOption[];
|
|
7
|
-
selectedOptions: TOption[];
|
|
8
|
-
setSelectedOptions: (value: SetStateAction<TOption[]>) => void;
|
|
9
|
-
mode: TModeSelect;
|
|
10
|
-
onChange?: (selectedOptions: TOption[]) => unknown;
|
|
11
|
-
optionsParentArr?: TCategory[] | TOption[];
|
|
12
|
-
};
|
|
13
|
-
declare const handleClickModeOption: ({ option, setSelectedOptions, selectedOptions, disabledOptions, onChange, mode, optionsParentArr, }: TClickOptionProps) => void;
|
|
14
|
-
declare const handleClickModeCategory: ({ option, setSelectedOptions, selectedOptions, disabledOptions, onChange, }: TClickOptionProps) => void;
|
|
15
|
-
export { handleClickModeCategory, handleClickModeOption };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TCategory, TModeSelect, TOption } from './Select.types.ts';
|
|
2
|
-
|
|
3
|
-
export interface IOption {
|
|
4
|
-
category: TCategory;
|
|
5
|
-
selectedValues?: TOption[];
|
|
6
|
-
disabledOptions: TOption[];
|
|
7
|
-
selectedOptions: TOption[];
|
|
8
|
-
clickableOptions?: (string | undefined)[];
|
|
9
|
-
handleOptionClick: (option: TOption | TOption[]) => void;
|
|
10
|
-
sizeIcon?: string;
|
|
11
|
-
mode: TModeSelect;
|
|
12
|
-
isDisabledNotClickable?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Category: ({ category, selectedOptions, disabledOptions, clickableOptions, handleOptionClick, sizeIcon, isDisabledNotClickable, mode }: IOption) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TOption } from './Select.types.ts';
|
|
2
|
-
|
|
3
|
-
export interface IOption {
|
|
4
|
-
option: TOption;
|
|
5
|
-
isOptionCategory?: boolean;
|
|
6
|
-
disabledOptions: TOption[];
|
|
7
|
-
selectedOptions: TOption[];
|
|
8
|
-
clickableOptions?: (string | undefined)[];
|
|
9
|
-
handleOptionClick: (option: TOption) => void;
|
|
10
|
-
sizeIcon?: string;
|
|
11
|
-
addClassName?: string;
|
|
12
|
-
isDisabledNotClickable?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Option: ({ option, selectedOptions, disabledOptions, clickableOptions, handleOptionClick, isOptionCategory, sizeIcon, isDisabledNotClickable, addClassName, }: IOption) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { MultiSelectProps } from './Select.types';
|
|
2
|
-
|
|
3
|
-
export declare const Select: ({ options, customPlaceholder, placeholder, error, disabled, disabledOptions, additionalClass, additionalClassOption, additionalClassBtn, onChange, onBlur, selectedValues, isBtn, btnName, clickableOptions, isListRight, sizeIcon, mode, onClickItem, onCLickSelect, size_s, size_m, size_l, isDisabledNotClickable, isLast, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export type TOption = {
|
|
2
|
-
value: string | number;
|
|
3
|
-
label: string;
|
|
4
|
-
parent?: string;
|
|
5
|
-
id?: number | string;
|
|
6
|
-
};
|
|
7
|
-
export type TCategory = {
|
|
8
|
-
value: string | number;
|
|
9
|
-
label: string;
|
|
10
|
-
options: TOption[];
|
|
11
|
-
};
|
|
12
|
-
export type TModeSelect = 'options' | 'category' | 'double' | 'single';
|
|
13
|
-
type SelectSizes = 'medium' | 'small' | 'large';
|
|
14
|
-
export interface MultiSelectProps {
|
|
15
|
-
options: TOption[] | TCategory[];
|
|
16
|
-
category?: TCategory[];
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
error?: boolean;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
size_s?: SelectSizes;
|
|
21
|
-
size_m?: SelectSizes;
|
|
22
|
-
size_l?: SelectSizes;
|
|
23
|
-
/**
|
|
24
|
-
* Доп стили для родителя-контейнера
|
|
25
|
-
*/
|
|
26
|
-
additionalClass?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Доп стили для каждой опции
|
|
29
|
-
*/
|
|
30
|
-
additionalClassOption?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Доп стили для кнопки-контейнера
|
|
33
|
-
*/
|
|
34
|
-
additionalClassBtn?: string;
|
|
35
|
-
onChange?: (selectedOptions: TOption[]) => unknown;
|
|
36
|
-
onBlur?: (selectedOptions: TOption[]) => unknown;
|
|
37
|
-
selectedValues?: TOption[];
|
|
38
|
-
isBtn?: boolean;
|
|
39
|
-
btnName?: string;
|
|
40
|
-
widthBtn?: string;
|
|
41
|
-
widthOptionList?: string;
|
|
42
|
-
isListRight?: boolean;
|
|
43
|
-
isLast?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Список опций которые будут задизейблены по умолчанию
|
|
46
|
-
*/
|
|
47
|
-
disabledOptions?: TOption[];
|
|
48
|
-
/**
|
|
49
|
-
* Список опций которые доступны для клика
|
|
50
|
-
*/
|
|
51
|
-
clickableOptions?: (string | undefined)[];
|
|
52
|
-
sizeIcon?: string;
|
|
53
|
-
mode?: TModeSelect;
|
|
54
|
-
onClickItem?: (option: TOption | TOption[]) => void;
|
|
55
|
-
onCLickSelect?: () => void;
|
|
56
|
-
isDisabledNotClickable?: boolean;
|
|
57
|
-
customPlaceholder?: string;
|
|
58
|
-
}
|
|
59
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ISliderNavigation } from './SliderNavigation.types.ts';
|
|
2
|
-
|
|
3
|
-
export declare const SliderNavigation: ({ indexSlide, isDisabledOff, goPrev, goNext, arr, isNeedTag, additionalClassTag, navigationClassName, additionalClassNavButton, size, size_m, size_l, }: ISliderNavigation) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type Sizes = 'large' | 'medium' | 'small';
|
|
2
|
-
export interface ISliderNavigation {
|
|
3
|
-
indexSlide: number;
|
|
4
|
-
goPrev: () => void;
|
|
5
|
-
goNext: () => void;
|
|
6
|
-
arr: Array<unknown>;
|
|
7
|
-
additionalClassTag?: string;
|
|
8
|
-
additionalClassNavButton?: string;
|
|
9
|
-
navigationClassName?: string;
|
|
10
|
-
isNeedTag?: boolean;
|
|
11
|
-
isDisabledOff?: boolean;
|
|
12
|
-
size?: Sizes;
|
|
13
|
-
size_m?: Sizes;
|
|
14
|
-
size_l?: Sizes;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { Option } from '../ui/SortSelect.types';
|
|
3
|
-
import { TOption } from '../../Select/ui/Select.types.ts';
|
|
4
|
-
|
|
5
|
-
interface IUseSortSelect {
|
|
6
|
-
selectedOption: Option | null;
|
|
7
|
-
setSelectedOption?: (event: Option | null) => void;
|
|
8
|
-
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
isMobile: boolean;
|
|
12
|
-
placeholder: string;
|
|
13
|
-
onChange?: (event: {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
}) => void;
|
|
17
|
-
onClickOption?: (option: TOption | TOption[]) => void;
|
|
18
|
-
onBlur?: (event: {
|
|
19
|
-
label: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}) => void;
|
|
22
|
-
}
|
|
23
|
-
export declare const useSortSelect: ({ selectedOption, setSelectedOption, setIsOpen, containerRef, onBlur, onChange, onClickOption, isMobile, placeholder, }: IUseSortSelect) => {
|
|
24
|
-
handleDocumentClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
25
|
-
handleBlur: (event: React.FocusEvent<HTMLDivElement>) => void;
|
|
26
|
-
getInputValue: () => string;
|
|
27
|
-
getOption: (option: Option) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SortSelect } from './ui/SortSelect';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TOption } from '../../Select/ui/Select.types.ts';
|
|
2
|
-
|
|
3
|
-
export interface Option {
|
|
4
|
-
value: string | number;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
export interface SortSelectProps {
|
|
8
|
-
options?: Option[];
|
|
9
|
-
selectedOption: Option | null;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
error?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
onChange?: (event: Option | null) => void;
|
|
14
|
-
onBlur?: (event: Option) => void;
|
|
15
|
-
additionalClass?: string;
|
|
16
|
-
mini?: boolean;
|
|
17
|
-
openOnTop?: boolean;
|
|
18
|
-
onOpenClick?: () => void;
|
|
19
|
-
onClickItem?: (option: TOption | TOption[]) => void;
|
|
20
|
-
onCLickSelect?: () => void;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SummarySelect } from './ui/SummarySelect.tsx';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MultiSelectProps } from '../../Select/ui/Select.types';
|
|
2
|
-
|
|
3
|
-
interface ISummarySelectProps extends MultiSelectProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
isShowReset?: boolean;
|
|
6
|
-
isLast?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const SummarySelect: React.FC<ISummarySelectProps>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Switcher } from './ui/Switcher';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TabSelect } from './ui/TabSelect';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type TBtn = {
|
|
3
|
-
isLong?: boolean;
|
|
4
|
-
additionalClassName?: string;
|
|
5
|
-
additionalLabelClass?: string;
|
|
6
|
-
withPadding?: boolean;
|
|
7
|
-
width?: string;
|
|
8
|
-
width_m?: string;
|
|
9
|
-
width_l?: string;
|
|
10
|
-
};
|
|
11
|
-
type BaseInputProps = JSX.IntrinsicElements['input'] & TBtn;
|
|
12
|
-
interface ITabSelect {
|
|
13
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
14
|
-
variant?: SwitcherVariant;
|
|
15
|
-
classname?: string;
|
|
16
|
-
isRound?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const TAB_SELECT_VARIANTS: {
|
|
19
|
-
whiteFill: string;
|
|
20
|
-
whiteStroke: string;
|
|
21
|
-
grayDesign: string;
|
|
22
|
-
};
|
|
23
|
-
export type SwitcherVariant = keyof typeof TAB_SELECT_VARIANTS;
|
|
24
|
-
declare const TabSelectNamespace: (({ variant, classname, children }: ITabSelect) => import("react/jsx-runtime").JSX.Element) & {
|
|
25
|
-
Item: import('react').ForwardRefExoticComponent<Omit<BaseInputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
26
|
-
};
|
|
27
|
-
export { TabSelectNamespace as TabSelect };
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TabSwitcher } from './ui/TabSwitcher';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ITabSwitcherItem, TabSwitcherProps } from './TabSwitcher.types';
|
|
2
|
-
|
|
3
|
-
declare const SwitcherNamespace: (({ children, variant, isApart, addClassName, col, }: TabSwitcherProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
Item: import('react').ForwardRefExoticComponent<ITabSwitcherItem & import('react').RefAttributes<HTMLInputElement>>;
|
|
5
|
-
};
|
|
6
|
-
export { SwitcherNamespace as TabSwitcher };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
declare const TAB_SWITCHER_VARIANTS: {
|
|
4
|
-
whiteRow: string;
|
|
5
|
-
grayRow: string;
|
|
6
|
-
whiteRowGrayLabel: string;
|
|
7
|
-
};
|
|
8
|
-
type TabSizes = 'medium' | 'small' | 'large' | 'tiny';
|
|
9
|
-
export interface ITabSwitcherItem extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
10
|
-
addItemClassName?: string;
|
|
11
|
-
addTextClass?: string;
|
|
12
|
-
addLabelClassname?: string;
|
|
13
|
-
index: number;
|
|
14
|
-
isDisabled?: boolean;
|
|
15
|
-
itemsLength: number;
|
|
16
|
-
width?: string;
|
|
17
|
-
width_m?: string;
|
|
18
|
-
mini?: boolean;
|
|
19
|
-
width_l?: string;
|
|
20
|
-
children?: ReactNode;
|
|
21
|
-
isLongOn?: boolean;
|
|
22
|
-
size_s?: TabSizes;
|
|
23
|
-
size_m?: TabSizes;
|
|
24
|
-
size_l?: TabSizes;
|
|
25
|
-
}
|
|
26
|
-
export interface TabSwitcherProps {
|
|
27
|
-
variant?: TABS_VARIANTS;
|
|
28
|
-
addClassName?: string;
|
|
29
|
-
isApart?: boolean;
|
|
30
|
-
col?: boolean;
|
|
31
|
-
children: React.ReactElement[];
|
|
32
|
-
}
|
|
33
|
-
export type TABS_VARIANTS = keyof typeof TAB_SWITCHER_VARIANTS;
|
|
34
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tag } from './ui/Tag';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentProps } from './Tag.types';
|
|
3
|
-
|
|
4
|
-
export declare const Tag: ({ size, size_m, size_l, children, variant, width, additionalClass, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type tagWidth = 'auto' | 'full';
|
|
4
|
-
export declare const TAG_VARIANTS: {
|
|
5
|
-
red: string;
|
|
6
|
-
gray: string;
|
|
7
|
-
white: string;
|
|
8
|
-
shade: string;
|
|
9
|
-
blackGrey: string;
|
|
10
|
-
chineseBlack: string;
|
|
11
|
-
fullWhite: string;
|
|
12
|
-
transparent: string;
|
|
13
|
-
shadeWhite: string;
|
|
14
|
-
transWhite: string;
|
|
15
|
-
whiteGrayStroke: string;
|
|
16
|
-
blackStroke: string;
|
|
17
|
-
lightBlue: string;
|
|
18
|
-
lightGray: string;
|
|
19
|
-
whiteGray: string;
|
|
20
|
-
};
|
|
21
|
-
export type tagVariant = keyof typeof TAG_VARIANTS;
|
|
22
|
-
type tagSizes = 'medium' | 'tiny' | 'large' | 'small' | 'preLarge' | 'mini' | 'tiny-7px' | 'tiny-10px' | 'small-10px' | 'small-13px';
|
|
23
|
-
interface TagProps {
|
|
24
|
-
size?: tagSizes;
|
|
25
|
-
size_m?: tagSizes;
|
|
26
|
-
size_l?: tagSizes;
|
|
27
|
-
children?: string | ReactNode;
|
|
28
|
-
variant?: tagVariant;
|
|
29
|
-
width?: tagWidth;
|
|
30
|
-
additionalClass?: string;
|
|
31
|
-
}
|
|
32
|
-
export type ComponentProps = TagProps & React.HTMLAttributes<HTMLDivElement>;
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Text } from './ui/Text';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ITextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
|
-
children?: React.ReactNode | 'string';
|
|
4
|
-
className?: string;
|
|
5
|
-
additionalClass?: string;
|
|
6
|
-
html?: string;
|
|
7
|
-
html_l?: string;
|
|
8
|
-
html_m?: string;
|
|
9
|
-
html_s?: string;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type textAreaWidth = 'auto' | 'full';
|
|
4
|
-
interface TextAreaProps {
|
|
5
|
-
error?: boolean;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
width?: textAreaWidth;
|
|
8
|
-
additionalClass?: string;
|
|
9
|
-
}
|
|
10
|
-
export type ComponentProps = TextAreaProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ZoomControls } from './ui/ZoomControls';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MobileButton } from './ui/MobileButton';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ComponentProps } from './MobileButton.types';
|
|
3
|
-
|
|
4
|
-
export declare const MobileButton: ({ size, pre, children, post, variant, width, additionalClass, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type btnWidth = 'auto' | 'full';
|
|
4
|
-
export declare const MOBILE_BUTTON_VARIANTS: {
|
|
5
|
-
whiteFilled: string;
|
|
6
|
-
};
|
|
7
|
-
export type mobileBtnVariant = keyof typeof MOBILE_BUTTON_VARIANTS;
|
|
8
|
-
type btnSizes = 'small';
|
|
9
|
-
interface MobileButtonProps {
|
|
10
|
-
size?: btnSizes;
|
|
11
|
-
pre?: ReactNode;
|
|
12
|
-
post?: ReactNode;
|
|
13
|
-
children?: string;
|
|
14
|
-
variant?: mobileBtnVariant;
|
|
15
|
-
width?: btnWidth;
|
|
16
|
-
additionalClass?: string;
|
|
17
|
-
as?: 'button' | 'link';
|
|
18
|
-
}
|
|
19
|
-
export type ComponentProps = MobileButtonProps & ((React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
20
|
-
as?: 'button';
|
|
21
|
-
}) | (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
22
|
-
as: 'link';
|
|
23
|
-
} & Required<Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>>));
|
|
24
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const deepEqual: (obj1: any, obj2: any) => boolean;
|