tvuikit 0.4.3 → 0.6.0

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.
@@ -1,7 +1,8 @@
1
- import { Ref } from 'react';
1
+ import { Ref, SVGProps } from 'react';
2
2
  export type RoundProps = {
3
3
  size: number | string;
4
- ref: Ref<SVGSVGElement | null>;
5
- className: string;
6
- };
7
- export declare const Round: ({ size, ref, className }: RoundProps) => import("react/jsx-runtime").JSX.Element;
4
+ ref?: Ref<SVGSVGElement | null>;
5
+ className?: string;
6
+ fill?: string;
7
+ } & SVGProps<SVGSVGElement>;
8
+ export declare const Round: ({ size, ref, className, fill, ...props }: RoundProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,6 @@
1
1
  import { DetailedHTMLProps, InputHTMLAttributes } from 'react';
2
- export type InputProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
3
- export declare const Input: ({ className, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
2
+ export type InputProps = {
3
+ overwriteClassName?: boolean;
4
+ } & DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
5
+ export declare const Input: ({ className, overwriteClassName, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
4
6
  export default Input;
@@ -1,4 +1,8 @@
1
1
  import { DetailedHTMLProps, TextareaHTMLAttributes } from 'react';
2
- export type TextareaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
3
- export declare const Textarea: ({ className, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
2
+ export type TextareaProps = {
3
+ overwriteClassName?: boolean;
4
+ minimalRowsHeight?: number;
5
+ maximalRowsHeight?: number;
6
+ } & DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
7
+ export declare const Textarea: ({ className, overwriteClassName, minimalRowsHeight, maximalRowsHeight, onChange, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
4
8
  export default Textarea;
@@ -0,0 +1,9 @@
1
+ import { ANIMATIONS } from '../../variables/animations/all';
2
+ export type EllipsisProgressProps = {
3
+ type?: Lowercase<keyof typeof ANIMATIONS>;
4
+ size?: number;
5
+ elements?: number;
6
+ duration?: number;
7
+ multiplier?: number;
8
+ };
9
+ export declare const EllipsisProgress: ({ type, size, elements, duration, multiplier, }: EllipsisProgressProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  export type IndeterminateLinearProgressProps = {
2
- width: number;
3
2
  height?: number;
4
3
  className?: string;
5
4
  };
@@ -1,3 +1,4 @@
1
1
  export * from './circle-progress';
2
2
  export * from './linear-progress';
3
3
  export * from './indeterminate-linear-progress';
4
+ export * from './ellipsis-progress';
@@ -2,10 +2,12 @@ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { IndeterminateLinearProgress } from './indeterminate-linear-progress';
3
3
  import { LinearProgress } from './linear-progress';
4
4
  import { Page } from './story';
5
+ import { EllipsisProgress } from './ellipsis-progress';
5
6
  declare const meta: Meta<typeof Page>;
6
7
  type Story = StoryObj<typeof Page>;
7
8
  export declare const Default: Story;
8
9
  export declare const Linear: StoryObj<typeof LinearProgress>;
9
10
  export declare const LinearWithPercentage: StoryObj<typeof LinearProgress>;
10
11
  export declare const IntederminateLinear: StoryObj<typeof IndeterminateLinearProgress>;
12
+ export declare const Ellipsis: StoryObj<typeof EllipsisProgress>;
11
13
  export default meta;