@cagatayfdn/flora-components 0.0.17 → 0.0.19
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 +23 -1
- package/dist/index.es.js +4048 -3979
- 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
|
@@ -35,6 +35,18 @@ declare type AccordionProps = {
|
|
|
35
35
|
className?: string;
|
|
36
36
|
};
|
|
37
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
|
+
|
|
38
50
|
declare type Actiontype = {
|
|
39
51
|
type: 'login_pending';
|
|
40
52
|
} | {
|
|
@@ -57,6 +69,14 @@ declare type Actiontype = {
|
|
|
57
69
|
type: 'signout';
|
|
58
70
|
};
|
|
59
71
|
|
|
72
|
+
export declare const AlertCard: ({ description, onClose, appearence, }: AlertCardProps) => JSX_2.Element;
|
|
73
|
+
|
|
74
|
+
declare type AlertCardProps = {
|
|
75
|
+
description: string | JSX_2.Element;
|
|
76
|
+
appearence?: AppearanceAlertCard;
|
|
77
|
+
onClose?: () => void;
|
|
78
|
+
};
|
|
79
|
+
|
|
60
80
|
export declare enum AppAndServicesStatusApperenceType {
|
|
61
81
|
ADDONS_INITIALIZING = "addons_initializing",
|
|
62
82
|
ADDONS_ADDONS_INITILIZATION_FAILED = "addons_initialization_failed",
|
|
@@ -132,7 +152,7 @@ export declare const AuthProvider: (props: {
|
|
|
132
152
|
children: React_2.ReactNode;
|
|
133
153
|
}) => JSX_2.Element;
|
|
134
154
|
|
|
135
|
-
export declare const Button: ({ children, size, isLoading, isDisabled, isBlock, noBorder, isSolid, type, className, prefixIcon, appearance, onClick, }: ButtonProps) => JSX.Element;
|
|
155
|
+
export declare const Button: ({ children, size, isLoading, isDisabled, isBlock, noBorder, noBackground, round, isSolid, type, className, prefixIcon, appearance, onClick, }: ButtonProps) => JSX.Element;
|
|
136
156
|
|
|
137
157
|
declare type ButtonProps = {
|
|
138
158
|
children: ReactNode;
|
|
@@ -143,6 +163,8 @@ declare type ButtonProps = {
|
|
|
143
163
|
autoFocus?: boolean;
|
|
144
164
|
isBlock?: boolean;
|
|
145
165
|
isLoading?: boolean;
|
|
166
|
+
noBackground?: boolean;
|
|
167
|
+
round?: boolean;
|
|
146
168
|
isDisabled?: boolean;
|
|
147
169
|
noBorder?: boolean;
|
|
148
170
|
isSolid?: boolean;
|