@cagatayfdn/flora-components 0.0.27 → 0.0.29
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 +59 -59
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +45 -0
- package/dist/index.es.js +7559 -7411
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +59 -59
- 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
|
@@ -323,11 +323,42 @@ export declare const Datepicker: React_2.ForwardRefExoticComponent<{
|
|
|
323
323
|
|
|
324
324
|
declare type Dispatch = React_2.Dispatch<Actiontype>;
|
|
325
325
|
|
|
326
|
+
export declare const Divider: ({ appearance, className, margin, }: DividerProps) => JSX.Element;
|
|
327
|
+
|
|
326
328
|
export declare enum DividerAppearance {
|
|
327
329
|
LIGHT = "light",
|
|
328
330
|
GREY = "grey"
|
|
329
331
|
}
|
|
330
332
|
|
|
333
|
+
declare type DividerProps = {
|
|
334
|
+
appearance?: DividerAppearance;
|
|
335
|
+
className?: string;
|
|
336
|
+
margin?: string;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
declare type DropdownItemType = {
|
|
340
|
+
text: string;
|
|
341
|
+
to?: string;
|
|
342
|
+
icon?: Icons;
|
|
343
|
+
className?: string;
|
|
344
|
+
disabled?: boolean;
|
|
345
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export declare const DropdownList: ({ buttonChild, items, footerItem, className, title, titleClass, event, size, isDisabled, }: DropdownListProps) => JSX.Element;
|
|
349
|
+
|
|
350
|
+
declare type DropdownListProps = {
|
|
351
|
+
buttonChild: ReactNode;
|
|
352
|
+
footerItem?: ReactNode;
|
|
353
|
+
items: DropdownItemType[];
|
|
354
|
+
className?: string;
|
|
355
|
+
title?: string;
|
|
356
|
+
titleClass?: string;
|
|
357
|
+
event?: 'click' | 'hover';
|
|
358
|
+
size?: 'sm' | 'md' | 'lg';
|
|
359
|
+
isDisabled?: boolean;
|
|
360
|
+
};
|
|
361
|
+
|
|
331
362
|
declare interface EventProps<T = HTMLElement> {
|
|
332
363
|
onClick?: (e: React.MouseEvent<T>) => void;
|
|
333
364
|
onFocus?: (e: React.FocusEvent<T>) => void;
|
|
@@ -613,6 +644,20 @@ declare type PagerProps = {
|
|
|
613
644
|
appearance?: ThemeAppearance;
|
|
614
645
|
};
|
|
615
646
|
|
|
647
|
+
export declare const PermaLink: React_2.FC<PermalinkProps>;
|
|
648
|
+
|
|
649
|
+
declare type PermalinkProps = {
|
|
650
|
+
to: string;
|
|
651
|
+
params?: Record<string, any>;
|
|
652
|
+
activeClassName?: string;
|
|
653
|
+
className?: string;
|
|
654
|
+
style?: any;
|
|
655
|
+
onClick?: () => void;
|
|
656
|
+
isDisabled?: boolean;
|
|
657
|
+
children?: ReactNode;
|
|
658
|
+
state?: any;
|
|
659
|
+
};
|
|
660
|
+
|
|
616
661
|
export declare const PermFallBack: () => JSX_2.Element;
|
|
617
662
|
|
|
618
663
|
export declare function Permission(props: Props_2): JSX_2.Element;
|