@cagatayfdn/flora-components 0.0.17 → 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.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
  } | {
@@ -132,7 +144,7 @@ export declare const AuthProvider: (props: {
132
144
  children: React_2.ReactNode;
133
145
  }) => JSX_2.Element;
134
146
 
135
- 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;
136
148
 
137
149
  declare type ButtonProps = {
138
150
  children: ReactNode;
@@ -143,6 +155,8 @@ declare type ButtonProps = {
143
155
  autoFocus?: boolean;
144
156
  isBlock?: boolean;
145
157
  isLoading?: boolean;
158
+ noBackground?: boolean;
159
+ round?: boolean;
146
160
  isDisabled?: boolean;
147
161
  noBorder?: boolean;
148
162
  isSolid?: boolean;