@yakavkaz/uikit 0.0.2
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/README.md +25 -0
- package/dist/components/banner/Banner.d.ts +12 -0
- package/dist/components/banner/Banner.d.ts.map +1 -0
- package/dist/components/banner/index.d.ts +2 -0
- package/dist/components/banner/index.d.ts.map +1 -0
- package/dist/components/button/Button.d.ts +6 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +19 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/dropDownMenu/DropDownMenu.d.ts +20 -0
- package/dist/components/dropDownMenu/DropDownMenu.d.ts.map +1 -0
- package/dist/components/dropDownMenu/index.d.ts +2 -0
- package/dist/components/dropDownMenu/index.d.ts.map +1 -0
- package/dist/components/formattedDate/FormattedDate.d.ts +7 -0
- package/dist/components/formattedDate/FormattedDate.d.ts.map +1 -0
- package/dist/components/formattedDate/index.d.ts +2 -0
- package/dist/components/formattedDate/index.d.ts.map +1 -0
- package/dist/components/header/Header.d.ts +20 -0
- package/dist/components/header/Header.d.ts.map +1 -0
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/icons/DynamicIcon.d.ts +9 -0
- package/dist/components/icons/DynamicIcon.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Arrow.d.ts +4 -0
- package/dist/components/icons/iconComponents/Arrow.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/BannerBgYak.d.ts +4 -0
- package/dist/components/icons/iconComponents/BannerBgYak.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/CheckmarkOutline.d.ts +4 -0
- package/dist/components/icons/iconComponents/CheckmarkOutline.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Close.d.ts +4 -0
- package/dist/components/icons/iconComponents/Close.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Eye.d.ts +4 -0
- package/dist/components/icons/iconComponents/Eye.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/EyeOff.d.ts +4 -0
- package/dist/components/icons/iconComponents/EyeOff.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/EyeOffOutline.d.ts +4 -0
- package/dist/components/icons/iconComponents/EyeOffOutline.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/EyeOutline.d.ts +4 -0
- package/dist/components/icons/iconComponents/EyeOutline.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Filter.d.ts +4 -0
- package/dist/components/icons/iconComponents/Filter.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Gos.d.ts +4 -0
- package/dist/components/icons/iconComponents/Gos.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Journalist.d.ts +4 -0
- package/dist/components/icons/iconComponents/Journalist.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/KeyboardArrowDown.d.ts +4 -0
- package/dist/components/icons/iconComponents/KeyboardArrowDown.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/LocationOn.d.ts +4 -0
- package/dist/components/icons/iconComponents/LocationOn.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/MailAuth.d.ts +4 -0
- package/dist/components/icons/iconComponents/MailAuth.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Menu.d.ts +4 -0
- package/dist/components/icons/iconComponents/Menu.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Search.d.ts +4 -0
- package/dist/components/icons/iconComponents/Search.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Telegram.d.ts +4 -0
- package/dist/components/icons/iconComponents/Telegram.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Vk.d.ts +4 -0
- package/dist/components/icons/iconComponents/Vk.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/VkAuth.d.ts +4 -0
- package/dist/components/icons/iconComponents/VkAuth.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Whatsaap.d.ts +4 -0
- package/dist/components/icons/iconComponents/Whatsaap.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/X.d.ts +4 -0
- package/dist/components/icons/iconComponents/X.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Yak.d.ts +4 -0
- package/dist/components/icons/iconComponents/Yak.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/Yandex.d.ts +4 -0
- package/dist/components/icons/iconComponents/Yandex.d.ts.map +1 -0
- package/dist/components/icons/iconComponents/index.d.ts +24 -0
- package/dist/components/icons/iconComponents/index.d.ts.map +1 -0
- package/dist/components/icons/iconComponentsWithoutColor/BannerBgYakHalfNews.d.ts +4 -0
- package/dist/components/icons/iconComponentsWithoutColor/BannerBgYakHalfNews.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +4 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +17 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/label/Label.d.ts +8 -0
- package/dist/components/label/Label.d.ts.map +1 -0
- package/dist/components/label/index.d.ts +2 -0
- package/dist/components/label/index.d.ts.map +1 -0
- package/dist/components/logo/Logo.d.ts +12 -0
- package/dist/components/logo/Logo.d.ts.map +1 -0
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/logo/index.d.ts.map +1 -0
- package/dist/components/navigation/Navigation.d.ts +15 -0
- package/dist/components/navigation/Navigation.d.ts.map +1 -0
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.d.ts.map +1 -0
- package/dist/components/previewTitle/PreviewTitle.d.ts +10 -0
- package/dist/components/previewTitle/PreviewTitle.d.ts.map +1 -0
- package/dist/components/previewTitle/index.d.ts +2 -0
- package/dist/components/previewTitle/index.d.ts.map +1 -0
- package/dist/components/select/Select.d.ts +22 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/tag/Tag.d.ts +10 -0
- package/dist/components/tag/Tag.d.ts.map +1 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/textField/TextField.d.ts +18 -0
- package/dist/components/textField/TextField.d.ts.map +1 -0
- package/dist/components/textField/index.d.ts +2 -0
- package/dist/components/textField/index.d.ts.map +1 -0
- package/dist/components/typography/Typography.d.ts +6 -0
- package/dist/components/typography/Typography.d.ts.map +1 -0
- package/dist/components/typography/index.d.ts +3 -0
- package/dist/components/typography/index.d.ts.map +1 -0
- package/dist/components/typography/typography.enum.d.ts +25 -0
- package/dist/components/typography/typography.enum.d.ts.map +1 -0
- package/dist/hook/useFinalId.d.ts +2 -0
- package/dist/hook/useFinalId.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1497 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/constants.d.ts +33 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/dateUtils.d.ts +3 -0
- package/dist/utils/dateUtils.d.ts.map +1 -0
- package/package.json +76 -0
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @yakavkaz/uikit
|
|
2
|
+
|
|
3
|
+
**@yakavkaz/uikit** — это UI-kit, разработанный для проектов экосистемы Yakavkaz.
|
|
4
|
+
Он предоставляет готовый набор компонентов на **React + TypeScript**, стилизованных с помощью **TailwindCSS**, для быстрой и единообразной разработки интерфейсов.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🚀 Возможности
|
|
9
|
+
|
|
10
|
+
- Набор переиспользуемых React-компонентов
|
|
11
|
+
- Поддержка TypeScript с декларациями типов
|
|
12
|
+
- ESM и CJS сборки
|
|
13
|
+
- Легкая интеграция с TailwindCSS
|
|
14
|
+
- Минимальный размер благодаря Vite
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 📦 Установка
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @yakavkaz/uikit
|
|
22
|
+
# или
|
|
23
|
+
yarn add @yakavkaz/uikit
|
|
24
|
+
# или
|
|
25
|
+
pnpm add @yakavkaz/uikit
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type BannerProps = {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
variantColor?: "success" | "purple";
|
|
5
|
+
variantView?: "primary" | "secondary";
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
href?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const Banner: ({ children, onClick, variantColor, variantView, href, className, }: BannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlC,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IACpC,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,oEAOG,WAAW,4CAyDpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/banner/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Button: import('react').ForwardRefExoticComponent<{
|
|
2
|
+
asChild?: boolean;
|
|
3
|
+
variant?: "primary" | "outline" | "outlineBlackText";
|
|
4
|
+
fullWidth?: boolean;
|
|
5
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;cALP,OAAO;cACP,SAAS,GAAG,SAAS,GAAG,kBAAkB;gBACxC,OAAO;kLA8CpB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,IAAI,GAAI,yBAAyB,SAAS,4CAKtD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import * as CheckboxRadix from '@radix-ui/react-checkbox';
|
|
3
|
+
export type CheckboxProps = {
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
id?: string;
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
onValueChange?: (checked: boolean) => void;
|
|
10
|
+
} & ComponentPropsWithoutRef<typeof CheckboxRadix.Root>;
|
|
11
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<{
|
|
12
|
+
checked?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
label?: ReactNode;
|
|
17
|
+
onValueChange?: (checked: boolean) => void;
|
|
18
|
+
} & Omit<CheckboxRadix.CheckboxProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AAIzD,OAAO,EAAC,KAAK,wBAAwB,EAA+B,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAGjG,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC7C,GAAG,wBAAwB,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AAEvD,eAAO,MAAM,QAAQ;cARP,OAAO;gBACL,MAAM;eACP,OAAO;SACb,MAAM;YACH,SAAS;oBACD,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;mJAmD7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TypographyVariant } from '../typography';
|
|
3
|
+
import { IconId } from '../icons';
|
|
4
|
+
type DropdownMenuItem = {
|
|
5
|
+
label: string;
|
|
6
|
+
href: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type Props = {
|
|
10
|
+
items: DropdownMenuItem[];
|
|
11
|
+
triggerLabel?: string;
|
|
12
|
+
labelTypography?: TypographyVariant;
|
|
13
|
+
triggerIcon?: IconId;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export declare const DropdownMenu: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=DropDownMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropDownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/dropDownMenu/DropDownMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAc,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,EAAc,MAAM,EAAC,MAAM,UAAU,CAAC;AAE7C,KAAK,gBAAgB,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,KAAK,KAAK,GAAG;IACT,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,YAAY,kGA0ExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dropDownMenu/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DateFormatVariant } from '../../utils/dateUtils.ts';
|
|
2
|
+
export declare const FormattedDate: import('react').ForwardRefExoticComponent<{
|
|
3
|
+
className?: string;
|
|
4
|
+
date: string | Date;
|
|
5
|
+
variant?: DateFormatVariant;
|
|
6
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
//# sourceMappingURL=FormattedDate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormattedDate.d.ts","sourceRoot":"","sources":["../../../src/components/formattedDate/FormattedDate.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,iBAAiB,EAAa,MAAM,0BAA0B,CAAC;AAQvE,eAAO,MAAM,aAAa;gBALV,MAAM;UACZ,MAAM,GAAG,IAAI;cACT,iBAAiB;sKA0B9B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formattedDate/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type NavigationItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
type Props = {
|
|
7
|
+
navigation?: ReactNode;
|
|
8
|
+
navItems?: NavigationItem[];
|
|
9
|
+
lengthItem?: number;
|
|
10
|
+
locations?: string[];
|
|
11
|
+
defaultLocation?: string;
|
|
12
|
+
onLoginClick?: () => void;
|
|
13
|
+
onMenuClick?: () => void;
|
|
14
|
+
onSearchClick?: () => void;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
export declare const Header: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,KAAK,cAAc,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,KAAK,GAAG;IACT,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,MAAM,kGAqElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.ts"],"names":[],"mappings":"AAAA,cAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
import * as icons from './iconComponents';
|
|
3
|
+
export type IconId = keyof typeof icons;
|
|
4
|
+
interface DynamicIconProps extends SVGProps<SVGSVGElement> {
|
|
5
|
+
iconId: IconId;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('react').NamedExoticComponent<Omit<DynamicIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=DynamicIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/DynamicIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,QAAQ,EAAC,MAAM,OAAO,CAAA;AAC/D,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,KAAK,CAAA;AAEvC,UAAU,gBAAiB,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACxD,MAAM,EAAE,MAAM,CAAA;CACf;;AAWD,wBAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Arrow.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Arrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBtC,QAAA,MAAM,UAAU,gIAAuB,CAAC;AACxC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerBgYak.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/BannerBgYak.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBtC,QAAA,MAAM,UAAU,gIAA6B,CAAC;AAC9C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckmarkOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/CheckmarkOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AA0BtC,QAAA,MAAM,UAAU,gIAAkC,CAAC;AACnD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Close.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Close.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAuBtC,QAAA,MAAM,UAAU,gIAAuB,CAAC;AACxC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Eye.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Eye.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqBtC,QAAA,MAAM,UAAU,gIAAqB,CAAC;AACtC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EyeOff.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/EyeOff.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqBtC,QAAA,MAAM,UAAU,gIAAwB,CAAC;AACzC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EyeOffOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/EyeOffOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAwBtC,QAAA,MAAM,UAAU,gIAA+B,CAAC;AAChD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EyeOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/EyeOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAwBtC,QAAA,MAAM,UAAU,gIAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Filter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBtC,QAAA,MAAM,UAAU,gIAAwB,CAAC;AACzC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gos.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Gos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAyCtC,QAAA,MAAM,UAAU,gIAAqB,CAAC;AACtC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Journalist.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Journalist.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBtC,QAAA,MAAM,UAAU,gIAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardArrowDown.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/KeyboardArrowDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBtC,QAAA,MAAM,UAAU,gIAAmC,CAAC;AACpD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationOn.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/LocationOn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBtC,QAAA,MAAM,UAAU,gIAA4B,CAAC;AAC7C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MailAuth.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/MailAuth.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAoBtC,QAAA,MAAM,UAAU,gIAA0B,CAAC;AAC3C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,QAAA,MAAM,UAAU,gIAAsB,CAAC;AACvC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBtC,QAAA,MAAM,UAAU,gIAAwB,CAAC;AACzC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Telegram.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Telegram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AA0BtC,QAAA,MAAM,UAAU,gIAA0B,CAAC;AAC3C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Vk.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Vk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAuBtC,QAAA,MAAM,UAAU,gIAAoB,CAAC;AACrC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VkAuth.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/VkAuth.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqBtC,QAAA,MAAM,UAAU,gIAAwB,CAAC;AACzC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Whatsaap.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Whatsaap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqBtC,QAAA,MAAM,UAAU,gIAA0B,CAAC;AAC3C,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"X.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/X.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAuBtC,QAAA,MAAM,UAAU,gIAAmB,CAAC;AACpC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Yak.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Yak.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAoBtC,QAAA,MAAM,UAAU,gIAAqB,CAAC;AACtC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Yandex.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/Yandex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAiBtC,QAAA,MAAM,UAAU,gIAAwB,CAAC;AACzC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { default as Arrow } from './Arrow';
|
|
2
|
+
export { default as BannerBgYak } from './BannerBgYak';
|
|
3
|
+
export { default as CheckmarkOutline } from './CheckmarkOutline';
|
|
4
|
+
export { default as Close } from './Close';
|
|
5
|
+
export { default as EyeOffOutline } from './EyeOffOutline';
|
|
6
|
+
export { default as EyeOff } from './EyeOff';
|
|
7
|
+
export { default as EyeOutline } from './EyeOutline';
|
|
8
|
+
export { default as Eye } from './Eye';
|
|
9
|
+
export { default as Filter } from './Filter';
|
|
10
|
+
export { default as Gos } from './Gos';
|
|
11
|
+
export { default as Journalist } from './Journalist';
|
|
12
|
+
export { default as KeyboardArrowDown } from './KeyboardArrowDown';
|
|
13
|
+
export { default as LocationOn } from './LocationOn';
|
|
14
|
+
export { default as MailAuth } from './MailAuth';
|
|
15
|
+
export { default as Menu } from './Menu';
|
|
16
|
+
export { default as Search } from './Search';
|
|
17
|
+
export { default as Telegram } from './Telegram';
|
|
18
|
+
export { default as Vk } from './Vk';
|
|
19
|
+
export { default as VkAuth } from './VkAuth';
|
|
20
|
+
export { default as Whatsaap } from './Whatsaap';
|
|
21
|
+
export { default as X } from './X';
|
|
22
|
+
export { default as Yak } from './Yak';
|
|
23
|
+
export { default as Yandex } from './Yandex';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,CAAC,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerBgYakHalfNews.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/iconComponentsWithoutColor/BannerBgYakHalfNews.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AA2JtC,QAAA,MAAM,UAAU,gIAAqC,CAAC;AACtD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './select/Select';
|
|
2
|
+
export * from './icons';
|
|
3
|
+
export * from './typography';
|
|
4
|
+
export * from './card';
|
|
5
|
+
export * from './checkbox';
|
|
6
|
+
export * from './button';
|
|
7
|
+
export * from './tag';
|
|
8
|
+
export * from './formattedDate';
|
|
9
|
+
export * from './previewTitle';
|
|
10
|
+
export * from './logo';
|
|
11
|
+
export * from './textField';
|
|
12
|
+
export * from './label';
|
|
13
|
+
export * from './header';
|
|
14
|
+
export * from './navigation';
|
|
15
|
+
export * from './dropDownMenu';
|
|
16
|
+
export * from './banner';
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
2
|
+
export type LabelProps = {
|
|
3
|
+
label?: ReactNode;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
labelColor?: 'primary' | 'disabled';
|
|
6
|
+
} & ComponentPropsWithoutRef<'label'>;
|
|
7
|
+
export declare const Label: FC<LabelProps>;
|
|
8
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAIxE,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;CACtC,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAA;AAErC,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAyBhC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IconId } from '../icons';
|
|
2
|
+
export declare const Logo: import('react').ForwardRefExoticComponent<{
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
className?: string;
|
|
5
|
+
iconId?: IconId;
|
|
6
|
+
variant?: "small" | "medium" | "large";
|
|
7
|
+
withTM?: boolean;
|
|
8
|
+
iconColor?: string;
|
|
9
|
+
sectionName?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
//# sourceMappingURL=Logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/Logo.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,MAAM,EAAE,MAAM,UAAU,CAAA;AAanD,eAAO,MAAM,IAAI;cAVH,OAAO;gBACL,MAAM;aACT,MAAM;cACL,OAAO,GAAG,QAAQ,GAAG,OAAO;aAC7B,OAAO;gBACJ,MAAM;kBACJ,MAAM;eACT,KAAK,CAAC,SAAS;mKAmE7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/logo/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|