@herca/r-kit 0.0.16 → 0.0.17
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/dist/clients.d.cts +746 -0
- package/dist/clients.d.ts +746 -0
- package/dist/components/hero/index.d.cts +6 -0
- package/dist/components/hero/index.d.ts +6 -0
- package/dist/components/icons/index.d.cts +8 -0
- package/dist/components/icons/index.d.ts +8 -0
- package/dist/index.d.cts +156 -0
- package/dist/index.d.ts +156 -0
- package/dist/type-B49-vkNZ.d.cts +298 -0
- package/dist/type-B49-vkNZ.d.ts +298 -0
- package/dist/type-fvT6Ki3j.d.cts +26 -0
- package/dist/type-fvT6Ki3j.d.ts +26 -0
- package/package.json +3 -5
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import react__default, { ButtonHTMLAttributes, HtmlHTMLAttributes } from 'react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
export { Hero } from './components/hero/index.cjs';
|
|
8
|
+
export { Icon } from './components/icons/index.cjs';
|
|
9
|
+
import { I as IconNameProps } from './type-B49-vkNZ.cjs';
|
|
10
|
+
import { T as TextProps } from './type-fvT6Ki3j.cjs';
|
|
11
|
+
export { A as AlignMent, C as ColorVariant, a as TextBaseProps, b as TextVariant, c as TextWeight, d as TextWithChildren, e as TextWithValue } from './type-fvT6Ki3j.cjs';
|
|
12
|
+
|
|
13
|
+
declare function Text({ as: TextComponent, align, color, numberOfLines, variant, weight, value, children, className, }: TextProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
16
|
+
declare function fieldHasError(errorMessages: unknown): boolean;
|
|
17
|
+
|
|
18
|
+
declare const buttonVariants: (props?: ({
|
|
19
|
+
variant?: "default" | "outline" | "tertiary" | null | undefined;
|
|
20
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
21
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
22
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
|
+
type ButtonVariantProps = VariantProps<typeof buttonVariants>;
|
|
24
|
+
|
|
25
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariantProps {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
28
|
+
}
|
|
29
|
+
declare const Button: ({ variant, size, color, className, disabled, asChild, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
declare const badgeVariants: (props?: ({
|
|
32
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
33
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
34
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
+
type BadgeVariantProps = VariantProps<typeof badgeVariants>;
|
|
36
|
+
|
|
37
|
+
interface BadgeProps extends HtmlHTMLAttributes<HTMLDivElement>, BadgeVariantProps {
|
|
38
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
39
|
+
}
|
|
40
|
+
declare const Badge: ({ children, className, size, color }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
declare const cardVariants: (props?: ({
|
|
43
|
+
variant?: "outline" | "filled" | null | undefined;
|
|
44
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
45
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
46
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
47
|
+
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
48
|
+
declare const paddingBySize: Record<string, string>;
|
|
49
|
+
declare const dividerColors: Record<string, string>;
|
|
50
|
+
|
|
51
|
+
interface CardProps extends react.HtmlHTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
52
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
53
|
+
}
|
|
54
|
+
declare const Card: ({ variant, color, size, className, children, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
55
|
+
interface CardHeaderProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
56
|
+
divider?: boolean;
|
|
57
|
+
noPadding?: boolean;
|
|
58
|
+
size?: "sm" | "md" | "lg";
|
|
59
|
+
variant?: "outline" | "filled";
|
|
60
|
+
}
|
|
61
|
+
declare const CardHeader: ({ divider, noPadding, size, color, variant, className, children, ...props }: CardHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
interface CardBodyProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
63
|
+
size?: "sm" | "md" | "lg";
|
|
64
|
+
}
|
|
65
|
+
declare const CardBody: ({ size, className, children, ...props }: CardBodyProps) => react_jsx_runtime.JSX.Element;
|
|
66
|
+
interface CardFooterProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
67
|
+
size?: "sm" | "md" | "lg";
|
|
68
|
+
divider?: boolean;
|
|
69
|
+
variant?: "outline" | "filled";
|
|
70
|
+
}
|
|
71
|
+
declare const CardFooter: ({ divider, size, color, variant, className, children, ...props }: CardFooterProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
interface RoundedSpinnerProps {
|
|
74
|
+
size?: number;
|
|
75
|
+
radius?: number;
|
|
76
|
+
stroke?: number;
|
|
77
|
+
duration?: number;
|
|
78
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
79
|
+
}
|
|
80
|
+
declare function RoundedSpinner({ size, radius, stroke, duration, color, }: RoundedSpinnerProps): react_jsx_runtime.JSX.Element;
|
|
81
|
+
|
|
82
|
+
type AvatarSizeType = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
83
|
+
type AvatarColorType = "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "purple" | "orange" | "gray";
|
|
84
|
+
type AvatarVariantType = "circle" | "square" | "rounded";
|
|
85
|
+
interface AvatarProps {
|
|
86
|
+
size?: AvatarSizeType;
|
|
87
|
+
color?: AvatarColorType;
|
|
88
|
+
variant?: AvatarVariantType;
|
|
89
|
+
url?: string;
|
|
90
|
+
name?: string;
|
|
91
|
+
className?: string;
|
|
92
|
+
alt?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare const Avatar: react__default.FC<AvatarProps>;
|
|
96
|
+
|
|
97
|
+
declare const AvatarVariants: (props?: ({
|
|
98
|
+
variant?: "circle" | "square" | "rounded" | null | undefined;
|
|
99
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "xxl" | null | undefined;
|
|
100
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
101
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
|
+
|
|
103
|
+
interface Props$2 {
|
|
104
|
+
code: string;
|
|
105
|
+
lang?: "tsx" | "md" | "ts" | "js" | "jsx" | "json" | "css" | "html" | "toml";
|
|
106
|
+
theme?: "dark-plus" | "light-plus";
|
|
107
|
+
}
|
|
108
|
+
declare function CodeBlock({ code, lang, theme }: Props$2): react_jsx_runtime.JSX.Element | null;
|
|
109
|
+
|
|
110
|
+
type ColorVariant = "danger" | "success" | "warning" | "info" | "gray";
|
|
111
|
+
|
|
112
|
+
type IndicatorPosition = "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
113
|
+
interface Props$1 {
|
|
114
|
+
color: ColorVariant;
|
|
115
|
+
size?: "sm" | "md" | "lg";
|
|
116
|
+
value?: number;
|
|
117
|
+
position?: IndicatorPosition;
|
|
118
|
+
pulse?: boolean;
|
|
119
|
+
children: React.ReactNode;
|
|
120
|
+
}
|
|
121
|
+
declare function Indicator({ color, size, value, position, pulse, children, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
interface Props {
|
|
124
|
+
className?: string;
|
|
125
|
+
brandLogo: string;
|
|
126
|
+
name?: string;
|
|
127
|
+
}
|
|
128
|
+
declare function BrandLogo({ brandLogo, className, name }: Props): react_jsx_runtime.JSX.Element;
|
|
129
|
+
|
|
130
|
+
interface KbdProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
131
|
+
size?: "sm" | "md" | "lg";
|
|
132
|
+
variant?: "default" | "outline" | "ghost";
|
|
133
|
+
color?: "neutral" | "primary" | "success" | "danger" | "info" | "warning";
|
|
134
|
+
}
|
|
135
|
+
declare function Kbd({ size, variant, color, className, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
declare const kbdVariants: (props?: ({
|
|
138
|
+
variant?: "default" | "outline" | "ghost" | null | undefined;
|
|
139
|
+
color?: "primary" | "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
|
|
140
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
141
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
142
|
+
|
|
143
|
+
interface BreadcrumbItem {
|
|
144
|
+
href?: string;
|
|
145
|
+
label: string;
|
|
146
|
+
}
|
|
147
|
+
interface BreadcrumbsProps {
|
|
148
|
+
separator?: IconNameProps;
|
|
149
|
+
items: BreadcrumbItem[];
|
|
150
|
+
linkComponent?: React.ElementType | string;
|
|
151
|
+
separatorClassName?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare function Breadcrumbs({ items, separator, separatorClassName, linkComponent: LinkComponent, }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
155
|
+
|
|
156
|
+
export { Avatar, AvatarVariants, Badge, type BadgeVariantProps, BrandLogo, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonVariantProps, Card, CardBody, CardFooter, CardHeader, type CardVariantProps, CodeBlock, IconNameProps, Indicator, Kbd, RoundedSpinner, Text, TextProps, badgeVariants, buttonVariants, cardVariants, cn, dividerColors, fieldHasError, kbdVariants, paddingBySize };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import react__default, { ButtonHTMLAttributes, HtmlHTMLAttributes } from 'react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
export { Hero } from './components/hero/index.js';
|
|
8
|
+
export { Icon } from './components/icons/index.js';
|
|
9
|
+
import { I as IconNameProps } from './type-B49-vkNZ.js';
|
|
10
|
+
import { T as TextProps } from './type-fvT6Ki3j.js';
|
|
11
|
+
export { A as AlignMent, C as ColorVariant, a as TextBaseProps, b as TextVariant, c as TextWeight, d as TextWithChildren, e as TextWithValue } from './type-fvT6Ki3j.js';
|
|
12
|
+
|
|
13
|
+
declare function Text({ as: TextComponent, align, color, numberOfLines, variant, weight, value, children, className, }: TextProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
16
|
+
declare function fieldHasError(errorMessages: unknown): boolean;
|
|
17
|
+
|
|
18
|
+
declare const buttonVariants: (props?: ({
|
|
19
|
+
variant?: "default" | "outline" | "tertiary" | null | undefined;
|
|
20
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
21
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
22
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
|
+
type ButtonVariantProps = VariantProps<typeof buttonVariants>;
|
|
24
|
+
|
|
25
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariantProps {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
28
|
+
}
|
|
29
|
+
declare const Button: ({ variant, size, color, className, disabled, asChild, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
declare const badgeVariants: (props?: ({
|
|
32
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
33
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
34
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
+
type BadgeVariantProps = VariantProps<typeof badgeVariants>;
|
|
36
|
+
|
|
37
|
+
interface BadgeProps extends HtmlHTMLAttributes<HTMLDivElement>, BadgeVariantProps {
|
|
38
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
39
|
+
}
|
|
40
|
+
declare const Badge: ({ children, className, size, color }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
declare const cardVariants: (props?: ({
|
|
43
|
+
variant?: "outline" | "filled" | null | undefined;
|
|
44
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
45
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
46
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
47
|
+
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
48
|
+
declare const paddingBySize: Record<string, string>;
|
|
49
|
+
declare const dividerColors: Record<string, string>;
|
|
50
|
+
|
|
51
|
+
interface CardProps extends react.HtmlHTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
52
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
53
|
+
}
|
|
54
|
+
declare const Card: ({ variant, color, size, className, children, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
55
|
+
interface CardHeaderProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
56
|
+
divider?: boolean;
|
|
57
|
+
noPadding?: boolean;
|
|
58
|
+
size?: "sm" | "md" | "lg";
|
|
59
|
+
variant?: "outline" | "filled";
|
|
60
|
+
}
|
|
61
|
+
declare const CardHeader: ({ divider, noPadding, size, color, variant, className, children, ...props }: CardHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
interface CardBodyProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
63
|
+
size?: "sm" | "md" | "lg";
|
|
64
|
+
}
|
|
65
|
+
declare const CardBody: ({ size, className, children, ...props }: CardBodyProps) => react_jsx_runtime.JSX.Element;
|
|
66
|
+
interface CardFooterProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
67
|
+
size?: "sm" | "md" | "lg";
|
|
68
|
+
divider?: boolean;
|
|
69
|
+
variant?: "outline" | "filled";
|
|
70
|
+
}
|
|
71
|
+
declare const CardFooter: ({ divider, size, color, variant, className, children, ...props }: CardFooterProps) => react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
interface RoundedSpinnerProps {
|
|
74
|
+
size?: number;
|
|
75
|
+
radius?: number;
|
|
76
|
+
stroke?: number;
|
|
77
|
+
duration?: number;
|
|
78
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray";
|
|
79
|
+
}
|
|
80
|
+
declare function RoundedSpinner({ size, radius, stroke, duration, color, }: RoundedSpinnerProps): react_jsx_runtime.JSX.Element;
|
|
81
|
+
|
|
82
|
+
type AvatarSizeType = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
83
|
+
type AvatarColorType = "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "purple" | "orange" | "gray";
|
|
84
|
+
type AvatarVariantType = "circle" | "square" | "rounded";
|
|
85
|
+
interface AvatarProps {
|
|
86
|
+
size?: AvatarSizeType;
|
|
87
|
+
color?: AvatarColorType;
|
|
88
|
+
variant?: AvatarVariantType;
|
|
89
|
+
url?: string;
|
|
90
|
+
name?: string;
|
|
91
|
+
className?: string;
|
|
92
|
+
alt?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare const Avatar: react__default.FC<AvatarProps>;
|
|
96
|
+
|
|
97
|
+
declare const AvatarVariants: (props?: ({
|
|
98
|
+
variant?: "circle" | "square" | "rounded" | null | undefined;
|
|
99
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "xxl" | null | undefined;
|
|
100
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "orange" | "purple" | "gray" | null | undefined;
|
|
101
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
|
+
|
|
103
|
+
interface Props$2 {
|
|
104
|
+
code: string;
|
|
105
|
+
lang?: "tsx" | "md" | "ts" | "js" | "jsx" | "json" | "css" | "html" | "toml";
|
|
106
|
+
theme?: "dark-plus" | "light-plus";
|
|
107
|
+
}
|
|
108
|
+
declare function CodeBlock({ code, lang, theme }: Props$2): react_jsx_runtime.JSX.Element | null;
|
|
109
|
+
|
|
110
|
+
type ColorVariant = "danger" | "success" | "warning" | "info" | "gray";
|
|
111
|
+
|
|
112
|
+
type IndicatorPosition = "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
113
|
+
interface Props$1 {
|
|
114
|
+
color: ColorVariant;
|
|
115
|
+
size?: "sm" | "md" | "lg";
|
|
116
|
+
value?: number;
|
|
117
|
+
position?: IndicatorPosition;
|
|
118
|
+
pulse?: boolean;
|
|
119
|
+
children: React.ReactNode;
|
|
120
|
+
}
|
|
121
|
+
declare function Indicator({ color, size, value, position, pulse, children, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
122
|
+
|
|
123
|
+
interface Props {
|
|
124
|
+
className?: string;
|
|
125
|
+
brandLogo: string;
|
|
126
|
+
name?: string;
|
|
127
|
+
}
|
|
128
|
+
declare function BrandLogo({ brandLogo, className, name }: Props): react_jsx_runtime.JSX.Element;
|
|
129
|
+
|
|
130
|
+
interface KbdProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
131
|
+
size?: "sm" | "md" | "lg";
|
|
132
|
+
variant?: "default" | "outline" | "ghost";
|
|
133
|
+
color?: "neutral" | "primary" | "success" | "danger" | "info" | "warning";
|
|
134
|
+
}
|
|
135
|
+
declare function Kbd({ size, variant, color, className, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
declare const kbdVariants: (props?: ({
|
|
138
|
+
variant?: "default" | "outline" | "ghost" | null | undefined;
|
|
139
|
+
color?: "primary" | "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
|
|
140
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
141
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
142
|
+
|
|
143
|
+
interface BreadcrumbItem {
|
|
144
|
+
href?: string;
|
|
145
|
+
label: string;
|
|
146
|
+
}
|
|
147
|
+
interface BreadcrumbsProps {
|
|
148
|
+
separator?: IconNameProps;
|
|
149
|
+
items: BreadcrumbItem[];
|
|
150
|
+
linkComponent?: React.ElementType | string;
|
|
151
|
+
separatorClassName?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare function Breadcrumbs({ items, separator, separatorClassName, linkComponent: LinkComponent, }: BreadcrumbsProps): react_jsx_runtime.JSX.Element;
|
|
155
|
+
|
|
156
|
+
export { Avatar, AvatarVariants, Badge, type BadgeVariantProps, BrandLogo, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonVariantProps, Card, CardBody, CardFooter, CardHeader, type CardVariantProps, CodeBlock, IconNameProps, Indicator, Kbd, RoundedSpinner, Text, TextProps, badgeVariants, buttonVariants, cardVariants, cn, dividerColors, fieldHasError, kbdVariants, paddingBySize };
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
declare const iconRegistry: {
|
|
4
|
+
"arrow-left-circle": react.FC<BaseIconProps>;
|
|
5
|
+
"arrow-right-circle": react.FC<BaseIconProps>;
|
|
6
|
+
search: react.FC<BaseIconProps>;
|
|
7
|
+
user: react.FC<BaseIconProps>;
|
|
8
|
+
eye: react.FC<BaseIconProps>;
|
|
9
|
+
"eye-open": react.FC<BaseIconProps>;
|
|
10
|
+
"arrow-right": react.FC<BaseIconProps>;
|
|
11
|
+
"arrow-left": react.FC<BaseIconProps>;
|
|
12
|
+
document: react.FC<BaseIconProps>;
|
|
13
|
+
calendar: react.FC<BaseIconProps>;
|
|
14
|
+
"exclamation-mark": react.FC<BaseIconProps>;
|
|
15
|
+
"x-circle": react.FC<BaseIconProps>;
|
|
16
|
+
"sticky-note": react.FC<BaseIconProps>;
|
|
17
|
+
"radio-button": react.FC<BaseIconProps>;
|
|
18
|
+
"arrow-back-alt": react.FC<BaseIconProps>;
|
|
19
|
+
"arrow-forward-alt": react.FC<BaseIconProps>;
|
|
20
|
+
"arrow-down": react.FC<BaseIconProps>;
|
|
21
|
+
"arrow-up": react.FC<BaseIconProps>;
|
|
22
|
+
check: react.FC<BaseIconProps>;
|
|
23
|
+
filter: react.FC<BaseIconProps>;
|
|
24
|
+
"air-plane": react.FC<BaseIconProps>;
|
|
25
|
+
camera: react.FC<BaseIconProps>;
|
|
26
|
+
image: react.FC<BaseIconProps>;
|
|
27
|
+
times: react.FC<BaseIconProps>;
|
|
28
|
+
plus: react.FC<BaseIconProps>;
|
|
29
|
+
bell: react.FC<BaseIconProps>;
|
|
30
|
+
"file-list-check": react.FC<BaseIconProps>;
|
|
31
|
+
"file-text": react.FC<BaseIconProps>;
|
|
32
|
+
"bookmark-user": react.FC<BaseIconProps>;
|
|
33
|
+
"folder-clock": react.FC<BaseIconProps>;
|
|
34
|
+
"home-fill": react.FC<BaseIconProps>;
|
|
35
|
+
"home-outline": react.FC<BaseIconProps>;
|
|
36
|
+
"user-circle-outline": react.FC<BaseIconProps>;
|
|
37
|
+
"user-circle-fill": react.FC<BaseIconProps>;
|
|
38
|
+
"clipboard-list-check": react.FC<BaseIconProps>;
|
|
39
|
+
"clipboard-list": react.FC<BaseIconProps>;
|
|
40
|
+
megaphone: react.FC<BaseIconProps>;
|
|
41
|
+
scanner: react.FC<BaseIconProps>;
|
|
42
|
+
clock: react.FC<BaseIconProps>;
|
|
43
|
+
"clock-outline": react.FC<BaseIconProps>;
|
|
44
|
+
"clipboard-list-check-outline": react.FC<BaseIconProps>;
|
|
45
|
+
"box-outline": react.FC<BaseIconProps>;
|
|
46
|
+
box: react.FC<BaseIconProps>;
|
|
47
|
+
"plus-square": react.FC<BaseIconProps>;
|
|
48
|
+
"at-sign": react.FC<BaseIconProps>;
|
|
49
|
+
"briefcase-outline": react.FC<BaseIconProps>;
|
|
50
|
+
"edit-square-outline": react.FC<BaseIconProps>;
|
|
51
|
+
"globe-earth": react.FC<BaseIconProps>;
|
|
52
|
+
"lock-fill": react.FC<BaseIconProps>;
|
|
53
|
+
"question-circle-outline": react.FC<BaseIconProps>;
|
|
54
|
+
"shield-fill": react.FC<BaseIconProps>;
|
|
55
|
+
users: react.FC<BaseIconProps>;
|
|
56
|
+
bold: react.FC<BaseIconProps>;
|
|
57
|
+
italic: react.FC<BaseIconProps>;
|
|
58
|
+
underline: react.FC<BaseIconProps>;
|
|
59
|
+
"settings-slider": react.FC<BaseIconProps>;
|
|
60
|
+
"rotate-square-fill": react.FC<BaseIconProps>;
|
|
61
|
+
"location-pin-fill": react.FC<BaseIconProps>;
|
|
62
|
+
"discount-fill": react.FC<BaseIconProps>;
|
|
63
|
+
"copy-fill": react.FC<BaseIconProps>;
|
|
64
|
+
"copy-text-fill": react.FC<BaseIconProps>;
|
|
65
|
+
"shield-checked-fill": react.FC<BaseIconProps>;
|
|
66
|
+
"calendar-edit": react.FC<BaseIconProps>;
|
|
67
|
+
"info-circle-outline": react.FC<BaseIconProps>;
|
|
68
|
+
"user-edit": react.FC<BaseIconProps>;
|
|
69
|
+
bolt: react.FC<BaseIconProps>;
|
|
70
|
+
"bolt-slash": react.FC<BaseIconProps>;
|
|
71
|
+
"image-plus": react.FC<BaseIconProps>;
|
|
72
|
+
"whatsapp-fill": react.FC<BaseIconProps>;
|
|
73
|
+
"layout-web": react.FC<BaseIconProps>;
|
|
74
|
+
ellipse: react.FC<BaseIconProps>;
|
|
75
|
+
upload: react.FC<IconProps>;
|
|
76
|
+
"activity-notification-square": react.FC<IconProps>;
|
|
77
|
+
"address-book": react.FC<IconProps>;
|
|
78
|
+
adjust: react.FC<IconProps>;
|
|
79
|
+
"angle-down-small": react.FC<IconProps>;
|
|
80
|
+
"angle-left-small": react.FC<IconProps>;
|
|
81
|
+
"angle-right-small": react.FC<IconProps>;
|
|
82
|
+
"angle-up-small": react.FC<IconProps>;
|
|
83
|
+
"angles-down-small": react.FC<IconProps>;
|
|
84
|
+
"angles-left-small": react.FC<IconProps>;
|
|
85
|
+
"angles-right-small": react.FC<IconProps>;
|
|
86
|
+
"angles-up-small": react.FC<IconProps>;
|
|
87
|
+
"arrow-down-small": react.FC<IconProps>;
|
|
88
|
+
"arrow-export": react.FC<IconProps>;
|
|
89
|
+
"arrow-left-small": react.FC<IconProps>;
|
|
90
|
+
"arrow-reply": react.FC<IconProps>;
|
|
91
|
+
"arrow-right-small": react.FC<IconProps>;
|
|
92
|
+
"arrow-share": react.FC<IconProps>;
|
|
93
|
+
"arrow-turn-down-left": react.FC<IconProps>;
|
|
94
|
+
"arrow-up-small": react.FC<IconProps>;
|
|
95
|
+
"arrows-expand": react.FC<IconProps>;
|
|
96
|
+
backward: react.FC<IconProps>;
|
|
97
|
+
"book-open-text": react.FC<IconProps>;
|
|
98
|
+
"book-text": react.FC<IconProps>;
|
|
99
|
+
"box-check": react.FC<IconProps>;
|
|
100
|
+
"box-minus": react.FC<IconProps>;
|
|
101
|
+
"box-return": react.FC<IconProps>;
|
|
102
|
+
"box-search": react.FC<IconProps>;
|
|
103
|
+
boxes: react.FC<IconProps>;
|
|
104
|
+
"briefcase-money": react.FC<IconProps>;
|
|
105
|
+
"buildings-alt": react.FC<IconProps>;
|
|
106
|
+
"calendar-check-alt": react.FC<IconProps>;
|
|
107
|
+
"calendar-star": react.FC<IconProps>;
|
|
108
|
+
"caret-down": react.FC<IconProps>;
|
|
109
|
+
"caret-left": react.FC<IconProps>;
|
|
110
|
+
"caret-right": react.FC<IconProps>;
|
|
111
|
+
"caret-up": react.FC<IconProps>;
|
|
112
|
+
"chart-bar-circle": react.FC<IconProps>;
|
|
113
|
+
"chart-bar-vertical": react.FC<IconProps>;
|
|
114
|
+
"chart-line": react.FC<IconProps>;
|
|
115
|
+
"chart-pie": react.FC<IconProps>;
|
|
116
|
+
"chart-trend-up": react.FC<IconProps>;
|
|
117
|
+
"check-square": react.FC<IconProps>;
|
|
118
|
+
"circle-and-square": react.FC<IconProps>;
|
|
119
|
+
"clipboard-edit": react.FC<IconProps>;
|
|
120
|
+
"clipboard-list-check2": react.FC<IconProps>;
|
|
121
|
+
"clock-fast-forward": react.FC<IconProps>;
|
|
122
|
+
"closed-captioning": react.FC<IconProps>;
|
|
123
|
+
coin: react.FC<IconProps>;
|
|
124
|
+
coins: react.FC<IconProps>;
|
|
125
|
+
"comment-notification": react.FC<IconProps>;
|
|
126
|
+
"comment-text": react.FC<IconProps>;
|
|
127
|
+
cpu: react.FC<IconProps>;
|
|
128
|
+
"credit-card-change": react.FC<IconProps>;
|
|
129
|
+
"credit-card-convert": react.FC<IconProps>;
|
|
130
|
+
"credit-card-edit": react.FC<IconProps>;
|
|
131
|
+
csv: react.FC<IconProps>;
|
|
132
|
+
cursor: react.FC<IconProps>;
|
|
133
|
+
"delivery-cart-arrow-up": react.FC<IconProps>;
|
|
134
|
+
"delivery-cart": react.FC<IconProps>;
|
|
135
|
+
desktop: react.FC<IconProps>;
|
|
136
|
+
doc: react.FC<IconProps>;
|
|
137
|
+
"document-list-check": react.FC<IconProps>;
|
|
138
|
+
docx: react.FC<IconProps>;
|
|
139
|
+
download: react.FC<IconProps>;
|
|
140
|
+
"envelope-check": react.FC<IconProps>;
|
|
141
|
+
excel: react.FC<IconProps>;
|
|
142
|
+
expand: react.FC<IconProps>;
|
|
143
|
+
"export-file": react.FC<IconProps>;
|
|
144
|
+
"file-ban": react.FC<IconProps>;
|
|
145
|
+
"file-check": react.FC<IconProps>;
|
|
146
|
+
"file-list-edit": react.FC<IconProps>;
|
|
147
|
+
"file-list-search": react.FC<IconProps>;
|
|
148
|
+
"file-list-shield": react.FC<IconProps>;
|
|
149
|
+
"file-list": react.FC<IconProps>;
|
|
150
|
+
"file-lock": react.FC<IconProps>;
|
|
151
|
+
"file-settings": react.FC<IconProps>;
|
|
152
|
+
"file-text-check": react.FC<IconProps>;
|
|
153
|
+
"file-text-edit": react.FC<IconProps>;
|
|
154
|
+
"file-text-map": react.FC<IconProps>;
|
|
155
|
+
"file-text-plus": react.FC<IconProps>;
|
|
156
|
+
"file-text-search": react.FC<IconProps>;
|
|
157
|
+
"file-user": react.FC<IconProps>;
|
|
158
|
+
"folder-open": react.FC<IconProps>;
|
|
159
|
+
forward: react.FC<IconProps>;
|
|
160
|
+
"graduation-cap": react.FC<IconProps>;
|
|
161
|
+
"grid-square-reg": react.FC<IconProps>;
|
|
162
|
+
"grid-square": react.FC<IconProps>;
|
|
163
|
+
"hand-holding-dollar-circle": react.FC<IconProps>;
|
|
164
|
+
"hand-holding-dollar": react.FC<IconProps>;
|
|
165
|
+
hashtag: react.FC<IconProps>;
|
|
166
|
+
"id-badge": react.FC<IconProps>;
|
|
167
|
+
"id-card": react.FC<IconProps>;
|
|
168
|
+
keyboard: react.FC<IconProps>;
|
|
169
|
+
laptop: react.FC<IconProps>;
|
|
170
|
+
"layout-web-left": react.FC<IconProps>;
|
|
171
|
+
"layout-web-right": react.FC<IconProps>;
|
|
172
|
+
"line-up-change": react.FC<IconProps>;
|
|
173
|
+
"line-up-square": react.FC<IconProps>;
|
|
174
|
+
"location-pin-coin": react.FC<IconProps>;
|
|
175
|
+
"location-pin-search": react.FC<IconProps>;
|
|
176
|
+
"location-pin-user": react.FC<IconProps>;
|
|
177
|
+
"location-pin-users": react.FC<IconProps>;
|
|
178
|
+
lock: react.FC<IconProps>;
|
|
179
|
+
"log-out": react.FC<IconProps>;
|
|
180
|
+
"map-location": react.FC<IconProps>;
|
|
181
|
+
"menu-left": react.FC<IconProps>;
|
|
182
|
+
"message-text-notification": react.FC<IconProps>;
|
|
183
|
+
minus: react.FC<IconProps>;
|
|
184
|
+
mobile: react.FC<IconProps>;
|
|
185
|
+
"money-bill-ban": react.FC<IconProps>;
|
|
186
|
+
"money-bill-check": react.FC<IconProps>;
|
|
187
|
+
"money-bill-convert": react.FC<IconProps>;
|
|
188
|
+
"money-bill-minus": react.FC<IconProps>;
|
|
189
|
+
"money-bill-plus": react.FC<IconProps>;
|
|
190
|
+
"money-bill-send": react.FC<IconProps>;
|
|
191
|
+
"money-bill-times": react.FC<IconProps>;
|
|
192
|
+
"money-bills": react.FC<IconProps>;
|
|
193
|
+
"money-withdrawal": react.FC<IconProps>;
|
|
194
|
+
mp3: react.FC<IconProps>;
|
|
195
|
+
mp4: react.FC<IconProps>;
|
|
196
|
+
music: react.FC<IconProps>;
|
|
197
|
+
"package-check": react.FC<IconProps>;
|
|
198
|
+
package: react.FC<IconProps>;
|
|
199
|
+
paperclip: react.FC<IconProps>;
|
|
200
|
+
pause: react.FC<IconProps>;
|
|
201
|
+
pdf: react.FC<IconProps>;
|
|
202
|
+
"percent-circle": react.FC<IconProps>;
|
|
203
|
+
play: react.FC<IconProps>;
|
|
204
|
+
"plus-circle": react.FC<IconProps>;
|
|
205
|
+
ppt: react.FC<IconProps>;
|
|
206
|
+
"presentation-dollar": react.FC<IconProps>;
|
|
207
|
+
"presentation-poll": react.FC<IconProps>;
|
|
208
|
+
"presentation-user": react.FC<IconProps>;
|
|
209
|
+
print: react.FC<IconProps>;
|
|
210
|
+
puzzle: react.FC<IconProps>;
|
|
211
|
+
rar: react.FC<IconProps>;
|
|
212
|
+
"receipt-text": react.FC<IconProps>;
|
|
213
|
+
"refresh-ccw": react.FC<IconProps>;
|
|
214
|
+
road: react.FC<IconProps>;
|
|
215
|
+
"rotate-square": react.FC<IconProps>;
|
|
216
|
+
"sack-dollar": react.FC<IconProps>;
|
|
217
|
+
"scan-qr": react.FC<IconProps>;
|
|
218
|
+
server: react.FC<IconProps>;
|
|
219
|
+
settings: react.FC<IconProps>;
|
|
220
|
+
"shopping-basket-times": react.FC<IconProps>;
|
|
221
|
+
"shopping-basket-user": react.FC<IconProps>;
|
|
222
|
+
"shopping-basket": react.FC<IconProps>;
|
|
223
|
+
"shopping-cart-arrow-down": react.FC<IconProps>;
|
|
224
|
+
"shopping-cart-arrow-top": react.FC<IconProps>;
|
|
225
|
+
"shopping-cart-plus": react.FC<IconProps>;
|
|
226
|
+
"shopping-cart": react.FC<IconProps>;
|
|
227
|
+
"sort-ascending-circle": react.FC<IconProps>;
|
|
228
|
+
"sort-descending-circle": react.FC<IconProps>;
|
|
229
|
+
"sort-vertical": react.FC<IconProps>;
|
|
230
|
+
standings: react.FC<IconProps>;
|
|
231
|
+
stop: react.FC<IconProps>;
|
|
232
|
+
store: react.FC<IconProps>;
|
|
233
|
+
subtract: react.FC<IconProps>;
|
|
234
|
+
tag: react.FC<IconProps>;
|
|
235
|
+
tags: react.FC<IconProps>;
|
|
236
|
+
telegram: react.FC<IconProps>;
|
|
237
|
+
"time-past": react.FC<IconProps>;
|
|
238
|
+
timelapse: react.FC<IconProps>;
|
|
239
|
+
"times-circle": react.FC<IconProps>;
|
|
240
|
+
tool: react.FC<IconProps>;
|
|
241
|
+
"trash-check": react.FC<IconProps>;
|
|
242
|
+
"trash-regular": react.FC<IconProps>;
|
|
243
|
+
"trash-slash": react.FC<IconProps>;
|
|
244
|
+
"trend-up-circle": react.FC<IconProps>;
|
|
245
|
+
"trend-up-square": react.FC<IconProps>;
|
|
246
|
+
"trend-up": react.FC<IconProps>;
|
|
247
|
+
truck: react.FC<IconProps>;
|
|
248
|
+
"user-change": react.FC<IconProps>;
|
|
249
|
+
"user-dollar": react.FC<IconProps>;
|
|
250
|
+
"user-eye": react.FC<IconProps>;
|
|
251
|
+
"user-settings": react.FC<IconProps>;
|
|
252
|
+
"user-square": react.FC<IconProps>;
|
|
253
|
+
"user-star": react.FC<IconProps>;
|
|
254
|
+
vector: react.FC<IconProps>;
|
|
255
|
+
"video-play": react.FC<IconProps>;
|
|
256
|
+
"volume-high": react.FC<IconProps>;
|
|
257
|
+
whatsapp: react.FC<IconProps>;
|
|
258
|
+
xls: react.FC<IconProps>;
|
|
259
|
+
code: react.FC<IconProps>;
|
|
260
|
+
"info-circle-fill": react.FC<BaseIconProps>;
|
|
261
|
+
"rotate-right": react.FC<IconProps>;
|
|
262
|
+
"exclamation-triangle": react.FC<IconProps>;
|
|
263
|
+
"cloud-upload": react.FC<IconProps>;
|
|
264
|
+
"search-plus-fill": react.FC<BaseIconProps>;
|
|
265
|
+
"search-minus-fill": react.FC<BaseIconProps>;
|
|
266
|
+
"folder-add": react.FC<BaseIconProps>;
|
|
267
|
+
folder: react.FC<BaseIconProps>;
|
|
268
|
+
layer: react.FC<IconProps>;
|
|
269
|
+
people: react.FC<IconProps>;
|
|
270
|
+
"sort-descending": react.FC<IconProps>;
|
|
271
|
+
"more-horizontal": react.FC<IconProps>;
|
|
272
|
+
"trash-fill": react.FC<IconProps>;
|
|
273
|
+
envelope: react.FC<IconProps>;
|
|
274
|
+
phone: react.FC<IconProps>;
|
|
275
|
+
"briefcase-fill": react.FC<IconProps>;
|
|
276
|
+
"user-clock": react.FC<BaseIconProps>;
|
|
277
|
+
"money-bill": react.FC<IconProps>;
|
|
278
|
+
hourglass: react.FC<BaseIconProps>;
|
|
279
|
+
gift: react.FC<BaseIconProps>;
|
|
280
|
+
"document-list": react.FC<BaseIconProps>;
|
|
281
|
+
"delivery-cart-arrow-down": react.FC<IconProps>;
|
|
282
|
+
"credit-card": react.FC<IconProps>;
|
|
283
|
+
"user-briefcase": react.FC<BaseIconProps>;
|
|
284
|
+
"user-check": react.FC<BaseIconProps>;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
type IconNameProps = keyof typeof iconRegistry;
|
|
288
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
289
|
+
size?: number;
|
|
290
|
+
color?: string;
|
|
291
|
+
}
|
|
292
|
+
interface BaseIconProps {
|
|
293
|
+
size?: number;
|
|
294
|
+
color?: string;
|
|
295
|
+
className?: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type { IconNameProps as I, IconProps as a };
|