@cagatayfdn/flora-components 0.0.16 → 0.0.18
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 +32 -32
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +33 -1
- package/dist/index.es.js +4465 -4371
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +30 -30
- 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
|
@@ -17,6 +17,36 @@ import { SelectItemRenderer } from 'react-dropdown-select';
|
|
|
17
17
|
import { SetStateAction } from 'react';
|
|
18
18
|
import { TFunction } from 'i18next';
|
|
19
19
|
|
|
20
|
+
export declare const Accordion: ({ children, className, }: AccordionProps) => JSX.Element;
|
|
21
|
+
|
|
22
|
+
export declare const AccordionItem: ({ children, title, isVisible, className, onClick, customItemRenderer, }: AccordionItemProps) => JSX.Element;
|
|
23
|
+
|
|
24
|
+
declare type AccordionItemProps = {
|
|
25
|
+
title?: ReactNode;
|
|
26
|
+
children: ReactNode;
|
|
27
|
+
customItemRenderer?: (isOpen: boolean) => ReactNode;
|
|
28
|
+
isVisible: boolean;
|
|
29
|
+
className?: string;
|
|
30
|
+
onClick?: (value: boolean) => void;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare type AccordionProps = {
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
className?: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export declare function ActionButton({ items }: ActionButtonProps): JSX_2.Element;
|
|
39
|
+
|
|
40
|
+
declare type ActionButtonItems = {
|
|
41
|
+
text: string;
|
|
42
|
+
icon: Icons;
|
|
43
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
declare type ActionButtonProps = {
|
|
47
|
+
items: ActionButtonItems[];
|
|
48
|
+
};
|
|
49
|
+
|
|
20
50
|
declare type Actiontype = {
|
|
21
51
|
type: 'login_pending';
|
|
22
52
|
} | {
|
|
@@ -114,7 +144,7 @@ export declare const AuthProvider: (props: {
|
|
|
114
144
|
children: React_2.ReactNode;
|
|
115
145
|
}) => JSX_2.Element;
|
|
116
146
|
|
|
117
|
-
export declare const Button: ({ children, size, isLoading, isDisabled, isBlock, noBorder, isSolid, type, className, prefixIcon, appearance, onClick, }: ButtonProps) => JSX.Element;
|
|
147
|
+
export declare const Button: ({ children, size, isLoading, isDisabled, isBlock, noBorder, noBackground, round, isSolid, type, className, prefixIcon, appearance, onClick, }: ButtonProps) => JSX.Element;
|
|
118
148
|
|
|
119
149
|
declare type ButtonProps = {
|
|
120
150
|
children: ReactNode;
|
|
@@ -125,6 +155,8 @@ declare type ButtonProps = {
|
|
|
125
155
|
autoFocus?: boolean;
|
|
126
156
|
isBlock?: boolean;
|
|
127
157
|
isLoading?: boolean;
|
|
158
|
+
noBackground?: boolean;
|
|
159
|
+
round?: boolean;
|
|
128
160
|
isDisabled?: boolean;
|
|
129
161
|
noBorder?: boolean;
|
|
130
162
|
isSolid?: boolean;
|