@cagatayfdn/flora-components 0.0.19 → 0.0.20
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.cjs.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +48 -0
- package/dist/index.es.js +5383 -5172
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -152,6 +152,12 @@ export declare const AuthProvider: (props: {
|
|
|
152
152
|
children: React_2.ReactNode;
|
|
153
153
|
}) => JSX_2.Element;
|
|
154
154
|
|
|
155
|
+
export declare const Autocomplete: (props: AutocompleteProps) => JSX.Element;
|
|
156
|
+
|
|
157
|
+
declare type AutocompleteProps = {
|
|
158
|
+
items: OptionItem[];
|
|
159
|
+
} & InputProps;
|
|
160
|
+
|
|
155
161
|
export declare const Button: ({ children, size, isLoading, isDisabled, isBlock, noBorder, noBackground, round, isSolid, type, className, prefixIcon, appearance, onClick, }: ButtonProps) => JSX.Element;
|
|
156
162
|
|
|
157
163
|
declare type ButtonProps = {
|
|
@@ -391,6 +397,48 @@ declare interface InfiniteScrollProps {
|
|
|
391
397
|
loadMore: () => void;
|
|
392
398
|
}
|
|
393
399
|
|
|
400
|
+
export declare const Input: React_2.ForwardRefExoticComponent<{
|
|
401
|
+
type?: "number" | "email" | "search" | "text" | "password" | "url" | "tel" | "hidden" | undefined;
|
|
402
|
+
prefix?: ReactNode;
|
|
403
|
+
suffix?: ReactNode;
|
|
404
|
+
suffixClickable?: boolean | undefined;
|
|
405
|
+
id?: string | undefined;
|
|
406
|
+
size?: Size | undefined;
|
|
407
|
+
className?: string | undefined;
|
|
408
|
+
appearance?: FormFieldAppearance | undefined;
|
|
409
|
+
autoComplete?: string | undefined;
|
|
410
|
+
isFormGroup?: boolean | undefined;
|
|
411
|
+
wrapperClassName?: string | undefined;
|
|
412
|
+
fieldWrapClassName?: string | undefined;
|
|
413
|
+
addonAfter?: string | undefined;
|
|
414
|
+
value?: any;
|
|
415
|
+
onChange?: ((event: any, value: any) => void) | undefined;
|
|
416
|
+
required?: boolean | undefined;
|
|
417
|
+
isRadius?: boolean | undefined;
|
|
418
|
+
textFillColor?: string | undefined;
|
|
419
|
+
} & Omit<FormElementProps, "value"> & Omit<EventProps<HTMLInputElement>, "onMouseDown" | "onMouseUp" | "onMouseEnter" | "onMouseLeave"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
420
|
+
|
|
421
|
+
declare type InputProps = {
|
|
422
|
+
type?: 'text' | 'url' | 'number' | 'tel' | 'password' | 'email' | 'search' | 'hidden';
|
|
423
|
+
prefix?: ReactNode;
|
|
424
|
+
suffix?: ReactNode;
|
|
425
|
+
suffixClickable?: boolean;
|
|
426
|
+
id?: string;
|
|
427
|
+
size?: Size;
|
|
428
|
+
className?: string;
|
|
429
|
+
appearance?: FormFieldAppearance;
|
|
430
|
+
autoComplete?: string;
|
|
431
|
+
isFormGroup?: boolean;
|
|
432
|
+
wrapperClassName?: string;
|
|
433
|
+
fieldWrapClassName?: string;
|
|
434
|
+
addonAfter?: string;
|
|
435
|
+
value?: any;
|
|
436
|
+
onChange?: (event: any, value: any) => void;
|
|
437
|
+
required?: boolean;
|
|
438
|
+
isRadius?: boolean;
|
|
439
|
+
textFillColor?: string;
|
|
440
|
+
} & Omit<FormElementProps, 'value'> & Omit<EventProps<HTMLInputElement>, 'onMouseUp' | 'onMouseDown' | 'onMouseEnter' | 'onMouseLeave'>;
|
|
441
|
+
|
|
394
442
|
export declare enum isActiveColor {
|
|
395
443
|
inActive = "#4482ff",
|
|
396
444
|
active = "#3f4b5c"
|