@clasing/ui 0.0.59 → 0.0.61-beta.1
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/index.d.ts +23 -1
- package/dist/index.es.js +16604 -1050
- package/dist/index.umd.js +126 -10
- package/dist/style.css +1 -1
- package/package.json +85 -81
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,19 @@ declare interface IIconComponentProps {
|
|
|
106
106
|
className?: string;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
110
|
+
|
|
111
|
+
declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
112
|
+
label?: string;
|
|
113
|
+
helperText?: string;
|
|
114
|
+
error?: string;
|
|
115
|
+
touched?: boolean;
|
|
116
|
+
iconName?: {
|
|
117
|
+
name: TablerIconName;
|
|
118
|
+
stroke?: number;
|
|
119
|
+
} | TablerIconName;
|
|
120
|
+
}
|
|
121
|
+
|
|
109
122
|
declare interface IProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressBarStyles> {
|
|
110
123
|
progress: number;
|
|
111
124
|
}
|
|
@@ -119,6 +132,15 @@ declare interface ITextProps extends React.HTMLAttributes<HTMLSpanElement>, Vari
|
|
|
119
132
|
className?: string;
|
|
120
133
|
}
|
|
121
134
|
|
|
135
|
+
export declare const Modal: ({ className, children, isOpen, setIsOpen, }: ModalProps) => JSX_2.Element;
|
|
136
|
+
|
|
137
|
+
declare interface ModalProps {
|
|
138
|
+
className?: string;
|
|
139
|
+
children: React.ReactNode;
|
|
140
|
+
isOpen: boolean;
|
|
141
|
+
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
142
|
+
}
|
|
143
|
+
|
|
122
144
|
export declare const ProgressBar: ({ progress, className, intent, size, rounded, ...props }: IProgressBarProps) => JSX_2.Element;
|
|
123
145
|
|
|
124
146
|
declare const progressBarStyles: (props?: ({
|
|
@@ -135,7 +157,7 @@ declare const Text_2: ({ as, intent, className, weight, ...props }: ITextProps)
|
|
|
135
157
|
export { Text_2 as Text }
|
|
136
158
|
|
|
137
159
|
declare const textStyles: (props?: ({
|
|
138
|
-
intent?: "display-sm" | "display-lg" | "title-xs" | "title-sm" | "title-md" | "title-lg" | "title-xl" | "label-xs" | "label-sm" | "label-
|
|
160
|
+
intent?: "label-md" | "display-sm" | "display-lg" | "title-xs" | "title-sm" | "title-md" | "title-lg" | "title-xl" | "label-xs" | "label-sm" | "label-lg" | "label-xl" | "label-2xl" | "label-3xl" | "paragraph-xs" | "paragraph-sm" | "paragraph-md" | "paragraph-lg" | "overline-sm" | "overline-lg" | null | undefined;
|
|
139
161
|
weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
|
|
140
162
|
} & ClassProp) | undefined) => string;
|
|
141
163
|
|