Skip to content

Commit

Permalink
chore(release): set package.json to 1.12.5 [skip ci]
Browse files Browse the repository at this point in the history
## [1.12.5](v1.12.4...v1.12.5) (2024-1-14)

### Bug Fixes

* fixed gh actions ([21c1435](21c1435))
  • Loading branch information
semantic-release-bot committed Jan 14, 2024
1 parent 21c1435 commit 5786655
Show file tree
Hide file tree
Showing 613 changed files with 4,025 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.12.5](https://github.com/UrijHoruzij/ui-forest-web/compare/v1.12.4...v1.12.5) (2024-1-14)


### Bug Fixes

* fixed gh actions ([21c1435](https://github.com/UrijHoruzij/ui-forest-web/commit/21c14359c944e719cce04e6665f3c1406bbfbfb4))

## [1.12.4](https://github.com/UrijHoruzij/ui-forest-web/compare/v1.12.3...v1.12.4) (2024-01-06)


Expand Down
2 changes: 2 additions & 0 deletions dist/Avatar/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/Avatar/index.js.map

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions dist/Avatar/types/components/Avatar/Avatar.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { FC, CSSProperties, MouseEventHandler, Component } from 'react';
export interface AvatarProps {
component?: Component;
fullname?: string;
avatar?: string;
size: 'small' | 'medium' | 'large';
className?: string;
style?: CSSProperties;
imageClassName?: string;
imageStyle?: CSSProperties;
isOnline?: boolean;
}
export interface AvatarComposition {
Group: FC<GroupProps>;
}
export interface GroupProps {
users: AvatarProps[];
add: boolean;
onAdd: MouseEventHandler<HTMLDivElement>;
}
export interface AddButtonProps {
users: AvatarProps[];
onAdd: MouseEventHandler<HTMLDivElement>;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Avatar/avatar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { AvatarProps } from './Avatar.types';
declare const AvatarComponent: FC<AvatarProps>;
export default AvatarComponent;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Avatar/group.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { GroupProps } from './Avatar.types';
declare const Group: FC<GroupProps>;
export default Group;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Avatar/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { AvatarProps, AvatarComposition } from './Avatar.types';
declare const Avatar: FC<AvatarProps> & AvatarComposition;
export default Avatar;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Avatar/sizes.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare const changeSizeContainer: (size: any) => any;
export declare const changeSize: (size: any) => any;
export declare const changeSizeSymbol: (size: any) => any;
export declare const changeSizeOnline: (size: any) => any;
14 changes: 14 additions & 0 deletions dist/Avatar/types/components/Button/Button.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { ReactNode, CSSProperties } from 'react';
export interface ButtonProps {
as?: string;
children?: ReactNode;
className?: string;
danger?: boolean;
disabled?: boolean;
href?: string;
loading?: boolean;
size: 'small' | 'medium' | 'large';
styles?: CSSProperties;
type: 'button' | 'reset' | 'submit';
variant: 'primary' | 'secondary' | 'text';
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Button/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { ButtonProps } from './Button.types';
declare const Button: FC<ButtonProps>;
export default Button;
7 changes: 7 additions & 0 deletions dist/Avatar/types/components/Form/Form.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { ReactNode, CSSProperties, FormEvent } from 'react';
export interface FormProps {
children: ReactNode;
onSubmit: (event: FormEvent<HTMLFormElement>) => void;
className?: string;
style?: CSSProperties;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Form/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { FormProps } from './Form.types';
export declare const Form: FC<FormProps>;
export default Form;
7 changes: 7 additions & 0 deletions dist/Avatar/types/components/Form/useForm.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare const useForm: (state: any, validate: any, callback: any) => {
handleChange: (e: any) => void;
handleSubmit: (e: any) => void;
values: any;
errors: {};
};
export default useForm;
25 changes: 25 additions & 0 deletions dist/Avatar/types/components/Grid/Grid.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ReactNode, FC } from 'react';
export interface GridProps {
children?: ReactNode;
}
export interface GridComposition {
Container: FC<ContainerProps>;
Column: FC<ColumnProps>;
Row: FC<RowProps>;
}
export interface ContainerProps {
children?: ReactNode;
}
export interface RowProps {
children?: ReactNode;
}
export interface ColumnProps {
children?: ReactNode;
className?: string;
col?: number;
sm?: number;
md?: number;
lg?: number;
xl?: number;
xxl?: number;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Grid/column.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { ColumnProps } from './Grid.types';
declare const Column: FC<ColumnProps>;
export default Column;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Grid/container.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { ContainerProps } from './Grid.types';
declare const Container: FC<ContainerProps>;
export default Container;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Grid/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { GridProps, GridComposition } from './Grid.types';
declare const Grid: FC<GridProps> & GridComposition;
export default Grid;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Grid/row.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { RowProps } from './Grid.types';
declare const Row: FC<RowProps>;
export default Row;
5 changes: 5 additions & 0 deletions dist/Avatar/types/components/Image/Image.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface ImageProps {
width: number;
height: number;
image: string;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Image/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { ImageProps } from './Image.types';
declare const Image: FC<ImageProps>;
export default Image;
21 changes: 21 additions & 0 deletions dist/Avatar/types/components/Input/Input.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { FC, CSSProperties, ChangeEventHandler, KeyboardEvent } from 'react';
export interface InputProps {
id?: string;
value: any;
placeholder?: string;
type: 'email' | 'password' | 'tel' | 'text' | 'url';
name?: string;
help?: string;
className?: string;
size: 'small' | 'medium' | 'large';
status: 'error' | 'success' | 'default';
style?: CSSProperties;
onChange?: ChangeEventHandler;
visibleTitle?: boolean;
disabled?: boolean;
onPressEnter?: KeyboardEvent;
}
export interface InputComposition {
Textarea: FC<InputProps>;
Password: FC<InputProps>;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Input/container.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { InputProps } from './Input.types';
declare const InputContainer: FC<InputProps>;
export default InputContainer;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Input/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { InputComposition, InputProps } from './Input.types';
declare const Input: FC<InputProps> & InputComposition;
export default Input;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Input/password.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { InputProps } from './Input.types';
declare const Password: FC<InputProps>;
export default Password;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Input/textarea.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { InputProps } from './Input.types';
declare const Textarea: FC<InputProps>;
export default Textarea;
13 changes: 13 additions & 0 deletions dist/Avatar/types/components/Notification/Notification.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { CSSProperties, ReactNode } from 'react';
export interface NotificationProps {
id: string;
title: string;
message: string;
dispatch: (e: any) => void;
className?: string;
style?: CSSProperties;
type: 'SUCCESS' | 'ERROR' | 'WARNING' | 'INFO';
}
export interface NotificationProviderProps {
children?: ReactNode;
}
3 changes: 3 additions & 0 deletions dist/Avatar/types/components/Notification/context.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/// <reference types="react" />
declare const NotificationContext: import("react").Context<any>;
export default NotificationContext;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Notification/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { NotificationProviderProps } from './Notification.types';
declare const NotificationProvider: FC<NotificationProviderProps>;
export default NotificationProvider;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Notification/notification.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { NotificationProps } from './Notification.types';
declare const Notification: FC<NotificationProps>;
export default Notification;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const useNotification: () => (props: any) => void;
export default useNotification;
11 changes: 11 additions & 0 deletions dist/Avatar/types/components/Pagination/Pagination.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { CSSProperties } from 'react';
export interface PaginationProps {
className?: string;
style?: CSSProperties;
arrowShow?: boolean;
onPageChange: (e: any) => void;
totalCount: number;
siblingCount: number;
currentPage: number;
pageSize: number;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Pagination/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { PaginationProps } from './Pagination.types';
declare const Pagination: FC<PaginationProps>;
export default Pagination;
9 changes: 9 additions & 0 deletions dist/Avatar/types/components/Pagination/usePagination.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export declare const DOTS = "...";
interface usePaginationProps {
totalCount: number;
pageSize: number;
siblingCount: number;
currentPage: number;
}
export declare const usePagination: (props: usePaginationProps) => any[] | undefined;
export {};
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { ReactNode } from 'react';
export interface SliderBeforeAfterProps {
size: number;
aspectRatio?: string;
urlFirstImage?: string;
urlSecondImage?: string;
alt?: string;
componentAfter?: ReactNode;
componentBefore?: ReactNode;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/SliderBeforeAfter/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { SliderBeforeAfterProps } from './SliderBeforeAfter.types';
declare const SliderBeforeAfter: FC<SliderBeforeAfterProps>;
export default SliderBeforeAfter;
13 changes: 13 additions & 0 deletions dist/Avatar/types/components/Tags/Tags.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { FC, ReactNode } from 'react';
export interface TagsProps {
children?: ReactNode;
}
export interface TagProps {
className?: string;
children?: ReactNode;
activ?: boolean;
onClick?: (e?: any) => void;
}
export interface TagsComposition {
Tag: FC<TagProps>;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Tags/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { TagsComposition, TagsProps } from './Tags.types';
declare const Tags: FC<TagsProps> & TagsComposition;
export default Tags;
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Tags/tag.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { TagProps } from './Tags.types';
declare const Tag: FC<TagProps>;
export default Tag;
6 changes: 6 additions & 0 deletions dist/Avatar/types/components/ThemeProvider/Theme.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { ReactNode } from 'react';
export interface ThemeProps {
theme: string;
themes?: Record<string, string>;
children?: ReactNode;
}
5 changes: 5 additions & 0 deletions dist/Avatar/types/components/ThemeProvider/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React, { FC } from 'react';
import { ThemeProps } from './Theme.types';
declare const ThemeProvider: FC<ThemeProps>;
export default ThemeProvider;
export declare const ThemeContext: React.Context<any>;
2 changes: 2 additions & 0 deletions dist/Avatar/types/components/ThemeProvider/themes/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as light } from './light.module.css';
export { default as dark } from './dark.module.css';
11 changes: 11 additions & 0 deletions dist/Avatar/types/components/Typography/Typography.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { ReactNode, CSSProperties } from 'react';
export interface TypographyProps {
type: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'caption' | 'text';
color?: 'accent' | 'text' | 'secondary';
children?: ReactNode;
fontStyle?: 'normal' | 'italic' | 'oblique';
transform?: 'capitalize' | 'lowercase' | 'uppercase';
decoration?: 'underline' | 'overline' | 'line-through';
className?: string;
style?: CSSProperties;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/Typography/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { TypographyProps } from './Typography.types';
declare const Typography: FC<TypographyProps>;
export default Typography;
7 changes: 7 additions & 0 deletions dist/Avatar/types/components/ZoomImage/ZoomImage.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { CSSProperties } from 'react';
export interface ZoomImageProps {
className?: string;
style?: CSSProperties;
src: string;
alt: string;
}
4 changes: 4 additions & 0 deletions dist/Avatar/types/components/ZoomImage/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from 'react';
import { ZoomImageProps } from './ZoomImage.types';
declare const ZoomImage: FC<ZoomImageProps>;
export default ZoomImage;
2 changes: 2 additions & 0 deletions dist/Avatar/types/components/ZoomImage/useEventListener.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const useEventListener: (eventName: any, handler: any, element?: any) => void;
export default useEventListener;
16 changes: 16 additions & 0 deletions dist/Avatar/types/components/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export { default as Button } from './Button';
export { default as Pagination } from './Pagination';
export { default as Form } from './Form';
export { default as ZoomImage } from './ZoomImage';
export { default as SliderBeforeAfter } from './SliderBeforeAfter';
export { default as Typography } from './Typography';
export { default as NotificationProvider } from './Notification';
export { default as Grid } from './Grid';
export { default as Image } from './Image';
export { default as Avatar } from './Avatar';
export { default as Input } from './Input';
export { default as Tags } from './Tags';
export { default as ThemeProvider } from './ThemeProvider';
export { default as useEventListener } from './ZoomImage/useEventListener';
export { default as useForm } from './Form/useForm';
export { default as useNotification } from './Notification/useNotification';
1 change: 1 addition & 0 deletions dist/Avatar/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components';
Loading

0 comments on commit 5786655

Please sign in to comment.