fsk-design-system 1.0.3 → 1.0.4

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.
Files changed (177) hide show
  1. package/README.md +0 -4
  2. package/dist/components/Alert/Alert.d.ts +2 -0
  3. package/dist/components/Alert/Alert.types.d.ts +1 -0
  4. package/dist/components/Alert/index.d.ts +2 -0
  5. package/dist/components/Avatar/Avatar.d.ts +2 -0
  6. package/dist/components/Avatar/Avatar.types.d.ts +1 -0
  7. package/dist/components/Avatar/index.d.ts +2 -0
  8. package/dist/components/Badge/Badge.d.ts +2 -0
  9. package/dist/components/Badge/Badge.types.d.ts +5 -0
  10. package/dist/components/Badge/index.d.ts +2 -0
  11. package/dist/components/Breadcrumb/Breadcrumb.d.ts +2 -0
  12. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +1 -0
  13. package/dist/components/Breadcrumb/index.d.ts +2 -0
  14. package/dist/components/Button/Button.d.ts +5 -0
  15. package/dist/components/Button/Button.types.d.ts +6 -0
  16. package/dist/components/Button/index.d.ts +2 -0
  17. package/dist/components/Card/Card.d.ts +5 -0
  18. package/dist/components/Card/Card.types.d.ts +11 -0
  19. package/dist/components/Card/LinkCard/LinkCard.d.ts +2 -0
  20. package/dist/components/Card/LinkCard/LinkCard.types.d.ts +11 -0
  21. package/dist/components/Card/LinkCard/index.d.ts +2 -0
  22. package/dist/components/Card/index.d.ts +3 -0
  23. package/dist/components/Carousel/Carousel.d.ts +2 -0
  24. package/dist/components/Carousel/Carousel.types.d.ts +1 -0
  25. package/dist/components/Carousel/index.d.ts +2 -0
  26. package/dist/components/Cascader/Cascader.d.ts +16 -0
  27. package/dist/components/Cascader/Cascader.form.d.ts +8 -0
  28. package/dist/components/Cascader/Cascader.types.d.ts +6 -0
  29. package/dist/components/Cascader/Dropdown/Dropdown.d.ts +2 -0
  30. package/dist/components/Cascader/Dropdown/Dropdown.types.d.ts +5 -0
  31. package/dist/components/Cascader/Dropdown/index.d.ts +1 -0
  32. package/dist/components/Cascader/index.d.ts +3 -0
  33. package/dist/components/Checkbox/Checkbox.d.ts +12 -0
  34. package/dist/components/Checkbox/Checkbox.form.d.ts +8 -0
  35. package/dist/components/Checkbox/Checkbox.types.d.ts +9 -0
  36. package/dist/components/Checkbox/index.d.ts +3 -0
  37. package/dist/components/Collapse/Collapse.d.ts +2 -0
  38. package/dist/components/Collapse/Collapse.types.d.ts +1 -0
  39. package/dist/components/Collapse/index.d.ts +2 -0
  40. package/dist/components/Comment/Comment.d.ts +5 -0
  41. package/dist/components/Comment/Comment.types.d.ts +15 -0
  42. package/dist/components/Comment/Form/Form.d.ts +2 -0
  43. package/dist/components/Comment/Form/Form.types.d.ts +8 -0
  44. package/dist/components/Comment/Form/index.d.ts +2 -0
  45. package/dist/components/Comment/index.d.ts +3 -0
  46. package/dist/components/ControlWrapper/ControlWrapper.d.ts +2 -0
  47. package/dist/components/ControlWrapper/ControlWrapper.types.d.ts +11 -0
  48. package/dist/components/ControlWrapper/index.d.ts +2 -0
  49. package/dist/components/DatePicker/DatePicker.d.ts +18 -0
  50. package/dist/components/DatePicker/DatePicker.form.d.ts +14 -0
  51. package/dist/components/DatePicker/DatePicker.types.d.ts +13 -0
  52. package/dist/components/DatePicker/RangePicker.form.d.ts +8 -0
  53. package/dist/components/DatePicker/buddhistLocale.d.ts +2 -0
  54. package/dist/components/DatePicker/index.d.ts +4 -0
  55. package/dist/components/Divider/Divider.d.ts +2 -0
  56. package/dist/components/Divider/Divider.types.d.ts +1 -0
  57. package/dist/components/Divider/index.d.ts +2 -0
  58. package/dist/components/Drawer/Drawer.d.ts +2 -0
  59. package/dist/components/Drawer/Drawer.types.d.ts +1 -0
  60. package/dist/components/Drawer/index.d.ts +2 -0
  61. package/dist/components/Dropdown/Dropdown.d.ts +2 -0
  62. package/dist/components/Dropdown/Dropdown.types.d.ts +1 -0
  63. package/dist/components/Dropdown/index.d.ts +2 -0
  64. package/dist/components/Empty/Empty.d.ts +2 -0
  65. package/dist/components/Empty/Empty.types.d.ts +1 -0
  66. package/dist/components/Empty/index.d.ts +2 -0
  67. package/dist/components/Form/Form.d.ts +16 -0
  68. package/dist/components/Form/Form.types.d.ts +1 -0
  69. package/dist/components/Form/index.d.ts +2 -0
  70. package/dist/components/Grid/Grid.d.ts +6 -0
  71. package/dist/components/Grid/Grid.types.d.ts +1 -0
  72. package/dist/components/Grid/index.d.ts +2 -0
  73. package/dist/components/Hint/Hint.d.ts +2 -0
  74. package/dist/components/Hint/Hint.types.d.ts +1 -0
  75. package/dist/components/Hint/index.d.ts +2 -0
  76. package/dist/components/Input/Input.d.ts +16 -0
  77. package/dist/components/Input/Input.form.d.ts +8 -0
  78. package/dist/components/Input/Input.types.d.ts +6 -0
  79. package/dist/components/Input/index.d.ts +3 -0
  80. package/dist/components/InputNumber/InputNumber.d.ts +15 -0
  81. package/dist/components/InputNumber/InputNumber.form.d.ts +8 -0
  82. package/dist/components/InputNumber/InputNumber.types.d.ts +6 -0
  83. package/dist/components/InputNumber/index.d.ts +3 -0
  84. package/dist/components/Layout/Header/Header.d.ts +2 -0
  85. package/dist/components/Layout/Header/Header.types.d.ts +11 -0
  86. package/dist/components/Layout/Header/Notifications/Notifications.d.ts +2 -0
  87. package/dist/components/Layout/Header/Notifications/Notifications.types.d.ts +4 -0
  88. package/dist/components/Layout/Header/Notifications/index.d.ts +2 -0
  89. package/dist/components/Layout/Header/Support/Support.d.ts +2 -0
  90. package/dist/components/Layout/Header/Support/Support.types.d.ts +4 -0
  91. package/dist/components/Layout/Header/Support/index.d.ts +2 -0
  92. package/dist/components/Layout/Header/index.d.ts +2 -0
  93. package/dist/components/Layout/Layout.d.ts +2 -0
  94. package/dist/components/Layout/Layout.types.d.ts +12 -0
  95. package/dist/components/Layout/index.d.ts +2 -0
  96. package/dist/components/Modal/Modal.d.ts +2 -0
  97. package/dist/components/Modal/Modal.types.d.ts +1 -0
  98. package/dist/components/Modal/index.d.ts +2 -0
  99. package/dist/components/Notification/Notification.d.ts +3 -0
  100. package/dist/components/Notification/Notification.types.d.ts +7 -0
  101. package/dist/components/Notification/index.d.ts +3 -0
  102. package/dist/components/Notification/useNotification.d.ts +5 -0
  103. package/dist/components/Pagination/Pagination.d.ts +2 -0
  104. package/dist/components/Pagination/Pagination.types.d.ts +1 -0
  105. package/dist/components/Pagination/index.d.ts +2 -0
  106. package/dist/components/Plug/Plug.d.ts +2 -0
  107. package/dist/components/Plug/Plug.types.d.ts +4 -0
  108. package/dist/components/Plug/index.d.ts +2 -0
  109. package/dist/components/Popover/Popover.d.ts +2 -0
  110. package/dist/components/Popover/Popover.types.d.ts +1 -0
  111. package/dist/components/Popover/index.d.ts +2 -0
  112. package/dist/components/Progress/Progress.d.ts +2 -0
  113. package/dist/components/Progress/Progress.types.d.ts +4 -0
  114. package/dist/components/Progress/index.d.ts +2 -0
  115. package/dist/components/Radio/Radio.d.ts +10 -0
  116. package/dist/components/Radio/Radio.form.d.ts +16 -0
  117. package/dist/components/Radio/Radio.types.d.ts +9 -0
  118. package/dist/components/Radio/index.d.ts +3 -0
  119. package/dist/components/Search/Search.d.ts +15 -0
  120. package/dist/components/Search/Search.form.d.ts +8 -0
  121. package/dist/components/Search/Search.types.d.ts +3 -0
  122. package/dist/components/Search/index.d.ts +3 -0
  123. package/dist/components/Select/Select.d.ts +15 -0
  124. package/dist/components/Select/Select.form.d.ts +8 -0
  125. package/dist/components/Select/Select.types.d.ts +6 -0
  126. package/dist/components/Select/index.d.ts +3 -0
  127. package/dist/components/Skeleton/Skeleton.d.ts +19 -0
  128. package/dist/components/Skeleton/Skeleton.types.d.ts +1 -0
  129. package/dist/components/Skeleton/index.d.ts +2 -0
  130. package/dist/components/Switch/Switch.d.ts +8 -0
  131. package/dist/components/Switch/Switch.form.d.ts +8 -0
  132. package/dist/components/Switch/Switch.types.d.ts +8 -0
  133. package/dist/components/Switch/index.d.ts +3 -0
  134. package/dist/components/Table/Table.d.ts +2 -0
  135. package/dist/components/Table/Table.types.d.ts +1 -0
  136. package/dist/components/Table/index.d.ts +2 -0
  137. package/dist/components/Tabs/Tabs.d.ts +2 -0
  138. package/dist/components/Tabs/Tabs.types.d.ts +5 -0
  139. package/dist/components/Tabs/index.d.ts +2 -0
  140. package/dist/components/Tag/Tag.d.ts +2 -0
  141. package/dist/components/Tag/Tag.types.d.ts +4 -0
  142. package/dist/components/Tag/index.d.ts +2 -0
  143. package/dist/components/TextArea/TextArea.d.ts +16 -0
  144. package/dist/components/TextArea/TextArea.form.d.ts +8 -0
  145. package/dist/components/TextArea/TextArea.types.d.ts +6 -0
  146. package/dist/components/TextArea/index.d.ts +3 -0
  147. package/dist/components/Tooltip/Tooltip.d.ts +2 -0
  148. package/dist/components/Tooltip/Tooltip.types.d.ts +1 -0
  149. package/dist/components/Tooltip/index.d.ts +2 -0
  150. package/dist/components/Upload/Dragger/Dragger.d.ts +5 -0
  151. package/dist/components/Upload/Dragger/Dragger.form.d.ts +9 -0
  152. package/dist/components/Upload/Dragger/Dragger.types.d.ts +1 -0
  153. package/dist/components/Upload/Dragger/index.d.ts +3 -0
  154. package/dist/components/Upload/FileButton/FileButton.d.ts +2 -0
  155. package/dist/components/Upload/FileButton/FileButton.types.d.ts +10 -0
  156. package/dist/components/Upload/FileButton/index.d.ts +2 -0
  157. package/dist/components/Upload/Upload.d.ts +8 -0
  158. package/dist/components/Upload/Upload.form.d.ts +16 -0
  159. package/dist/components/Upload/Upload.types.d.ts +5 -0
  160. package/dist/components/Upload/index.d.ts +5 -0
  161. package/dist/components/UserMenu/UserMenu.d.ts +2 -0
  162. package/dist/components/UserMenu/UserMenu.types.d.ts +8 -0
  163. package/dist/components/UserMenu/index.d.ts +2 -0
  164. package/dist/components/index.d.ts +40 -0
  165. package/dist/{fsk-design-system.js → fsk-design-system.es.ts} +23195 -23347
  166. package/dist/fsk-design-system.umd.ts +472 -0
  167. package/dist/index.d.ts +2 -0
  168. package/dist/theme/index.d.ts +4 -0
  169. package/dist/theme/theme.provider.d.ts +2 -0
  170. package/dist/theme/theme.tokens.d.ts +4 -0
  171. package/dist/theme/theme.types.d.ts +2 -0
  172. package/dist/theme/useTheme.d.ts +5 -0
  173. package/package.json +16 -15
  174. package/dist/design-tokens.source.json +0 -1
  175. package/dist/fsk-design-system.css +0 -1
  176. package/dist/fsk-design-system.d.ts +0 -714
  177. package/dist/fsk-design-system.umd.cjs +0 -472
