@apcrda/ui 0.5.1 → 0.5.3

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.
@@ -0,0 +1,2 @@
1
+ import type { NumberInputProps } from './NumberInput.types';
2
+ export declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,9 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange'> {
3
+ readonly value?: number;
4
+ readonly onChange?: (value: number) => void;
5
+ readonly min?: number;
6
+ readonly max?: number;
7
+ readonly step?: number;
8
+ readonly error?: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { NumberInput } from './NumberInput';
2
+ export type { NumberInputProps } from './NumberInput.types';
@@ -0,0 +1,2 @@
1
+ import type { PasswordInputProps } from './PasswordInput.types';
2
+ export declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,6 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ export interface PasswordInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
3
+ readonly error?: boolean;
4
+ readonly showPasswordLabel?: string;
5
+ readonly hidePasswordLabel?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { PasswordInput } from './PasswordInput';
2
+ export type { PasswordInputProps } from './PasswordInput.types';
@@ -0,0 +1,5 @@
1
+ import type { TagProps } from './Tag.types';
2
+ export declare function Tag({ variant, size, selected, disabled, onRemove, onClick, className, children, ...props }: TagProps): import("react").JSX.Element;
3
+ export declare namespace Tag {
4
+ var displayName: string;
5
+ }
@@ -0,0 +1,10 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ export type TagVariant = 'neutral' | 'primary' | 'success' | 'warning' | 'error' | 'info';
3
+ export type TagSize = 'sm' | 'md';
4
+ export interface TagProps extends HTMLAttributes<HTMLSpanElement> {
5
+ readonly variant?: TagVariant;
6
+ readonly size?: TagSize;
7
+ readonly selected?: boolean;
8
+ readonly disabled?: boolean;
9
+ readonly onRemove?: () => void;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { Tag } from './Tag';
2
+ export type { TagProps, TagVariant, TagSize } from './Tag.types';
@@ -0,0 +1,5 @@
1
+ import type { TimelineProps } from './Timeline.types';
2
+ export declare function Timeline({ items, className, ...props }: TimelineProps): import("react").JSX.Element;
3
+ export declare namespace Timeline {
4
+ var displayName: string;
5
+ }
@@ -0,0 +1,14 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ export type TimelineItemVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
3
+ export interface TimelineItemProps {
4
+ readonly id?: string | number;
5
+ readonly icon?: ReactNode;
6
+ readonly variant?: TimelineItemVariant;
7
+ readonly title: string;
8
+ readonly description?: string;
9
+ readonly timestamp?: string;
10
+ readonly children?: ReactNode;
11
+ }
12
+ export interface TimelineProps extends HTMLAttributes<HTMLOListElement> {
13
+ readonly items: TimelineItemProps[];
14
+ }
@@ -0,0 +1,2 @@
1
+ export { Timeline } from './Timeline';
2
+ export type { TimelineProps, TimelineItemProps, TimelineItemVariant } from './Timeline.types';
@@ -24,7 +24,9 @@ export * from './Input';
24
24
  export * from './Label';
25
25
  export * from './MultiSelect';
26
26
  export * from './NotificationCenter';
27
+ export * from './NumberInput';
27
28
  export * from './Pagination';
29
+ export * from './PasswordInput';
28
30
  export * from './Popover';
29
31
  export * from './Progress';
30
32
  export * from './RadioGroup';
@@ -35,7 +37,9 @@ export * from './StatCard';
35
37
  export * from './Stepper';
36
38
  export * from './Switch';
37
39
  export * from './Table';
40
+ export * from './Tag';
38
41
  export * from './Tabs';
39
42
  export * from './Textarea';
43
+ export * from './Timeline';
40
44
  export * from './Toast';
41
45
  export * from './Tooltip';