@mycause/ui 0.18.10 → 0.18.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.18.11
2
+
3
+ ###### Wed, 12 Jun 2024
4
+
5
+ - Create inputSocial
6
+ - Create switchV2
7
+
1
8
  ## 0.18.10
2
9
 
3
10
  ###### Mon, 03 Jun 2024
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const Icons: {
3
+ close: (props: any) => JSX.Element;
4
+ error: (props: any) => JSX.Element;
5
+ warning: () => JSX.Element;
6
+ };
7
+ export default Icons;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ decorators: ((...args: any) => any)[];
5
+ };
6
+ export default _default;
7
+ export declare const SwitchDefault: {
8
+ (): JSX.Element;
9
+ story: {
10
+ name: string;
11
+ };
12
+ };
@@ -58,3 +58,4 @@ export * from "./my-account-stats-donated";
58
58
  export * from "./my-account-stats-raised";
59
59
  export * from "./my-account-frp-closed";
60
60
  export * from "./transaction-card";
61
+ export * from "./input-social";
@@ -2,10 +2,11 @@
2
2
  export interface MyAccountSidebarProps {
3
3
  listMenu: Array<ItemMenu>;
4
4
  dashboard: ItemMenu;
5
- account?: ItemMenu;
5
+ account: ItemMenu;
6
6
  contract?: ItemMenu;
7
7
  handleSetOverlay: (value: boolean) => void;
8
8
  activeMenu: ItemMenu;
9
+ pathnameActive?: string;
9
10
  }
10
11
  declare type ItemMenu = {
11
12
  id: string;
@@ -14,5 +15,5 @@ declare type ItemMenu = {
14
15
  href?: string;
15
16
  items?: Array<ItemMenu>;
16
17
  };
17
- declare const MyAccountSidebar: ({ listMenu, dashboard, account, contract, handleSetOverlay, activeMenu, }: MyAccountSidebarProps) => JSX.Element;
18
+ declare const MyAccountSidebar: ({ listMenu, dashboard, account, contract, handleSetOverlay, activeMenu, pathnameActive, }: MyAccountSidebarProps) => JSX.Element;
18
19
  export default MyAccountSidebar;
@@ -1 +1,2 @@
1
1
  export { default as Switch } from "./switch";
2
+ export { default as SwitchV2 } from "./switch-v2";
@@ -23,3 +23,9 @@ export declare const SwitchDisabled: {
23
23
  name: string;
24
24
  };
25
25
  };
26
+ export declare const SwitchV2Story: {
27
+ (): JSX.Element;
28
+ story: {
29
+ name: string;
30
+ };
31
+ };
@@ -4,6 +4,7 @@ interface TextFieldSearchProps {
4
4
  onChange: (value: string) => void;
5
5
  onSubmit: () => void;
6
6
  placeholder?: string;
7
+ isFocus?: boolean;
7
8
  }
8
- declare function TextFieldSearch({ value, onChange, onSubmit, placeholder, }: TextFieldSearchProps): JSX.Element;
9
+ declare function TextFieldSearch({ value, onChange, onSubmit, placeholder, isFocus, }: TextFieldSearchProps): JSX.Element;
9
10
  export default TextFieldSearch;