package/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # Дизайн система
2
2
 
3
- npm i fsk-design-system
4
-
5
3
  В корне надо добавить обертку ThemeProvider
6
4
 
7
5
  Для смены темы использовать changeTheme из хука useTheme
8
-
9
- В корне импортировать стили fsk-design-system/styles.css
@@ -0,0 +1,2 @@
1
+ import { AlertProps } from './Alert.types';
2
+ export declare const Alert: (props: AlertProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { AlertProps } from 'antd/es/alert';
@@ -0,0 +1,2 @@
1
+ export { Alert } from './Alert';
2
+ export type { AlertProps } from './Alert.types';
@@ -0,0 +1,2 @@
1
+ import { AvatarProps } from './Avatar.types';
2
+ export declare const Avatar: (props: AvatarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { AvatarProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Avatar } from './Avatar';
2
+ export type { AvatarProps } from './Avatar.types';
@@ -0,0 +1,2 @@
1
+ import { BadgeProps } from './Badge.types';
2
+ export declare const Badge: (props: BadgeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { BadgeProps as AntBadgeProps } from 'antd';
2
+ export type BadgeProps = Omit<AntBadgeProps, "size"> & {
3
+ size?: "s" | "m" | "l";
4
+ bright?: boolean;
5
+ };
@@ -0,0 +1,2 @@
1
+ export { Badge } from './Badge';
2
+ export type { BadgeProps } from './Badge.types';
@@ -0,0 +1,2 @@
1
+ import { BreadcrumbProps } from './Breadcrumb.types';
2
+ export declare const Breadcrumb: (props: BreadcrumbProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { BreadcrumbProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Breadcrumb } from './Breadcrumb';
2
+ export type { BreadcrumbProps } from './Breadcrumb.types';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export declare const Button: React.ForwardRefExoticComponent<Omit<import('antd').ButtonProps, "size" | "type"> & {
3
+ size?: "xs" | "s" | "m" | "l" | "xl";
4
+ type?: "main-primary" | "main-secondary" | "main-outline" | "link" | "extra-primary" | "extra-secondary" | "extra-outline";
5
+ } & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
@@ -0,0 +1,6 @@
1
+ import { ButtonProps as AntButtonProps, default as Button } from 'antd/es/button';
2
+ export type ButtonProps = Omit<AntButtonProps, "size" | "type"> & {
3
+ size?: "xs" | "s" | "m" | "l" | "xl";
4
+ type?: "main-primary" | "main-secondary" | "main-outline" | "link" | "extra-primary" | "extra-secondary" | "extra-outline";
5
+ };
6
+ export type ButtonRef = React.ComponentRef<typeof Button>;
@@ -0,0 +1,2 @@
1
+ export { Button } from './Button';
2
+ export type { ButtonProps } from './Button.types';
@@ -0,0 +1,5 @@
1
+ import { CardProps } from './Card.types';
2
+ export declare const Card: {
3
+ (props: CardProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ Link: (props: import('./LinkCard').LinkCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
5
+ };
@@ -0,0 +1,11 @@
1
+ import { TagProps } from '../Tag';
2
+ export type CardProps = {
3
+ cover?: React.ReactNode;
4
+ tags?: TagProps[];
5
+ date?: string;
6
+ title?: React.ReactNode;
7
+ text?: React.ReactNode;
8
+ footer?: React.ReactNode;
9
+ size?: "m" | "l";
10
+ className?: string;
11
+ };
@@ -0,0 +1,2 @@
1
+ import { LinkCardProps } from './LinkCard.types';
2
+ export declare const LinkCard: (props: LinkCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { TagProps } from '../../Tag';
2
+ export type LinkCardProps = {
3
+ title?: React.ReactNode;
4
+ count?: string | number;
5
+ tags?: TagProps[];
6
+ text?: React.ReactNode;
7
+ extraContent?: React.ReactNode;
8
+ link?: React.ReactNode;
9
+ className?: string;
10
+ onClick?: React.MouseEventHandler<HTMLDivElement>;
11
+ };
@@ -0,0 +1,2 @@
1
+ export { LinkCard } from './LinkCard';
2
+ export type { LinkCardProps } from './LinkCard.types';
@@ -0,0 +1,3 @@
1
+ export { Card } from './Card';
2
+ export type { CardProps } from './Card.types';
3
+ export type { LinkCardProps } from './LinkCard';
@@ -0,0 +1,2 @@
1
+ import { CarouselProps } from './Carousel.types';
2
+ export declare const Carousel: (props: CarouselProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { CarouselProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Carousel } from './Carousel';
2
+ export type { CarouselProps } from './Carousel.types';
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { CascaderRef } from './Cascader.types';
3
+ export declare const Cascader: React.ForwardRefExoticComponent<Omit<import('antd').CascaderProps<import('rc-cascader').DefaultOptionType, string, boolean>, "size" | "status" | "children"> & {
4
+ isFormItem?: boolean;
5
+ isRequired?: boolean;
6
+ error?: string;
7
+ label?: React.ReactNode;
8
+ caption?: React.ReactNode;
9
+ size?: "s" | "m" | "l";
10
+ formControlStatus?: import('antd').FormItemProps["status"];
11
+ className?: string;
12
+ } & {
13
+ children?: React.ReactNode | undefined;
14
+ } & {
15
+ status?: "success" | "error";
16
+ } & React.RefAttributes<CascaderRef>>;
@@ -0,0 +1,8 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { CascaderProps } from './Cascader.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ cascader?: CascaderProps;
6
+ };
7
+ export declare const FormCascader: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { CascaderProps as AntCascaderProps, DefaultOptionType } from 'antd/es/cascader';
2
+ import { ControlWrapperProps } from '../ControlWrapper';
3
+ export type { CascaderRef } from 'antd/es/cascader';
4
+ export type CascaderProps<OptionType extends DefaultOptionType = DefaultOptionType, ValueField extends keyof OptionType = keyof OptionType, Multiple extends boolean = boolean> = React.PropsWithChildren<Omit<AntCascaderProps<OptionType, ValueField, Multiple>, "status" | "children" | "size"> & ControlWrapperProps & {
5
+ status?: "success" | "error";
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import { DropdownProps } from './Dropdown.types';
2
+ export declare const Dropdown: (props: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { CascaderProps } from '../Cascader.types';
2
+ export type DropdownProps = {
3
+ menus: React.ReactNode;
4
+ onClear: CascaderProps["onClear"];
5
+ };
@@ -0,0 +1 @@
1
+ export { Dropdown } from './Dropdown';
@@ -0,0 +1,3 @@
1
+ export { Cascader } from './Cascader';
2
+ export { FormCascader } from './Cascader.form';
3
+ export type { CascaderProps } from './Cascader.types';
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { CheckboxRef } from './Checkbox.types';
3
+ export declare const Checkbox: React.ForwardRefExoticComponent<import('antd').CheckboxProps & {
4
+ children?: React.ReactNode | undefined;
5
+ } & {
6
+ extraContent?: React.ReactNode;
7
+ caption?: React.ReactNode;
8
+ status?: "success" | "error";
9
+ error?: string;
10
+ } & React.RefAttributes<CheckboxRef>> & {
11
+ Group: <T = any>(props: import('antd/es/checkbox').CheckboxGroupProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement;
12
+ };
@@ -0,0 +1,8 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { CheckboxProps } from './Checkbox.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ checkbox?: CheckboxProps;
6
+ };
7
+ export declare const FormCheckbox: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { CheckboxProps as AntCheckboxProps } from 'antd/es/checkbox';
2
+ import { default as React } from 'react';
3
+ export type { CheckboxRef } from 'antd/es/checkbox';
4
+ export type CheckboxProps = React.PropsWithChildren<AntCheckboxProps> & {
5
+ extraContent?: React.ReactNode;
6
+ caption?: React.ReactNode;
7
+ status?: "success" | "error";
8
+ error?: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ export { Checkbox } from './Checkbox';
2
+ export { FormCheckbox } from './Checkbox.form';
3
+ export type { CheckboxProps } from './Checkbox.types';
@@ -0,0 +1,2 @@
1
+ import { CollapseProps } from './Collapse.types';
2
+ export declare const Collapse: (props: CollapseProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { CollapseProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Collapse } from './Collapse';
2
+ export type { CollapseProps } from './Collapse.types';
@@ -0,0 +1,5 @@
1
+ import { CommentProps } from './Comment.types';
2
+ export declare const Comment: {
3
+ (props: CommentProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ Form: (props: import('./Form').CommentFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
5
+ };
@@ -0,0 +1,15 @@
1
+ import { AvatarProps } from '../Avatar';
2
+ type Comment = {
3
+ avatar?: AvatarProps;
4
+ name?: React.ReactNode;
5
+ date?: string;
6
+ text?: string;
7
+ depthLevel?: number;
8
+ canBeReplied?: boolean;
9
+ onReply?: () => void;
10
+ extraContent?: React.ReactNode;
11
+ };
12
+ export type CommentProps = Comment & {
13
+ replys?: Comment[];
14
+ };
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import { CommentFormProps } from './Form.types';
2
+ export declare const Form: (props: CommentFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { AvatarProps } from '../../Avatar';
2
+ import { FormProps } from '../../Form';
3
+ export type CommentFormProps = {
4
+ avatar?: AvatarProps;
5
+ form?: FormProps;
6
+ buttonText?: string;
7
+ className?: string;
8
+ };
@@ -0,0 +1,2 @@
1
+ export { Form } from './Form';
2
+ export type { CommentFormProps } from './Form.types';
@@ -0,0 +1,3 @@
1
+ export { Comment } from './Comment';
2
+ export type { CommentProps } from './Comment.types';
3
+ export type { CommentFormProps } from './Form';
@@ -0,0 +1,2 @@
1
+ import { ControlWrapperProps } from './ControlWrapper.types';
2
+ export declare const ControlWrapper: (props: ControlWrapperProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { FormItemProps } from '../Form';
2
+ export type ControlWrapperProps = React.PropsWithChildren<{
3
+ isFormItem?: boolean;
4
+ isRequired?: boolean;
5
+ error?: string;
6
+ label?: React.ReactNode;
7
+ caption?: React.ReactNode;
8
+ size?: "s" | "m" | "l";
9
+ formControlStatus?: FormItemProps["status"];
10
+ className?: string;
11
+ }>;
@@ -0,0 +1,2 @@
1
+ export { ControlWrapper } from './ControlWrapper';
2
+ export type { ControlWrapperProps } from './ControlWrapper.types';
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { DatePickerProps } from './DatePicker.types';
3
+ export declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<import('rc-picker').PickerRef>> & {
4
+ RangePicker: React.ForwardRefExoticComponent<Omit<import('antd/es/date-picker').RangePickerProps, "size" | "status"> & {
5
+ isFormItem?: boolean;
6
+ isRequired?: boolean;
7
+ error?: string;
8
+ label?: React.ReactNode;
9
+ caption?: React.ReactNode;
10
+ size?: "s" | "m" | "l";
11
+ formControlStatus?: import('antd').FormItemProps["status"];
12
+ className?: string;
13
+ } & {
14
+ children?: React.ReactNode | undefined;
15
+ } & {
16
+ status?: "success" | "error";
17
+ } & React.RefAttributes<import('rc-picker').PickerRef>>;
18
+ };
@@ -0,0 +1,14 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { DatePickerProps } from './DatePicker.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ datePicker?: DatePickerProps;
6
+ };
7
+ export declare const FormDatePickerMain: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const FormDatePicker: (<T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element) & {
9
+ RangePicker: <T>(props: {
10
+ formItem?: FormItemProps<T> | undefined;
11
+ rangePicker?: import('./DatePicker.types').RangePickerProps;
12
+ }) => import("@emotion/react/jsx-runtime").JSX.Element;
13
+ };
14
+ export {};
@@ -0,0 +1,13 @@
1
+ import { DatePickerProps as AntDatePickerProps, RangePickerProps as AntRangePickerProps, default as AntDatePicker } from 'antd/es/date-picker';
2
+ import { ControlWrapperProps } from '../ControlWrapper';
3
+ export type DatePickerProps = Omit<AntDatePickerProps, "status" | "size"> & ControlWrapperProps & {
4
+ status?: "success" | "error";
5
+ };
6
+ export type RangePickerProps = Omit<AntRangePickerProps, "status" | "size"> & ControlWrapperProps & {
7
+ status?: "success" | "error";
8
+ };
9
+ export type DatePickerRef = React.ComponentRef<typeof AntDatePicker>;
10
+ export type RangePickerRef = React.ComponentRef<typeof AntDatePicker.RangePicker>;
11
+ export type DatePickerBaseProps = {
12
+ component: typeof AntDatePicker | typeof AntDatePicker.RangePicker;
13
+ } & (DatePickerProps | RangePickerProps);
@@ -0,0 +1,8 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { RangePickerProps } from './DatePicker.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ rangePicker?: RangePickerProps;
6
+ };
7
+ export declare const FormRangePicker: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { default as ru } from 'antd/es/date-picker/locale/ru_RU';
2
+ export declare const buddhistLocale: typeof ru;
@@ -0,0 +1,4 @@
1
+ export { DatePicker } from './DatePicker';
2
+ export { FormDatePicker } from './DatePicker.form';
3
+ export type { DatePickerProps, RangePickerProps } from './DatePicker.types';
4
+ export { buddhistLocale } from './buddhistLocale';
@@ -0,0 +1,2 @@
1
+ import { DividerProps } from './Divider.types';
2
+ export declare const Divider: (props: DividerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { DividerProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Divider } from './Divider';
2
+ export type { DividerProps } from './Divider.types';
@@ -0,0 +1,2 @@
1
+ import { DrawerProps } from './Drawer.types';
2
+ export declare const Drawer: (props: DrawerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { DrawerProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Drawer } from './Drawer';
2
+ export type { DrawerProps } from './Drawer.types';
@@ -0,0 +1,2 @@
1
+ import { DropdownProps } from './Dropdown.types';
2
+ export declare const Dropdown: (props: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { DropdownProps } from 'antd/es/dropdown';
@@ -0,0 +1,2 @@
1
+ export { Dropdown } from './Dropdown';
2
+ export type { DropdownProps } from './Dropdown.types';
@@ -0,0 +1,2 @@
1
+ import { EmptyProps } from './Empty.types';
2
+ export declare const Empty: (props: EmptyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { EmptyProps } from 'antd/es/empty';
@@ -0,0 +1,2 @@
1
+ export { Empty } from './Empty';
2
+ export type { EmptyProps } from './Empty.types';
@@ -0,0 +1,16 @@
1
+ export declare const Form: (<Values = any>(props: React.PropsWithChildren<import('antd').FormProps<Values>> & React.RefAttributes<import('rc-field-form/lib/interface').FormRef<Values>>) => React.ReactElement) & Pick<import('react').FC<{}>, "displayName"> & {
2
+ useForm: typeof import('antd/es/form/Form').useForm;
3
+ useFormInstance: typeof import('antd/es/form/hooks/useFormInstance').default;
4
+ useWatch: typeof import('rc-field-form').useWatch;
5
+ Item: (<Values = any>(props: import('antd').FormItemProps<Values>) => React.ReactElement) & {
6
+ useStatus: () => {
7
+ status?: import('antd/es/form/FormItem').ValidateStatus;
8
+ errors: React.ReactNode[];
9
+ warnings: React.ReactNode[];
10
+ };
11
+ };
12
+ List: import('react').FC<import('antd/es/form').FormListProps>;
13
+ ErrorList: import('react').FC<import('antd/es/form').ErrorListProps>;
14
+ Provider: typeof import('antd/es/form/context').FormProvider;
15
+ create: () => void;
16
+ };
@@ -0,0 +1 @@
1
+ export type { FormProps, FormItemProps } from 'antd/es/form';
@@ -0,0 +1,2 @@
1
+ export { Form } from './Form';
2
+ export type { FormProps, FormItemProps } from './Form.types';
@@ -0,0 +1,6 @@
1
+ export declare const Row: import('@emotion/styled').StyledComponent<import('antd').RowProps & import('react').RefAttributes<HTMLDivElement> & {
2
+ theme?: import('@emotion/react').Theme;
3
+ }, {}, {}>;
4
+ export declare const Col: import('@emotion/styled').StyledComponent<import('antd').ColProps & import('react').RefAttributes<HTMLDivElement> & {
5
+ theme?: import('@emotion/react').Theme;
6
+ }, {}, {}>;
@@ -0,0 +1 @@
1
+ export type { RowProps, ColProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Row, Col } from './Grid';
2
+ export type { RowProps, ColProps } from './Grid.types';
@@ -0,0 +1,2 @@
1
+ import { HintProps } from './Hint.types';
2
+ export declare const Hint: (props: HintProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export type { PopoverProps as HintProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Hint } from './Hint';
2
+ export type { HintProps } from './Hint.types';
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { InputRef } from './Input.types';
3
+ export declare const Input: React.ForwardRefExoticComponent<Omit<import('antd').InputProps, "size" | "status"> & {
4
+ isFormItem?: boolean;
5
+ isRequired?: boolean;
6
+ error?: string;
7
+ label?: React.ReactNode;
8
+ caption?: React.ReactNode;
9
+ size?: "s" | "m" | "l";
10
+ formControlStatus?: import('antd').FormItemProps["status"];
11
+ className?: string;
12
+ } & {
13
+ children?: React.ReactNode | undefined;
14
+ } & {
15
+ status?: "success" | "error";
16
+ } & React.RefAttributes<InputRef>>;
@@ -0,0 +1,8 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { InputProps } from './Input.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ input?: InputProps;
6
+ };
7
+ export declare const FormInput: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { InputProps as AntInputProps } from 'antd/es/input';
2
+ import { ControlWrapperProps } from '../ControlWrapper';
3
+ export type { InputRef } from 'antd/es/input';
4
+ export type InputProps = Omit<AntInputProps, "size" | "status"> & ControlWrapperProps & {
5
+ status?: "success" | "error";
6
+ };
@@ -0,0 +1,3 @@
1
+ export { Input } from './Input';
2
+ export { FormInput } from './Input.form';
3
+ export type { InputProps, InputRef } from './Input.types';
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ export declare const InputNumber: React.ForwardRefExoticComponent<Omit<import('antd').InputNumberProps<import('rc-input-number').ValueType>, "size" | "status"> & {
3
+ isFormItem?: boolean;
4
+ isRequired?: boolean;
5
+ error?: string;
6
+ label?: React.ReactNode;
7
+ caption?: React.ReactNode;
8
+ size?: "s" | "m" | "l";
9
+ formControlStatus?: import('antd').FormItemProps["status"];
10
+ className?: string;
11
+ } & {
12
+ children?: React.ReactNode | undefined;
13
+ } & {
14
+ status?: "success" | "error";
15
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,8 @@
1
+ import { FormItemProps } from '../Form';
2
+ import { InputNumberProps } from './InputNumber.types';
3
+ type Props<T> = {
4
+ formItem?: FormItemProps<T>;
5
+ input?: InputNumberProps;
6
+ };
7
+ export declare const FormInputNumber: <T>(props: Props<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { InputNumberProps as AntInputNumberProps, default as InputNumber } from 'antd/es/input-number';
2
+ import { ControlWrapperProps } from '../ControlWrapper';
3
+ export type InputNumberProps = Omit<AntInputNumberProps, "size" | "status"> & ControlWrapperProps & {
4
+ status?: "success" | "error";
5
+ };
6
+ export type InputNumberRef = React.ComponentRef<typeof InputNumber>;
@@ -0,0 +1,3 @@
1
+ export { InputNumber } from './InputNumber';
2
+ export { FormInputNumber } from './InputNumber.form';
3
+ export type { InputNumberProps } from './InputNumber.types';
@@ -0,0 +1,2 @@
1
+ import { HeaderProps } from './Header.types';
2
+ export declare const Header: (props: HeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { LayoutProps as AntLayoutProps } from 'antd/es/layout';
2
+ import { UserMenuProps } from '../../UserMenu';
3
+ import { NotificationsProps } from './Notifications';
4
+ import { SupportProps } from './Support';
5
+ export type HeaderProps = {
6
+ antProps?: AntLayoutProps;
7
+ logo?: React.ReactNode;
8
+ support?: SupportProps;
9
+ notifications?: NotificationsProps;
10
+ userMenu?: UserMenuProps;
11
+ };
@@ -0,0 +1,2 @@
1
+ import { NotificationsProps } from './Notifications.types';
2
+ export declare const Notifications: (props: NotificationsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { NotificationProps } from '../../../Notification';
2
+ export type NotificationsProps = {
3
+ notifications?: NotificationProps[];
4
+ };
@@ -0,0 +1,2 @@
1
+ export { Notifications } from './Notifications';
2
+ export type { NotificationsProps } from './Notifications.types';