@mycause/ui 0.17.1 → 0.17.2

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.17.2
2
+
3
+ ###### Wed, 26 Jul 2023
4
+
5
+ - FooterV2
6
+ - Added new footer component.
7
+
1
8
  ## 0.16.9
2
9
 
3
10
  ###### Thu, 15 Apr 2021
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ interface PrismicFooterV2Document {
3
+ key: string;
4
+ total_member: string;
5
+ total_cause: string;
6
+ total_raised: string;
7
+ body: Array<{
8
+ primary: {
9
+ text: Array<{
10
+ type: string;
11
+ text: string;
12
+ spans: Array<any>;
13
+ }>;
14
+ };
15
+ items: Array<{
16
+ call_to_action_text: string | null;
17
+ call_to_action_link: {
18
+ link_type: string;
19
+ url?: string;
20
+ };
21
+ }>;
22
+ id: string;
23
+ slice_type: string;
24
+ slice_label: string | null;
25
+ }>;
26
+ }
27
+ declare function FooterV2({ className, dataFooter: document, bottomSectionOnly, OrangeCardUrl, OrangeCardFirstTitle, OrangeCardSecondTitle, }: {
28
+ className?: string;
29
+ dataFooter: PrismicFooterV2Document;
30
+ bottomSectionOnly?: boolean;
31
+ OrangeCardUrl?: string;
32
+ OrangeCardFirstTitle?: string;
33
+ OrangeCardSecondTitle?: string;
34
+ }): JSX.Element;
35
+ export default FooterV2;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import CenterDecorator from "../../utils/center-decorator";
3
+ import FooterV2 from "./footerV2";
4
+ declare const _default: {
5
+ title: string;
6
+ decorators: (typeof CenterDecorator)[];
7
+ component: typeof FooterV2;
8
+ };
9
+ export default _default;
10
+ export declare const FooterV2Story: {
11
+ (): JSX.Element;
12
+ story: {
13
+ name: string;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as FooterV2 } from "./footerV2";
@@ -40,3 +40,4 @@ export * from "./progressbar";
40
40
  export * from "./start-campaign-card";
41
41
  export * from "./nav";
42
42
  export * from "./popup";
43
+ export * from "./footerV2";